buildroot.git
9 years agoinadyn: fix init script and default config file
Thomas Petazzoni [Sat, 17 Oct 2015 14:05:22 +0000 (16:05 +0200)]
inadyn: fix init script and default config file

This commit does a number of fixes to the inadyn package to make it
work properly "out of the box":

 * inadyn is installed in /usr/sbin, not /usr/bin, so we fix the path
   in the init script

 * Use "printf" for the Starting and Stopping messages, so that the OK
   / FAIL stay on the same line.

 * Pass the -q option to the start sequence, since it's passed in the
   stop sequence.

 * Fix the configuration file to use an existing dyndns_system and
   avoid a failure at startup.

 * Use a variable called ENABLED in /etc/default/inadyn to decide
   whether to start the service or not. By default, it is not started,
   as suggested by Gustavo, and an explicit ENABLED="yes" is needed.

 * Store the PID file in /var/run/inadyn.pid, like we do for all other
   daemons.

[Thomas: drop silly comment about uncommenting the alias line in the
configuration file, which is already uncommented. Noticed by Yann.]

Cc: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Add support for GnuTLS
Bernd Kuhls [Sat, 17 Oct 2015 19:38:56 +0000 (21:38 +0200)]
package/ffmpeg: Add support for GnuTLS

Besides OpenSSL ffmpeg also supports GnuTLS.

If both GnuTLS and OpenSSL are enabled, the former takes precedence over
the latter:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=7f9fed31a491ed0991aee2d354dba82e54e3291e;hb=refs/heads/release/2.8#l2719

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: simplify musl patches for SSP support
Thomas Petazzoni [Sat, 17 Oct 2015 13:09:10 +0000 (15:09 +0200)]
gcc: simplify musl patches for SSP support

Now that we are always explicitly passing gcc_cv_libc_provides_ssp,
there is no longer any reason to modify the gcc configure/configure.ac
to take into account the musl case. When a musl toolchain is being
built, BR2_TOOLCHAIN_HAS_SSP is always 'y', and therefore
gcc_cv_libc_provides_ssp=yes is always passed when building
gcc-initial and gcc-final.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: pass explicit gcc_cv_libc_provides_ssp also to gcc-final
Thomas Petazzoni [Sat, 17 Oct 2015 13:09:09 +0000 (15:09 +0200)]
gcc: pass explicit gcc_cv_libc_provides_ssp also to gcc-final

During the gcc-initial build, we already pass
gcc_cv_libc_provides_ssp=yes explicitly when SSP support will be
available in the C library: at this point in time the C library is not
yet built, so gcc cannot detect if it will support SSP or not.

However, it turns out that there are some situations for which it is
also useful to tell gcc explicitly whether the SSP support is
available or not: the gcc logic to decide whether uClibc has SSP
support or not is broken since uClibc-ng bumped the glibc version it
pretends to be.

So, this commit makes sure that we explicitly pass
gcc_cv_libc_provides_ssp both to gcc-initial and gcc-final, and that
we're always passing either 'yes' or 'no'.

Fixes:

   http://autobuild.buildroot.org/results/778/778e6309ba834cc70f8243a4f6c664c0bcaeb7c5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: like glibc, musl always provides SSP support
Thomas Petazzoni [Sat, 17 Oct 2015 13:09:08 +0000 (15:09 +0200)]
toolchain: like glibc, musl always provides SSP support

Make sure BR2_TOOLCHAIN_USES_MUSL selects BR2_TOOLCHAIN_HAS_SSP since
musl always provides SSP support (like glibc).

Signed-off-by: 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>
9 years agobusybox: fix musl build issues
Thomas Petazzoni [Sat, 17 Oct 2015 12:42:58 +0000 (14:42 +0200)]
busybox: fix musl build issues

Musl doesn't implemented wmtp, and its utmp support is not sufficient
to build the latest versions of Busybox, so let's disable wtmp and
utmp support in Busybox for musl toolchains.

We re-use an existing define BUSYBOX_INTERNAL_SHADOW_PASSWORDS that
was used to do some musl-related tweaks to the Busybox configuration
around shadow password functions, and extend it to also do the
utmp/wtmp tweaks. In the process, we rename the define to
BUSYBOX_MUSL_TWEAKS.

Note that BUSYBOX_KCONFIG_FIXUP_CMDS continues to call
BUSYBOX_INTERNAL_SHADOW_PASSWORDS because there is another definition
of this macro under other conditions.

Fixes:

  http://autobuild.buildroot.org/results/b96/b96ffad13bca5e6fbf7ce79538aacbfe27b1eff3/

Signed-off-by: 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>
9 years agoqt5base: Fix compile errors in qurl.h / qeglplatformscreen.cpp
Marc [Thu, 3 Sep 2015 13:22:10 +0000 (15:22 +0200)]
qt5base: Fix compile errors in qurl.h / qeglplatformscreen.cpp

Update the already existing fix for EGL/X11 header issue to fix
an additional problem encountered on my system where I had
compile errors in qeglplatformscreen.cpp. The problem was related
to the wrong order of includes. The X11 headers must always be
included last, as indicated in
http://lists.qt-project.org/pipermail/development/2013-March/010511.html

The fix is done in the existing 0003-xcb-egl-fixes.patch patch, since
it is an additional fix for the same problem.

[Thomas: tweak commit log, and adjust SoB details as suggested by
Arnout.]

Signed-off-by: Marc Andre <marc.andre@netline.ch>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoffmpeg: let the user override the --cpu value
Vicente Olivert Riera [Thu, 15 Oct 2015 12:22:55 +0000 (13:22 +0100)]
ffmpeg: let the user override the --cpu value

Grab the content of BR2_PACKAGE_FFMPEG_EXTRACONF after guessing the CPU,
so the user will still have the possibility to override it.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoccache: allow for BR2_CCACHE_DIR environment override
Gustavo Zacarias [Thu, 15 Oct 2015 13:24:39 +0000 (10:24 -0300)]
ccache: allow for BR2_CCACHE_DIR environment override

Allow the BR2_CCACHE_DIR .config option to be overriden by the
BR2_CCACHE_DIR env variable.
This is useful for big projects where in some cases the developers home
directory might be a NFS mount (slow) and real production builds aren't.

Update documentation accordingly as well.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoofono: fix missing systemd and dbus files
Mike Williams [Thu, 15 Oct 2015 14:35:07 +0000 (10:35 -0400)]
ofono: fix missing systemd and dbus files

Ofono's service file was not being installed when systemd was selected
as the init system.

Without ofono.conf in /etc/dbus-1/system.d, ofonod cannot take its
dbus name on the system bus and will fail to start with a permission
denied error.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconnman: fix missing dbus configuration files
Mike Williams [Thu, 15 Oct 2015 14:35:06 +0000 (10:35 -0400)]
connman: fix missing dbus configuration files

Without connman.conf in /etc/dbus-1/system.d/, connmand cannot take
its name on the dbus system bus and will fail to start with a
permission denied error.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Add optional dependencies
Bernd Kuhls [Sat, 17 Oct 2015 12:31:58 +0000 (14:31 +0200)]
package/ffmpeg: Add optional dependencies

Disable libcdio and libilbc since they are incompatible with ffmpeg.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wavpack: Fix iconv support
Bernd Kuhls [Sat, 17 Oct 2015 12:28:29 +0000 (14:28 +0200)]
package/wavpack: Fix iconv support

wavpack fails to link with libiconv

/bin/bash ../libtool  --tag=CC   --mode=link /home/bernd/buildroot/br3/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc  -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os    -o wvunpack wvunpack-wvunpack.o wvunpack-utils.o wvunpack-md5.o  ../src/.libs/libwavpack.la -lm
libtool: link: /home/bernd/buildroot/br3/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -o wvunpack wvunpack-wvunpack.o wvunpack-utils.o wvunpack-md5.o  ../src/.libs/libwavpack.so -lm -Wl,-rpath -Wl,/home/bernd/buildroot/br3/output/build/wavpack-4.75.2/src/.libs
/home/bernd/buildroot/br3/output/host/usr/lib/gcc/i586-buildroot-linux-uclibc/4.9.3/../../../../i586-buildroot-linux-uclibc/bin/ld: wvunpack-wvunpack.o: undefined reference to symbol 'libiconv_open'

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_WAVPACK=y

Patch suggested by Peter:
http://lists.busybox.net/pipermail/buildroot/2014-February/090596.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rtmpdump: Fix makefile when GnuTLS is used
Bernd Kuhls [Sat, 17 Oct 2015 09:45:58 +0000 (11:45 +0200)]
package/rtmpdump: Fix makefile when GnuTLS is used

In librtmp/Makefile the variable CRYPTO defaults to OpenSSL. When
building with GnuTLS support instead, librtmp.pc includes wrong
libraries:

$ grep Req output/staging/usr/lib/pkgconfig/librtmp.pc
Requires: libssl,libcrypto

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_GNUTLS=y
BR2_PACKAGE_RTMPDUMP=y

Pass RTMPDUMP_CRYPTO also to INSTALL_*_CMDS to fix this problem.
Patch supposed by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/129525

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rtmpdump: Remove optional dependency to PolarSSL
Bernd Kuhls [Sat, 17 Oct 2015 09:45:57 +0000 (11:45 +0200)]
package/rtmpdump: Remove optional dependency to PolarSSL

The makefile of rtmpdump has no support for PolarSSL, so lets remove
support for it, as supposed by Gustavo:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/129531

Fixes
http://autobuild.buildroot.net/results/45d/45dd9adbac449ce0ed66af5b4655b4d9b37faa62/
http://autobuild.buildroot.net/results/ae0/ae0c4bab7975ed2ad77a9f9fd6a300d1327d56b9/
http://autobuild.buildroot.net/results/029/029695a022ba12ff177521ebc3334d7ac2373ddc/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystemd: bump to 227
Maxime Hadjinlian [Thu, 15 Oct 2015 22:16:10 +0000 (00:16 +0200)]
systemd: bump to 227

Added back the hash as it was discussed during the last Buildroot Dev
Days.

Signed-off-by Maxime Hadjinlian <maxime.hadjinlian@gmail.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external/CodeSourcery MIPS: available only for R2
Vicente Olivert Riera [Fri, 16 Oct 2015 16:00:01 +0000 (17:00 +0100)]
toolchain-external/CodeSourcery MIPS: available only for R2

Currently the CodeSourcery toolchains for MIPS can be selected to build
mips32 (revision level 1) targets, but the resulting binaries are built
for mips32r2 instead. This is because these toolchains don't have
library support other than mips32r2, so there is no point to allow the
selection of a mips32 variant with a CodeSourcery MIPS toolchain, since
everything will be built for mips32r2 instead.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/shairport-sync: bump to version 2.4.2
Jörg Krause [Sat, 17 Oct 2015 14:18:27 +0000 (16:18 +0200)]
package/shairport-sync: bump to version 2.4.2

Also add a hash file - github release tarballs are considered stable now.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: fix building perf on ARC
Alexey Brodkin [Sat, 17 Oct 2015 13:15:45 +0000 (16:15 +0300)]
binutils: fix building perf on ARC

It turned out one of the previous fixes (required to build Linux
kernel)
------------------>8-------------------
ARC Binutils: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/a65b844aed9153789356e098984452df2f5d9058
Buildroot: http://git.buildroot.net/buildroot/commit/?id=2d4e2e238a0ea9395152ae71d882d79b1f35094c
------------------>8-------------------
broke building of some other software packages.

In particular perf built for ARCv2 had corrupted .plt entries that lead
to immediate crash on perf execution.

That's an example of normal .plt entries:
------------------>8-------------------
< 1-st PLT entry >:
   12c24:    30 27 8c 7f 0d 00 74 95    ld         r12,[pcl,0x000d9574]
   12c2c:    21 20 00 03                j.d        [r12]
   12c30:    0a 24 c0 1f                mov        r12,pcl

< 2-nd PLT entry >:
   12c34:    30 27 8c 7f 0d 00 68 95    ld         r12,[pcl,0x000d9568]
   12c3c:    21 20 00 03                j.d        [r12]
   12c40:    0a 24 c0 1f                mov        r12,pcl
------------------>8-------------------
Note right after jump in its delay-slot r12 gets set with current value
of program counter. This is required for the first symbol resolution,
see implementation of _dl_linux_resolve here:
http://git.uclibc.org/uClibc/tree/ldso/ldso/arc/resolve.S#n46

And that's what we got in .plt after mentioned fixes:
------------------>8-------------------
< 1-st PLT entry>:
   13384:    30 27 8c 7f 0f 00 84 75     ld         r12,[pcl,0x000f7584]
   1338c:    21 20 00 03                 j.d        [r12]

< 2-nd PLT entry>:
   13390:    30 27 8c 7f 0f 00 78 75     ld         r12,[pcl,0x000f7578]
   13398:    21 20 00 03                 j.d        [r12]
------------------>8-------------------

Note r12 setup is missing.

That happened because linker thought the size of PLT entry is 12 bytes
(which is exactly the size of PLT entry for ARCv1, read ARC750/770)
while for ARCv2 PLT entry is 16-bytes long. And erroneously trailing 4
bytes were truncated.

Current commit fixes this misbehavior and PLT gets generated properly
again.

Now we have a fix for that issue, see
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/5df50c61083165455aae5504c5c3566fa5ccebb1

This fix is in arc-2.23-dev branch and will be a part of the next
release of ARC tools, so then this patch must be removed from buildroot.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: add section about size graphing
Thomas Petazzoni [Sat, 17 Oct 2015 13:33:45 +0000 (15:33 +0200)]
docs/manual: add section about size graphing

Document the new graph-size target and its possibilities.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>