buildroot.git
9 years agoiostat: fix build with musl
Baruch Siach [Wed, 30 Sep 2015 17:13:23 +0000 (20:13 +0300)]
iostat: fix build with musl

musl does not provide access to the kernel defined HZ macro. Under Linux HZ is
always 100, so use that value.

Fixes:
http://autobuild.buildroot.net/results/dc9/dc98a572c7055cb66cf14648af750b7e0c8e136e/
http://autobuild.buildroot.net/results/fe3/fe3907858f90f766f1949be631427dbb079e08ed/
http://autobuild.buildroot.net/results/59e/59e7c8a3d94d06ba52ea5034fcabd9737a5314db/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agokobs-ng: remove obsolete package
Gary Bisson [Wed, 23 Sep 2015 13:39:27 +0000 (15:39 +0200)]
kobs-ng: remove obsolete package

In favor of imx-kobs maintained by Freescale.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-kobs: add new package
Gary Bisson [Wed, 23 Sep 2015 13:39:26 +0000 (15:39 +0200)]
imx-kobs: add new package

Based on the Yocto 3.14.28-1.0.0_ga update:
https://github.com/Freescale/meta-fsl-arm/commit/6c44744

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltp-testsuite: don't link with libtirpc
Baruch Siach [Wed, 30 Sep 2015 11:38:49 +0000 (14:38 +0300)]
ltp-testsuite: don't link with libtirpc

Buildroot patches libtirpc to remove auth_des support. This breaks tirpc test
build. Remove support for libtirpc for now.

Fixes:
http://autobuild.buildroot.net/results/301/3015eee7b1b6b240e7948b08954d273d28f44c32/

Cc: Anders Roxell <anders.roxell@linaro.org>
Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoltp-testsuite: don't include host headers
Baruch Siach [Wed, 30 Sep 2015 11:38:48 +0000 (14:38 +0300)]
ltp-testsuite: don't include host headers

$SYSROOT defaults to empty, so we must set it to our sysroot.

Fixes:
http://autobuild.buildroot.net/results/812/812986b00786972d4e7fbb0362460a0de8a70472/
http://autobuild.buildroot.net/results/4a3/4a3c7ea4eb08248f2aec45d8efc111087bc1327f/
http://autobuild.buildroot.net/results/8b6/8b6f7adb5546387c25f3a4c9d8e6f72f4b62b9a4/

and more.

Cc: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogit: bump to version 2.6.0
Vicente Olivert Riera [Wed, 30 Sep 2015 11:33:49 +0000 (12:33 +0100)]
git: bump to version 2.6.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenvpn: add option for --enable-password-save
Andreas Wetzel [Wed, 23 Sep 2015 09:39:48 +0000 (11:39 +0200)]
openvpn: add option for --enable-password-save

Added configuration option BR2_PACKAGE_OPENVPN_PWSAVE that
adds --enable-password-save to OPENVPN_CONF_OPTS if selected.

[Thomas: rewrap Config.in help text, as suggested by Vicente.]

Signed-off-by: Andreas Wetzel <andreas.wetzel@nanotronic.ch>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: Remove trailing slash from all package site URLs
Luca Ceresoli [Mon, 28 Sep 2015 16:10:31 +0000 (18:10 +0200)]
package: Remove trailing slash from all package site URLs

The recommended form is without the trailing slash, and will become
mandatory in a coming commit.

This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk
to avoid double slashes in download URLs, like
"https://mosh.mit.edu//mosh-1.2.5.tar.gz".
                     ^^

Note: this work has already been done in b0b9606530dfc6de4030 a few
months ago and earlier in c7f4b964718bc5a3329b and 4a9eb20de817fa64,
but no check has been added at that time to avoid new slashes to slip
in, and so they did. This time a patch will follow immediately to
prevent future mistakes from being unnoticed.

Mass-replaced with the following command:

  git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||'

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.2.2
Gustavo Zacarias [Tue, 29 Sep 2015 23:02:19 +0000 (20:02 -0300)]
linux: bump default to version 4.2.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 4.{1, 2}.x series
Gustavo Zacarias [Tue, 29 Sep 2015 23:02:18 +0000 (20:02 -0300)]
linux-headers: bump 4.{1, 2}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglmark2: depend on host-python
Vicente Olivert Riera [Tue, 29 Sep 2015 18:10:51 +0000 (19:10 +0100)]
glmark2: depend on host-python

The waf build system of glmark2 needs Python 2 as stated on its README
file:

python 2.x (>= 2.4) for the build system (waf)

Building it with a system with Python 3 as the default Python version
will result on a failure like this one:

File "waflib/Utils.py", line 199
    except OSError ,e:
                   ^
SyntaxError: invalid syntax

So, in order to fix this, make this package depending on host-python and
also run the waf script using $(HOST_DIR)/usr/bin/python2.

At the same time delete 3 Python environment variables passed to the waf
script during the configure phase which it seems there aren't needed for
anything.

Fixes:

  http://autobuild.buildroot.net/results/fc6/fc6cd2a90bbb0e6f80f6c4afaae1430f82e54046/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoapitrace: needs gcc 4.6 or later
Baruch Siach [Wed, 30 Sep 2015 05:33:39 +0000 (08:33 +0300)]
apitrace: needs gcc 4.6 or later

Fixes:
http://autobuild.buildroot.net/results/4a1/4a183b05b44833ee2f253749c39257b31db963ac/
http://autobuild.buildroot.net/results/a9c/a9c4ed838fae31cb680ff5e19bf03dd7e2f85094/
http://autobuild.buildroot.net/results/026/026eecffd262b0be6675001ee2f5a635207e55c7/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosetools: depends on host-flex
Vicente Olivert Riera [Wed, 30 Sep 2015 07:46:36 +0000 (08:46 +0100)]
setools: depends on host-flex

setools needs host-flex in order to generate some source files during
build time, otherwise it will fail with an error like this one:

error: policy_scan.c: No such file or directory

Issue reported here as a race condition problem, but it turned out that
it the actual problem was the lack of host-flex:

  https://github.com/TresysTechnology/setools3/issues/5#issuecomment-144048612

Fixes:

  http://autobuild.buildroot.net/results/dad/dad9d79c10722b203536540141a6defc79937e4e/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "setools: fix race condition"
Vicente Olivert Riera [Wed, 30 Sep 2015 07:46:35 +0000 (08:46 +0100)]
Revert "setools: fix race condition"

This reverts commit 1ac68fe2c9b4cea91c7a30429ebf75279ede8e70.

Further investigations revealed that the problem wasn't a race condition
but the lack of flex package in the host machine:

  https://github.com/TresysTechnology/setools3/issues/5#issuecomment-144048612

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: fix ZIC configure variable assignment
Baruch Siach [Tue, 29 Sep 2015 20:01:32 +0000 (23:01 +0300)]
postgresql: fix ZIC configure variable assignment

The 'ZIC=$$(ZIC)' assignment is seen as 'ZIC=$(ZIC)' by the shell, that
interprets that as command substitution causing an error like:

/bin/sh: ZIC: command not found

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopostgresql: disable rpath
Baruch Siach [Tue, 29 Sep 2015 20:01:31 +0000 (23:01 +0300)]
postgresql: disable rpath

The linker -rpath option causes the linker to search for libraries in host
directories.

Should fix:
http://autobuild.buildroot.net/results/2cc/2cca5f8d8a8cd1bf9bbbc8c955aec477839e059f/
http://autobuild.buildroot.net/results/da6/da61d30791f216033971d679c84704d0fc0c3de0/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibbluray: explicitly enable optional enabled features
Baruch Siach [Tue, 29 Sep 2015 18:48:47 +0000 (21:48 +0300)]
libbluray: explicitly enable optional enabled features

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoipmiutil: needs dynamic library support
Baruch Siach [Tue, 29 Sep 2015 10:41:21 +0000 (13:41 +0300)]
ipmiutil: needs dynamic library support

ipmiutil builds libipmiutil.so unconditionally.

Fixes:
http://autobuild.buildroot.net/results/e31/e31d94847cad9216aad839c2fbb312e9ea0ae75e/
http://autobuild.buildroot.net/results/5f3/5f3f32473186e6fa3a165b263f682047af8e291e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowpa_supplicant: bump to version 2.5
Baruch Siach [Tue, 29 Sep 2015 07:24:57 +0000 (10:24 +0300)]
wpa_supplicant: bump to version 2.5

Remove upstream patches. Renumber the remaining patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agohostapd: bump to version 2.5
Baruch Siach [Tue, 29 Sep 2015 07:24:56 +0000 (10:24 +0300)]
hostapd: bump to version 2.5

Remove upstream patches.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodos2unix: needs host-gettext
Baruch Siach [Tue, 29 Sep 2015 06:55:48 +0000 (09:55 +0300)]
dos2unix: needs host-gettext

dos2unix uses xgettext to generate its .pot file.

Fixes:
http://autobuild.buildroot.net/results/eda/eda7eeb2fdf7a22c299858ac99d1b1953b15575e/
http://autobuild.buildroot.net/results/aaf/aaf2b77f964eb6259e2e4b1d5a13838c3a1eef21/
http://autobuild.buildroot.net/results/922/92289b63ebdf133ab910f058ffca8ba34e574208/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibssh: indentation cleanup in Config.in
Jerzy Grzegorek [Mon, 28 Sep 2015 21:27:24 +0000 (23:27 +0200)]
libssh: indentation cleanup in Config.in

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibssh: indentation cleanup in .mk file
Jerzy Grzegorek [Mon, 28 Sep 2015 21:27:23 +0000 (23:27 +0200)]
libssh: indentation cleanup in .mk file

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibssh: remove an extra '#' sign in the header package name
Jerzy Grzegorek [Mon, 28 Sep 2015 21:27:22 +0000 (23:27 +0200)]
libssh: remove an extra '#' sign in the header package name

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibssh: normalize header separator size to 80
Jerzy Grzegorek [Mon, 28 Sep 2015 21:27:21 +0000 (23:27 +0200)]
libssh: normalize header separator size to 80

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoipmiutil: fix musl build issues
Baruch Siach [Tue, 29 Sep 2015 06:36:17 +0000 (09:36 +0300)]
ipmiutil: fix musl build issues

Add patches fixing a number of build failures under musl.

The first patch fixes the following autobuild failures:
http://autobuild.buildroot.net/results/bc8/bc8f97f0739e5b842057fdf60eb9309c3e30fac1/
http://autobuild.buildroot.net/results/937/937163f988bb3680630544f6c0ed45b18bc83511/
http://autobuild.buildroot.net/results/862/862af4c6be4b78e65528195305653eedac4163c6/

and others.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibbluray: disable BD-Java
Baruch Siach [Tue, 29 Sep 2015 12:58:23 +0000 (15:58 +0300)]
libbluray: disable BD-Java

BD-Java requires host-ant which is not currently available in Buildroot.

Fixes:
http://autobuild.buildroot.net/results/e87/e8790359cc12d73a22a168a61f59215e50a58f0f/
http://autobuild.buildroot.net/results/bb3/bb33effb844fd6c06efa033cc3e3cb4b4495d1d5/
http://autobuild.buildroot.net/results/623/623de2013eba2bff2d0863968e76f299488f9f35/

and more.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibbluray: add optional fontconfig dependency
Baruch Siach [Tue, 29 Sep 2015 12:58:22 +0000 (15:58 +0300)]
libbluray: add optional fontconfig dependency

Fixes:
http://autobuild.buildroot.net/results/dbf/dbfbf09f48e7ec09be34a3a40d3c859b74379eaf/
http://autobuild.buildroot.net/results/3fb/3fb9c077d4fe772774f53c7611b4dcbaad361312/
http://autobuild.buildroot.net/results/f9c/f9c1f3cf8bfa9eeacb7719459c22bdf7dea26ddb/

and more.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxz: bump to version 5.2.2
Vicente Olivert Riera [Tue, 29 Sep 2015 15:56:39 +0000 (16:56 +0100)]
xz: bump to version 5.2.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ltp-testsuite: version bump to 20150420
Anders Roxell [Thu, 3 Sep 2015 09:01:58 +0000 (11:01 +0200)]
package/ltp-testsuite: version bump to 20150420

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ltp-testsuite: enable power-management tests
Anders Roxell [Thu, 3 Sep 2015 09:01:57 +0000 (11:01 +0200)]
package/ltp-testsuite: enable power-management tests

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ltp-testsuite: enable realtime tests
Anders Roxell [Thu, 3 Sep 2015 09:01:56 +0000 (11:01 +0200)]
package/ltp-testsuite: enable realtime tests

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-external: fix musl-based builds on ARMhf platforms
vicencb@gmail.com [Sun, 27 Sep 2015 13:48:22 +0000 (14:48 +0100)]
toolchain-external: fix musl-based builds on ARMhf platforms

When ARCH is arm and the hard-floating-point option is on executables
expect to find the dynamic linker at /lib/ld-musl-armhf.so.1 and not
/lib/ld-musl-arm.so.1.

This patch adjusts the logic that creates the symbolic link from the
dynamic linker path to the musl C library (since musl has everything
built into a single file).

[Thomas: tweak the commit log.]

Signed-off-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosubversion: bump to version 1.9.2
Vicente Olivert Riera [Mon, 28 Sep 2015 10:07:50 +0000 (11:07 +0100)]
subversion: bump to version 1.9.2

- Bump to version 1.9.2.
- Update the hash file.
- Use a tar.bz2 tarball to save space and bandwidth.
- Fix a typo in the berkeley-db configure option.
- Remove non-existent configure options: neon, gssapi and ssl.
- Remove neon dependency: is not needed to build subversion.
- Tweak the 0001-dont-mangle-cflags.patch for the 1.9.2 version and to
  patch configure.ac instead of configure.
- Add a new 0002-disable-macos-specific-features.patch to remove a
  configure check for Mach-O (and two more) which breaks the build when
  cross-compiling.
- Enable autoreconf since we are patching the configure.ac.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdcadec: bump version
Bernd Kuhls [Mon, 28 Sep 2015 19:27:57 +0000 (21:27 +0200)]
package/libdcadec: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libbluray: bump version
Bernd Kuhls [Mon, 28 Sep 2015 19:27:56 +0000 (21:27 +0200)]
package/libbluray: bump version

Kodi 16.x-Jarvis depends on libbluray > 0.7.0
https://github.com/xbmc/xbmc/commit/329190a0323e332dd9fa9ad14fcbf3b2d92afe77

Also enable UDF support like in OpenElec:
https://github.com/OpenELEC/OpenELEC.tv/commit/50d086b1b21645b0baec881a72fc3c4476f7ade5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdrm: Fix musl build error due to missing include of limits.h
Bernd Kuhls [Sun, 27 Sep 2015 17:25:28 +0000 (19:25 +0200)]
package/libdrm: Fix musl build error due to missing include of limits.h

Fixes
http://autobuild.buildroot.net/results/abb/abb935e7fe71369c593ae92b3acf4a2a674a0300/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibstrophe: add a patch to fix static builds
Vicente Olivert Riera [Mon, 28 Sep 2015 09:17:13 +0000 (10:17 +0100)]
libstrophe: add a patch to fix static builds

libstrophe.a and libcrypto.a have symbols with equal names, so
executables can't be statically linked with libstrophe and openssl:

sha1dgst.c:(.text+0x1b4c): multiple definition of `SHA1_Update'
sha1dgst.c:(.text+0x1cc0): multiple definition of `SHA1_Final'
sha1dgst.c:(.text+0x1e78): multiple definition of `SHA1_Init

Renaming the internal SHA functions fixes the problem.

Issue reported upstream:

  https://github.com/strophe/libstrophe/issues/40

Fixes:

  http://autobuild.buildroot.net/results/047/047e319b9d7bf0cdaabc007326a6d67de2c1ee52/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomosquitto: bump to version 1.4.4
Peter Korsgaard [Sun, 27 Sep 2015 20:49:18 +0000 (22:49 +0200)]
mosquitto: bump to version 1.4.4

[Thomas: tweak commit title as suggested by Vicente.]

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/genimage: bump version to 8
Benoît Thébaudeau [Thu, 24 Sep 2015 09:20:43 +0000 (11:20 +0200)]
package/genimage: bump version to 8

This new version fixes segmentation faults on some platforms.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-ext: add fbtft hint for linux kernel >= v4.0
Peter Seiderer [Fri, 25 Sep 2015 20:30:46 +0000 (22:30 +0200)]
linux-ext: add fbtft hint for linux kernel >= v4.0

Since v4.0 the fbtft drivers are included in the linux kernel
staging area.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agographite2: new package
Gustavo Zacarias [Thu, 24 Sep 2015 14:36:09 +0000 (11:36 -0300)]
graphite2: new package

[Thomas:
 - tweak description of the patch
 - turn the doc/test removal hook as a post patch hook rather than a
   pre-configure hook.]

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodrbd-utils: bump version to 8.9.4
Christophe Vu-Brugier [Thu, 24 Sep 2015 13:36:40 +0000 (15:36 +0200)]
drbd-utils: bump version to 8.9.4

Version 8.9.4 of drbd-utils contains fixes for the musl C library.

Fixes:

  http://autobuild.buildroot.net/results/4e0/4e0ed65b2e06f4ccadcad5b4302e6334667ecbdb

Moreover, this commit adds the --without-manual option to ./configure
and drops the hook used to disable the documentation.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/{mesa3d, mesa3d-headers}: bump version to 10.6.8
Bernd Kuhls [Sat, 26 Sep 2015 12:18:46 +0000 (14:18 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 10.6.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdriver_xf86-input-vmmouse: Add optional dependency to udev
Bernd Kuhls [Sun, 27 Sep 2015 10:00:16 +0000 (12:00 +0200)]
package/x11r7/xdriver_xf86-input-vmmouse: Add optional dependency to udev

Udev support is enabled by default
http://cgit.freedesktop.org/xorg/driver/xf86-input-vmmouse/tree/configure.ac#n113

and only disabled on demand
http://cgit.freedesktop.org/xorg/driver/xf86-input-vmmouse/tree/configure.ac#n115

Fixes
http://autobuild.buildroot.net/results/201/2011ae075db2cc3c22706f96b190de7a4bda99eb/
http://autobuild.buildroot.net/results/cd3/cd3730ed0272c3f335ee90e0cbc4027b07945db3/
http://autobuild.buildroot.net/results/7f7/7f79ca6a35f405b56aa2d619a649ffb367da7790/
http://autobuild.buildroot.net/results/7c9/7c9ab14b22bb14ce70905d3d1471d96241242827/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-generic: use tabs, not spaces
Yann E. MORIN [Sun, 27 Sep 2015 11:34:50 +0000 (13:34 +0200)]
core/pkg-generic: use tabs, not spaces

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopulseaudio: bump to version 7.0
Vicente Olivert Riera [Fri, 25 Sep 2015 11:40:33 +0000 (12:40 +0100)]
pulseaudio: bump to version 7.0

- Bump to version 7.0
- Update the hash file
- Remove non-existing --disable-legacy-runtime-dir configure option

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agokompexsqlite: don't overwrite CFLAGS and CXXFLAGS in makefiles
Max Filippov [Tue, 22 Sep 2015 07:14:58 +0000 (10:14 +0300)]
kompexsqlite: don't overwrite CFLAGS and CXXFLAGS in makefiles

Fixes:
  http://autobuild.buildroot.net/results/68c1cd7ce7889cf8bad8354e8d7b04e912885cb7

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibmng: new package
Gustavo Zacarias [Thu, 24 Sep 2015 14:36:44 +0000 (11:36 -0300)]
libmng: new package

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimx53loco: fix dangling create-boot-sd.sh symlink
Benoît Thébaudeau [Thu, 24 Sep 2015 15:36:37 +0000 (17:36 +0200)]
imx53loco: fix dangling create-boot-sd.sh symlink

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agochrony: S49chrony: fix starting message
Peter Korsgaard [Thu, 24 Sep 2015 18:49:17 +0000 (20:49 +0200)]
chrony: S49chrony: fix starting message

Purely cosmetical. The OK/FAIL should go on the same line as "Starting ..".

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomicropython: Bump version to v1.4.6
Chris Packham [Wed, 23 Sep 2015 23:43:51 +0000 (11:43 +1200)]
micropython: Bump version to v1.4.6

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomicropython: Disable for Blackfin
Chris Packham [Wed, 23 Sep 2015 23:43:50 +0000 (11:43 +1200)]
micropython: Disable for Blackfin

There are two problems building micropython for Blackfin. The first is
some printf format specifier warnings/errors that seem to be triggered
only for that architecture/compiler. This could be worked around by
specifying CFLAGS=-Wno-error=format.

The second problem is that libffi doesn't provide the closure
implementation on Blackfin. There is no known workaround for this issue.

For now disable micropython on Blackfin.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomicropython: Invert fallback detection logic
Chris Packham [Wed, 23 Sep 2015 23:43:49 +0000 (11:43 +1200)]
micropython: Invert fallback detection logic

Rather than specifying architectures that do not have explicit support
in micropython invert the logic and set MICROPY_GCREGS_SETJMP=1 if the
architecture does not have explicit support. MIPS is listed as being
supported but this support consists of automatically defining
MICROPY_GCREGS_SETJMP 1 based on __mips__ being defined.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibstrophe: bump to version 0.8.8
Gustavo Zacarias [Wed, 23 Sep 2015 22:46:58 +0000 (19:46 -0300)]
libstrophe: bump to version 0.8.8

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenssl: change sed expression delimiter
Gustavo Zacarias [Tue, 22 Sep 2015 14:23:40 +0000 (11:23 -0300)]
openssl: change sed expression delimiter

Switch from : to # since CFLAGS can include :'s spilled in from
BR2_TARGET_OPTIMIZATION, for example:

BR2_TARGET_OPTIMIZATION="-Wl,-rpath,/lib:/usr/lib" would cause the sed
expression to fail thus breaking the build.

Changed all of the SEDs to # for consistency.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolvm2: bump to version 2.02.132
Vicente Olivert Riera [Wed, 23 Sep 2015 07:12:01 +0000 (08:12 +0100)]
lvm2: bump to version 2.02.132

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomicropython: fix build for MIPS64 n32
Vicente Olivert Riera [Wed, 23 Sep 2015 08:44:20 +0000 (09:44 +0100)]
micropython: fix build for MIPS64 n32

This patch applies an upstream patch to fix a compile error like this
one:

modffi.c: In function 'ffifunc_call':
modffi.c:358:25: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
             values[i] = (ffi_arg)a;

This error can be highlighted when building micropython for MIPS64 n32
because ffi_arg is 64-bit wide and the pointers on MIPS64 n32 are 32-bit
wide, so it's trying to case an integer to a pointer (or vice versa) of
a different size. We should cast first the pointer (or the integer) to a
pointer sized integer (intptr_t) to fix that problem.

This patch was merged upstream as a result of this pull request:

  https://github.com/micropython/micropython/pull/1471

Fixes:

  http://autobuild.buildroot.net/results/e22/e2253de3f96e9a53e75b4cecaf56c1df2950803f/

[Thomas: use a single assignement for MICROPYTHON_PATCH.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoshairport-sync: fix non-existent meta_dir member of shairport_cfg struct
Vicente Olivert Riera [Mon, 21 Sep 2015 12:29:35 +0000 (13:29 +0100)]
shairport-sync: fix non-existent meta_dir member of shairport_cfg struct

shairport-sync tries to access to a non-existent member called
"meta_dir" of a "shairport_cfg" struct:

[snip]
if (config.meta_dir)
[snip]

That struct doesn't have that member so it causes a build failure like
this one:

mdns_tinysvcmdns.c: In function 'mdns_tinysvcmdns_register':
mdns_tinysvcmdns.c:121:13: error: 'shairport_cfg' has no member named
'meta_dir'
if (config.meta_dir)

This issue has been reported and fixed upstream:

  https://github.com/mikebrady/shairport-sync/issues/128#issuecomment-141947175

Fixes:

  http://autobuild.buildroot.net/results/89d/89d22ba2d41e05b407cde04c7e57510b36973ce9/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-cmake: change sed expression delimiter
Gustavo Zacarias [Mon, 21 Sep 2015 18:57:36 +0000 (15:57 -0300)]
pkg-cmake: change sed expression delimiter

Switch from : to # since CFLAGS can include :'s spilled in from
BR2_TARGET_OPTIMIZATION, for example:

BR2_TARGET_OPTIMIZATION="-Wl,-rpath,/lib:/usr/lib" would cause the sed
expression to fail thus breaking the build.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiw: bump to version 4.3
Gustavo Zacarias [Mon, 21 Sep 2015 21:58:29 +0000 (18:58 -0300)]
iw: bump to version 4.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.2.1
Gustavo Zacarias [Mon, 21 Sep 2015 21:40:00 +0000 (18:40 -0300)]
linux: bump default to version 4.2.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.{4, 10, 12, 14}.x and 4.{1, 2}.x series
Gustavo Zacarias [Mon, 21 Sep 2015 21:39:59 +0000 (18:39 -0300)]
linux-headers: bump 3.{4, 10, 12, 14}.x and 4.{1, 2}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoluv: new package
Jörg Krause [Tue, 28 Jul 2015 20:03:49 +0000 (22:03 +0200)]
luv: new package

libuv bindings for LuaJIT and Lua.

[Thomas:
  - Move the package to the sub-menu of Lua modules.
  - Remove no longer needed dependency on
    BR2_PACKAGE_HAS_LUAINTERPRETER.
  - Propagate dependencies of libuv (mmu, !static, threads)
  - Update to upstream version 1.7.4-4.
  - Add hash file.]

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoelf2flt: fix build when LTO is enabled
Douglas RAILLARD [Sun, 6 Sep 2015 15:48:19 +0000 (17:48 +0200)]
elf2flt: fix build when LTO is enabled

Signed-off-by: Douglas RAILLARD <public.douglas.raillard@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoelf2flt: change upstream repository
Douglas RAILLARD [Sun, 6 Sep 2015 15:40:23 +0000 (17:40 +0200)]
elf2flt: change upstream repository

Use Waldemar Brodkorb's repository (at least) until an
"official" upstream repository is established, to get
the ARM noMMU patches

Signed-off-by: Douglas RAILLARD <public.douglas.raillard@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoscancpan: fix detection of native module
Francois Perrad [Sun, 6 Sep 2015 08:32:50 +0000 (10:32 +0200)]
scancpan: fix detection of native module

When a module is native or depends of a native module, it must be
disabled for static builds via its Config.in

We detect native modules by looking at the filenames listed in the
MANIFEST. If there is a file which looks like it contains code that
much be compiled (e.g. .c, .h and so on...), then we exclude that
module (and its dependencies) from static builds.

That's what we tried to do so far, but failed when there was a
comment on the same line as the filename in the manifest, like so:
    foo-bar.c # Bla bla bla

Fix that by detecting either endof-line (as currently done) or
end-of-string.

For an example of failed build of perl-html-parser, see
http://autobuild.buildroot.net/results/128/128671dfa23d843698a63220c2fac1f44e1d5845/

[Thomas: use better commit log proposed by Yann E. Morin.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomodem-manager: select libgudev, if systemd is enabled
Yegor Yefremov [Fri, 11 Sep 2015 07:09:47 +0000 (09:09 +0200)]
modem-manager: select libgudev, if systemd is enabled

When eudev is used as the udev provider, libgudev is automatically
provided as it is part of eudev. However, when systemd is used as
the udev provider, libgudev is not provided, and needs to be built
separately. This is why we select the libgudev package only if
systemd is used.

Fixes: http://autobuild.buildroot.net/results/d59/d597a81271a082c8252e2333906815c437b6576d/
While at it, group the existing dbus select together with the dbus-glib
select, so that all "select" statements are together.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/shairport-sync: bump to version 2.4
Jörg Krause [Tue, 8 Sep 2015 06:49:43 +0000 (08:49 +0200)]
package/shairport-sync: bump to version 2.4

Version 2.4 of shairport-sync introduces new optional features (metadata,
stdout, pipe) which we enable by default. The impact on the binary size is
about 18 kB (110 kB vs 92 kB) for an ARM target.

Also add a new dependency to libconfig and install the default config script.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: bump ARC axs10x Linux kernel and headers to 4.2 release
Alexey Brodkin [Tue, 8 Sep 2015 14:43:49 +0000 (17:43 +0300)]
configs: bump ARC axs10x Linux kernel and headers to 4.2 release

Linux kernel 4.2 was finally released, so bumping from 4.2-rc5 to
final release.

Updating Linux headers to 4.2 branch since they are introduced in
Buildroot as well already.

Also adding 1 back-ported patch that makes SD/MMC cards usable on AXS
boards.  This patch will be a part of 4.3 (already in linux-next) and
hopefully will make its way in 4.2.1.

Once that patch appears in 4.2.x it can be removed from here.

Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/texinfo: remove package
Vicente Olivert Riera [Wed, 9 Sep 2015 15:01:25 +0000 (16:01 +0100)]
package/texinfo: remove package

Having checked that binutils doesn't need to depend on host-texinfo...

  http://patchwork.ozlabs.org/patch/515914/

...and having fixed gdb to not build the documentation...

  http://patchwork.ozlabs.org/patch/515821/

...we can now safely remove this host package since there aren't any
packages depending on it.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: remove unnecessary host-texinfo dependency
Vicente Olivert Riera [Wed, 9 Sep 2015 14:53:49 +0000 (15:53 +0100)]
binutils: remove unnecessary host-texinfo dependency

host-texinfo dependency was only necessary when building the git version
of binutils, however, this upstream commit allows binutils to build
without makeinfo (a binary provided by host-texinfo)...

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=bba33ab1e0f7d2ebd8f8435f92ed12e2a3c558a4

...so we can safely remove the host-texinfo dependency.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogrub2: pass target NM, OBJCOPY and STRIP
Arnout Vandecappelle [Tue, 8 Sep 2015 21:30:41 +0000 (23:30 +0200)]
grub2: pass target NM, OBJCOPY and STRIP

Fixes https://bugs.busybox.net/show_bug.cgi?id=8256

grub2's build system interprets CC, CFLAGS and CPPFLAGS as for the host
and uses TARGET_CC etc. for the target. However, NM, OBJCOPY and STRIP
are used for the target. We currently pass the host-versions of these
tools as part of $(HOST_CONFIGURE_OPTS).

While we're at it, also pass TARGET_LDFLAGS.

This problem had not been noticed up to now because usually we build on
an x86 machine for the x86 architecture, so the binutils are compatible.
However, this is not true on an i386 when building for x86_64.

Cc: Christophe Bricout <christophebricout@yahoo.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ibrcommon: fix basename call under musl
Brendan Heading [Mon, 14 Sep 2015 22:26:51 +0000 (23:26 +0100)]
package/ibrcommon: fix basename call under musl

Fixes:
http://autobuild.buildroot.net/results/9c3/9c3889fe80e58b7a35c242332f993992044d2f6b/

ibrcommon was relying on a glibc extension to basename(3) which allowed it
to accept a const char* parameter (instead of char*). Fixed by testing
for __GLIBC__; if not defined (such as when musl is in use) a fallback
block is used which creates a temporary copy of the path.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agohost-gcc-final: don't install a potentially dead symlink
Arnout Vandecappelle [Fri, 18 Sep 2015 21:44:26 +0000 (23:44 +0200)]
host-gcc-final: don't install a potentially dead symlink

gcc used to be installed into $(HOST_DIR)/usr/$(GNU_TARGET_NAME) but
since gcc 4.9 this is no longer the case.  Therefore, the cc -> gcc
symlink that is created in that we create in that directory is dead.

There don't seem to have been any problems due to the missing gcc and
cc in $(HOST_DIR)/usr/$(GNU_TARGET_NAME), things seems to build fine
without it. The cc -> gcc symlinks in general should not be needed
anyway, since we always pass the appropriate CC variable to the
package build system.

Therefore, let's remove the cc -> gcc symlink in
$(HOST_DIR)/usr/$(GNU_TARGET_NAME) - also for pre-4.9 gcc versions.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libffi: bump to version 3.2.1
Jörg Krause [Sat, 19 Sep 2015 21:15:01 +0000 (23:15 +0200)]
package/libffi: bump to version 3.2.1

Also:
  - unfuzz patches #1 and #2
  - remove applied patches upstream

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/liblinear: wrap help text to fit 72 columns
Jörg Krause [Sat, 19 Sep 2015 21:33:50 +0000 (23:33 +0200)]
package/liblinear: wrap help text to fit 72 columns

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/liblinear: bump to version 2.01
Jörg Krause [Sat, 19 Sep 2015 21:33:49 +0000 (23:33 +0200)]
package/liblinear: bump to version 2.01

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomicropython: Add upstream patch to fix 64-bit builds
Chris Packham [Sun, 20 Sep 2015 08:44:35 +0000 (20:44 +1200)]
micropython: Add upstream patch to fix 64-bit builds

Fixes the following error when building for a 64-bit target

  ../py/objint_mpz.c:54:5: error: right shift count >= width of type [-Werror]
       (MP_SSIZE_MAX >> MPZ_DIG_SIZE * 4) & DIG_MASK,
       ^
  ../py/objint_mpz.c:54:5: error: initializer element is not constant
  ../py/objint_mpz.c:54:5: error: (near initialization for 'maxsize_dig[4]')

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libmicrohttpd: bump to version 0.9.43
Bernd Kuhls [Sat, 19 Sep 2015 10:34:36 +0000 (12:34 +0200)]
package/libmicrohttpd: bump to version 0.9.43

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: add useful tips on patch versioning and patch submission
Francesco Nwokeka [Tue, 8 Sep 2015 15:28:04 +0000 (17:28 +0200)]
docs/manual: add useful tips on patch versioning and patch submission

Added an alternative on patch versioning (the -v option) and added a
tip on how to automatically mark a previous commit as superseded.

[Thomas: minor tweaks.]

Signed-off-by: Francesco Nwokeka <francesco.nwokeka@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxxhash: new package
Ed Swierk [Thu, 16 Jul 2015 20:59:35 +0000 (13:59 -0700)]
xxhash: new package

"xxHash is an extremely fast hash algorithm, running at RAM speed
limits."

[Thomas:
 - tweak commit log title
 - add correct license and license files information, using the
   suggestion from Yann E. Morin
 - add $(TARGET_MAKE_ENV) in the environment in the build step.]

Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboard/boundarydevices: update u-boot scripts for 3.14 kernels
Gary Bisson [Fri, 11 Sep 2015 09:39:53 +0000 (11:39 +0200)]
board/boundarydevices: update u-boot scripts for 3.14 kernels

Those scripts will support coming platforms such as iMX6SoloX or
iMX6QuadPlus.

One important change is that the bootscript now relies on U-Boot to
make the display detection in order to simplify the script.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonitrogen6x_defconfig: bump version to 3.14.28-1.0.0
Gary Bisson [Fri, 11 Sep 2015 09:39:52 +0000 (11:39 +0200)]
nitrogen6x_defconfig: bump version to 3.14.28-1.0.0

U-Boot version is updated to v2015.07.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqmx6_defconfig: bump version to 3.14.28_1.0.0
Gary Bisson [Fri, 11 Sep 2015 09:39:51 +0000 (11:39 +0200)]
qmx6_defconfig: bump version to 3.14.28_1.0.0

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreescale_imx6*_defconfig: bump version to 3.14.28-1.0.0_ga
Gary Bisson [Fri, 11 Sep 2015 09:39:50 +0000 (11:39 +0200)]
freescale_imx6*_defconfig: bump version to 3.14.28-1.0.0_ga

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-imx: bump version to 0.11.1
Gary Bisson [Fri, 11 Sep 2015 09:39:49 +0000 (11:39 +0200)]
gst1-imx: bump version to 0.11.1

Changelog:
(0.11.1)
- vpu: decoder: Keep track of unfinished gstvideo frames
- blitter fixes and enhancements
- ipu: All pages are now cleared when page flipping is used
- compositor: Added support for cropping input streams
- imxv4l2src fixes and enhancements
(0.11.0)
- new common codebase for rectangular regions and video canvases
- new blitter-based video sink with full support for vsync to
  eliminate tearing
- complete rewrite of blitter base code
- new compositor elements
- vpu: decoder: Memory leaks fixed
- vpu: encoder: Bitrate can now be set on the fly
- eglvivsink: In Wayland, window x/y coordinates are now supported
- several v4l2src fixes
(0.10.2)
- v4l2src: renamed imxv4l2src to imxv4l2videosrc to avoid name
  collisions with the FSL plugins
- v4l2src: Call the buffer pool baseclass stop() function (fixes
  segfaults)
- uniaudio: Create correct config header even if no codecs were found
- audio: new MP3 encoder element using the libfslcodec MP3 encoder
- g2d/ipu/pxp blitter sink: Respect aspect ratio also in 90/270 degree
  rotations
- pxp: Remove broken/unsupported formats
- eglvivsink: Fix double mutex unlock
- phys mem meta naming cleanup

Tested with the following commands:
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxeglvivsink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst-fsl-plugins: bump version to 4.0.3
Gary Bisson [Fri, 11 Sep 2015 09:39:48 +0000 (11:39 +0200)]
gst-fsl-plugins: bump version to 4.0.3

Also added the package hash file.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/0d2f4f8

This package has been tested using the following commands:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-0.10  filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! vpudec ! autovideosink
 # gst-launch-0.10  filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! vpudec ! mfw_isink
 # gst-launch-0.10 imxv4l2src ! autovideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslvpuwrap: bump version to 1.0.58
Gary Bisson [Fri, 11 Sep 2015 09:39:47 +0000 (11:39 +0200)]
libfslvpuwrap: bump version to 1.0.58

Change license file + add hash file.

Changelog:
- Update the license file with new version and use COPYING
- Remove the folder /usr/share to avoid empty folder installation

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/1506776

This package has been implicitely tested through gstreamer as the
plugins rely on it for vpu decoding:
 # gst-launch-0.10 playbin
 # uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslparser: bump version to 4.0.3
Gary Bisson [Fri, 11 Sep 2015 09:39:46 +0000 (11:39 +0200)]
libfslparser: bump version to 4.0.3

Update license file + add hash file.

Changelog:
- Upgrade MP4 and MPEG2 parser
- Update COPYING with new version of license file

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/a7c90ea6

This package has been implicitely tested through gstreamer as the 0.10
plugin relies on it:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslcodec: bump version to 4.0.3
Gary Bisson [Fri, 11 Sep 2015 09:39:45 +0000 (11:39 +0200)]
libfslcodec: bump version to 4.0.3

Update license file + add hash file.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/93b4c8c

This package has been implicitely tested through gstreamer as the 0.10
plugin relies on it:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-imx-viv: bump to version 5.0.11 p4.5
Gary Bisson [Fri, 11 Sep 2015 09:39:44 +0000 (11:39 +0200)]
xdriver_xf86-video-imx-viv: bump to version 5.0.11 p4.5

Modify the version to match the version of imx-gpu-viv. Also add the
package hash file.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/45582680

The following xorg.conf was used in order to force the use of the
vivante module:
https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf

Note that the X server must be started with the "noreset" option to
avoid crashes when closing X apps.
 # X -noreset

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-gpu-viv: bump version to 5.0.11 p4.5
Gary Bisson [Fri, 11 Sep 2015 09:39:43 +0000 (11:39 +0200)]
imx-gpu-viv: bump version to 5.0.11 p4.5

Also add the package hash file.

3.14.28-1.0.1 patch release has the following bug fixes:

MGS-554 [#1644] Fix the false alert with GPU commit dirty
MGS-528 [#ccc] Wayland does not free window memory until the application
exits
GRPH-56 [#ccc] Add environment variable to turn off memory fill
GRPH-55 [ccc] Add alpha channel for direct texture viv extension
MA-6540 [#1672] Fix native fence FD leak found by Android™ CTS
MGS-663 [#1686] P4 release can't be built statically
MA-6527 [#1666] Fix android.webgl.cts.WebGLTest CTS failure
MGS-511-2 [#1593] Qt 3D app cannot run on i.MX 6SoloX board
MGS-658 [#ccc] Fix build warning of isInApiTraceMode for static link
Revert MGS-352 [#1453] Creating context on 5.x is slower than 4.x due to
process name
read
MGS-578 [#1657] GoogleEarth APK encounters a shader compile error
MGS-507 [#1323] RenderToTexture has distorted pictures on screen in DL
board
MGS-547 [#ccc] Add YVYU format test in g2d_overlay_test
MGS-547 [#1640] YVYU format gets wrong result when 2D is built
MGS-564 [#ccc] Resolve race condition in display frame sync
MGS-367 [#1589] "CTRL+C" to close the "tutorial7_es20" causes GPU to
hang
MGS-543 [#1604] Remove some unsupported extensions in gles10
MGS-436 [#ccc] Memory leak in glimagesink video loop playback
MA-6267 [#1600] Fix ES3.0 benchmark UBenchEnhanced can't run
MA-6208-1 [#1543] Fix build error
MA-6208 [#1543] Fix com.drawelements.deqp.gles3 CTS failure
MGS-511 [#1593] Qt 3D app cannot run on i.MX 6SoloX board
MGS-512 [#1493] Fix es30 conformance failures related to glReadPixels
MGS-502 [#ccc] libCLC failure
MGS-500 [#ccc] Disable apitrace for static build

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/8f74380a

This package has been tested with both X11 and Framebuffer backends:
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreescale-imx: bump to 3.14.28-1.0.0_ga release
Gary Bisson [Fri, 11 Sep 2015 09:39:40 +0000 (11:39 +0200)]
freescale-imx: bump to 3.14.28-1.0.0_ga release

Add hash files for the updated packages.

Also update the license of firmware-imx.

This patch is based on the Yocto equivalent:
5521d77c9f191b5808cb3bad4af9484ac

Those packages have been implicitely tested through gstreamer as the
plugins rely on them for vpu decoding for instance:
 # gst-launch-0.10 playbin
 # uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add nitrogen6sx_defconfig for Boundary Devices SoloX board
Gary Bisson [Fri, 11 Sep 2015 10:00:09 +0000 (12:00 +0200)]
configs: add nitrogen6sx_defconfig for Boundary Devices SoloX board

This board is using the exact same kernel and u-boot revision as the
Nitrogen6x. They also share the same u-boot "autoboot" script.

The differences between the two configurations are:
- getty port is ttymxc0 instead of ttymxc1
- uImage load address is 0x80008000
- different device tree

http://boundarydevices.com/product/nit6_solox-imx6/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocmake: bump to version 3.3.2
Gustavo Zacarias [Sat, 19 Sep 2015 12:42:11 +0000 (09:42 -0300)]
cmake: bump to version 3.3.2

xtensa patch is upstream so there's no need for it any longer.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocheck: new package
Gustavo Zacarias [Sat, 19 Sep 2015 12:41:51 +0000 (09:41 -0300)]
check: new package

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotarget-finalize: remove extra /usr/libexec/{*.a,*.la} files
Herve Codina [Tue, 15 Sep 2015 13:27:06 +0000 (15:27 +0200)]
target-finalize: remove extra /usr/libexec/{*.a,*.la} files

Some packages, sudo for instance, install .a and .la files in
$(TARGET_DIR)/usr/libexec. These files are not needed on target.

This patch refactors the existing "find" invocations in
target-finalize into a single one removing all .a and .la files from
lib, usr/lib and usr/libexec.

[Thomas: rework to use a single "find" invocation, and adjusted the
commit log accordingly.]

Signed-off-by: Herve Codina <Herve.CODINA@celad.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agokompexsqlite: new package
Gustavo Zacarias [Mon, 14 Sep 2015 21:45:15 +0000 (18:45 -0300)]
kompexsqlite: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/luaposix: add patch to fix musl compatibility
Jörg Krause [Mon, 14 Sep 2015 23:22:39 +0000 (01:22 +0200)]
package/luaposix: add patch to fix musl compatibility

Backport patch from upstream to fix musl build error:

```
In file included from ext/posix/posix.c:25:0:
ext/posix/sched.c: In function 'Psched_setscheduler':
ext/posix/sched.c:74:9: error: variable 'sched_param' has initializer but incomplete type
  struct sched_param sched_param = {0};
```

Fixed upstream by commit 11cc8a2973569ec7fb1e7c2466dca0282944b124.

[Thomas: add missing <pkg>_AUTORECONF=YES.]

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>