buildroot.git
9 years agoMakefile: implement a graph-size target
Thomas Petazzoni [Sat, 17 Oct 2015 13:33:44 +0000 (15:33 +0200)]
Makefile: implement a graph-size target

This commit implements a graph-size target that calls the script of
the same name to generate the graph and CSV files related to package
and file sizes.

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>
9 years agosupport/scripts: add size-stats script
Thomas Petazzoni [Sat, 17 Oct 2015 13:33:43 +0000 (15:33 +0200)]
support/scripts: add size-stats script

This new script uses the data collected by the step_pkg_size
instrumentation hook to generate a pie chart of the size contribution
of each package to the target root filesystem, and two CSV files with
statistics about the package size and file size. To achieve this, it
looks at each file in $(TARGET_DIR), and using the
packages-file-list.txt information collected by the step_pkg_size
hook, it determines to which package the file belongs. It is therefore
able to give the size installed by each package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-generic: add step_pkg_size global instrumentation hook
Thomas Petazzoni [Sat, 17 Oct 2015 13:33:42 +0000 (15:33 +0200)]
pkg-generic: add step_pkg_size global instrumentation hook

This patch adds a global instrumentation hook that collects the list
of files installed in $(TARGET_DIR) by each package, and stores this
list into a file called $(BUILD_DIR)/packages-file-list.txt. It can
later be used to determine the size contribution of each package to
the target root filesystem.

Note that in order to detect if a file installed by one package is
later overriden by another package, we calculate the md5 of installed
files and compare them at each installation of a new package.

Collecting the list of files installed by each package is done
unconditionally, as tests have shown that the performance impact of
doing this is negligible.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Ryan Barnett <ryanbarnett3@gmail.com>
Tested-by: Ryan Barnett <ryanbarnett3@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibv4l: fix missing libintl linking
Peter Seiderer [Fri, 16 Oct 2015 18:43:31 +0000 (20:43 +0200)]
libv4l: fix missing libintl linking

Add missing libintl linking to utils/dvb and utils/keytable (patch
Makefile.am and do autoreconf with host-gettext dependency).

Patch submitted upstream (see [2]).

Add proper gettext dependency for v4l-utils option.

Fixes [1]:
 dvb-format-convert.o: In function `parse_opt':
 dvb-format-convert.c:(.text+0x46): undefined reference to `libintl_gettext'

[1] http://autobuild.buildroot.net/results/40a/40a12c0d1746dcc51e4f221eefbbf31bd427cac8
[2] http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/95883

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfribidi: indentation cleanup
Jerzy Grzegorek [Sat, 17 Oct 2015 07:30:34 +0000 (09:30 +0200)]
libfribidi: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/jq: bump to version 1.5
Jörg Krause [Thu, 15 Oct 2015 23:46:50 +0000 (01:46 +0200)]
package/jq: bump to version 1.5

Remove patch applied upstream. Add hash file.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/fdk-aac: bump to version 0.1.4
Jörg Krause [Thu, 15 Oct 2015 23:21:31 +0000 (01:21 +0200)]
package/fdk-aac: bump to version 0.1.4

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/wavpack: bump to version 4.75.2
Jörg Krause [Fri, 16 Oct 2015 06:46:41 +0000 (08:46 +0200)]
package/wavpack: bump to version 4.75.2

Autoreconf is not necessary anymore.

WavPack "autodetects" CPU type to enable ASM code. However, the assembly code
for ARM is written for ARMv7 only and building WavPack for an ARM-non-v7
architecture will fail. We explicitly enable ASM for the supported
architectures x86, x64 and ARMv7 and disable it for all others.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-external: bypass buildroot wrapper
Arnout Vandecappelle [Wed, 14 Oct 2015 21:05:55 +0000 (23:05 +0200)]
toolchain-external: bypass buildroot wrapper

The buildroot internal toolchain now adds a wrapper. When we use a
buildroot toolchain as an external toolchain, we want to bypass this
wrapper and call the compiler directly, for two reasons:

1. The options added by the wrapper are not necessarily appropriate
   when it is reused as an external toolchain. For instance, ccache
   may have been enabled while building the toolchain but not when
   using it as an external toolchain.

2. Currently, the wrapper expects to reside in .../usr/bin, but when
   used as an external toolchain it will be in .../ext-toolchain/bin.
   Therefore, the wrapper can't find the real binary and sysroot
   anymore.

To bypass the wrapper, we check for the existence of *.br_real files in
the external toolchain directory. If any such file exists, the wrapper
will add the .br_real suffix for all the wrapped files. Note that the
wrapper doesn't check if the *.br_real exists for each individual
wrapped file, it just assumes that all wrapped files have a
corresponding .br_real. This is currently true but that may change in
the future of course.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: use '.br_real' instead of '.real' suffix for the raw internal toolchain
Arnout Vandecappelle [Wed, 14 Oct 2015 21:05:54 +0000 (23:05 +0200)]
gcc: use '.br_real' instead of '.real' suffix for the raw internal toolchain

If an externally built (non-Buildroot) toolchain also wraps the toolchain
executables, there is a risk that it will also use the '.real' extension.
To minimise this risk, use a more buildroot-specific extension instead:
'.br_real', so we can detect that the external toolchain is built using
Buildroot and get to the raw toolchain binaries.

[Peter: reword description]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/intltool: bump to version 0.51.0
Jörg Krause [Thu, 15 Oct 2015 23:13:43 +0000 (01:13 +0200)]
package/intltool: bump to version 0.51.0

Also add a stronger, locally calculated sha256 checksum.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovala: bump to version 0.30.0
Gustavo Zacarias [Fri, 16 Oct 2015 15:35:27 +0000 (12:35 -0300)]
vala: bump to version 0.30.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoharfbuzz: bump to version 1.0.6
Gustavo Zacarias [Fri, 16 Oct 2015 15:42:21 +0000 (12:42 -0300)]
harfbuzz: bump to version 1.0.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopolarssl: security bump to version 1.2.17
Gustavo Zacarias [Fri, 16 Oct 2015 15:54:36 +0000 (12:54 -0300)]
polarssl: security bump to version 1.2.17

Fixes:
CVE-2015-5291 - Remote attack on clients using session tickets or SNI

Also includes countermeasures against Lenstra's RSA-CRT attach for
PKCS#1 v1.5 signatures (1.2.16) and the Logjam attack (1.2.15).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofping: bump to version 3.12
Gustavo Zacarias [Thu, 15 Oct 2015 19:43:50 +0000 (16:43 -0300)]
fping: bump to version 3.12

Fixes regression with fping6 -R.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoredis: bump to version 3.0.5
Gustavo Zacarias [Thu, 15 Oct 2015 19:43:04 +0000 (16:43 -0300)]
redis: bump to version 3.0.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodillo: bump version to 3.0.5
Peter Seiderer [Thu, 15 Oct 2015 22:11:16 +0000 (00:11 +0200)]
dillo: bump version to 3.0.5

And remove upstream applied patch.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoevemu: bump version to 2.3.1
Peter Seiderer [Thu, 15 Oct 2015 21:33:10 +0000 (23:33 +0200)]
evemu: bump version to 2.3.1

See [1] for details.

[1] http://lists.freedesktop.org/archives/input-tools/2015-October/001221.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/initscripts: S40network: wait for network interfaces to appear
Yann E. MORIN [Sat, 3 Oct 2015 13:31:45 +0000 (14:31 +0100)]
package/initscripts: S40network: wait for network interfaces to appear

On some machines, the network interface is slow to appear. For example,
on the Raspberry Pi, the network interface eth0 is an ethernet-over-USB,
and our standard boot process is too fast, so our network startup script
is called before the USB bus is compeltely enumerated, thus it can't
configure eth0.

Closes #8116.

[Peter: move to S40network, handle multiple interfaces]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobridge-utils: add upstream patch fixing sysfs writes
Thomas De Schampheleire [Thu, 15 Oct 2015 14:45:00 +0000 (16:45 +0200)]
bridge-utils: add upstream patch fixing sysfs writes

Add upstream patch that fixes a sysfs path in br_set.
The patch is on top of the latest release 1.5, which already dates from
2011.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodependencies.sh: improve the missing perl modules detection
Vicente Olivert Riera [Tue, 29 Sep 2015 08:47:02 +0000 (09:47 +0100)]
dependencies.sh: improve the missing perl modules detection

[Thomas:
 - Check for Thread::Queue, not Thread:Queue.
 - Use 'printf' instead of 'echo -e', since printf is POSIX, but not
   'echo -e'.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosconeserver: use direct imagemagick disable
Gustavo Zacarias [Thu, 15 Oct 2015 12:48:50 +0000 (09:48 -0300)]
sconeserver: use direct imagemagick disable

Disabling sconesite image isn't enough to avoid imagemagick
autodetection, and if it's present in the host (distro) but not in the
target it gets automatically picked up. Fixes:
http://autobuild.buildroot.net/results/377/37705926f3023395c54af0532ff95f0125fbaa66/

Also add a comment about autoreconf.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodropbear: bump to 2015.68
Luca Ceresoli [Thu, 15 Oct 2015 12:49:38 +0000 (14:49 +0200)]
dropbear: bump to 2015.68

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofs/axfs: fix URL indentation
Peter Korsgaard [Thu, 15 Oct 2015 19:59:39 +0000 (21:59 +0200)]
fs/axfs: fix URL indentation

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomplayer: enable apng and tdsc only if zlib is available
Vicente Olivert Riera [Wed, 14 Oct 2015 14:15:24 +0000 (15:15 +0100)]
mplayer: enable apng and tdsc only if zlib is available

apng and tdsc are enabled by default, but they need zlib, otherwise the
compilation will fail with an error like this one:

libavcodec/pngdec.c:35:18: fatal error: zlib.h: No such file or
directory
 #include <zlib.h>
                  ^
compilation terminated.

So add an autodep on BR2_PACKAGE_ZLIB to enable or disable support for
apng and tdsc accordingly.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowireshark: security bump to version 1.12.8
Gustavo Zacarias [Thu, 15 Oct 2015 11:07:11 +0000 (08:07 -0300)]
wireshark: security bump to version 1.12.8

Fixes:
CVE-2015-7830 - Pcapng file parser crash.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqlcipher: disable tcl support
Gustavo Zacarias [Thu, 15 Oct 2015 10:42:51 +0000 (07:42 -0300)]
sqlcipher: disable tcl support

In commit b1dcb1c2 a fix was attempted at fixing a build failure where
sqlcipher finds the distribution tcl and tries to build against it.
sqlcipher has two tcl usage scenarios: host-tcl which is required to
actually build it, and target tcl to build bindings.
Since cross-compilation of the bindings isn't clean it fails as well,
and since it wasn't a feature before either just disable it completely,
since the wrong fix makes the sqlcipher build failures worse.
Fixes:
http://autobuild.buildroot.net/results/fc0/fc0528de7fed2f34f503fe8dd8b4c21ded0d6dff/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: update cubieboard_defconfig to a 3.4 kernel
Thomas Petazzoni [Thu, 15 Oct 2015 08:43:51 +0000 (10:43 +0200)]
configs: update cubieboard_defconfig to a 3.4 kernel

The current commit used for the kernel Git repository for Cubieboard,
274a66a7bfcbaabb88d63e4eba161965383cc416, actually points to 3.0
kernel. This is incorrect since the kernel headers version specified
by the defconfig is 3.4. And anyway, the 3.4 kernel is kind of the
official vendor kernel for Allwinner platforms.

mfld.fr@gmail.com reported in bug #7931 that commit
9a1cd034181af628d4145202289e1993c1687db6 was working for him. It is
the latest commit in the sunxi-3.4 branch. So we switch to using this
commit, which was build tested successfully.

While we're at it, remove the definition of BR2_LINUX_KERNEL_VERSION
from the defconfig: it doesn't make sense to have it defined in a
defconfig, as it's a blind option that gets defined from the value of
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION when a Git repository is used to
source the kernel.

Fixes #7931.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: enable fully featured hush shell for nommu
Gustavo Zacarias [Wed, 14 Oct 2015 22:36:45 +0000 (19:36 -0300)]
busybox: enable fully featured hush shell for nommu

As pointed by Rich Fekler on IRC the basic hush shell is pretty much
useless since it doesn't support if conditionals, loops, functions, case
or even interactive mode.
So enable the full feature-set.
Size delta: +10184 bytes uncompressed for blackfin fdpic.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosane-backends: specify explicit path to net-snmp-config
Gustavo Zacarias [Thu, 15 Oct 2015 01:37:46 +0000 (22:37 -0300)]
sane-backends: specify explicit path to net-snmp-config

Otherwise if the host distro has net-snmp devel files sane-backends will
find /usr/bin/net-snmp-config first and the build will break. Fixes:
http://autobuild.buildroot.net/results/c38/c381c316907964787ebe1a0807399022f15d8158/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopango: remove initscript
Gustavo Zacarias [Thu, 15 Oct 2015 01:11:33 +0000 (22:11 -0300)]
pango: remove initscript

pango-querymodules is deprecated/removed, so ditch the initscript.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomusl: honor static vs. shared library options
Charles Duffy [Wed, 14 Oct 2015 04:29:37 +0000 (23:29 -0500)]
musl: honor static vs. shared library options

[Thomas: use SHARED_STATIC_LIBS_OPTS to simplify the logic.]

Signed-off-by: Charles Duffy <chaduffy@cisco.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoguile: handle readline support explicitly
Gustavo Zacarias [Wed, 14 Oct 2015 21:42:36 +0000 (18:42 -0300)]
guile: handle readline support explicitly

Otherwise the host readline (+ncurses) development files can poison the
build causing breakage. Fixes:
http://autobuild.buildroot.net/results/d0a/d0a8ad9d3f19592e06df36408d6af745f7908165/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqlcipher: specify tclConfig.sh directory
Gustavo Zacarias [Wed, 14 Oct 2015 21:41:57 +0000 (18:41 -0300)]
sqlcipher: specify tclConfig.sh directory

Otherwise it will search around, and if the host has it then it breaks.
Fixes:
http://autobuild.buildroot.net/results/057/0572a9a1f69ee214efb10863f5d2852b25bf4f54/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoslang: forcibly disable oniguruma support
Gustavo Zacarias [Wed, 14 Oct 2015 21:42:18 +0000 (18:42 -0300)]
slang: forcibly disable oniguruma support

If the host has oniguruma installed then slang can detect it and try to
(wrongly) link against it resulting in build failure. Fixes:
http://autobuild.buildroot.net/results/51f/51ff079ebbd363e0445d226ec80bc28e524fd88c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaxfs: add new filesystem type
Ariel D'Alessandro [Wed, 14 Oct 2015 19:51:26 +0000 (16:51 -0300)]
axfs: add new filesystem type

The Advanced XIP File System is a Linux kernel filesystem driver that
enables files to be executed directly from flash or ROM memory rather
than being copied into RAM. It has the ability to store individual
*pages* in a file uncompressed/XIP or compressed/Demand Paged.

This commit only adds support for 'XIP all' mode, so all the files that
have the execute attribute set will be XIP'ed.

At the moment, the FS is not supported in Linux mainline (v4.3-rc5), so
the kernel has to be built with the axfs patches to be able to read it.
Patches can be found here: https://github.com/jaredeh/axfs

[Thomas: rewrap Config.in help text.]

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaxfsutils: add new package
Ariel D'Alessandro [Wed, 14 Oct 2015 19:51:25 +0000 (16:51 -0300)]
axfsutils: add new package

Tools for building AXFS Filesystem.

The Advanced XIP File System is a Linux kernel filesystem driver that
enables files to be executed directly from flash or ROM memory rather
than being copied into RAM. It has the ability to store individual
*pages* in a file uncompressed/XIP or compressed/Demand Paged.

Source:
https://github.com/jaredeh/axfs

[Thomas:
 - add hash file.
 - use $(INSTALL) -D -m 0755 instead of cp for installing mkfs.axfs.]

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Add optional dependencies
Bernd Kuhls [Sat, 1 Aug 2015 14:20:41 +0000 (16:20 +0200)]
package/ffmpeg: Add optional dependencies

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpsd: add upstream patch to address bug #8401
Thomas Petazzoni [Wed, 14 Oct 2015 21:24:01 +0000 (23:24 +0200)]
gpsd: add upstream patch to address bug #8401

This commit backports upstream gpsd commit
3e25e2167beb3936de3986fad9b6c9bdec82b81f, which fixes the build of the
NMEA driver.

Fixes Buildroot bug #8401, reported by kevin.alden2@gmail.com.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystem: add options for /bin /sbin and /lib to be symlinks into /usr
Yann E. MORIN [Fri, 4 Sep 2015 20:17:32 +0000 (22:17 +0200)]
system: add options for /bin /sbin and /lib to be symlinks into /usr

systemd is increasingly expecting things to live in /usr/bin, /usr/sbin
or /usr/lib nad not in /bin, /sbin or /lib. It has inherited those
expectations from a Fedora change:
    https://fedoraproject.org/wiki/Features/UsrMove

Note however, that systemd does support /usr being on a separate
filesystem; it just expects an initramfs to mount it before the final
switchroot over to the actual rootfs.

But the traditional use-case for Buildroot is not to boot with an
initramfs; although that is totally feasible, that's probably not what
is commonly done in the vast majority of cases.

However, a lot of packages still install stuff directly into /bin,
/sbin or /lib, which systemd may need early-on in the boot process,
even before it may have a chance to mount /usr. Even though we can
tell systemd, at configure-time, where it should expect programs to
be at runtime, it does not make sense to go head-first against an
upstream wa^Hill.

Add an option so that /bin, /sbin and /lib be symlinks to /usr/bin
and /usr/sbin. That option is forcibly enabled when the init system
is systemd.

Note: we need not handle /lib32 or /lib64, as they already are symlinks
to /lib, which means they will automatically be redirected to /usr/lib,
as /usr/lib32 and /usr/lib64 already are.

Furthermore, this means we're no longer supporting a split-usr setup, so
the corresponding configure options have been removed as well for
systemd and, when using a merged /usr, for eudev as well.

In Buildroot, we decided (with this patch) not to support a split-usr
when systemd is used as an init system. This is a design decision, not
a systemd issue. Thus the select is with BR2_INIT_SYSTEMD rather than
with BR2_PACKAGE_SYSTEMD.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Mike Williams <mike@mikebwilliams.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Tested-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystemd: Bump version and change hosting
Maxime Hadjinlian [Sat, 3 Oct 2015 09:20:14 +0000 (11:20 +0200)]
systemd: Bump version and change hosting

systemd seems to do its release using their github repository up from
the 221 version.

Since they use the auto generated release, we can't have a hash file.

They don't provide the Makefile.in file in the 'po' directory.
We need to run intltoolize so it's created for us.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Tested-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoffmpeg: disable MIPS DSP options by default
Vicente Olivert Riera [Wed, 14 Oct 2015 15:58:22 +0000 (16:58 +0100)]
ffmpeg: disable MIPS DSP options by default

DSP support depends on the core implementation, not on the ISA, so
enabling it for mips64r2 is not correct since you can build a mips64r2
core without DSP support.

Disable mipsdspr1 and mipsdspr2 options by default and let the user
enable them via the BR2_PACKAGE_FFMPEG_EXTRACONF kconfig option, which
will take preference and override the default values.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxtables-addons: bump to version 2.9
Gustavo Zacarias [Wed, 14 Oct 2015 13:44:34 +0000 (10:44 -0300)]
xtables-addons: bump to version 2.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowireless-regdb: bump to version 2015.10.13
Gustavo Zacarias [Wed, 14 Oct 2015 13:44:19 +0000 (10:44 -0300)]
wireless-regdb: bump to version 2015.10.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoapache: bump to version 2.4.17
Vicente Olivert Riera [Wed, 14 Oct 2015 10:20:35 +0000 (11:20 +0100)]
apache: bump to version 2.4.17

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoadwaita-icon-theme: bump to version 3.18.0
Gustavo Zacarias [Wed, 14 Oct 2015 17:04:11 +0000 (14:04 -0300)]
adwaita-icon-theme: bump to version 3.18.0

Also switch from ftp to http, it's better for firewall-laden places.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibsoup: bump to version 2.52.1
Gustavo Zacarias [Wed, 14 Oct 2015 17:04:10 +0000 (14:04 -0300)]
libsoup: bump to version 2.52.1

Disabled vala bindings since they're not used by the current buildroot
packages and it requires gobject-introspection which we don't provide
yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopango: bump to version 1.38.1
Gustavo Zacarias [Wed, 14 Oct 2015 17:04:09 +0000 (14:04 -0300)]
pango: bump to version 1.38.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglib-networking: bump to version 2.46.1
Gustavo Zacarias [Wed, 14 Oct 2015 17:04:08 +0000 (14:04 -0300)]
glib-networking: bump to version 2.46.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibglib2: bump to version 2.46.1
Gustavo Zacarias [Wed, 14 Oct 2015 17:04:07 +0000 (14:04 -0300)]
libglib2: bump to version 2.46.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.2.x series
Gustavo Zacarias [Wed, 14 Oct 2015 14:11:05 +0000 (11:11 -0300)]
linux-headers: bump 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocloog: bump to version 0.18.4
Gustavo Zacarias [Wed, 14 Oct 2015 14:14:26 +0000 (11:14 -0300)]
cloog: 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>
9 years agolxc: bump version to 1.1.4
Ryan Barnett [Wed, 14 Oct 2015 15:22:29 +0000 (10:22 -0500)]
lxc: bump version to 1.1.4

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version to 2.8.1
Bernd Kuhls [Wed, 14 Oct 2015 17:39:59 +0000 (19:39 +0200)]
package/ffmpeg: bump version to 2.8.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofping: bump to version 3.11
Gustavo Zacarias [Wed, 14 Oct 2015 17:06:37 +0000 (14:06 -0300)]
fping: bump to version 3.11

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoharfbuzz: bump to version 1.0.5
Gustavo Zacarias [Wed, 14 Oct 2015 17:07:22 +0000 (14:07 -0300)]
harfbuzz: bump to version 1.0.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agospice-protocol: bump to version 0.12.10
Gustavo Zacarias [Wed, 14 Oct 2015 19:07:44 +0000 (16:07 -0300)]
spice-protocol: bump to version 0.12.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqlite: bump to version 3.9.0
Gustavo Zacarias [Wed, 14 Oct 2015 19:18:08 +0000 (16:18 -0300)]
sqlite: bump to version 3.9.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pypcap: explicitly call pyrexc using python2 to fix too long shebang
Thomas Petazzoni [Wed, 14 Oct 2015 13:09:11 +0000 (15:09 +0200)]
python-pypcap: explicitly call pyrexc using python2 to fix too long shebang

python-pypcap calls thez pyrexc Python script directly. This script is
generated by the pyrexc installation with a shebang line that has a
full path to our host-python interpreter. Unfortunately, since Linux
cuts the shebang line at 128 characters, it means that if you have an
output directory with a very very long name, the pyrexc script does
not run.

To solve that, we explicitly invoke pyrexc with the python2
interpreter.

Note that invoking the python2 interpreter directly is safe because
python-pypcap is only available for Python 2.x, so we are just that
$(HOST_DIR)/usr/bin/python2 is available.

Fixes #8281.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoffmpeg: change tarball compression to xz
Jerzy Grzegorek [Wed, 14 Oct 2015 10:34:22 +0000 (12:34 +0200)]
ffmpeg: change tarball compression to xz

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: bump to version 1.24.0
Vicente Olivert Riera [Wed, 14 Oct 2015 09:04:43 +0000 (10:04 +0100)]
busybox: bump to version 1.24.0

Disable CONFIG_FEATURE_SYNC_FANCY in the busybox.config because that
option causes build failures for any uClibc based toolchains since it
requires syncfs() support, which doens't exist in uClibc.

This new option has been introduced in 1.24.0, so despite of disabling
it, we are not losing anything that we had before.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqueezelite: fix license typo
Jerzy Grzegorek [Wed, 14 Oct 2015 07:40:30 +0000 (09:40 +0200)]
squeezelite: fix license typo

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoliquid-dsp: pass the supported x86 CPU extensions
Thomas Petazzoni [Wed, 14 Oct 2015 08:43:54 +0000 (10:43 +0200)]
liquid-dsp: pass the supported x86 CPU extensions

By default, the liquid-dsp configure script looks at the current CPU
to find which x86 CPU extensions are supported. Those checks use
AC_TRY_RUN(), which cannot work in a cross-compilation environment,
and would anyway be wrong.

To fix this, we explicitly pass the appropriate ac_cv_have_<foo>_ext
autoconf cache variables.

Fixes:

  http://autobuild.buildroot.org/results/eb0/eb002463ed82de461fae11211415c07883a95386/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqueezelite: alsa-lib mixer support is mandatory
Thomas Petazzoni [Wed, 14 Oct 2015 07:38:13 +0000 (09:38 +0200)]
squeezelite: alsa-lib mixer support is mandatory

Fixes:

  http://autobuild.buildroot.net/results/4f5/4f53ed80c7f135c33341919be4d5256409a2b23a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoeventlog: new package
Chris Packham [Sat, 26 Sep 2015 11:25:42 +0000 (23:25 +1200)]
eventlog: new package

eventlog is a library for creating structured events from
applications, and is the workhorse behind syslog-ng's own messages.

[Thomas:
 - fix alphabetic ordering in package/Config.in, as noticed by
   Vicente.
 - rewrap Config.in help text and add some URL as a reference (though
   the eventlog project doesn't seem to have a real web page)
 - remove useless slash at the end of EVENTLOG_SITE
 - make the license info more specific: it's a BSD-3c license
 - add a hash file.]

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mesa3d: Fix dri checks
Bernd Kuhls [Sat, 26 Sep 2015 10:32:43 +0000 (12:32 +0200)]
package/mesa3d: Fix dri checks

"MESA3D_EGL_PLATFORMS = drm" is only needed when dri drivers are
enabled:
http://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=10.6#n1653

Unconditionally enable dri support, also for gallium drivers, quoting
http://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=10.6#n1382

 # Strictly speaking libgbm does not require --enable-dri, although
 # both of its backends do. Thus one can build libgbm without any
 # backends if --disable-dri is set.
 # To avoid unnecessary complexity of checking if at least one backend
 # is available when building, just mandate --enable-dri.
   AC_MSG_ERROR([gbm requires --enable-dri])

Fixes
http://autobuild.buildroot.net/results/799/799f505594f668154af38cb2c2a1ed8a90337e9f/
http://autobuild.buildroot.net/results/d00/d00fe349e8710a1ad557507cf04b006216806868/
http://autobuild.buildroot.net/results/c7b/c7ba08c8cf54b2e7cf28c5e3454e92a408e724db/
http://autobuild.buildroot.net/results/cd7/cd717c9a3a1b0080192e7e765d990cce55513005/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoatk: bump to version 2.18
Jerzy Grzegorek [Tue, 13 Oct 2015 21:29:37 +0000 (23:29 +0200)]
atk: bump to version 2.18

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: remove old/broken Atmel configurations
Thomas Petazzoni [Sat, 3 Oct 2015 19:44:17 +0000 (20:44 +0100)]
configs: remove old/broken Atmel configurations

The at91rm9200df_defconfig configuration is really old: it builds a
2.6.38 kernel with the old days kernel patches and a 2010.06
U-Boot. It hasn't been updated since a long time, so let's get rid of
it.

The at91sam9260dfc_defconfig, at91sam9261ek_defconfig and
at91sam9263ek_defconfig refer to kernel defconfigs that no longer
exists, so they fail to build.

Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-plugins-good: update configure options
Peter Seiderer [Tue, 13 Oct 2015 21:12:34 +0000 (23:12 +0200)]
gst1-plugins-good: update configure options

- remove legacy '--enable-xshm/--disable-xshm' option

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibv4l: bump version to 1.8.0
Peter Seiderer [Tue, 13 Oct 2015 21:08:39 +0000 (23:08 +0200)]
libv4l: bump version to 1.8.0

- add qt, qt5base/qt5gui/qt5widgets dependency for qv4l2
  (qt dependency was missing, qt5 support was added since 1.8.0)

- fix fix moc/rcc/uic detection in case host versions
  of moc-qt5, rcc-qt5 or uic-qt5 are present

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rng-tools: add SysV init script
Benoît Thébaudeau [Tue, 13 Oct 2015 10:26:40 +0000 (12:26 +0200)]
package/rng-tools: add SysV init script

[Thomas: minor adjustments to make the script look more like our
standard init scripts.]

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoejabberd: add a .hash file
Johan Oudinet [Tue, 13 Oct 2015 12:19:12 +0000 (14:19 +0200)]
ejabberd: add a .hash file

[Thomas: slightly tweak the comments.]

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoejabberd: bump to version 15.09
Johan Oudinet [Tue, 13 Oct 2015 10:04:36 +0000 (12:04 +0200)]
ejabberd: bump to version 15.09

Remove patches that have been applied upstream and adapt the other
ones.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoicu: bump to version 56.1
Gustavo Zacarias [Tue, 13 Oct 2015 12:45:00 +0000 (09:45 -0300)]
icu: bump to version 56.1

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mesa3d: Add option to build OSMesa
André Hentschel [Sat, 3 Oct 2015 17:21:55 +0000 (19:21 +0200)]
package/mesa3d: Add option to build OSMesa

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: add mips64 for uClibc-ng
Waldemar Brodkorb [Tue, 11 Aug 2015 05:22:05 +0000 (07:22 +0200)]
toolchain: add mips64 for uClibc-ng

Filter out all other uClibc versions, as they containing
serious bugs for mips64.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/raspberrypi: use EABIhf
Benoît Thébaudeau [Sat, 22 Aug 2015 20:01:25 +0000 (22:01 +0200)]
configs/raspberrypi: use EABIhf

The SoC of the Raspberry Pi 1 is an ARM1176JZF-S, which features a VFPv2
FPU, so use the EABIhf target ABI, which is more efficient than EABI.
This is also the default on Raspbian.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomake: disable guile support
Ryan Barnett [Sun, 20 Sep 2015 21:10:30 +0000 (16:10 -0500)]
make: disable guile support

When building in a static only configuration with guile package
enabled, the following error happens:

 gc_pthread_redirects.h:37:22: fatal error: dlfcn.h: No such file or
 directory
   #   include <dlfcn.h>

The file gc_pthread_redirects.h comes from bdwgc, which gets built
before make in the autobuild test case indicated below. This header
file is known to incorrectly include <dlfcn.h>, unless GC_NO_DLOPEN is
specified.

IF GC_NO_DLOPEN is defined, another issue arises due to libguile and
libintl both defining locale_charset.

We could have kept the guile support enabled only on dynamic library
configurations, and disable it only for static library
configurations. However, the need for guile support in make on the
target seems highly unlikely, so we'd better simply disabling guile
support, which this commit does.

Fixes:

  http://autobuild.buildroot.net/results/814/8143ae0afac139845e5016058d85c800dc8527ad

[Thomas: tweak commit log.]

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogdb: backport xtensa NPTL support
Max Filippov [Fri, 21 Aug 2015 15:38:58 +0000 (18:38 +0300)]
gdb: backport xtensa NPTL support

These changes allow debugging multithreaded NPTL xtensa applications and
inspect TLS variables.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosparc64: fix toolchain building when C++ is enabled
Waldemar Brodkorb [Sun, 11 Oct 2015 17:17:27 +0000 (19:17 +0200)]
sparc64: fix toolchain building when C++ is enabled

Disable libsanitizer for sparc64, too. Same problem as for
sparc, see https://bugs.busybox.net/show_bug.cgi?id=7951

Reported-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tvheadend: add dbus as optional dependency
Bernd Kuhls [Mon, 12 Oct 2015 20:39:30 +0000 (22:39 +0200)]
package/tvheadend: add dbus as optional dependency

Dbus is an optional dependency for tvheadend:
https://github.com/tvheadend/tvheadend/commit/9c7b6047d2e3040e14cdba89f46d8acb2a36a115

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-gpu-viv: add G2D libs and GPU tools selection
Gary Bisson [Mon, 21 Sep 2015 13:45:16 +0000 (15:45 +0200)]
imx-gpu-viv: add G2D libs and GPU tools selection

GPU package now includes libraries for GPU2D as well as several tools to
monitor and debug the GPUs.

GPU2D libraries have been tested with the example provided in the
package:
 # /usr/share/examples/fsl-samples/g2d/overlay_test/g2d_overlay_test
 Overlay rendering time 53861us .

The tools have been tested with the following commands:
 # cd /usr/share/examples/viv_samples/vdk/
 # apitrace trace --api egl ./tutorial7 &
 # gmem_info
 ... display memory use per PID ...
 # killall tutorial7
 # apitrace replay tutorial7.trace
 # eglretrace tutorial7.trace

[Thomas: tweak the installation logic to be more explicit about paths
being copied, and to use cp -dpfr consistently.]

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/iqvlinux: new package
Romain Naour [Fri, 9 Oct 2015 13:26:02 +0000 (15:26 +0200)]
package/iqvlinux: new package

The PCI support needs to be checked since this driver is based
on it. Otherwise the build fail with:
 #error "This driver requires PCI support to be available"

But this message is concealed by several occurrence of this
one:
 error: implicit declaration of function 'pci_find_bus' [-Werror=implicit-function-declaration]

[Thomas:
 - fix minor typo in Config.in: s/Enthernet/Ethernet/
 - license is "GPLv2, BSD-3c", not "GPLv2 or BSD-3c"
 - remove IQVLINUX_PCI_CHECK, until a proper generic solution is
   implemented.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-validate: bump version to 1.6.0
Peter Seiderer [Wed, 7 Oct 2015 21:30:05 +0000 (23:30 +0200)]
gst1-validate: bump version to 1.6.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-libav: bump version to 1.6.0
Peter Seiderer [Wed, 7 Oct 2015 21:30:04 +0000 (23:30 +0200)]
gst1-libav: bump version to 1.6.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-plugins-ugly: bump version to 1.6.0
Peter Seiderer [Wed, 7 Oct 2015 21:30:03 +0000 (23:30 +0200)]
gst1-plugins-ugly: bump version to 1.6.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-plugins-bad: bump version to 1.6.0
Peter Seiderer [Wed, 7 Oct 2015 21:30:02 +0000 (23:30 +0200)]
gst1-plugins-bad: bump version to 1.6.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-plugins-good: bump version to 1.6.0
Peter Seiderer [Wed, 7 Oct 2015 21:30:01 +0000 (23:30 +0200)]
gst1-plugins-good: bump version to 1.6.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-plugins-base: bump version to 1.6.0
Peter Seiderer [Wed, 7 Oct 2015 21:30:00 +0000 (23:30 +0200)]
gst1-plugins-base: bump version to 1.6.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogstreamer1: bump version to 1.6.0
Peter Seiderer [Wed, 7 Oct 2015 21:29:59 +0000 (23:29 +0200)]
gstreamer1: bump version to 1.6.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tvheadend: bump version
Bernd Kuhls [Mon, 12 Oct 2015 20:09:45 +0000 (22:09 +0200)]
package/tvheadend: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Add optional dependency to libtaglib
Bernd Kuhls [Mon, 12 Oct 2015 17:07:54 +0000 (19:07 +0200)]
package/vlc: Add optional dependency to libtaglib

taglib is an optional dependency to vlc:
http://git.videolan.org/gitweb.cgi?p=vlc.git;a=blob;f=configure.ac;h=b9bd76a829da8ee8b8ea69a141827abd87c47cb2;hb=HEAD#l4020

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a
  output/target/usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so
  | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libvlccore.so.8]
 0x00000001 (NEEDED)                     Shared library: [librt.so.1]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.1]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.1]
 0x00000001 (NEEDED)                     Shared library: [libtag.so.1]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.1]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]

Add it to vlc.mk to get reproducable builds.

For taglib itself zlib is only an optional dependency
http://git.buildroot.net/buildroot/tree/package/taglib/taglib.mk#n13

But taglib support in vlc depends on zlib:
http://git.videolan.org/gitweb.cgi?p=vlc.git;a=blob;f=modules/meta_engine/Makefile.am;h=003d292cdc9a80762a6515e0ced77552f13b5120;hb=HEAD#l10
so we select BR2_PACKAGE_ZLIB if BR2_PACKAGE_TAGLIB is selected.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouboot: arm64 arch build support
Ronak Desai [Mon, 12 Oct 2015 18:53:16 +0000 (13:53 -0500)]
uboot: arm64 arch build support

For a 64bit arm architecture, Buildroot uses arm64 terminology and
from the top-level Makefile KERNEL_ARCH is set to arm64 which is then
passed to the uboot build.  This causes a compilation issue as uboot
uses the top-level system architecture as it's $(ARCH).  So
arch/$(ARCH)/Makefile doesn't work with arm64 unless we adjust the
arch.

[Thomas:
 - rewrap commit message text.
 - simplify comment in the code.]

Signed-off-by: Ronak Desai <ronak.desai@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dbus: Add optional dependency to xlib_libSM
Bernd Kuhls [Mon, 12 Oct 2015 19:21:03 +0000 (21:21 +0200)]
package/dbus: Add optional dependency to xlib_libSM

To detect X11 support dbus uses the autoconf macro AC_PATH_XTRA
http://cgit.freedesktop.org/dbus/dbus/tree/configure.ac#n1264

This macro checks for the optional presence of libICE:
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob;f=lib/autoconf/libs.m4;h=d2040d731f81fc1693e01d118c45d51ad169d56a;hb=HEAD#l472

quoting dbus configure with libICE not present:
checking for IceConnectionNumber in -lICE... no

quoting dbus configure with libICE being present:
checking for IceConnectionNumber in -lICE... yes

The binary usr/bin/dbus-launch is being linked to libICE and libSM if
the packages are available:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a
  output/target/usr/bin/dbus-launch | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libdbus-1.so.3]
 0x00000001 (NEEDED)                     Shared library: [libSM.so.6]
 0x00000001 (NEEDED)                     Shared library: [libICE.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.1]

To get a reproducable build add libSM as optional dependency to dbus,
libSM pulls in the dependency to libICE.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dbus: remove empty line from dbus.mk
Bernd Kuhls [Mon, 12 Oct 2015 19:21:02 +0000 (21:21 +0200)]
package/dbus: remove empty line from dbus.mk

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarch: add support for mips32r6 and mips64r6 variants
Vicente Olivert Riera [Mon, 12 Oct 2015 10:08:06 +0000 (11:08 +0100)]
arch: add support for mips32r6 and mips64r6 variants

- Add support for mips32r6 and mips64r6 target architecture variants
- Disable unsupported gcc versions
- Disable unsupported binutils versions
- Disable unsupported external toolchains
- Disable unsuported C libraries
- Add a hook in order to make glibc compile for MIPS R6.

[Thomas: slightly tweak the glibc hack explanation, to make it
hopefully clearer.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevdev: disable runtime tests
Peter Seiderer [Sun, 11 Oct 2015 21:56:33 +0000 (23:56 +0200)]
libevdev: disable runtime tests

Add new configure option '--disable-runtime-tests' and use it do
disable runtime tests which fail to compile on some uclibc
configurations.

Fixes [1], [2]:
  test-libevdev-init.c: In function 'test_set_clock_id':
  test-libevdev-init.c:493: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)

and compile failure for !BR2_USE_MMU configuration:
  test-main.c:(.text+0x8): undefined reference to `_fork'

[1] http://autobuild.buildroot.net/results/0d0/0d0a987471ce8e9f76fc96e0ae8f0bfeadb45028/
[2] http://autobuild.buildroot.net/results/939/9392033f1b8d2c8e4e8791c90918dabbe28a7067/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevdev: bump version to 1.4.4
Peter Seiderer [Sun, 11 Oct 2015 21:56:32 +0000 (23:56 +0200)]
libevdev: bump version to 1.4.4

>From [1]:

A couple of cleanups, one notable fix: we now transparently fix invalid
ABS_MT_TRACKING_ID ranges to something sensible.

The touchpad-edge-detector tool prints out suggested hwdb rules for
resolution overrides. And since the resolution is the main thing to fix on a
device, the libevdev-tweak-device now has a --resolution argument to quickly
set the resolution on the x/y axes.

[1] http://lists.freedesktop.org/archives/input-tools/2015-August/001210.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomrouted: DVMRP missing subnet
Matt Weber [Mon, 12 Oct 2015 16:03:08 +0000 (11:03 -0500)]
mrouted: DVMRP missing subnet

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibuv: add a hash file
Vicente Olivert Riera [Mon, 12 Oct 2015 16:05:39 +0000 (17:05 +0100)]
libuv: add a hash file

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