buildroot.git
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>
8 years agopython-paramiko: new package
Yegor Yefremov [Sat, 16 Jan 2016 16:41:14 +0000 (17:41 +0100)]
python-paramiko: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-ecdsa: new package
Yegor Yefremov [Sat, 16 Jan 2016 16:41:13 +0000 (17:41 +0100)]
python-ecdsa: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-beautifulsoup4: new package
Yegor Yefremov [Thu, 14 Jan 2016 21:21:00 +0000 (22:21 +0100)]
python-beautifulsoup4: new package

[Peter: extend help text]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download: support older bazaar versions
Yann E. MORIN [Sun, 17 Jan 2016 14:26:09 +0000 (15:26 +0100)]
support/download: support older bazaar versions

In efe7f68 (support/download: generate reproducible Bazaar archives),
bzr was instructed to store files with the timestamp set to the date
they were last modified in the repository, instead of the current date,
using the --per-file-timestamp option.

However, this option has been added only in bzr-2.2 (August 2010) which
is not available on older distros.

We fix that by not using --per-file-timestamp when the bzr version is
older than 2.2, in which case we just generate the archive with the
current date set on files.

This means the archive is thus non-reproducible, and if a hash is
available for that archive, the hash will not match, and Buildroot will
try to download from the mirror (if any) or fail (if no mirror).

Fixes:
    http://autobuild.buildroot.org/results/51f/51f4ff5462c15a85937d411f457096224d00fdcd
    http://autobuild.buildroot.org/results/b88/b8828b5fbc16128408c2f44169ac23de7e34d770
    http://autobuild.buildroot.org/results/fb4/fb4b0fb2131b40c18273dbe5e51b393cb6df18ec
    ...

[Peter: simplify sed invocation]
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomoarvm: disable for sparc64
Waldemar Brodkorb [Sun, 17 Jan 2016 17:33:04 +0000 (18:33 +0100)]
moarvm: disable for sparc64

Missing implementation of AO_fetch_compare_and_swap in
libatomic_ops library for sparcv9.

Fixes:
http://autobuild.buildroot.net/results/268e328e2d9ea951c0728ab6031d32e2b460d015/
http://autobuild.buildroot.net/results/84847a9201244fce3e05e5e4e201f2e1848238de/

[Peter: add autobuilder references]
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libevent: Fix broken download URL
Bernd Kuhls [Mon, 18 Jan 2016 17:38:40 +0000 (18:38 +0100)]
package/libevent: Fix broken download URL

Upstream URL has changed on Sourceforge:

>>> libevent 2.0.22-stable Downloading
--2016-01-17 23:06:31--  http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-17 23:06:31 ERROR 404: Not Found.

Additionally the project moved to github:
http://sourceforge.net/projects/levent/

"As of 2015-10-07, this project may now be found at
 https://github.com/libevent/libevent."

This patch points Config.in to the new upstream URL and fixes the broken
download URL by using github.com.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agouboot: remove unused helper function insert_define
Thomas De Schampheleire [Wed, 6 Jan 2016 13:33:18 +0000 (14:33 +0100)]
uboot: remove unused helper function insert_define

Commit 16b8e813c810fde2fe3655c696edf1e76a7d27ba removed all remaining users
of helper function insert_define.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/micropython-lib: bump to version 1.0
Jörg Krause [Sun, 17 Jan 2016 19:16:58 +0000 (20:16 +0100)]
package/micropython-lib: bump to version 1.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/micropython: bump to version 1.5.2
Jörg Krause [Sun, 17 Jan 2016 19:16:57 +0000 (20:16 +0100)]
package/micropython: bump to version 1.5.2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/uboot-tools: bump to version 2016.01
Jörg Krause [Sat, 16 Jan 2016 21:39:15 +0000 (22:39 +0100)]
package/uboot-tools: bump to version 2016.01

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboot/uboot: bump to version 2016.01
Jörg Krause [Sat, 16 Jan 2016 21:23:17 +0000 (22:23 +0100)]
boot/uboot: bump to version 2016.01

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoorangepipc: readme.txt: fix typo
Peter Korsgaard [Sun, 17 Jan 2016 21:38:36 +0000 (22:38 +0100)]
orangepipc: readme.txt: fix typo

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/orangepipc: bump u-boot to 2016.01
Peter Korsgaard [Sun, 17 Jan 2016 21:53:51 +0000 (22:53 +0100)]
configs/orangepipc: bump u-boot to 2016.01

And configure it for kconfig mode, as that is what it is using.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/orangepipc: add host-dosfstools
Peter Korsgaard [Sun, 17 Jan 2016 21:25:16 +0000 (22:25 +0100)]
configs/orangepipc: add host-dosfstools

genimage from the post-image script needs mkdosfs to create fat partition:

>>>   Executing post-image script board/orangepi/orangepipc/post-image.sh
sh: 1: mkdosfs: not found
vfat(boot.vfat): failed to generate boot.vfat

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/sheevaplug: bump u-boot to 2016.01
Peter Korsgaard [Sun, 17 Jan 2016 20:51:40 +0000 (21:51 +0100)]
configs/sheevaplug: bump u-boot to 2016.01

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/sheevaplug: bump kernel to 4.4
Peter Korsgaard [Sat, 16 Jan 2016 13:06:09 +0000 (14:06 +0100)]
configs/sheevaplug: bump kernel to 4.4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/boost: add patch to fix undeclared isnan issue
Jörg Krause [Thu, 14 Jan 2016 21:17:20 +0000 (22:17 +0100)]
package/boost: add patch to fix undeclared isnan issue

Add patch from upstream [1] to fix build error:
  ./boost/math/special_functions/fpclassify.hpp:137:75: error: '::isnan' has not been declared

Fixes:
http://autobuild.buildroot.net/results/6c7/6c72c189cd029fb6c81798f5443fab331358bb90/
http://autobuild.buildroot.net/results/b70/b709fc201c9df8f76163e2a620da32362abe5288/
http://autobuild.buildroot.net/results/99b/99bdbc5622dfd0ac369611ec07dd2a8a8fe41ce8/
http://autobuild.buildroot.net/results/d2b/d2b270787fc20e45c839d5670af55e47723aef2a/
and many more.

Backported from: fbd1393858719c7bda7d251f742950c1bc691ea8

[1] https://github.com/boostorg/math/commit/fbd1393858719c7bda7d251f742950c1bc691ea8

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobluez5_utils: not available with uClibc
Thomas Petazzoni [Sat, 16 Jan 2016 17:12:22 +0000 (18:12 +0100)]
bluez5_utils: not available with uClibc

Since the bump from 5.27 to 5.37 of bluez5_utils, the bluez code has
started using <wordexp.h> functionality. Unfortunately, our current
uClibc configuration does not have the wordexp functionality enabled,
so bluez5_utils cannot be built anymore.

In order to address this, we make bluez5_utils unavailable on
uClibc. This could be changed later by either removing the dependency
of bluez5_utils on wordexp support, or by deciding to add wordexp
support to our uClibc configuration.

Fixes:

  http://autobuild.buildroot.org/results/831/83112559d84dc156141339a31e3e02f1a2af5155/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-utils: allow installing the new alsatplg tool
Thomas Petazzoni [Sat, 16 Jan 2016 17:10:24 +0000 (18:10 +0100)]
alsa-utils: allow installing the new alsatplg tool

Since we now depend on !BR2_STATIC_LIBS to be able to build the
alsatplg tool, it makes sense to provide an option to install it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-utils: re-order sub-options to use alphabetic ordering
Thomas Petazzoni [Sat, 16 Jan 2016 16:59:08 +0000 (17:59 +0100)]
alsa-utils: re-order sub-options to use alphabetic ordering

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-utils: put 'select' after 'bool'
Thomas Petazzoni [Sat, 16 Jan 2016 16:57:07 +0000 (17:57 +0100)]
alsa-utils: put 'select' after 'bool'

In the definitions of the alsa-utils sub-options, the 'select' were
before the 'bool', which is unusual and does not follow how we do
things in general in Buildroot. This commit fixes that for all
alsa-utils suboptions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-utils: needs dynamic library support
Thomas Petazzoni [Sat, 16 Jan 2016 16:55:03 +0000 (17:55 +0100)]
alsa-utils: needs dynamic library support

Since recent bumps of alsa-lib and alsa-utils, alsa-lib installs
<alsa/topology.h>, which alsa-utils uses to build an alsatplg program
which requires <dlfcn.h>. Therefore, alsa-utils now needs dynamic
library support.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoejabberd: Bump to version 15.11
Johan Oudinet [Mon, 11 Jan 2016 16:26:15 +0000 (17:26 +0100)]
ejabberd: Bump to version 15.11

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluabitop: disabled for Lua 5.3
Francois Perrad [Fri, 15 Jan 2016 08:28:52 +0000 (09:28 +0100)]
luabitop: disabled for Lua 5.3

see failure in http://autobuild.buildroot.net/results/6306c929e9ee05cbb33e4eb6b590166c6554ec21/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoassimp: fix compile for big endian target
Peter Seiderer [Thu, 14 Jan 2016 21:44:21 +0000 (22:44 +0100)]
assimp: fix compile for big endian target

Patch taken from upstream [1].

Fixes ([2]):
  code/Bitmap.cpp: In function 'std::size_t Assimp::Copy(uint8_t*, T&) [with T = short unsigned int, std::size_t = unsigned int, uint8_t = unsigned char]':
  code/Bitmap.cpp:95:50:   instantiated from here
  code/Bitmap.cpp:87:9: error: lvalue required as unary '&' operand

[1] https://github.com/assimp/assimp/commit/756cfd4f74b866e3183caede69daa8c105b73bab.patch
[2] http://autobuild.buildroot.net/results/7aa/7aafdc2633bad96a2a17f4e8664e09aae78a3bbd

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>