buildroot.git
10 years agopackage/rpi-userland: bump version
Yann E. MORIN [Sun, 2 Mar 2014 17:07:11 +0000 (18:07 +0100)]
package/rpi-userland: bump version

Fixes memory leaks due to improper thrads handling.
Fixes to example code.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: fix license info
Gustavo Zacarias [Sun, 2 Mar 2014 19:20:56 +0000 (16:20 -0300)]
systemd: fix license info

File is LICENSE.GPL2, not LICENSE.GPLV2, fixes:
http://autobuild.buildroot.net/results/e6c/e6c4dc22c014e62ce35273945a2a2307315ec3f7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agohostapd: rework .config and bump to version 2.1
Gustavo Zacarias [Thu, 27 Feb 2014 20:47:11 +0000 (17:47 -0300)]
hostapd: rework .config and bump to version 2.1

Rework .config file editing as was done for wpa_supplicant and bump to
version 2.1 which includes 802.11ac and ACS support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowpa_supplicant: bump to version 2.1
Gustavo Zacarias [Thu, 27 Feb 2014 20:47:10 +0000 (17:47 -0300)]
wpa_supplicant: bump to version 2.1

Now with 802.11ac and P2P support.

CONFIG_LIBNL32 was a hidden option so switch to ENABLE/DISABLE now.
CONFIG_DRIVER_ATMEL was dropped.
CONFIG_DELAYED_MIC is no longer optional.
CONFIG_AP was also hidden so also switch to ENABLE/DISABLE.
CONFIG_EAP_* now blindly enabled instead of doing one per each.

P2P support is unified with the AP mode config knob since it's the more
likely scenario and share code between them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowpa_supplicant: modify .config rework order
Gustavo Zacarias [Thu, 27 Feb 2014 20:47:09 +0000 (17:47 -0300)]
wpa_supplicant: modify .config rework order

Switch to first enable and then disable.
Otherwise a wildcard enable can't have a single option disabled which is
far more usual than the opposite (and required for a simple bump to
version 2.1).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodmraid: rename init script and use FOO_INSTALL_INIT_SYSV
Maxime Hadjinlian [Tue, 4 Feb 2014 10:06:05 +0000 (11:06 +0100)]
dmraid: rename init script and use FOO_INSTALL_INIT_SYSV

This commit fixes the init script to use the correct
FOO_INSTALL_INIT_SYSV hook.

[Thomas: slightly reword commit log.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodmraid: bump version to 1.0.0.rc16-3
Maxime Hadjinlian [Tue, 4 Feb 2014 10:06:04 +0000 (11:06 +0100)]
dmraid: bump version to 1.0.0.rc16-3

dmraid rc15 does not support later Intel Software RAID (isw) chipsets
correctly. Updating dmraid to a later edition fixes this issue.

Also cleanup and remove now useless patches.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Antony Vennard <arv@vx9.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolvm2: enable cmdlib and dmeventd
Maxime Hadjinlian [Tue, 4 Feb 2014 10:06:03 +0000 (11:06 +0100)]
lvm2: enable cmdlib and dmeventd

In order to use a newer dmraid, the lvm2 package needs
to be compiled with --enable-cmdlib --enable-dmeventd, which
dmraid can then invoke on boot.

[Thomas: slightly reformat the list of configure options.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Antony Vennard <arv@vx9.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: add comment arch dependencies
Baruch Siach [Sun, 2 Mar 2014 14:35:14 +0000 (16:35 +0200)]
samba4: add comment arch dependencies

Hide the comment for unsupported architectures.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: clarify Tested-by/Reviewed-by/Acked-by tags
Thomas De Schampheleire [Sun, 2 Mar 2014 14:17:22 +0000 (15:17 +0100)]
manual: clarify Tested-by/Reviewed-by/Acked-by tags

This patch updates the manual with more clarified descriptions of tags
Tested-by, Reviewed-by, and Acked-by, as discussed on the Buildroot
developer days in February 2014.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: add missing host-gperf dependency
Thomas Petazzoni [Sun, 2 Mar 2014 15:14:21 +0000 (16:14 +0100)]
systemd: add missing host-gperf dependency

Fixes:

  http://autobuild.buildroot.org/results/910/91010b43e63b82e050046b8f10c2c42f31a8a620/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: add cross answers for x86_64
Christophe Vu-Brugier [Sat, 8 Feb 2014 14:34:21 +0000 (15:34 +0100)]
samba4: add cross answers for x86_64

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: new package
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:18 +0000 (09:42 -0300)]
samba4: new package

Samba 4.1.x uses the waf build system which isn't very cross-compile
friendly, and also some tests are formulated in a way that isn't
cross-build friendly either by needing to run them.

For this reason the samba4 build system includes a way to define
answers for many of the tests, but this support isn't complete
and some tests still want to be executed.

Samba 4.1.x also requires a proper answers file for each architecture,
and at the moment i've only tested for ARM and PowerPC so only those
architectures are supported to begin with. To add support for another
architecture basically copy one of the cache files to the proper name,
enable it in Config.in and adjust endianess and all of the "size of"
answers. I'm in the process of automating the sizeof and endianess
answers within the samba build system to make them cross friendly
to simplify the answers file to just one generic linux variant.
The 3.6.x branch is still security supported for the forseeable future.

I'm currently working with samba upstream to solve many of these
issues but this will probably happen with the yet unreleased
4.2 branch only.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba: update description and rename patches
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:17 +0000 (09:42 -0300)]
samba: update description and rename patches

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoheimdal: new package
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:16 +0000 (09:42 -0300)]
heimdal: new package

host-heimdal is required for samba 4.1.x since it can't (yet) link
with an external heimdal implementation and can't cross-compile the
internal tools.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: fixup python-config script
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:15 +0000 (09:42 -0300)]
python: fixup python-config script

The original version uses sysconfig from the python interpreter
(normally host-python) which isn't really suited to provide information
of the target python.
Use the pure shell preprocessed backport from the upcoming python 3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs: add SoCkit defconfig
Sebastien Bourdelin [Tue, 25 Feb 2014 19:16:16 +0000 (14:16 -0500)]
configs: add SoCkit defconfig

This commit introduces initial support for the Arrow SoCkit
boards, featuring an Altera Cyclone V SoC:
http://www.altera.com/b/arrow-sockit.html

It is based on Roman Diouskine's work at
https://github.com/rndi/buildroot-alt.

The kernel and the u-boot used is the one developped by the
rocketboards.org community, as mainline support is not fully
available yet.

More info is available in the board/altera/sockit/readme.txt file.

[Thomas: remove a number of not really needed empty new lines in the
readme.txt file, update the defconfig for the new kernel headers
options.]

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdrm: bump to version 2.4.52
Bernd Kuhls [Sat, 1 Mar 2014 15:41:12 +0000 (16:41 +0100)]
libdrm: bump to version 2.4.52

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdrm: Remove dependency towards X11
Bernd Kuhls [Sat, 1 Mar 2014 15:41:11 +0000 (16:41 +0100)]
libdrm: Remove dependency towards X11

Using this defconfig

BR2_x86_pentium_mmx=y
BR2_ENABLE_DEBUG=y
BR2_OPTIMIZE_2=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
# BR2_UCLIBC_INSTALL_UTILS is not set
BR2_BINUTILS_VERSION_2_23_2=y
BR2_GCC_VERSION_4_8_X=y
BR2_PACKAGE_LIBDRM=y
BR2_PACKAGE_LIBDRM_RADEON=y
BR2_PACKAGE_LIBDRM_NOUVEAU=y
BR2_PACKAGE_LIBDRM_VMWGFX=y

libdrm (w/o Intel API) compiles without BR2_PACKAGE_LIBATOMIC_OPS and without
BR2_PACKAGE_XLIB_LIBPCIACCESS, so USE_WCHAR, TOOLCHAIN_HAS_THREADS and
!BR2_PREFER_STATIC_LIB, previously added by the Xorg dependency, do not seem
to be necessary for libdrm at all.

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxlib_libpthread-stubs: Rename package to libpthread-stubs
Bernd Kuhls [Sat, 1 Mar 2014 15:41:10 +0000 (16:41 +0100)]
xlib_libpthread-stubs: Rename package to libpthread-stubs

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoflot: bump to version 0.8.2
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:38 +0000 (09:58 -0300)]
flot: bump to version 0.8.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery-keyboard: bump to version 1.18.2
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:37 +0000 (09:58 -0300)]
jquery-keyboard: bump to version 1.18.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery-ui-themes: bump to version 1.10.4
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:36 +0000 (09:58 -0300)]
jquery-ui-themes: bump to version 1.10.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery-ui: bump to version 1.10.4
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:35 +0000 (09:58 -0300)]
jquery-ui: bump to version 1.10.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery: bump to version 1.11.0
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:34 +0000 (09:58 -0300)]
jquery: bump to version 1.11.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolftp: needs fork(), requires MMU support
Thomas Petazzoni [Sun, 2 Mar 2014 10:17:22 +0000 (11:17 +0100)]
lftp: needs fork(), requires MMU support

Fixes:

  http://autobuild.buildroot.org/results/321/321a6eedd2c79ce45c047cd8ebddb67124da092c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoparted: add readline bump fix patch
Gustavo Zacarias [Sun, 2 Mar 2014 04:21:11 +0000 (01:21 -0300)]
parted: add readline bump fix patch

Fixes:
http://autobuild.buildroot.net/results/1e9/1e90929bfaf617381d490dc0b99f333968624ce7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolvm2: add readline bump fix patch
Gustavo Zacarias [Sun, 2 Mar 2014 04:21:10 +0000 (01:21 -0300)]
lvm2: add readline bump fix patch

Fixes:
http://autobuild.buildroot.net/results/d6f/d6f4d388c62ec2137560aabbff46c4a30c584e18/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5multimedia: install gsttools library to target
Fatih Aşıcı [Fri, 24 Jan 2014 14:06:20 +0000 (16:06 +0200)]
qt5multimedia: install gsttools library to target

It is built when gst-plugins-base is selected.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Noticed-by: Paweł Gibaszek <gibol666@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoljlinenoise: new package
Francois Perrad [Sat, 1 Mar 2014 17:23:08 +0000 (18:23 +0100)]
ljlinenoise: new package

[Thomas: indicate that ljsyscall is a run-time dependency only.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluarocks: remove luainterpreter dependency
Francois Perrad [Sat, 1 Mar 2014 22:30:55 +0000 (23:30 +0100)]
luarocks: remove luainterpreter dependency

All packages using the luarocks infrastructure need a dependency on
luainterpreter, because having the Lua interpreter for the target is
needed to built native Lua modules. This dependency is already taken
care of in pkg-luarocks.mk.

However, host-luarocks, which is built as a dependency of the extract
step of any luarocks package, also had a dependency on
luainterpreter. Not only this was not necessary, but it was causing
problems with 'make legal-info'. Since 'make legal-info' triggers the
extraction of all packages, as soon as a luarocks package was enabled,
it would trigger the build of host-luarocks, itself triggering the
build of luainterpreter and therefore its dependencies, amongst which
the entire cross-compilation toolchain.

[Thomas: reword commit log to include more detailed explanations.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobustle: use TARGET_MAKE_ENV instead of setting PATH in the make environment
Samuel Martin [Sat, 1 Mar 2014 19:59:08 +0000 (20:59 +0100)]
bustle: use TARGET_MAKE_ENV instead of setting PATH in the make environment

TARGET_MAKE_ENV already contains the PATH definition among other useful
variables.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-pyasn: fix version number to match upstream tarball
Thomas Petazzoni [Sat, 1 Mar 2014 20:09:39 +0000 (21:09 +0100)]
python-pyasn: fix version number to match upstream tarball

The upstream tarball at
https://pypi.python.org/packages/source/p/pyasn1/ is actually in
version 0.1.7, not 0.17.

Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolzip: new package
Gustavo Zacarias [Sat, 1 Mar 2014 19:04:15 +0000 (16:04 -0300)]
lzip: new package

The host variant is in preparation for possibly some gnu packages
shipping tar.lz versions only.
At least ed 1.10 did it (still needed to add extraction support for it).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibmicrohttpd: disable curl testcases
Gustavo Zacarias [Sat, 1 Mar 2014 18:41:49 +0000 (15:41 -0300)]
libmicrohttpd: disable curl testcases

They require a toolchain with IPv6. Fixes:
http://autobuild.buildroot.net/results/edb/edb1b5ee1ffaa6a495b4d7c2976f618c8331b5d2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agophp-gnupg: force gnupg detection
Gustavo Zacarias [Sat, 1 Mar 2014 18:26:21 +0000 (15:26 -0300)]
php-gnupg: force gnupg detection

Hardcode the gpg path and detection otherwise it will fail on a host
that doesn't have gnupg installed. Fixes:
http://autobuild.buildroot.net/results/757/757fb0b12af12de4f128d9c503d45b20776c2313/
Also define PHP_AUTOCONF and PHP_AUTOHEADER as other extensions do to
avoid stray issues.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobash: always prefix readline
Gustavo Zacarias [Sat, 1 Mar 2014 17:54:26 +0000 (14:54 -0300)]
bash: always prefix readline

Always prefix the readline directory otherwise autodetection may pick up
the host readline when headers are available and target == host (or are
link-compatible). Fixes:
http://autobuild.buildroot.org/results/44a/44a962623be757143a3d6d37fc6cd14964094f79/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mmc-utils: requires kernel headers >= 3.0
Yann E. MORIN [Sat, 1 Mar 2014 14:53:08 +0000 (15:53 +0100)]
package/mmc-utils: requires kernel headers >= 3.0

mmc-utils needs the mmc ioctls, introduced in linux 3.0.

Fixes:
    http://autobuild.buildroot.net/results/0c1/0c15e2b193418c6f0edbc98a6ea3957bdf71a98b

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/tvheadend: requires kernel headers >= 3.2
Yann E. MORIN [Sat, 1 Mar 2014 14:53:07 +0000 (15:53 +0100)]
package/tvheadend: requires kernel headers >= 3.2

tvheadend requires SYS_TURBO, introduced in linux 3.2.

Fixes:
    http://autobuild.buildroot.net/results/4df/4df8cd85e0287910567df81c0394b2914570e98a

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/weston: requires kernel headers >= 3.0
Yann E. MORIN [Sat, 1 Mar 2014 14:53:06 +0000 (15:53 +0100)]
package/weston: requires kernel headers >= 3.0

It needs K_OFF, introduced in 2.6.39.

Since we do not have dependencies on kernel headers before 3.0,
just depend on kernel headers 3.0.

Fixes:
    http://autobuild.buildroot.net/results/aa5/aa54b1aaf0ac89531d7a1e7dd3900b35605ae3f5

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/w_scan: requires kernel headers >= 3.0
Yann E. MORIN [Sat, 1 Mar 2014 14:53:05 +0000 (15:53 +0100)]
package/w_scan: requires kernel headers >= 3.0

It needs DVB API version 5.3 or later, introduced in linux 3.0.

Fixes:
    http://autobuild.buildroot.net/results/6e7/6e7c691099a8f3eef4fc84860ceb1a94f25873eb

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/dvb-apps: requires kernel headers >= 3.3
Yann E. MORIN [Sat, 1 Mar 2014 14:53:04 +0000 (15:53 +0100)]
package/dvb-apps: requires kernel headers >= 3.3

dvb-apps requires linux kernel headers >= 3.3, for:
    SYS_TURBO, SYS_DVBC_ANNEX_A      : introduced in 3.2
    SYS_DVBC_ANNEX_C, DTV_ENUM_DELSYS: introduced in 3.3

Fixes:
    http://autobuild.buildroot.net/results/a77/a7786dffa28e5472fbc9c8fe4ab302c84d7a3cb9

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: document minimal kernel headers dependency
Yann E. MORIN [Sat, 1 Mar 2014 14:53:03 +0000 (15:53 +0100)]
manual: document minimal kernel headers dependency

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/internal: check kernel headers version for manually-specified version
Yann E. MORIN [Sat, 1 Mar 2014 14:53:02 +0000 (15:53 +0100)]
toolchain/internal: check kernel headers version for manually-specified version

Ensure the kernel headers version matches exactly the one manually
specified by the user.

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: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/external: check kernel headers version for custom toolchain
Yann E. MORIN [Sat, 1 Mar 2014 14:53:01 +0000 (15:53 +0100)]
toolchain/external: check kernel headers version for custom toolchain

Ensure the kernel headers version used in the custom external toolchain,
or the manually-specified kernel headers version, matches exactly the one
selected by the user.

We do not care about the patch-level, since headers are not supposed to
change between patchlevels. This applies only to kernels >= 3.0, but
those are actually the ones we do care about; we treat all 2.6.x kernels
as being a single version, since we do not support any 2.6 kernels for
packages with kernel-dependant features.

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: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-headers: select appropriate 'AT_LEAST_XXX' header version
Yann E. MORIN [Sat, 1 Mar 2014 14:53:00 +0000 (15:53 +0100)]
package/linux-headers: select appropriate 'AT_LEAST_XXX' header version

Select the appropriate BR2_TOOLCHAIN_HEADERS_AT_LEAST_XXX options for the
internal toolchain backend.

For the manualy-specified version, we bring up the choice that sets the
_AT_LEAST_XXX symbols.

[Thomas: rename symbols from BR2_PACKAGE_HOST_LINUX_HEADERS_<version>
to BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_<version> to clearly indicate
that they are used to specify the version of custom headers.]

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: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/external/custom: add choice to select 'AT_LEAST_XXX' header version
Yann E. MORIN [Sat, 1 Mar 2014 14:52:59 +0000 (15:52 +0100)]
toolchain/external/custom: add choice to select 'AT_LEAST_XXX' header version

Select the appropriate BR2_TOOLCHAIN_HEADERS_AT_LEAST_XXX options for the
external, custom toolchain backend.

We try to be conservative here, and default to kernel headers 2.6.x.

[Thomas: remove duplicated depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM,
since the choice is already inside a if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
... endif block.]

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: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/external/predefined: add choice to select 'AT_LEAST_XXX' header version
Yann E. MORIN [Sat, 1 Mar 2014 14:52:58 +0000 (15:52 +0100)]
toolchain/external/predefined: add choice to select 'AT_LEAST_XXX' header version

Select the appropriate BR2_TOOLCHAIN_HEADERS_AT_LEAST_XXX options for the
external, pre-defined toolchains.

Also annotate those toolchain with older-than-3.0 headers.

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: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/common: add minimum kernel headers options
Yann E. MORIN [Sat, 1 Mar 2014 14:52:57 +0000 (15:52 +0100)]
toolchain/common: add minimum kernel headers options

We now have quite a few packages that depend on the kernel headers to be
at least a certain version. For example, dvb-apps requires at least the
3.3 kernel headers.

Add a set of options that packages can depend on, to check that the kernel
headers match their required version.

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: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-headers: remove 2.6 snapshot
Yann E. MORIN [Sat, 1 Mar 2014 14:52:56 +0000 (15:52 +0100)]
package/linux-headers: remove 2.6 snapshot

As Thomas states:
    It is completely weird to ask the tarball to be named exactly
    linux-2.6.tar.bz2. IMO, we should simply get rid of this feature.

Make it so! ;-)

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agophp: fix typo
Samuel Martin [Sat, 1 Mar 2014 15:52:36 +0000 (16:52 +0100)]
php: fix typo

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolsqlite3: new package
Francois Perrad [Mon, 24 Feb 2014 07:35:00 +0000 (08:35 +0100)]
lsqlite3: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolpty: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:59 +0000 (08:34 +0100)]
lpty: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolunit: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:58 +0000 (08:34 +0100)]
lunit: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolzlib: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:57 +0000 (08:34 +0100)]
lzlib: new package

[Thomas: reformat Config.in help text to have a reasonable width of
the text.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolua-csnappy: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:56 +0000 (08:34 +0100)]
lua-csnappy: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolua-messagepack: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:55 +0000 (08:34 +0100)]
lua-messagepack: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolua-coatpersistent: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:54 +0000 (08:34 +0100)]
lua-coatpersistent: new package

[Thomas: mention that dependencies are run-time dependencies, adjust
help text.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolua-coat: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:53 +0000 (08:34 +0100)]
lua-coat: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolua-testmore: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:52 +0000 (08:34 +0100)]
lua-testmore: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolrandom: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:51 +0000 (08:34 +0100)]
lrandom: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodado: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:50 +0000 (08:34 +0100)]
dado: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolualogging: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:49 +0000 (08:34 +0100)]
lualogging: new package

[Thomas: simplify version specification in the .mk file.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluajson: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:48 +0000 (08:34 +0100)]
luajson: new package

[Thomas: explicitly mention that lpeg is a run-time dependency, and
simplify the version specification. Both comments were made by
Arnout.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocosmo: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:46 +0000 (08:34 +0100)]
cosmo: new package

[Thomas: indicate that the lpeg dependency is a run-time dependency,
as suggested by Arnout.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolpeg: new package
Francois Perrad [Mon, 24 Feb 2014 07:34:45 +0000 (08:34 +0100)]
lpeg: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: ditch autoreconf
Gustavo Zacarias [Fri, 28 Feb 2014 15:26:29 +0000 (12:26 -0300)]
systemd: ditch autoreconf

It needs AM_PATH_LIBGCRYPT and will bail out if ALL_EXTRAS (libgcrypt)
isn't around - and it doesn't seem to be used at all.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agovlc: avoid that AUTORECONF renames configure's arguments
Arnout Vandecappelle [Thu, 27 Feb 2014 19:37:34 +0000 (20:37 +0100)]
vlc: avoid that AUTORECONF renames configure's arguments

VLC defines two autoconf functions which are also defined by our own
pkg.m4 from pkgconf. Unfortunately, they are defined in a different way:
VLC adds --enable- options, but pkg.m4 adds --with- options. To make
sure we use VLC's definition, rename these two functions from
PKG_WITH_MODULES to VLC_PKG_WITH_MODULES and from PKG_HAVE_WITH_MODULES
to VLC_PKG_HAVE_WITH_MODULES.

Note that the second function (PKG_HAVE_WITH_MODULES) is in fact
defined in exactly the same way by VLC and pkgconf, but this might no
longer be the case when either pkgconf or VLC is updated. Therefore,
that one is renamed as well.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Simon Dawson <spdawson@gmail.com>
Tested-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "vlc: fix some configure options"
Thomas Petazzoni [Sat, 1 Mar 2014 13:51:49 +0000 (14:51 +0100)]
Revert "vlc: fix some configure options"

This reverts commit 020047730b5a30491751b81f9bc7017818d29269.

The change of configuration option from --{enable,disable}-* to
--{with,without} was made because we autoreconf vlc, but some vlc m4
functions are overriden by functions coming from our pkg.m4. An
upcoming patch from Arnout fixes the problem in a better way by
renaming the problematic macro so that they have a different name
between their vlc specific variants and the pkg.m4 variants.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobusybox 1.22.1: add nc patch
Gustavo Zacarias [Thu, 27 Feb 2014 20:57:32 +0000 (17:57 -0300)]
busybox 1.22.1: add nc patch

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobash: bump to version 4.3
Gustavo Zacarias [Thu, 27 Feb 2014 20:58:59 +0000 (17:58 -0300)]
bash: bump to version 4.3

Switch to external readline support to potentially reduce target size.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoreadline: bump to version 6.3
Gustavo Zacarias [Thu, 27 Feb 2014 20:58:58 +0000 (17:58 -0300)]
readline: bump to version 6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogrep: bump version to 2.18
Lévai Tamás [Sat, 1 Mar 2014 13:21:04 +0000 (14:21 +0100)]
grep: bump version to 2.18

Signed-off-by: Tamás Lévai <levai.tamas@t-online.hu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython, python3: fix unicodedata enabling
Thomas Petazzoni [Sat, 1 Mar 2014 12:03:27 +0000 (13:03 +0100)]
python, python3: fix unicodedata enabling

A confusion was made when applying commit
c3d539b53ff0533e91ae849dbdcdd589b0fec0cc ('host python/python3:
conditionally disable unicodedata') and then commit
73293e88c828c9bddc0b684a4603f86f70f8e876 ('python, python3: enable
unicodedata for host-python, needed by setuptools').

The first commit added the enabling of unicodedata in the host Python
when the target Python is configured with unicodedata, which is
necessary because building the target unicodedata Python module
requires having unicodedata support in the host Python.

The second commit enabled the unicodedata unconditionally in the host
Python, because it is needed by host-setuptools.

However, when the second commit was applied, the logic that consisted
in disabling unicodedate in the host Python when not needed was kept,
which resulted in breaking the build of host-setuptools due to the
lack of unicodedata support in the host python.

This commit fixes that by only leaving the unconditional
--enable-unicodedata in the host Python configuration options, and
therefore removing the problematic conditional --disable-unicodedata.

Fixes:

  http://autobuild.buildroot.org/results/b62/b622fc14776f5a6c26ff0d1fb882f4ae6cccc5d8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibmicrohttpd: bump to version 0.9.34
Gustavo Zacarias [Fri, 28 Feb 2014 20:42:21 +0000 (17:42 -0300)]
libmicrohttpd: bump to version 0.9.34

Adds support for TFO.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-xml-parser: fix build
Francois Perrad [Sat, 1 Mar 2014 07:42:46 +0000 (08:42 +0100)]
perl-xml-parser: fix build

(missing when changing the naming scheme of Perl modules)

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: ensure system is built even if no filesystem image is selected
Thomas Petazzoni [Fri, 28 Feb 2014 20:05:27 +0000 (21:05 +0100)]
Makefile: ensure system is built even if no filesystem image is selected

The parallel build patch series has significantly reworked how some of
the core dependencies are expressed. We now have the following
dependencies:

 all: world
 world: target-post-image
 target-post-image: $(TARGETS_ROOTFS)

with TARGETS_ROOTFS containing the list of root filesystem image
targets, each having the following dependencies:

 $$(BINARIES_DIR)/rootfs.$(1): target-finalize $$(ROOTFS_$(2)_DEPENDENCIES)

The bottom line is that the "target-finalize" target, which in turns
ensures that all packages are built, is only triggered if at least one
filesystem image is enabled.

As we want to support builds with no filesystem image selected, this
is not acceptable. As a fix, we change the target-post-image target
to:

 target-post-image: $(TARGETS_ROOTFS) target-finalize

This way, target-finalize will be triggered even if TARGETS_ROOTFS is
empty. This is still correct for parallel build, as the individual
root filesystem image targets still depend on target-finalize.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Fabio Porcedda <fabio.porcedda@gmail.com>
10 years agofile: bump to version 5.17
Gustavo Zacarias [Fri, 28 Feb 2014 13:48:03 +0000 (10:48 -0300)]
file: bump to version 5.17

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohaveged: bump to version 1.9.1
Gustavo Zacarias [Fri, 28 Feb 2014 13:43:05 +0000 (10:43 -0300)]
haveged: bump to version 1.9.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopppd: bump to version 2.4.6
Gustavo Zacarias [Fri, 28 Feb 2014 13:42:40 +0000 (10:42 -0300)]
pppd: bump to version 2.4.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRevert "libpng: fix download location"
Peter Korsgaard [Fri, 28 Feb 2014 13:49:39 +0000 (14:49 +0100)]
Revert "libpng: fix download location"

This reverts commit 7e505749659cde372fe5c52d2d8e5f9a2e945223.

Now that we've bumped the libpng version, we shouldn't look for it among the
older releases.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMerge branch 'next'
Peter Korsgaard [Fri, 28 Feb 2014 13:30:23 +0000 (14:30 +0100)]
Merge branch 'next'

Conflicts:
Makefile
package/dmraid/Config.in
package/gdb/Config.in.host
package/linux-headers/linux-headers.mk
package/python/python.mk
package/python3/python3.mk
package/rt-tests/Config.in
package/sdl/sdl.mk
package/systemd/systemd-01-fix-getty-unit.patch
package/systemd/systemd-02-fix-page-size.patch
package/systemd/systemd-03-uclibc-fix.patch
package/udev/Config.in
package/udisks/Config.in
package/vlc/vlc.mk
system/Config.in

Quite some merge conflicts, hopefully I didn't screw up anything.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.02
Peter Korsgaard [Thu, 27 Feb 2014 20:51:23 +0000 (21:51 +0100)]
Update for 2014.02

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: add a patch to remove autoreconf warnings
Arnout Vandecappelle [Wed, 26 Feb 2014 23:30:42 +0000 (00:30 +0100)]
vlc: add a patch to remove autoreconf warnings

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Simon Dawson <spdawson@gmail.com>
Tested-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix shared library building
Arnout Vandecappelle [Wed, 26 Feb 2014 23:21:16 +0000 (00:21 +0100)]
vlc: fix shared library building

Fixes e.g.
http://autobuild.buildroot.net/results/9c7/9c7a97882d446a42cabcb07e4af7e6825192e70b

VLC cannot build static and shared libraries at the same time.

Also, live555 only has a static library, and VLC tries to link this into
a shared library. Therefore, disable the live555 plugin unless static
linking is selected. It would be better to build live555 as a shared
library, but that's for another patch.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix some configure options
Simon Dawson [Tue, 25 Feb 2014 20:36:06 +0000 (20:36 +0000)]
vlc: fix some configure options

Fix a large number of incorrect configure options for vlc.

Configure warnings reported by Arnout Vandecappelle, in his analysis of vlc
autobuild failures.

Notice that this change of configure options is caused by our AUTORECONF
picking up a different PKG_WITH_MODULES definition.  If vlc is bumped in the
future and AUTORECONF is turned off, then this needs to be reverted.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopcsc-lite: add patch to fix libusb detection when linking statically
Thomas De Schampheleire [Thu, 27 Feb 2014 09:18:40 +0000 (10:18 +0100)]
pcsc-lite: add patch to fix libusb detection when linking statically

When libusb support is requested in pcsc-lite, the configure script will try
to link a test application to check libusb_init(). However, when libusb
needs threads, the linking step should link in threads as well.

The configure script, first tries to call libusb-config to determine the
necessary cflags and libraries (which should include the thread flags), but
this program does not exist, so the cflags/libs variables are empty.

Therefore, add a patch to explicitly add PTHREAD_CFLAGS and PTHREAD_LIBS to
the libusb test, so libusb is detected correctly.

Fixes
http://autobuild.buildroot.org/results/432/432be0db3f8415f6a026b69234579ad4d23b6421/

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoe2fsprogs: fix missing fallocate64() on nios2
Frank Bergmann [Thu, 20 Feb 2014 21:59:37 +0000 (22:59 +0100)]
e2fsprogs: fix missing fallocate64() on nios2

(external) nios2 toolchain is currently missing the fallocate64 system
call. Because of compiling the e2fsprogs package with _FILE_OFFSET_BITS=64,
_LARGEFILE_SOURCE and _LARGEFILE64_SOURCE the fallocate call is replaced
by fallocate64 by the glibc. Therefore fallocate is entirely disabled while
configuring the package.

Fixes http://autobuild.buildroot.org/results/70a/70a47bd7392560cbc1c64769c8357c0b4c91ca3b/

Signed-off-by: Frank Bergmann <frank@frajasalo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoe2fsprogs: disable e4defrag for nios
Frank Bergmann [Thu, 20 Feb 2014 21:59:38 +0000 (22:59 +0100)]
e2fsprogs: disable e4defrag for nios

e4defrag has to be disabled because of the (external) toolchain declares
the fallocate64 call in the header files but don't implement it in the
library. e4defrag defines its own fallocate64 function that throws an
error because of the previous declaration in the toolchain header.

Signed-off-by: Frank Bergmann <frank@frajasalo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogstreamer{,1}: fix unaligned access detection for microblaze
Peter Korsgaard [Thu, 27 Feb 2014 08:19:18 +0000 (09:19 +0100)]
gstreamer{,1}: fix unaligned access detection for microblaze

Fixes http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/

Similar to the existing handling for avr32 and xtensa. Also add it for
gstreamer1 for good measure as it was missing there as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoramsmp: not available on !MMU, needs fork
Thomas Petazzoni [Thu, 27 Feb 2014 07:30:10 +0000 (08:30 +0100)]
ramsmp: not available on !MMU, needs fork

Fixes:

  http://autobuild.buildroot.org/results/aaa/aaa7f8e5ec72ce69805d6c1a5cde5ff47e1c118e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: fix xtensa overlay application
Max Filippov [Thu, 27 Feb 2014 05:07:20 +0000 (09:07 +0400)]
gcc: fix xtensa overlay application

gcc build scripts use wrong variable name to specify xtensa overlay
application command. As a result gcc is built with the default overlay,
which leads to obscure failures later in the build process.

xtensa toolchain needs an additional configuration for a specific core
variant we're building for. This configuration is called 'overlay' and
is an archive with files for binutils, gcc and gdb that replace
corresponding files in toolchain components.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibxml2: do not detect zlib/lzma when not available
Thomas Petazzoni [Wed, 26 Feb 2014 21:27:35 +0000 (22:27 +0100)]
libxml2: do not detect zlib/lzma when not available

The host-libxml2 package does not depend on zlib or lzma, but may
detect versions available on the host. This can cause problems in the
following situation:

 1 host-libxml2 is built, finds an available lzma library in the
   system, enables lzma support by using it.

 2 host-xz is built, which installs a different version of the lzma
   library into $(HOST_DIR)

 3 host-libxslt is built, tries to link against libxml2, which fails
   because now the visible lzma library is the one from
   $(HOST_DIR)/usr/lib and no longer the one libxml2 was built agains.

To fix this, this patch passes --without-zlib and --without-lzma to
the host package.

In addition, since the target variant of libxml2 does not have
provisions to depend on the target lzma, we also pass --without-lzma
for the target variant. The case of zlib for the target was already
properly taken into account.

Fixes:

  http://autobuild.buildroot.org/results/6dc/6dcef647eb0f0db7de3f34194eb15ceebc645b39/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoluajit: pass LDCONFIG=true to make sure dynamic library links are created
Thomas Petazzoni [Wed, 26 Feb 2014 22:29:59 +0000 (23:29 +0100)]
luajit: pass LDCONFIG=true to make sure dynamic library links are created

To install its shared library, the luajit Makefile does:

        cd src && test -f $(FILE_SO) && \
          $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \
          $(LDCONFIG) $(INSTALL_LIB) && \
          $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
          $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :

This means that if ldconfig doesn't work or isn't available on the
system, it won't create the libluajit-5.1.so -> libluajit-5.1.so.5.2.0
symbolic link.

Not having this symbolic link prevents lua-ev from finding the shared
version of the luajit library, and it fallbacks to using the
libluajit.a static library. However, this static library is not built
with -fPIC, so using it within a shared library doesn't work, and
leads to build failures on architectures that really do want to have
non-fPIC code into a shared library, such as x86-64.

By passing LDCONFIG=true during the installation steps of luajit, we
ensure that the symbolic links are created, which allows lua-ev to
detect the shared library properly, making everybody happy.

Investigation conducted with Samuel Martin. Thanks!

Fixes:

  http://autobuild.buildroot.org/results/41c/41c8bb9cf91a86908a150dae27726136cb56f5b7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocegui06: need dynamic library support
Thomas Petazzoni [Wed, 26 Feb 2014 20:48:15 +0000 (21:48 +0100)]
cegui06: need dynamic library support

Fixes:

  http://autobuild.buildroot.org/results/caf/caf421629f4465cd347dc40af0b559c4d9b0c09f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozyre: remove unnecessary autoreconf options
Simon Dawson [Wed, 26 Feb 2014 18:00:49 +0000 (18:00 +0000)]
zyre: remove unnecessary autoreconf options

The default $(PKG)_AUTORECONF_OPT already includes the -i and -f flags,
so there is no point in specifying these in the package makefile. Further,
the -v option to autoreconf is not required.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogiblib: remove unnecessary autoreconf options
Simon Dawson [Wed, 26 Feb 2014 17:59:12 +0000 (17:59 +0000)]
giblib: remove unnecessary autoreconf options

The default $(PKG)_AUTORECONF_OPT already includes the -i flag,
so there is no point in specifying this in the package makefile.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibtpl: remove unnecessary autoreconf options
Simon Dawson [Wed, 26 Feb 2014 17:56:53 +0000 (17:56 +0000)]
libtpl: remove unnecessary autoreconf options

The default $(PKG)_AUTORECONF_OPT already includes the -i and -f flags,
so there is no point in specifying these in the package makefile.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/ti-gfx: do not forcefully remove source dir on extract
Yann E. MORIN [Wed, 26 Feb 2014 18:40:03 +0000 (19:40 +0100)]
package/ti-gfx: do not forcefully remove source dir on extract

ti-gfx uses custom extract commands, which first and foremost removes
the source dir unconditionally.

Thee side-effect of this is that make will re-extract, re-patch and
probably re-build ti-gfx at each run.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/ti-gfx: number and fix the new-clk-api patch
Yann E. MORIN [Wed, 26 Feb 2014 18:43:14 +0000 (19:43 +0100)]
package/ti-gfx: number and fix the new-clk-api patch

Add a sequence number to the newclkapi patch.
Rebase it ontop of the 5.01.00.01 release.

Note: this is barely tested. It applies neatly, but I can't test it,
since I do not have the hardware. I bumped the patch by basically
renaming the problematic functions like the previous patch did:
    s/clk_enable/clk_prepare_enable/
    s/clk_disable/clk_disable_unprepare/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>