buildroot.git
8 years agoicu: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:51 +0000 (00:07 +0100)]
icu: remove BR2_ARCH_HAS_ATOMICS dependency

The BR2_ARCH_HAS_ATOMICS was added because on ARC, atomic instructions
may not be provided by the architecture and therefore the compiler
does not provide the __sync_*() built-ins.

However, since then, icu was changed and is now able to use C++11
atomics, or even no atomic operations at all. In fact, icu will:

 * If possible, it will use C++11 atomics, which internally rely on
   the __atomic built-ins. These are available since gcc 4.7, and all
   architectures provide it. On some architectures, you *must* link
   with libatomic, on some other architectures, they are available
   built-in, but in all cases, linking against libatomic does not
   harm. Thanks to this, even ARC with no atomic support (which was
   the original reason for adding the BR2_ARCH_HAS_ATOMICS) dependency
   builds fine, provided -latomic is added to LIBS.

 * If C++11 atomics are not available, then it falls back to
   __sync_*() built-ins, which allows compilers older than 4.7 to be
   supported.

 * If really no atomic mechanism is available, then it falls back to a
   basic implementation based on a mutex.

Conclusion:

 - The BR2_ARCH_HAS_ATOMICS dependency is no longer needed.

 - We need to link with -latomic when gcc >= 4.7 is used.

Note that reverse dependencies of icu are also changed accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibftdi: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:48 +0000 (00:07 +0100)]
libftdi: remove BR2_ARCH_HAS_ATOMICS dependency

In commit 669ce8c75eb4c76cef81f279fb6b4f95d1472f51 ("libftdi: add
dependency on atomic operations"), a dependency on
BR2_ARCH_HAS_ATOMICS was added to the libftdi package to fix a build
failure occuring on the ARC architecture due to the missing
__sync_fetch_and_add_4 function:

../ftdipp/.libs/libftdipp.so: undefined reference to `__sync_fetch_and_add_4'

However, today, even on the SPARC architecture that does not implement
any of the __sync built-ins, libftdi and its C++ binding libftdipp
build fine. ARC was also tested and builds fine.

Therefore, we remove the BR2_ARCH_HAS_ATOMICS dependency from libftdi,
and also from flashrom, in which it was only present due to the
selection of libftdi. Note that anyway flashrom is available only for
i386 and x86_64, both of which implement all the __sync built-ins.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibftdi: C++ bindings need boost
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:47 +0000 (00:07 +0100)]
libftdi: C++ bindings need boost

According to libftdi configure.in:

"""
dnl libftdi C++ wrapper. Needs boost.
[...]
        if test "x$HAVE_BOOST" != "xyes"; then
            AC_MSG_ERROR(Sorry, we need the boost library for the C++ wrapper)
        fi
"""

And indeed, if you enable BR2_PACKAGE_LIBTFDI_CPP but don't have Boost
enabled, the libfdipp library is not built. To fix this, this commit
changes BR2_PACKAGE_LIBTFDI_CPP to select Boost.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mjpg-streamer: Fix musl build
Bernd Kuhls [Tue, 26 Jan 2016 19:24:50 +0000 (20:24 +0100)]
package/mjpg-streamer: Fix musl build

Fixes
http://autobuild.buildroot.net/results/74c/74c6006c4d7a97fa69c6feee204631861daffea9/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mesa3d: fix musl build
Bernd Kuhls [Tue, 26 Jan 2016 19:56:46 +0000 (20:56 +0100)]
package/mesa3d: fix musl build

Compile error occured using an allyesconfig, it seems it has not been
caught by the autobuilders yet.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoltp-testsuite: disable tirpc authdes_create tests
Thomas De Schampheleire [Fri, 22 Jan 2016 10:40:31 +0000 (11:40 +0100)]
ltp-testsuite: disable tirpc authdes_create tests

Commit d1d735a1480f0f37a5996cb57c5a35ca2c3c3d90 disables the tests
    tirpc_auth_authdes_seccreate
but not those in
    tirpc_auth_authdes_create
while these also fail on targets without native RPC support.

Update the added patch to exclude those tests too.

Fixes:
http://autobuild.buildroot.net/results/3a2/3a2b141d90b28a2954fa0ad3104cba81d648d2a3/
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mjpg-streamer: bump version, add hash
Bernd Kuhls [Sun, 24 Jan 2016 14:12:58 +0000 (15:12 +0100)]
package/mjpg-streamer: bump version, add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/iptables: nfsynproxy not available on musl
Bernd Kuhls [Sun, 24 Jan 2016 14:10:05 +0000 (15:10 +0100)]
package/iptables: nfsynproxy not available on musl

utils/nfsynproxy.c needs several TCP_* constants which are not yet
provided by musl, they were added Jan 17, 2016 to musl:
http://git.musl-libc.org/cgit/musl/commit/?id=53f41fb568ae43034c9876cc9bd3961fd6d13671

Until we support a musl version containing the constants we disable
the option for building nfsynproxy on musl.

Fixes
http://autobuild.buildroot.net/results/8ee/8ee299d8697bf488ba94f60785e81f274b2128fd/
http://autobuild.buildroot.net/results/f1a/f1ab3fe59d0dd7dd7b9a7bc6bc10a0019f0fa567/
http://autobuild.buildroot.net/results/4f9/4f904a2913984201ad0bffb63664019c73e0eb77/
http://autobuild.buildroot.net/results/65c/65c7d47fdc0f55fb8deb77e34063320e2af337ee/
http://autobuild.buildroot.net/results/aaa/aaaa1fc92b6a885d223681f40c5df7a962ee1fce/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dvbsnoop: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 13:37:59 +0000 (14:37 +0100)]
package/dvbsnoop: fix musl build

Fixes
http://autobuild.buildroot.net/results/6fb/6fbe96af007803acfe9deacf26399cb19e5f2b47/
http://autobuild.buildroot.net/results/be6/be64a45ac158b9057fb3e7ef9b515250acc77187/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/w_scan: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 13:09:07 +0000 (14:09 +0100)]
package/w_scan: fix musl build

Fixes
http://autobuild.buildroot.net/results/d49/d497c0b23b7f905605f1764c136a9d7682e8137e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libsoil: fix build using old versions of patch
Ricardo Martincoski [Sun, 24 Jan 2016 13:19:52 +0000 (11:19 -0200)]
package/libsoil: fix build using old versions of patch

Well-formed patch fails to apply
- patch v2.6:
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 23.
- patch v2.6.1:
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
[snip]
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Patch failed!  Please fix 0001-fix-makefile.patch!

Old versions of the tool "patch" cannot handle spaces in filenames.
The same does not occur using "patch" v2.7 or any later.

Workaround: when a file with space in the name needs to be patched,
one or two hooks must be used.
A pre-patch or post-extract hook renames the file to replace spaces
with underscores.
The patch file must be generated using diff between two source-trees
that have the file renamed with spaces replaced by underscores.
A post-patch hook could rename the file to its original name if needed.

Fixes:
http://autobuild.buildroot.net/results/8ff/8ff91ab8e52000eb34dd8f662520cf1b31490cf5/
http://autobuild.buildroot.net/results/ea7/ea77d6b23aca0cb1cf527e6c16ddf5eba957a69c/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/transmission: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 12:50:13 +0000 (13:50 +0100)]
package/transmission: fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: enable optional support for libhdhomerun
Bernd Kuhls [Sat, 23 Jan 2016 09:44:57 +0000 (10:44 +0100)]
package/tvheadend: enable optional support for libhdhomerun

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libhdhomerun: fix header install path
Bernd Kuhls [Sat, 23 Jan 2016 09:44:56 +0000 (10:44 +0100)]
package/libhdhomerun: fix header install path

Header files are expected to be installed in usr/include/libhdhomerun/

https://packages.debian.org/sid/i386/libhdhomerun-dev/filelist
https://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h#L27

This patch will fix a build error with hdhomerun support enabled in
tvheadend.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 23 Jan 2016 09:44:55 +0000 (10:44 +0100)]
package/tvheadend: bump version

Default configure options were changed in
https://github.com/tvheadend/tvheadend/commit/ad9b54ad908fdc9a069c734234958ae8ad1eb38f
enabling the download of the source of libhdhomerun and its static
build which will lead to a link error because the host compiler is used
for that build. Therefore disable the static build of libhdhomerun by
tvheadend's build system like we do for ffmpeg.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ecryptfs-utils: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 15:58:27 +0000 (16:58 +0100)]
package/ecryptfs-utils: fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6fb/6fbe96af007803acfe9deacf26399cb19e5f2b47/defconfig

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ecryptfs-utils: bump version to 109
Bernd Kuhls [Sun, 24 Jan 2016 15:58:26 +0000 (16:58 +0100)]
package/ecryptfs-utils: bump version to 109

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gzip: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 16:32:29 +0000 (17:32 +0100)]
package/gzip: fix musl build

Inspired by http://patchwork.openembedded.org/patch/111691/
Adding "gl_cv_func_fflush_stdin=yes" was sufficient to fix the build.

Fixes
http://autobuild.buildroot.net/results/56d/56d926fcf8ca53cddb9106617e3b852d9c9a4eeb/
http://autobuild.buildroot.net/results/4b5/4b5a6196b686030cf7fa9706508fd99f81a81049/
http://autobuild.buildroot.net/results/568/568c1c05800d6bdd6457845e998a598e354afdfd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/imx-lib: fix legal-info
Yann E. MORIN [Sun, 24 Jan 2016 19:37:25 +0000 (20:37 +0100)]
package/imx-lib: fix legal-info

The new version of imx-lib no longer bears the EULA file, and has no
other license file.

So, we pick a small header as the license file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Acked-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: fix RSA redefinition build error with old compilers
Thomas Petazzoni [Thu, 21 Jan 2016 21:10:10 +0000 (22:10 +0100)]
vboot-utils: fix RSA redefinition build error with old compilers

Old gcc compilers do not support type redefinitions, which causes a
build failure of the host-vboot-utils package on certain machines. The
vboot-utils source code redefines "typedef struct rsa_st RSA" which is
already defined in the OpenSSL headers.

This commit adds a patch which works around this build issue.

Fixes:

  http://autobuild.buildroot.org/results/1a4/1a45412939a3f9d6fa59d086d834a3b4a4bffef7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: convert to Git formatted patches
Thomas Petazzoni [Thu, 21 Jan 2016 21:10:09 +0000 (22:10 +0100)]
vboot-utils: convert to Git formatted patches

Since vboot-utils is hosted in a Git repository, it makes sense to use
Git formatted patches for this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sqlite: Fix readline support
Bernd Kuhls [Sat, 23 Jan 2016 10:23:44 +0000 (11:23 +0100)]
package/sqlite: Fix readline support

Fixes https://bugs.busybox.net/show_bug.cgi?id=8621#c0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sqlite: Dynamically link libsqlite.so to bin/sqlite3
Bernd Kuhls [Sat, 23 Jan 2016 10:23:43 +0000 (11:23 +0100)]
package/sqlite: Dynamically link libsqlite.so to bin/sqlite3

Fixes https://bugs.busybox.net/show_bug.cgi?id=8621#c1
Lonnie Abelbeck wrote:
"recently sqlite changed it's default behavior wrt the sqlite CLI tool,
 previously it was dynamically linked with libsqlite3.so.0 by default,
 now it is statically linked by default.

The old behavior can be signaled with: --disable-static-shell"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sqlite: Disable autoreconf
Bernd Kuhls [Sat, 23 Jan 2016 10:23:42 +0000 (11:23 +0100)]
package/sqlite: Disable autoreconf

Currently we have no patches for this package, compilation works without
autoreconf.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lttng-tools: needs dynamic library support
Samuel Martin [Sat, 23 Jan 2016 10:52:22 +0000 (11:52 +0100)]
package/lttng-tools: needs dynamic library support

Fixes:
  http://autobuild.buildroot.net/results/b48bc7ad4bede4d16c079da0ae1121e6796a0e8d/
  http://autobuild.buildroot.net/results/25dcb19c3dd32e50990f9b45053d71ea18746a80/
  http://autobuild.buildroot.net/results/a3f93498811491d37ba13d024e33e68a8bc7ba18/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lttng-tools: reorder 'select' vs 'depends on'
Samuel Martin [Sat, 23 Jan 2016 10:52:21 +0000 (11:52 +0100)]
package/lttng-tools: reorder 'select' vs 'depends on'

Place 'depends on' statements before 'select' ones.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibnss: add build workaround for older gcc versions
Gustavo Zacarias [Wed, 6 Jan 2016 14:18:54 +0000 (11:18 -0300)]
libnss: add build workaround for older gcc versions

nss uses some #pragma directives that require newish (>= 4.6) versions
of gcc, so disable Werror when building with older versions to avoid the
build from breaking unfairly.
However make this a gcc >= 4.8 conditional since the kludge is called so
(NSS_NO_GCC48) and other bits might depend upon it.

Upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1226179

Fixes:
http://autobuild.buildroot.net/results/ebd/ebd0647eb1eef41a7fb6e5f5bab18d4d12168661/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinknx: argp-standalone also needed with musl
Thomas Petazzoni [Fri, 22 Jan 2016 09:07:26 +0000 (10:07 +0100)]
linknx: argp-standalone also needed with musl

The linknx package needs the argp functionality, which is provided
built-in by glibc, but not by uClibc and musl. In uClibc
configurations, it correctly selects the argp-standalone package to
compensate this, but forgets to do so in musl-based
configurations. This commit fixes that by selecting the
argp-standalone package.

Found by checking all packages having an argp-standalone
dependency. Note that this commit is not sufficient to make linknx
build properly with musl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiucode-tool: argp-standalone also needed with musl
Thomas Petazzoni [Fri, 22 Jan 2016 09:06:05 +0000 (10:06 +0100)]
iucode-tool: argp-standalone also needed with musl

The iucode-tool package needs the argp functionality, which is
provided built-in by glibc, but not by uClibc and musl. In uClibc
configurations, it correctly selects the argp-standalone package to
compensate this, but forgets to do so in musl-based
configurations. This commit fixes that by selecting the
argp-standalone package, and adjusting the dependency in the .mk file.

Fixes:

  http://autobuild.buildroot.net/results/7f8626db69500a84a393053a485f04180c565673/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/hplip: fixup configure.in script for proper autoreconf
Thomas Petazzoni [Thu, 21 Jan 2016 23:04:51 +0000 (00:04 +0100)]
package/hplip: fixup configure.in script for proper autoreconf

This commit adds a minor patch to hplip's configure.in script, which
avoids the need to create the AUTOHRS, ChangeLog, NEWS and README
files before autoreconfiguring, and silences a huge number of warnings
telling to enable the subdir-objects automake option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/hplip: remove includedir hack
Thomas Petazzoni [Thu, 21 Jan 2016 23:02:32 +0000 (00:02 +0100)]
package/hplip: remove includedir hack

The 0001-fix-make.patch which was added to the hplip package to remove
hardcoded paths to the libusb header introduced a solution that isn't
correct. When cross-compiling, $(includedir) is ${prefix}/include (i.e
/usr/include), so it is not the location where headers can be
found. Due to this, hplip.mk was overriding the includedir value with
--includedir which is not correct.

To replace this mechanism, this commit changes the patch to instead
use pkg-config (which is already used in other places in hplip
configure.in) to detect libusb. This way, we can get rid of the hack
and get a proper detection of libusb.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/hplip: Un-deprecate and bump version to 3.15.11
Olivier Schonken [Wed, 20 Jan 2016 22:17:44 +0000 (00:17 +0200)]
package/hplip: Un-deprecate and bump version to 3.15.11

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/cups: Un-deprecate, and update CUPS to 2.1.2
Olivier Schonken [Wed, 20 Jan 2016 22:17:43 +0000 (00:17 +0200)]
package/cups: Un-deprecate, and update CUPS to 2.1.2

 - Remove 0001-fix-static.patch - Fixed upstream
 - Remove 0002-fix-stack-protector-check.patch - Fixed upstream
 - Remove 0003-mantohtml.patch - Replaced by
   0001-Remove-man-from-BUILDDIRS-in- configure.patch
 - Add 0002-Do-not-use-genstrings.patch
 - Add CUPS_PDFTOPS option to Config.in.legacy - This support was
   moved to the cups-filters package.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas:
 - rewrap patch description in patch 0001
 - adjust patch 0002 to completely remove the call to genstrings
   instead of commenting it, and remove the potentially confusing
   'echo' above it
 - add a third patch that sanitizes the installation process to avoid
   non-working stripping, owernship changes, etc.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiputils: resolve musl compatibility
Matt Weber [Thu, 21 Jan 2016 03:31:47 +0000 (03:31 +0000)]
iputils: resolve musl compatibility

The new upstream is a fork of the original that consolidates other distro's
patches.  This fork resolves a series of musl build failures noted in the
autobuilder log.

http://autobuild.buildroot.net/results/12cb73f3def95efe706bcd957bc2c091e7931d5a/

  - Updated to github fork, selected merge from Nov 3 2015
    which provided musl fixes (last release was to old, 20150815)
  - Why the fork ? (http://www.spinics.net/lists/netdev/msg279881.html)
  - Added missing dependencies for kernel capabilies lib
  - Accounted for new consolidated ping (ipv4/6)

Tested against a buildroot arm musl/glibc toolchains, as well as
autobuilder defconfig.

Signed-off-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiproute2: add musl build fix patch
Gustavo Zacarias [Thu, 21 Jan 2016 18:31:13 +0000 (15:31 -0300)]
iproute2: add musl build fix patch

Patch status: submitted upstream
http://marc.info/?l=linux-netdev&m=145340072013792

Fixes:
http://autobuild.buildroot.net/results/d3d/d3d79b55cb19987d5d5c0da9c0f0d25697697c05/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostunnel: bump to version 5.29
Gustavo Zacarias [Thu, 21 Jan 2016 17:31:54 +0000 (14:31 -0300)]
stunnel: bump to version 5.29

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsecret: bump to version 0.18.4
Gustavo Zacarias [Thu, 21 Jan 2016 14:12:33 +0000 (11:12 -0300)]
libsecret: bump to version 0.18.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodhcpcd: bump to version 6.10.1
Gustavo Zacarias [Thu, 21 Jan 2016 11:27:44 +0000 (08:27 -0300)]
dhcpcd: bump to version 6.10.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibv4l: update upstream status of patches
Thomas Petazzoni [Thu, 21 Jan 2016 14:25:55 +0000 (15:25 +0100)]
libv4l: update upstream status of patches

After some effort to upstream the libv4l patches, 4 out of our 5
patches are now upstream. This commit updates those patches to
indicate their upstream status.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibv4l: add patch to fix libjpeg build issue
Thomas Petazzoni [Thu, 21 Jan 2016 09:52:02 +0000 (10:52 +0100)]
libv4l: add patch to fix libjpeg build issue

Since the bump of libjpeg to v9b, libv4l doesn't build anymore due to
the change of the prototype of jpeg_mem_src(), which gets
re-implemented in libv4l when the libjpeg is too old.

Fixes:

  http://autobuild.buildroot.org/results/e7a/e7a2341cbbcf514f4cd6754a5a36cebd6556a757/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xlib_libfontenc: select zlib
Romain Naour [Wed, 6 Jan 2016 21:09:58 +0000 (22:09 +0100)]
package/x11r7/xlib_libfontenc: select zlib

xlib_libfontenc depends on the zlib package but doesn't select it.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:04 +0000 (19:18 -0300)]
gst1-libav: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-ugly: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:03 +0000 (19:18 -0300)]
gst1-plugins-ugly: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-bad: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:02 +0000 (19:18 -0300)]
gst1-plugins-bad: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-good: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:01 +0000 (19:18 -0300)]
gst1-plugins-good: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-base: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:00 +0000 (19:18 -0300)]
gst1-plugins-base: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogstreamer1: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:17:59 +0000 (19:17 -0300)]
gstreamer1: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/download: alternative access methods to CVS
Joao Mano [Fri, 15 Jan 2016 20:13:15 +0000 (18:13 -0200)]
support/download: alternative access methods to CVS

Allows user to specify other access methods than :pserver:anonymous@
on CVS repositories. This shall be defined in the <pkg>_SITE variable.

[Thomas:
 - as suggested by Yann, quote the variable expansion
 - as suggested by Yann, use a regexp match
 - tweak commit log]

Signed-off-by: Joao Mano <joao@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosqlite: bump to version 3.10.2
Gustavo Zacarias [Wed, 20 Jan 2016 21:58:15 +0000 (18:58 -0300)]
sqlite: bump to version 3.10.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: override the user's locale while setting HOSTARCH
Romain Naour [Wed, 20 Jan 2016 21:53:19 +0000 (22:53 +0100)]
core: override the user's locale while setting HOSTARCH

At least with French user's locale HOSTARCH is empty since
'Target' is not present in gcc output.

gcc -v 2>&1
Utilisation des specs internes.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/lto-wrapper
Cible : x86_64-redhat-linux

Override the user's local with LC_ALL=C.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolldpd: new package
Julien Floret [Tue, 19 Jan 2016 11:10:53 +0000 (12:10 +0100)]
lldpd: new package

lldpd is a 802.1ab implementation (LLDP) to help you locate neighbors
of all your equipments.

LLDP is an industry standard protocol designed to supplant proprietary
Link-Layer protocols such as EDP or CDP. The goal of LLDP is to
provide an inter-vendor compatible mechanism to deliver Link-Layer
notifications to adjacent network devices.

https://vincentbernat.github.io/lldpd/

[Thomas:
 - add depends on BR2_USE_MMU, since fork() is used
 - rewrap Config.in help text]

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-lib: disable libdl for static only builds
Lada Trimasova [Wed, 20 Jan 2016 15:21:18 +0000 (18:21 +0300)]
alsa-lib: disable libdl for static only builds

-ldl includes the reference to the library that has
the symbols for loading dynamic libraries.
So there is no need for this library for static only builds.
Even though alsa-lib uses dlopen, it has functions snd_dlopen
and others which can emulate dynamic linking for the static
build of the alsa-lib library and there is no need in libdl
dlopen when static build only.
This patch fixes build failures of the shairport-sync
(and probably other packages) when static libs are used.

Fixes:
http://autobuild.buildroot.net/results/85a/85a3f01bcd4eb2ce7ac480e63b4cc04bf7c8f3e5/

[Thomas: use a single ALSA_LIB_CONF_OPTS for both --enable-shared=no
and --without-libdl.]

Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoskeleton: move LIB_SYMLINK definition from Makefile
Thomas De Schampheleire [Wed, 20 Jan 2016 19:11:28 +0000 (20:11 +0100)]
skeleton: move LIB_SYMLINK definition from Makefile

Commit 7a6b83a211612ff95a1f5d35b2861ad5655ac8b1 introduced the skeleton
package, which took over the lib32/lib64 -> lib symlink creation from the
main Makefile.
However, the definition of the LIB_SYMLINK variable did not move along, for
no real reason.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: immediate changes to arc-2015.12-rc1
Lada Trimasova [Wed, 20 Jan 2016 18:42:31 +0000 (21:42 +0300)]
gcc: immediate changes to arc-2015.12-rc1

These patches solve several problems that were discovered
after bumping tools to arc-2015.12-rc1.

The fixes were done in development tree arc-4.8-dev and will be
a part of the next release of ARC GNU tools.
Once that new release happens these patches must be removed.

Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibungif: remove deprecated
Gustavo Zacarias [Wed, 20 Jan 2016 16:53:40 +0000 (13:53 -0300)]
libungif: remove deprecated

It's been deprecated for a year now, so remove it.
While at it also remove the BR2_DEPRECATED_SINCE_2015_02 since it's now
unused.
And change the efl gif text to refer to giflib rather than libungif
which is what's used since it was deprecated.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: remove deprecated version 3.16.x
Gustavo Zacarias [Wed, 20 Jan 2016 16:53:39 +0000 (13:53 -0300)]
linux-headers: remove deprecated version 3.16.x

Remove for the upcoming 2016.02 release, it's been deprecated for a year
now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcroco: fix typo in license file
Gustavo Zacarias [Wed, 20 Jan 2016 15:28:09 +0000 (12:28 -0300)]
libcroco: fix typo in license file

Otherwise it won't be saved.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibjpeg: bump to version 9b
Gustavo Zacarias [Wed, 20 Jan 2016 15:23:09 +0000 (12:23 -0300)]
libjpeg: bump to version 9b

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibpng: bump to version 1.6.21
Gustavo Zacarias [Wed, 20 Jan 2016 15:22:59 +0000 (12:22 -0300)]
libpng: bump to version 1.6.21

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agompd: add option to enable/disable httpd output
Waldemar Brodkorb [Tue, 19 Jan 2016 22:45:51 +0000 (23:45 +0100)]
mpd: add option to enable/disable httpd output

It might be useful to disable this plugin.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocmake: bump to version 3.4.2
Gustavo Zacarias [Wed, 20 Jan 2016 14:20:33 +0000 (11:20 -0300)]
cmake: bump to version 3.4.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfuse: bump to version 2.9.5
Gustavo Zacarias [Wed, 20 Jan 2016 13:27:51 +0000 (10:27 -0300)]
libfuse: bump to version 2.9.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocoreutils: bump to version 8.25
Gustavo Zacarias [Wed, 20 Jan 2016 13:19:26 +0000 (10:19 -0300)]
coreutils: bump to version 8.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agontp: security bump to version 4.2.8p6
Gustavo Zacarias [Wed, 20 Jan 2016 13:18:48 +0000 (10:18 -0300)]
ntp: security bump to version 4.2.8p6

CVE-2015-7973 - Deja Vu: Replay attack on authenticated broadcast mode
CVE-2015-7974 - Skeleton Key: Missing key check allows impersonation
between authenticated peers
CVE-2015-7975 - nextvar() missing length check
CVE-2015-7976 - ntpq saveconfig command allows dangerous characters in
filenames
CVE-2015-7977 - reslist NULL pointer dereference
CVE-2015-7978 - Stack exhaustion in recursive traversal of restriction
list
CVE-2015-7979 - Off-path Denial of Service (DoS) attack on authenticated
broadcast mode
CVE-2015-8137 - origin: Zero Origin Timestamp Bypass
CVE-2015-8158 - Potential Infinite Loop in ntpq

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain/external: add MIPS Codescape IMG GNU Linux toolchain
Vicente Olivert Riera [Tue, 15 Dec 2015 16:21:25 +0000 (16:21 +0000)]
toolchain/external: add MIPS Codescape IMG GNU Linux toolchain

[Thomas:
  - rebase on top of master
  - remove version number of the Config.in option name.]

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: add MIPS Codescape MTI GNU Linux toolchain
Vicente Olivert Riera [Tue, 15 Dec 2015 16:21:24 +0000 (16:21 +0000)]
toolchain/external: add MIPS Codescape MTI GNU Linux toolchain

[Thomas:
 - rebase on top of master
 - remove version number of the Config.in option name.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibnspr: remove thumb2 handling
Arnout Vandecappelle [Tue, 19 Jan 2016 22:51:11 +0000 (23:51 +0100)]
libnspr: remove thumb2 handling

libnspr currently passes --enable-thumb2 if the CPU has thumb
instructions. This option will pass -mthumb to the compiler. However,
if an external multilib toolchain is used that has a thumb-specific
variant (e.g. Sourcery), it will try to use that one. But we only copy
a single variant to the sysroot, so the build will fail with:

.../arm-none-linux-gnueabi/bin/ld: cannot find crti.o: No such file or directory
...
collect2: error: ld returned 1 exit status
../../config/rules.mk:303: recipe for target 'libnspr4.so' failed

We can in fact just remove the thumb2 handling. With current libnspr,
the thumb and thumb2 options just add -marm and -mthumb. But we already
pass that in our toolchain wrapper so it's completely redundant.

Note that when nothing is passed, the configure script still tries to
autodetect whether thumb2 is available (but doesn't do it correctly,
see the error above), but in the end it doesn't use the result for
anything. In other words, even if it detects that thumb2 is available,
it will _not_ pass -mthumb to the compiler.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: fix setting of HOSTARCH
Yann E. MORIN [Mon, 9 Nov 2015 19:00:21 +0000 (20:00 +0100)]
core: fix setting of HOSTARCH

Currently, we set HOSTARCH to the output of `uname -m`. This gives us
the architecture as seen by the running kernel. For example, we would
end up with 'x86_64' for a 64-bit kernel running on an x86_64 processor.

We use that value to determine whether we can run some binary tools,
like our pre-configured external toolchains.

However, one may be running a userland in a different bitness than that
of the running kernel. For example, one may run in a 32-bit chroot, even
though the kernel is running in 64-bit.

Up until recently, this was not an issue because the pre-configured
external toolchains were all requiring an i386 (x86 in Buildroot
parlance).

But since we introduced the latest Linaro toolchains, we now have
toolchains that require a 64-bit userland.

So, when running on a 64-bit kernel, we believe those toolchains are
available, even when the user is running a 32-bit userland. This causes
build failures for our autobuilders, like so:

    http://autobuild.buildroot.org/results/9cd/9cdf10ec5b31144b2e03ea09cf128702339895b3/

with the following symptoms:

    >>> toolchain-external undefined Configuring
    Cannot execute cross-compiler '/home/test/autobuild/instance-3/output/host/opt/ext-toolchain/bin/aarch64-linux-gnu-gcc'

So, instead of relying on the output of `uname -r`, look for the host
gcc and extract the target it was configured to generate code for.

Fixes:
    http://autobuild.buildroot.org/results/9cd/9cdf10ec5b31144b2e03ea09cf128702339895b3/  (aarch64)
    http://autobuild.buildroot.org/results/888/8889aa7d9fb48370e4760a6edbc6d3ae945f02f2/  (arm)
    and many more...

Besides fixing those issues, it will also allow us to add the 64-bit
variants of toolchains when they exist, like the upcoming Codescape
MTI and IMG toolchains for MIPS from Imagination Technologies.

[Peter: use HOSTCC_NOCCACHE]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain: allow side by side sysroot directories
Vicente Olivert Riera [Tue, 12 Jan 2016 17:49:38 +0000 (17:49 +0000)]
toolchain: allow side by side sysroot directories

Currently our toolchain infrastructure assumes that every toolchain has
nested sysroot directories. However that's not true for all of them. The
Codescape toolchains from Imagination Technologies use a side by side
sysroot structure, for instance.

This patch allows our toolchain infrastructure to detect what kind of
sysroot structure we have (nested or side by side) and performs the
appropriate actions.

[Thomas: update the comment above the function, to explain what's
going on with nested sysroots and side-by-side sysroots.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/triggerhappy: bump to latest commit to fix runtime issue
Jörg Krause [Tue, 19 Jan 2016 09:51:53 +0000 (10:51 +0100)]
package/triggerhappy: bump to latest commit to fix runtime issue

Bump to latest commit to fix runtime issue with the Linux Kernel headers 4.4:
  Starting thd: Unable to parse trigger line: [..]

With version 4.4 of the Linux Kernel the input event codes are not defined in
'linux/input.h' anymore, but in a seperate header file
'linux/input-event-codes.h' leaving triggerhappys evtable_*.h header files
empty with no event codes defined.

This issue is fixed upstream by commit 7e5abc69f215678e93a6b999524981c8b40bdcd9
which also makes overwriting of the 'LINUX_INPUT_H' definition obsolet.

Tested with an internal Buildroot toolchain with Linux Kernel headers 4.4 and
an external Linaro ARM 2015.08 toolchain with Linux Kernel headers 4.0.

[Peter: add hash file]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-cssselect: new package
Yegor Yefremov [Thu, 14 Jan 2016 08:25:17 +0000 (09:25 +0100)]
python-cssselect: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/{mesa3d, mesa3d-headers}: bump version to 11.1.1
Bernd Kuhls [Sat, 16 Jan 2016 15:21:19 +0000 (16:21 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 11.1.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: add ordering of kconfig options' attributes
Yann E. MORIN [Sat, 16 Jan 2016 22:37:21 +0000 (23:37 +0100)]
docs/manual: add ordering of kconfig options' attributes

We want to ensure all packages follow the same coding style, so we add a
blurb about the order of kconfig options' attributes:

  - first, the type and the prompt
  - the default value if needed
  - then dependencies of the 'depends on' category
  - followed by dependencies of the 'select' form
  - with eventually the help text

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: slightly compactify a paragraph
Yann E. MORIN [Sat, 16 Jan 2016 22:37:20 +0000 (23:37 +0100)]
docs/manual: slightly compactify a paragraph

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/angularjs: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Sat, 16 Jan 2016 22:36:55 +0000 (23:36 +0100)]
package/angularjs: use 'menuconfig' instead of 'config'+'menu'

... and change the modules 'menuconfig' to a simple 'config'

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/alsa-utils: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Sat, 16 Jan 2016 22:36:54 +0000 (23:36 +0100)]
package/alsa-utils: use 'menuconfig' instead of 'config'+'menu'

Drop the now useless comment.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/alsa-lib: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Sat, 16 Jan 2016 22:36:53 +0000 (23:36 +0100)]
package/alsa-lib: use 'menuconfig' instead of 'config'+'menu'

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libbroadvoice: Broken on BR2_arc with gcc <= 4.8
Bernd Kuhls [Sun, 17 Jan 2016 13:53:16 +0000 (14:53 +0100)]
package/libbroadvoice: Broken on BR2_arc with gcc <= 4.8

Please read this bug report for details:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049

Fixes
http://autobuild.buildroot.net/results/4a1/4a1fd92d1ce4963d3e282ea2dc8f0f6c5db4f1e1/
http://autobuild.buildroot.net/results/ce3/ce3be7d27489647a98d8932c5bcabd08c845187b/
http://autobuild.buildroot.net/results/988/988bd189bab37a03c037160d6758774d4aa6c8a0/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx-kobs: fix build for recent toolchains
Gary Bisson [Sun, 17 Jan 2016 19:53:28 +0000 (20:53 +0100)]
imx-kobs: fix build for recent toolchains

Starting with Linux 4.4 headers, mtd-user.h isn't including stdint.h any
more which breaks the build.

Fixes:

  http://autobuild.buildroot.net/results/05a/05a159c7f8382237d4c941b1bb6de7dad72708f3/

[Thomas:
 - fix minor typo in the patch description
 - add reference to the autobuilder failure, as suggested by Baruch.]

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: bump ARC toolchain components to arc-2015.12-rc1
Alexey Brodkin [Mon, 18 Jan 2016 10:17:31 +0000 (13:17 +0300)]
toolchain: bump ARC toolchain components to arc-2015.12-rc1

This change introduces newer ARC toolchain in Buildroot.
Note this is the first release candidate and we'll probably see another
RC before cutting the final release.

That new arc-2015.12 release doesn't bring any significant changes but
mostly is focused on fixes and minor improvements here and there.
Most noticeable changes are:
 * GCC updated to v4.8.5
 * GDB updated to 7.10

You may find more info on fixes and improvements in that release at:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.12-rc1

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluvi: build for the right MIPS endianness
Vicente Olivert Riera [Mon, 18 Jan 2016 16:09:35 +0000 (16:09 +0000)]
luvi: build for the right MIPS endianness

Otherwise it will cause build failures like this one:

[100%] Linking C executable luvi
/home/buildroot/autobuild/run/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/5.2.0/../../../../mipsel-buildroot-linux-gnu/bin/ld:
jitted_tmp/src/lua/init.lua_luvi_generated.o: compiled for a big endian
system and target is little endian

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 0.16.0
Bernd Kuhls [Sun, 17 Jan 2016 14:55:17 +0000 (15:55 +0100)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.16.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libinput: bump version to 1.1.4
Bernd Kuhls [Sun, 17 Jan 2016 14:55:16 +0000 (15:55 +0100)]
package/libinput: bump version to 1.1.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-input-evdev: bump version to 2.10.1
Bernd Kuhls [Sun, 17 Jan 2016 14:55:15 +0000 (15:55 +0100)]
package/x11r7/xdriver_xf86-input-evdev: bump version to 2.10.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xlib_libXi: bump version to 1.7.6
Bernd Kuhls [Sun, 17 Jan 2016 14:55:14 +0000 (15:55 +0100)]
package/x11r7/xlib_libXi: bump version to 1.7.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: handle read-only dts files
Hollis Blanchard [Wed, 12 Aug 2015 00:11:49 +0000 (17:11 -0700)]
linux: handle read-only dts files

Some fine version control systems make all files read-only. The custom DTS file
may therefore be read-only, and that permission is preserved when copying into
the Linux build directory. A subsequent rebuild tries to 'cp' again, which
fails with a "Permission denied" error unless the -f option is used.

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Acked-by: Nikolay Dimitrov <picmaster@mail.bg>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pydal: remove useless empty newline
Thomas Petazzoni [Tue, 19 Jan 2016 20:45:48 +0000 (21:45 +0100)]
python-pydal: remove useless empty newline

There is an empty newline between the "help" keyword, and the help
text, which we don't normally do in Buildroot. This commit gets rid of
this useless empty newline.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agospi-tools: bump to version 0.8.1
Erico Nunes [Tue, 19 Jan 2016 01:10:04 +0000 (23:10 -0200)]
spi-tools: bump to version 0.8.1

This version doesn't use GIT_VERSION anymore, so the sed hook is no
longer necessary.

Fixes http://autobuild.buildroot.net/results/ed89fae4a722b5d2adff9826bb88e55e58af77f6

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst-ffmpeg: disable for MIPS R6
Vicente Olivert Riera [Tue, 19 Jan 2016 12:03:01 +0000 (12:03 +0000)]
gst-ffmpeg: disable for MIPS R6

This package bundles a version of libav which doesn't have support for
MIPS R6.

Fixes:

  http://autobuild.buildroot.org/results/e54/e54f0f9aa8fbc1760379ce64d17422810864b56b/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolighttpd: fix lua compatibility with 5.2.x / 5.3.x
Francois Perrad [Tue, 19 Jan 2016 19:03:36 +0000 (20:03 +0100)]
lighttpd: fix lua compatibility with 5.2.x / 5.3.x

By backporting a fix from upstream.

Fixes:
http://autobuild.buildroot.net/results/13f/13faa9ebce00359b8943775364a432ce422fe8b8/

[Peter: tweak commit description]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoutil-linux: put package options in a sub-menu
Danomi Manchego [Tue, 14 Jul 2015 02:57:08 +0000 (22:57 -0400)]
util-linux: put package options in a sub-menu

Hide all the util-linux options in a menuconfig, as the option
list is quite long.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: bump to 0.19.14
Romain Naour [Wed, 6 Jan 2016 23:05:37 +0000 (00:05 +0100)]
package/enlightenment: bump to 0.19.14

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/elementary: bump to 1.15.3
Romain Naour [Wed, 6 Jan 2016 23:05:36 +0000 (00:05 +0100)]
package/elementary: bump to 1.15.3

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: bump to 1.15.3
Romain Naour [Wed, 6 Jan 2016 23:05:35 +0000 (00:05 +0100)]
package/efl: bump to 1.15.3

Remove upstream patches.
Autoreconf is still needed.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibffi: fix the build for MIPS soft-float with recent compilers
Vicente Olivert Riera [Mon, 18 Jan 2016 16:48:20 +0000 (16:48 +0000)]
libffi: fix the build for MIPS soft-float with recent compilers

Recent MIPS compilers have an stricter agreement between the compiler
and the assembler on the ABI. The compiler now passes -msoft-float to
the assembler where it previously did not.

libffi uses MIPS hard-float instructions so when we try to build it for
soft-float using a recent compiler it fails because of the explained
above. This package should be fixed in order to add support for
soft-float.

In the meantime we can add a little hack in order to be able to build it
for soft-float. Basically we add ".set hardfloat" so the assembler will
not disable the hard-float instructions. The build will of course
include some hard-float bits which shouldn't exist in a soft-float
build, and that may cause runtime problems. But that's what we already
had before and we had lived with it.

We choose to apply this temporary fix because it only affects MIPS
soft-float builds. Otherwise we would need to disable libffi and
recursively all the packages depending on it (python, libglib2...) for
MIPS soft-float, which would be a bit overkill.

Fixes:

  http://autobuild.buildroot.net/results/6b0607b7cb0ac5525c2e47e819301f38bd2d6b30/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibedit: fix build error with musl toolchain
Sergio Prado [Thu, 7 Jan 2016 00:41:17 +0000 (22:41 -0200)]
libedit: fix build error with musl toolchain

Libedit build fails when __STDC_ISO_10646__ is not defined, and that is
the case when compiling with musl toolchains.

chartype.h:52:3: error: #error wchar_t must store ISO 10646 characters
  #error wchar_t must store ISO 10646 characters
   ^

Musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__, so
let's define it manually.

Fixes:
http://autobuild.buildroot.net/results/3d12a7e6423d236c9d528bca7cbcf86b1499d738/
http://autobuild.buildroot.net/results/b92f7e2b86ffa575d8a8a0b91fbdd9bcb0f231de/
http://autobuild.buildroot.net/results/c476a48936f8810117bb292fb0d8a43c09068de6/
http://autobuild.buildroot.net/results/a30bb1423cc92137a2deaec0a32c7df947384d49/

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/alsa-utils: Add option for alsaloop util
Bernd Kuhls [Mon, 18 Jan 2016 21:13:59 +0000 (22:13 +0100)]
package/alsa-utils: Add option for alsaloop util

Add libsamplerate as optional dependency, see
alsa-utils-1.1.0/alsaloop/Makefile.am

[Peter: move libsamplerate dependency outside alsaloop conditional]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogst1-plugins-ugly: Add option for building x264 plugin
Vincent Dehors [Fri, 8 Jan 2016 14:32:19 +0000 (15:32 +0100)]
gst1-plugins-ugly: Add option for building x264 plugin

As x264 is packaged, we can also build the gstreamer plugin using it.
This commit adds the option in menuconfig and make sure it is built if
selected.

[Peter: split fix, add GPL tag, update help text and commit description]
Signed-off-by: Vincent Dehors <vincent.dehors@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogst1-plugins-ugly: fix variable name typo
Peter Korsgaard [Mon, 18 Jan 2016 21:36:04 +0000 (22:36 +0100)]
gst1-plugins-ugly: fix variable name typo

The wrong variable name was used for the configure options.

Reported-by: Vincent Dehors <vincent.dehors@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogst1-plugins-bad: add kernel header version dependency on DVB plugin
Thomas Petazzoni [Mon, 18 Jan 2016 21:01:09 +0000 (22:01 +0100)]
gst1-plugins-bad: add kernel header version dependency on DVB plugin

The DVB plugin uses the FEC_2_5 and QAM_4_NR from the DVB API, which
were added only in kernel 3.7. This commit adds the necessary kernel
header version dependency, which fixes:

  http://autobuild.buildroot.net/results/fab7afc3490d77a6b29760394337298f2fd55d51/

Thanks to Peter Seiderer for the investigation!

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>