buildroot.git
10 years agoMakefile: let show-targets prints also the dependencies
Fabio Porcedda [Wed, 23 Apr 2014 08:39:24 +0000 (10:39 +0200)]
Makefile: let show-targets prints also the dependencies

Because the "show-targets" target print the targets that will be built,
print also their dependencies.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: fix coding style regarding the '=' sign
Fabio Porcedda [Wed, 23 Apr 2014 08:39:23 +0000 (10:39 +0200)]
Makefile: fix coding style regarding the '=' sign

As stated in the buildroot user manual add just a single space before
and after a '=' sign.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowget: fix host-gettext build dependency race
Yann E. MORIN [Wed, 23 Apr 2014 17:51:09 +0000 (20:51 +0300)]
wget: fix host-gettext build dependency race

Currently, the gettextization of wget works by chance:
  - host-gettext is added as a dependency to wget;
  - gettextize is run as a post-patch hook.

But the dependencies are only guaranteed to be built and installed
for the configure step, not the patch step. Because post-patch hooks
are part of the patch step, we have no guarantee that the dependency
to host-gettext is done by the time we gettextize wget.

This happens to work by chance, since wget sorts alphabetically after
gettext, so we indeed have host-gettext built and installed by the
time we need to gettextize wget.

This is prone to fail in the parallel build case, since we can no
longer rely on alphabetical order in that case.

Instead, run gettextize in PRE_CONFIGURE_HOOKS to avoid the race.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[baruch: make the fix independent from the gettextize infra]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdvdnav: bump to version 4.2.1
Gustavo Zacarias [Wed, 23 Apr 2014 12:39:33 +0000 (09:39 -0300)]
libdvdnav: bump to version 4.2.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdvdread: bump to version 4.2.1
Gustavo Zacarias [Wed, 23 Apr 2014 12:39:32 +0000 (09:39 -0300)]
libdvdread: bump to version 4.2.1

And drop redundant LIBTOOL_PATCH = YES

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoethtool: bump to version 3.14
Gustavo Zacarias [Wed, 23 Apr 2014 18:56:01 +0000 (15:56 -0300)]
ethtool: bump to version 3.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibgc: fix build under uClibc
Baruch Siach [Wed, 23 Apr 2014 12:00:03 +0000 (15:00 +0300)]
libgc: fix build under uClibc

fenv.h is used in a workaround for a glibc specific bug. However, uClibc lies
by defining __GLIBC__, but does not provide fenv.h in our default uClibc
configurations.

Fixes:
http://autobuild.buildroot.net/results/b2a/b2a1b1e374764855e701ea62fe9f1385ba77ac0d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofreetype: host variant needs to run autogen too
Gustavo Zacarias [Wed, 23 Apr 2014 01:10:21 +0000 (22:10 -0300)]
freetype: host variant needs to run autogen too

Fixes:
http://autobuild.buildroot.net/results/fb8/fb8e38bcc73ff60a71df7558a1a4d6cc7cc9157f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomongrel2: bump to version v1.9.1
Jerzy Grzegorek [Tue, 22 Apr 2014 18:40:40 +0000 (20:40 +0200)]
mongrel2: bump to version v1.9.1

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofreetype: security bump to version 2.5.3
Gustavo Zacarias [Tue, 22 Apr 2014 17:12:40 +0000 (14:12 -0300)]
freetype: security bump to version 2.5.3

Fixes CVE-2014-2240.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosmack: fix _VERSION and _SITE variable
Jerzy Grzegorek [Tue, 22 Apr 2014 18:41:23 +0000 (20:41 +0200)]
smack: fix _VERSION and _SITE variable

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoacpid: bump to version 2.0.22
Gustavo Zacarias [Tue, 22 Apr 2014 21:25:33 +0000 (18:25 -0300)]
acpid: bump to version 2.0.22

Switch to upstream sourceforge page/download.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-firmware: install missing symlink-target files
Yann E. MORIN [Mon, 21 Apr 2014 18:24:06 +0000 (20:24 +0200)]
package/linux-firmware: install missing symlink-target files

AS reported by ovf on IRC, some of the firmwares we install are in fact
symlinks to some other files.

Install those files as well, and document the existing symlinks.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-firmware: fix typo in variable name
Yann E. MORIN [Mon, 21 Apr 2014 18:24:05 +0000 (20:24 +0200)]
package/linux-firmware: fix typo in variable name

Remove a trailing _ leftover from: c0d82bd3 (package/linux-firmware: install
license files with 'make legal-info')

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosunxi-mali: add missing GLchar definitions.
Eric Le Bihan [Mon, 21 Apr 2014 17:49:42 +0000 (19:49 +0200)]
sunxi-mali: add missing GLchar definitions.

The GLES and GLES2 header files provided by sunxi-mali do not define the
type "GLchar" and use "char" instead in the prototype of some functions.

In order to have some applications build (like cairo), a new patch has
been added to define the missing type.

This issue has been reported upstream some time ago, but the pull
request has not been merged yet.
(See https://github.com/linux-sunxi/sunxi-mali/pull/8).

Fixes http://autobuild.buildroot.net/results/2cb/2cb13a5bb92dabed219d49f49f0b9a2dfe65a0ca/.

[Thomas: add more details to the patch description, using the commit
log message details.]

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdrm: needs threads
Romain Naour [Mon, 21 Apr 2014 17:43:55 +0000 (19:43 +0200)]
libdrm: needs threads

libdrm select libpthread-stubs that needs threads support.

Fixes:
http://autobuild.buildroot.net/results/1da/1dad13110312a44b40b9ee4050b265de1f3c8a42/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5base: fix no-opengl build with egl
Fatih Aşıcı [Mon, 21 Apr 2014 14:10:32 +0000 (17:10 +0300)]
qt5base: fix no-opengl build with egl

Fixes:

  http://autobuild.buildroot.net/results/8ed/8eddd934bd80fdbcdf7a9dbf5d9f8b7ba69634d4/

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomysql: disable maintainer mode
Thomas Petazzoni [Mon, 21 Apr 2014 12:48:23 +0000 (14:48 +0200)]
mysql: disable maintainer mode

The maintainer mode enables additional gcc warnings, including
-Werror, which causes build failures with certain toolchains. Since we
generally don't enable -Werror in Buildroot, it doesn't make much
sense to have it enabled for MySQL.

Fixes:

  http://autobuild.buildroot.net/results/6b6/6b61f90d1a36ba43ff568933bb74975128380516/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystem: add ability to pass additional users tables.
Eric Le Bihan [Sun, 20 Apr 2014 17:33:09 +0000 (19:33 +0200)]
system: add ability to pass additional users tables.

A new entry has been added to the "System Configuration" menu to allow
the user to set the location of additional user tables (besides the ones
defined in packages).

A user table is a text file, formatted using the mkusers syntax, which
describes the users on the target system, with their UID/GID, home
directory, password, etc.

The target root file system will be populated according the content of
these files.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[yann.morin.1998@free.fr: use plural TABLES; we need to remove the
    intermediate users_table file, as it is no longer generated in
    one shot, in case a previous run failed and did not remove it]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosmack: new package.
Eric Le Bihan [Sun, 20 Apr 2014 18:54:03 +0000 (20:54 +0200)]
smack: new package.

SMACK stands for Simplified Mandatory Access Control Kernel. It is a Linux
Security Module which provides a Mandatory Access Control mechanism,
like SELinux, but aiming towards simplicity.

This package provides the tools to load/unload the policy from the
kernel as well as a library allowing applications to interact with
SMACK. The proper kernel options are also set.

[Thomas:
- fixed license to be LGPLv2.1 instead of LGPLv2.1+. Even though the
  debian/copyright file has the "or later" indication, none of the .c
  source files carry it, so I suppose LGPLv2.1 is more correct.
- added !BR2_PREFER_STATIC_LIB dependency.
- added dependency on host-pkgconf, since Smack configure.ac uses
  PKG_CHECK_MODULES.]

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibcap: add menu entry to install tools.
Eric Le Bihan [Sun, 20 Apr 2014 19:30:13 +0000 (21:30 +0200)]
libcap: add menu entry to install tools.

libcap provides a set of tools to manipulate capabilities, among which
`setcap(8)` and `getcap(8)`. A new menu entry has been added to install them.

[Thomas: mark the new option as requiring MMU support, because the
programs use fork(), and completely rework the new .mk logic as it
wasn't taking into account the BR2_PREFER_STATIC_LIB case.]

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopostgresql: bump version to 9.3.4
Peter Seiderer [Sun, 20 Apr 2014 23:25:13 +0000 (01:25 +0200)]
postgresql: bump version to 9.3.4

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopostgresql: change readline and zlib to be real optional selections
Peter Seiderer [Sun, 20 Apr 2014 23:25:12 +0000 (01:25 +0200)]
postgresql: change readline and zlib to be real optional selections

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoutil-linux: fix chfn/chsh missing dependencies
Samuel Martin [Mon, 21 Apr 2014 05:54:54 +0000 (07:54 +0200)]
util-linux: fix chfn/chsh missing dependencies

chfn/chsh utilities need linux-pam.

Fixes:
  http://autobuild.buildroot.org/results/cfc/cfc5fd00b9db21b60efe8b74e9966b6192b1da17/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomplayer: fix ARM floating point related build failures
Thomas Petazzoni [Mon, 21 Apr 2014 07:57:00 +0000 (09:57 +0200)]
mplayer: fix ARM floating point related build failures

This commit fixes two separate, but related build failures:

 * A failure that was happening when the ARM CPU supports NEON,
   floating point is enabled, but not with the NEON FPU. In this case,
   the NEON ARM assembly is rejected by the assembler, with messages
   like "Error: selected FPU does not support instruction -- `vmul.f32
   q0,q0,q1'". To fix this, we pass -mfpu=neon when we build mplayer
   with NEON support.

   Fixes:

     http://autobuild.buildroot.org/results/257/257a10e9cb5022bb09e0c6a03844be5b5b3e0bd4/

 * A failure that was happening when the ARM CPU supports NEON, but
   the configuration is anyway using soft-float. In this case, mplayer
   attempts to compile NEON floating point instructions, but this
   obviously fail in a soft-float context, with errors such as 'Error:
   selected processor does not support ARM mode `vmov d0,r7,r8''. To
   fix this, we do not allow NEON to be enabled when we are in a
   soft-float configuration.

   Fixes:

     http://autobuild.buildroot.org/results/7b3/7b3c89fcd496c0bc80063f63ecd58c827e8077ea/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoutil-linux: do not install bash completion files
Thomas Petazzoni [Sun, 20 Apr 2014 21:47:05 +0000 (23:47 +0200)]
util-linux: do not install bash completion files

In most embedded systems, there is not much point in installing bash
completion files, especially since bash may not necessarily be present
on the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoe2tools: new package
Daniel Nyström [Mon, 6 Jul 2009 14:28:52 +0000 (22:28 +0800)]
e2tools: new package

E2tools is a simple set of GPL'ed utilities to read, write, and
manipulate files in an ext2/ext3 filesystem.  These utilities access a
filesystem directly using the ext2fs library.

[Thomas: add toolchain dependencies as needed, use full Git hash, use
github helper, add support for host version.]

Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agovo-aacenc: pass -marm to build non-Thumb2 compatible assembly
Thomas Petazzoni [Sun, 20 Apr 2014 21:23:32 +0000 (23:23 +0200)]
vo-aacenc: pass -marm to build non-Thumb2 compatible assembly

vo-aacenc has some hand-written assembly that cannot build in Thumb2,
so we have to explicitly pass -marm to make sure this particular
package is always built with full-length ARM instructions.

Fixes:

  http://autobuild.buildroot.org/results/680/680b29cd824624eb8e4ec71187b9a6576444e72b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosunxi-tools: bump version
Brian Beattie [Wed, 11 Dec 2013 00:25:10 +0000 (16:25 -0800)]
sunxi-tools: bump version

Signed-off-by: Brian Beattie <beattie@beattie-home.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosunxi-boards: bump version
Brian Beattie [Wed, 11 Dec 2013 00:25:03 +0000 (16:25 -0800)]
sunxi-boards: bump version

Signed-off-by: Brian Beattie <beattie@beattie-home.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibstrophe: fix detection of libxml2
Thomas Petazzoni [Sun, 20 Apr 2014 20:53:51 +0000 (22:53 +0200)]
libstrophe: fix detection of libxml2

This commit adds a patch to libstrophe to fix a typo that prevented a
proper detection of libxml2. This patch has been submitted upstream,
see https://github.com/metajack/libstrophe/pull/46.

Fixes:

 http://autobuild.buildroot.org/results/499/499ffd50ec58b54343d6606c0f1bf7cd04f14e1c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojack2: needs C++ support
Thomas Petazzoni [Sun, 20 Apr 2014 17:59:27 +0000 (19:59 +0200)]
jack2: needs C++ support

Fixes:

  http://autobuild.buildroot.org/results/ede/ede17f2fdb9b5cd4b974ef820d95b0eba863c420/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocppcms: does not build on static library only, needs dlopen()
Thomas Petazzoni [Sun, 20 Apr 2014 17:38:37 +0000 (19:38 +0200)]
cppcms: does not build on static library only, needs dlopen()

Fixes:

  http://autobuild.buildroot.org/results/5ee/5ee69eb7492fbd462124d7a23b5b79003fc1dd64/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "host-nodejs: use g++ as linker"
Thomas Petazzoni [Sun, 20 Apr 2014 17:35:47 +0000 (19:35 +0200)]
Revert "host-nodejs: use g++ as linker"

This reverts commit ea737fb100785b3b5756dad320db04062261fd04, which in
the end didn't fix the autobuilder problem. Since then,
fb80d283412b610fc0f5e4baf1c5bcdf093dadc2 ('nodejs: add a patch forcing
link command to use CXX') was added, and was successfully tested.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopkg-utils: introduce a make-based LOWERCASE function
Thomas Petazzoni [Sun, 23 Mar 2014 17:43:00 +0000 (18:43 +0100)]
pkg-utils: introduce a make-based LOWERCASE function

Until now, our UPPERCASE function was implemented purely in make for
performance reasons, but our LOWERCASE function was implemented by
calling "tr", which was reasonable due to the fact that LOWERCASE was
rarely used, but future changes might make a more heavy usage of the
LOWERCASE macro.

We want this LOWERCASE function to turn a "_" into a "-" and not a
".", so we slightly adjust the existing FROM and TO lists to make this
possible. This doesn't change the behavior of the UPPERCASE macro
because both "-" and "." are converted into "_" by this function.

This change takes advantage of suggestions made by Arnout
Vandecappelle, who said they further improve the performance of
UPPERCASE and LOWERCASE by 30%/40%.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopostgresql: new package
Peter Seiderer [Fri, 4 Apr 2014 20:14:01 +0000 (22:14 +0200)]
postgresql: new package

Based on suggested new package by Marco Trapanese ([1]).

[1] http://lists.busybox.net/pipermail/buildroot/2014-February/090661.html

[Thomas: make it only available with glibc toolchains.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: fix readline extension compilation with readline 6.3
Ivan Sergeev [Wed, 16 Apr 2014 21:48:43 +0000 (14:48 -0700)]
python: fix readline extension compilation with readline 6.3

Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython3: do not rely only on LIBRARY_PATH for old compilers
Thomas Petazzoni [Sun, 20 Apr 2014 16:22:11 +0000 (18:22 +0200)]
python3: do not rely only on LIBRARY_PATH for old compilers

The cross-compilation improvements integrated in Python rely on the
compiler exposing a line starting with LIBRARY_PATH when called with
-E -v. This is used by Python setup.py to find the installation
locations of libraries.

However, this LIBRARY_PATH line is not shown by very old compilers,
such as the gcc 4.2.x compiler used on the AVR32 architecture. This
causes libraries installed in the sysroot, such as libffi, to not be
detected by the setup.py script.

To fix this problem, this patch adds addtional logic to setup.py,
which consists in deriving the library paths from the sysroot
location, if no LIBRARY_PATH field was found.

Fixes:

  http://autobuild.buildroot.org/results/7a6/7a65e381cc04bf8f74fd63a6dcda502f3c26aeef/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: do not rely only on LIBRARY_PATH for old compilers
Thomas Petazzoni [Wed, 16 Apr 2014 21:36:08 +0000 (23:36 +0200)]
python: do not rely only on LIBRARY_PATH for old compilers

The cross-compilation improvements integrated in Python rely on the
compiler exposing a line starting with LIBRARY_PATH when called with
-E -v. This is used by Python setup.py to find the installation
locations of libraries.

However, this LIBRARY_PATH line is not shown by very old compilers,
such as the gcc 4.2.x compiler used on the AVR32 architecture. This
causes libraries installed in the sysroot, such as libffi, to not be
detected by the setup.py script.

To fix this problem, this patch adds addtional logic to setup.py,
which consists in deriving the library paths from the sysroot
location, if no LIBRARY_PATH field was found.

Fixes:

  http://autobuild.buildroot.org/results/1aa/1aad2d677dbf7b0a3cb0120a35f45123124f51ab/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoyaffs2: new filesystem type
Will Wagner [Mon, 15 Jul 2013 11:11:24 +0000 (12:11 +0100)]
yaffs2: new filesystem type

[Thomas: remove BR2_TARGET_ROOTFS_YAFFS_PATH option, rename to yaffs2
instead of yaffs.]

Signed-off-by: Will Wagner <willw@carallon.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoyaffs2utils: new package
Will Wagner [Mon, 15 Jul 2013 11:09:07 +0000 (12:09 +0100)]
yaffs2utils: new package

[Thomas: remove target variant of the package, use labelled version
0.2.9 instead of latest.tar.gz, use 'make install' instead of doing
manual installation, add license informations.]

Signed-off-by: Will Wagner <willw@carallon.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogrub2: add a configuration option to embed a config file
Dima Zavin [Fri, 4 Apr 2014 08:32:17 +0000 (01:32 -0700)]
grub2: add a configuration option to embed a config file

Add an option for embedding a config file directly in grub.

Signed-off-by: Dima Zavin <dmitriyz@google.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: target-generatelocales: add toolchain dependency
Fabio Porcedda [Fri, 18 Apr 2014 13:07:32 +0000 (15:07 +0200)]
Makefile: target-generatelocales: add toolchain dependency

The target depends on the toolchain so add it as a dependency.
This also fix the support to top-level parallel make.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: toolchain-eclipse-register: add toolchain dependency
Fabio Porcedda [Fri, 18 Apr 2014 13:07:31 +0000 (15:07 +0200)]
Makefile: toolchain-eclipse-register: add toolchain dependency

The "toolchain-eclipse-register" target needs the toolchain so add
toolchain as a dependency.
This also fix the support to top-level parallel make.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst1-plugins-bad: fix missing dependency for opencv plugin
Samuel Martin [Sun, 20 Apr 2014 12:48:19 +0000 (14:48 +0200)]
gst1-plugins-bad: fix missing dependency for opencv plugin

Gstreamer1 opencv plugin requires opencv's contrib module.

Fixes:
  http://autobuild.buildroot.net/results/0aa/0aab79be8043bf88a227af2ca27b4447aa2f8901/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonodejs: add a patch forcing link command to use CXX
Samuel Martin [Sun, 20 Apr 2014 14:05:46 +0000 (16:05 +0200)]
nodejs: add a patch forcing link command to use CXX

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonodejs: add sequence number to the patch filenames
Samuel Martin [Sun, 20 Apr 2014 14:05:45 +0000 (16:05 +0200)]
nodejs: add sequence number to the patch filenames

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosyslinux: remove host variant
Thomas Petazzoni [Sun, 20 Apr 2014 09:55:15 +0000 (11:55 +0200)]
syslinux: remove host variant

The host variant of syslinux wasn't exposed anywhere, so the only way
to use it was to know that a "host-syslinux" target existed. Moreover,
thanks to commit 8e0d4118982ae5a29e462f0a476d82772459cf5c ('syslinux:
install helper programs to the host'), the host utilities of syslinux
are automatically installed to $(HOST_DIR) when building the target
syslinux.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosyslinux: install helper programs to the host
Frank Hunleth [Sun, 16 Mar 2014 19:04:30 +0000 (15:04 -0400)]
syslinux: install helper programs to the host

Even though syslinux is built for the target, it does create helper
programs intended to be run on the host such as syslinux and extlinux.
This change installs these helper programs to the host so that they may be
called by post image creation scripts.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport: properly check bash is available
Yann E. MORIN [Tue, 18 Mar 2014 23:33:49 +0000 (00:33 +0100)]
support: properly check bash is available

The current check is broken, as it only checks if the user's login
shell is bash, not what the system shell is.

Mimick the sequence found in the top-level Makefile to search for
bash, except for the fallback case, where we explicitly check that
'sh' is bash, by checking if it sets $BASH, so we know the fallback
case, in the top-level Makefile, to use 'sh' will indeed use bash.

Remove superfluous semi-colons ';' at the end of lines, they are
not needed in a shell script (this is not C!)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Andrew Barnes <andy@outsideglobe.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux-headers: remove obsolete Config.in help paragraph
Thomas Petazzoni [Sun, 20 Apr 2014 09:04:18 +0000 (11:04 +0200)]
linux-headers: remove obsolete Config.in help paragraph

In commit 971e331c54e08e82b4ed28a4eca8305933fa1cb0
('package/linux-headers: remove 2.6 snapshot'), we removed the support
for the Linux headers snapshot option, but we forgot to remove some
related help text in the main Config.in option of the Linux headers
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojansson: needs math library
Baruch Siach [Sun, 20 Apr 2014 07:22:39 +0000 (10:22 +0300)]
jansson: needs math library

libjansson.so doesn't list libm in its NEEDED header. Fixes the following
nftables config time failure:

.../usr/lib/libjansson.so.4: undefined reference to `__isnan'
.../usr/lib/libjansson.so.4: undefined reference to `__isinf'

Fixes:
http://autobuild.buildroot.net/results/152/1525d7a3e1d1fcf35858962251c0b69a5e1b64db/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomesa3d: needs NPTL threading
Baruch Siach [Sun, 20 Apr 2014 05:30:43 +0000 (08:30 +0300)]
mesa3d: needs NPTL threading

Strictly speaking, linuxthreads (new) should be enough, since it includes
pthread_barrier_* implementation. However, we currently have no clean way to
distinguish between LT and LT.old.

Fixes:
http://autobuild.buildroot.net/results/66a/66a9d2c664e0a9b2b0c51b998c72c2ceda90ff9b/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoutil-linux: Add config switches for some more binaries
Paul Cercueil [Tue, 8 Apr 2014 17:45:08 +0000 (19:45 +0200)]
util-linux: Add config switches for some more binaries

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: always enable openGL
Yann E. MORIN [Sat, 19 Apr 2014 22:01:43 +0000 (00:01 +0200)]
package/mesa3d: always enable openGL

Currently, we only pass --enable-opengl is at least one DRI driver is
enabled, since full OpenGL is only possible with a DRI driver (and the
X.Org stack). Otherwise, we pass --disable-opengl on the assumption that
OpenGL is not possible.

But mesa3d's ./configure is a bit weird: enabling OpenGL-ES and diabling
full OpenGL is an error (see autobuild failure below).

It turns out that, if there is no DRI driver enabled, but --enable-opengl
is passed, ./configure will behave properly wrt OpenGL-ES, and will not
build the full OpenGL libgl.

Thanks to Paul for explaining this.

Fixes:
    http://autobuild.buildroot.net/results/61c/61c1c566dc0e829cb663ca30b1fd6cf9cc6cd931/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluacrypto: luarocks conversion
Francois Perrad [Sat, 19 Apr 2014 20:58:00 +0000 (22:58 +0200)]
luacrypto: luarocks conversion

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluafilesystem: bump rockspec revision
Francois Perrad [Sat, 19 Apr 2014 20:57:59 +0000 (22:57 +0200)]
luafilesystem: bump rockspec revision

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocgilua: bump rockspec revision
Francois Perrad [Sat, 19 Apr 2014 20:57:58 +0000 (22:57 +0200)]
cgilua: bump rockspec revision

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowsapi: bump to version 1.6.1
Francois Perrad [Sat, 19 Apr 2014 20:57:57 +0000 (22:57 +0200)]
wsapi: bump to version 1.6.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoorbit: bump to version 2.2.1
Francois Perrad [Sat, 19 Apr 2014 20:57:56 +0000 (22:57 +0200)]
orbit: bump to version 2.2.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluajson: bump to version 1.3.3
Francois Perrad [Sat, 19 Apr 2014 20:57:55 +0000 (22:57 +0200)]
luajson: bump to version 1.3.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocoxpcall: bump to version 1.15.0
Francois Perrad [Sat, 19 Apr 2014 20:57:54 +0000 (22:57 +0200)]
coxpcall: bump to version 1.15.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocosmo: bump to version 14.03.04
Francois Perrad [Sat, 19 Apr 2014 20:57:53 +0000 (22:57 +0200)]
cosmo: bump to version 14.03.04

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agographs: store and keep intermediate 'dot' program for graph-depends
Yann E. MORIN [Sat, 19 Apr 2014 20:17:08 +0000 (22:17 +0200)]
graphs: store and keep intermediate 'dot' program for graph-depends

Currently, graph-depends (and PKG-graph-depends) do not store the
intermediate 'dot' program.

Some users would like to get the dot program to be able to further
customise the generated graphs (eg. modify the layout, colorise some
of the packages...)

So, store the intermediate dot program alongside the generated graph.

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibuci: remove MMU dependency with Lua binding
Hadrien Boutteville [Sat, 19 Apr 2014 00:47:01 +0000 (02:47 +0200)]
libuci: remove MMU dependency with Lua binding

The Lua binding option of libuci doesn't need the MMU.

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqhull: new package
Davide Viti [Fri, 18 Apr 2014 22:30:01 +0000 (00:30 +0200)]
qhull: new package

Signed-off-by: Davide Viti <d.viti@infosolution.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoapr: add missing comment about needed dynamic library support
Davide Viti [Fri, 18 Apr 2014 22:30:14 +0000 (00:30 +0200)]
apr: add missing comment about needed dynamic library support

Signed-off-by: Davide Viti <d.viti@infosolution.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolttng-libust: add python as optional dependency
Romain Naour [Sat, 19 Apr 2014 09:47:33 +0000 (11:47 +0200)]
lttng-libust: add python as optional dependency

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolttng-tools: bump version to 2.4.1
Romain Naour [Sat, 19 Apr 2014 09:47:32 +0000 (11:47 +0200)]
lttng-tools: bump version to 2.4.1

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolttng-modules: bump version to 2.4.1
Romain Naour [Sat, 19 Apr 2014 09:47:31 +0000 (11:47 +0200)]
lttng-modules: bump version to 2.4.1

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolttng-libust: bump version to 2.4.1
Romain Naour [Sat, 19 Apr 2014 09:47:30 +0000 (11:47 +0200)]
lttng-libust: bump version to 2.4.1

fixes:
http://autobuild.buildroot.net/results/a6f/a6f5550cc63260126cb66a954af60f1633b97faf/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoliburcu: bump version to 0.8.4
Romain Naour [Sat, 19 Apr 2014 09:47:29 +0000 (11:47 +0200)]
liburcu: bump version to 0.8.4

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosdl: disable x11 in host-sdl
Yann E. MORIN [Fri, 18 Apr 2014 19:47:09 +0000 (21:47 +0200)]
sdl: disable x11 in host-sdl

We do not need an X11-capable host SDL, so just disable X11 support.

This currently works if the build machine has the X11 development
packages installed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxapp_xwd: Add missing dependency xlib_libxkbfile
Bernd Kuhls [Fri, 18 Apr 2014 06:34:08 +0000 (08:34 +0200)]
xapp_xwd: Add missing dependency xlib_libxkbfile

Fixes http://autobuild.buildroot.net/results/12b/12b7894a4f67d963ea93622eea1adc2d2c3d6847/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonmap: make ndiff conditional on python2
Gustavo Zacarias [Thu, 17 Apr 2014 20:25:10 +0000 (17:25 -0300)]
nmap: make ndiff conditional on python2

ndiff only works when target python2 is available, so disable it
completely when it's not. Fixes:
http://autobuild.buildroot.net/results/402/40269fd96a3b62fa187e9b26e5ab4ce4e7711f95/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5base: Remove feature test for posix_fallocate in sqlite code
Fatih Aşıcı [Fri, 18 Apr 2014 07:44:59 +0000 (10:44 +0300)]
qt5base: Remove feature test for posix_fallocate in sqlite code

It's already checked by the build system more accurately.

Fixes:

  http://autobuild.buildroot.net/results/e3b/e3b26ee314880fdb50bb774a0539bfba04d9fbcf/

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosquashfs: do not build on !MMU systems
Thomas Petazzoni [Fri, 18 Apr 2014 08:34:09 +0000 (10:34 +0200)]
squashfs: do not build on !MMU systems

Fixes:

  http://autobuild.buildroot.org/results/273/2738934fc23219a33fe1e07b3213b4e10266fc79//

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoopenpgm: requires compiler intrinsics not available with Blackfin ADI toolchains
Thomas Petazzoni [Thu, 17 Apr 2014 21:54:01 +0000 (23:54 +0200)]
openpgm: requires compiler intrinsics not available with Blackfin ADI toolchains

Fixes:

  http://autobuild.buildroot.org/results/3bd/3bda860a269dd9a4e38533cc9350892c68102618/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agozmqpp: exclude old Sourcery PowerPC toolchains that don't have C++0x
Thomas Petazzoni [Thu, 17 Apr 2014 21:50:30 +0000 (23:50 +0200)]
zmqpp: exclude old Sourcery PowerPC toolchains that don't have C++0x

zmqpp needs some fairly advanced C++0x features, which apparently
aren't all available in gcc 4.5 used in PowerPC Sourcery 2011.03. So
this commit excludes both this toolchain and the older 2010.09 one.

Fixes:

  http://autobuild.buildroot.org/results/a37/a374e85c714aff26bceaa0df4199bc44a1278f37/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodmalloc: disable on Microblaze with debugging symbols
Thomas Petazzoni [Thu, 17 Apr 2014 21:43:51 +0000 (23:43 +0200)]
dmalloc: disable on Microblaze with debugging symbols

There is a Microblaze compiler issue when debugging symbols are
enabled, causing assembler errors "Error: operation combines symbols
in different segments". This commit prevents this situation from
happening.

Fixes:

  http://autobuild.buildroot.org/results/d97/d9727e453d7c7c982ce32db5efd455496966e211/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibtool: use a different way to avoid autoreconfiguration
Arnout Vandecappelle [Wed, 19 Mar 2014 23:03:00 +0000 (00:03 +0100)]
libtool: use a different way to avoid autoreconfiguration

In 4268d39, a patch was added to update libtool.m4 for MIPS n64 targets.
However, this caused the configure script to be regenerated during the
build steps, which in turn caused build failures on Fedora 12 hosts. In
ed73d1d, this was fixed by patching the installed libtool.m4 file
instead of the source file.

However, ed73d1d did not take into account that the target libtool will
also install libtool.m4 to staging, and that that version has
precedence over the one in HOST_DIR.

Therefore, this patch takes a different approach: the source file is
patched in the usual way, and instead the reconfigure is avoided by
touching the generated files.

On the target, we also cannot use the AUTORECONF mechanism because of
some mysterious Makefile.inc file. So just use the same approach and
wait for upstream to make a new release.

Fixes:
   http://autobuild.buildroot.net/results/b86/b86a83c6549004f226e7255242e54ef4e50c5ec3/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: rename USER_HOOKS_EXTRA_ENV to EXTRA_ENV
Yann E. MORIN [Mon, 10 Mar 2014 20:51:33 +0000 (21:51 +0100)]
Makefile: rename USER_HOOKS_EXTRA_ENV to EXTRA_ENV

This variable contains extra environment variables that we can not export
since they are clashing with some build systems (eg. BUILD_DIR with
u-boot).

So, we may need these variables for uses other than the user's hooks
for instrumentation. For example, we'll use them later on to export
BUILD_DIR to the download helper scripts.

Fix comment, too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxapp_xdriinfo: depends on the virtual package libgl
Bernd Kuhls [Thu, 17 Apr 2014 16:04:26 +0000 (18:04 +0200)]
xapp_xdriinfo: depends on the virtual package libgl

Fixes http://autobuild.buildroot.net/results/90a/90a8226a8a2978eb13d02645cb9e3d95d9b95757/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: fix comment, trim the commit log from unneeded info]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/vlc: depends on the virtual package libgl
Yann E. MORIN [Thu, 17 Apr 2014 16:04:25 +0000 (18:04 +0200)]
package/vlc: depends on the virtual package libgl

Currently, vlc depends on mesa3d to provide the openGL support.

We now have a virtual package, libgl, which ensures openGL is available.

This is support for full OpenGL, which is only available when X.Org is
enabled, which is anyway a dependency of full OpenGL.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libevas: switch dependency from mesa3d to _HAS_LIBGL
Yann E. MORIN [Thu, 17 Apr 2014 16:04:24 +0000 (18:04 +0200)]
package/libevas: switch dependency from mesa3d to _HAS_LIBGL

We now have a virtual package that represents availability of
full OpenGL.

This should be the end of this dependency hell epic, now. :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: with a DRI driver, is a full OpenGL provider
Yann E. MORIN [Thu, 17 Apr 2014 16:04:23 +0000 (18:04 +0200)]
package/mesa3d: with a DRI driver, is a full OpenGL provider

Make mesa3d a provider for full OpenGL, as soon as a DRI driver is enabled.

Full OpenGL is only possible when:
  - a DRI driver is enabled,
  - and X.Org is enabled

Since DRI driver in fact depend on X.Org being enabled in the first place,
we can safely declare mesa3d as a full openGL provider as soon as at least
one DRI driver is enabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libgl: introduce as a new virtual package for full-openGL providers
Yann E. MORIN [Thu, 17 Apr 2014 16:04:22 +0000 (18:04 +0200)]
package/libgl: introduce as a new virtual package for full-openGL providers

Currently, only mesa3d is such a full-openGL provider.

But it is easy to see a few more cropping up at the door:
  - NVidia's binary blob
  - ATI's fglrx binary blob

Having this virtual full-openGL package will help when those are getting in.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/xorg-server: do not force-select xf86driproto for mesa3d
Yann E. MORIN [Thu, 17 Apr 2014 16:04:21 +0000 (18:04 +0200)]
package/xorg-server: do not force-select xf86driproto for mesa3d

This is already handled by mesa3d itself.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: only enable full OpenGL when a DRI driver is enabled
Yann E. MORIN [Thu, 17 Apr 2014 16:04:20 +0000 (18:04 +0200)]
package/mesa3d: only enable full OpenGL when a DRI driver is enabled

Full OpenGL is only provided when:
  - a DRI driver is enabled,
  - and X.Org is enabled

Since DRI driver depend on X.Org being selected, this means that we
can (have to) enable full OpenGL as soon as a DRI driver is enabled.

On the other hand, Gallium drivers, which currently do enable full
OpenGL, only really provide OpenGL EGL and GLES, not full OpenGL.

So we exclude Gallium drivers when checking whether to enable full
OpenGL in mesa3d.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: simplify the code enabling full-OpenGL
Yann E. MORIN [Thu, 17 Apr 2014 16:04:19 +0000 (18:04 +0200)]
package/mesa3d: simplify the code enabling full-OpenGL

Currently, full-OpenGL is enabled by checking that at least one driver
is enabled. This is done by checking that the just-constructed lists of
drivers are not empty.

But we already have a variable that is set to 'y' as soon as a driver
is selected:

  - DRI drivers select BR2_PACKAGE_MESA3D_DRI_DRIVER

  - Gallium drivers select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER

  - both BR2_PACKAGE_MESA3D_DRI_DRIVER and BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
    select BR2_PACKAGE_MESA3D_DRIVER

So, BR2_PACKAGE_MESA3D_DRIVER is set to 'y' as soon as at least one
driver is selected. We can use that variable rather than comparing the
lists of drivers.

Also, rearrange the code in a more logical way, by moving the code that
enables OpenGL nearer to the code enabling EGL and GLES.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: add comment for when OpenGL EGL is not available
Yann E. MORIN [Thu, 17 Apr 2014 16:04:18 +0000 (18:04 +0200)]
package/mesa3d: add comment for when OpenGL EGL is not available

OpenGL EGL needs udev support, so add a comment stating so.

Also, reword the OpenGL EGL prompt to be in the same format as the
OpenGL ES prompt (and like the full OpenGL prompt that will shortly
be added, too.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: DRI drivers depend on X.org
Yann E. MORIN [Thu, 17 Apr 2014 16:04:17 +0000 (18:04 +0200)]
package/mesa3d: DRI drivers depend on X.org

It does not make sense to build DRI drivers without X.org.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: re-arrange menu items
Yann E. MORIN [Thu, 17 Apr 2014 16:04:16 +0000 (18:04 +0200)]
package/mesa3d: re-arrange menu items

Make mesa3d a menuconfig, ie. a sub-menu on the boolean option.

Move drivers and additional API selections out of their own submenus,
add a comment as separator.

This will make it easier to further re-arrange the config items in
the following patches, to fix-enhance the packaging to handle the
full-openGL provider stuff.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/x11-video-drivers: do not select, but depends on mesa3d
Yann E. MORIN [Thu, 17 Apr 2014 16:04:15 +0000 (18:04 +0200)]
package/x11-video-drivers: do not select, but depends on mesa3d

Currently, X.Org drivers that need mesa3d forcibly select it.

We'll soon switch mesa3d to being a provider of the full OpenGL virtual
package, to come in a later patch.

It is bad practice to select a provider, as it can generate configuration
inconsistencies.

So, switch all X.Org video driver that need mesa3d to actually depend on
it, rather than forcibly select it.

To be noted: xf86-video-mach64 already used a 'depends on' rather
than a 'select'.

At the same time, move the intel drivers dependencies to the top.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/xdriver_xf86-video-ati: only select libdrm if the DRI driver is enabled
Yann E. MORIN [Thu, 17 Apr 2014 16:04:14 +0000 (18:04 +0200)]
package/xdriver_xf86-video-ati: only select libdrm if the DRI driver is enabled

The xf86 radeon driver does not need libdrm, unless DRI is enabled too.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libdrm: radeon does not depend on x86
Yann E. MORIN [Thu, 17 Apr 2014 16:04:13 +0000 (18:04 +0200)]
package/libdrm: radeon does not depend on x86

Thomas reported that the libdrm-radeon dependency on x86 (32- or 64-bit)
dates back to the time where it also depended on libpciaccess.

Now that the libpciacess dependency has been dropped, Thomas managed to
build a libdrm-radeon on something else than an x86 (an ARM for example).

Make libdrm-radeon no longer depend on x86

As a side effect, this fixes some potential "unmet direct dependencies"
from the xdriver_xf86-video-ati package (which was the initial problem
I was trying to solve.)

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibglib2: fix compilation for aarch64 and arc
Alexey Brodkin [Thu, 10 Apr 2014 14:46:36 +0000 (18:46 +0400)]
libglib2: fix compilation for aarch64 and arc

Copied from here - https://github.com/openembedded/oe-core/blob/master/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-Fix-Werror-format-string-errors-from-mismatched-.patch

Initially posted here - http://lists.openembedded.org/pipermail/openembedded-core/2013-October/085174.html

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agokexec: bump to version 2.0.6
Sven Neumann [Thu, 17 Apr 2014 07:15:18 +0000 (09:15 +0200)]
kexec: bump to version 2.0.6

Remove two patches which have been included upstream.

Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc: Fix compile error with missing host-gettext
Bernd Kuhls [Thu, 17 Apr 2014 05:26:19 +0000 (07:26 +0200)]
xbmc: Fix compile error with missing host-gettext

autoreconf -vif lib/cpluff
autoreconf: Entering directory `lib/cpluff'
autoreconf: running: autopoint --force
Can't exec "autopoint": No such file or directory at /home/buildroot/output/host/usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
make[1]: *** [lib/cpluff/configure] Error 1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5script: Check for QtGui before building the examples
Vicente Olivert Riera [Thu, 17 Apr 2014 15:56:27 +0000 (16:56 +0100)]
qt5script: Check for QtGui before building the examples

Adding an upstream patch to fix an autobuild failure.

qsdbg and marshal examples need QtGui module. If QtGui is not installed
they fail to compile.

Upstream commit:
   https://github.com/qtproject/qtscript/commit/e4453c92ee41943a3a1d67a725804a44e747f64e

Fixes:
   http://autobuild.buildroot.net/results/0e6/0e63bc604f3ec422996eb0f5fd92f4437954ca04/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>