Clayton Shotwell [Fri, 1 May 2015 16:01:24 +0000 (18:01 +0200)]
python-pyxml: new package
It always uses its own copy of pyexpat, but we can at least make it use
buildroot's expat.so.
[Peter: select expat]
Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Fri, 1 May 2015 15:48:29 +0000 (12:48 -0300)]
php: readline needs dynamic library
Fixes:
http://autobuild.buildroot.net/results/604/
604995ecf88e97976cbb9e4257ce85df66934ff3/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Wed, 29 Apr 2015 10:28:19 +0000 (12:28 +0200)]
toolchain-external: fix rebuild/reinstall for Linaro toolchains
For Linaro toolchains, a special post install staging hook is used to
create two symlinks needed for the dynamic loader to find the
libraries. However, the way the link is created prevents a 'make
toolchain-external-reinstall' from succeeding, because the symlink
already exists and points to a directory:
ln -sf . /home/thomas/projets/outputs/training/target/lib/arm-linux-gnueabihf
ln: '/home/thomas/projets/outputs/training/target/lib/arm-linux-gnueabihf/.': cannot overwrite directory
This commit adjust the hook to pass the '-n' option so that the link
name is treated as a normal file if it is a symbolic link to a
directory.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Gustavo Zacarias [Fri, 1 May 2015 13:57:34 +0000 (10:57 -0300)]
leveldb: disable for blackfin
Fixes:
http://autobuild.buildroot.net/results/f79/
f7930231cadeef7ccb0df6acf41b62c2c6fd1e02/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 1 May 2015 13:40:47 +0000 (10:40 -0300)]
sane-backends: bump to version 1.0.24
Bump sane-backends to a "modern" 1.0.24 version.
Tweak the patches to avoid autoreconf (it doesn't seem to be happy for
me in gentoo).
Disable cups support (checks are wrong and it's no longer required).
Disable systemd support (checks are wrong and we never accounted for
this).
Should fix wine failure (i was unable to build sane-backends before):
http://autobuild.buildroot.net/results/d01/
d01a3c7786df8cfd962a27f39283851db45c6165/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 1 May 2015 13:40:28 +0000 (10:40 -0300)]
wine: fix alsa-related build error
The fix from
81230a5b3a27e315f0ba1334d7ab257812b7ab69 is incomplete.
BR2_PACKAGE_ALSA_LIB_RAWMIDI is required as well. Fixes:
http://autobuild.buildroot.org/results/018/
018391c5e70d33bc0b5745ad7a2a273efa9be0d7/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 1 May 2015 12:37:19 +0000 (09:37 -0300)]
wine: fix build breakage with ncursesw
The configure script doesn't detect ncursesw at all hence breaks the
build. Backport a patch from upstream for this. Fixes:
http://autobuild.buildroot.net/results/426/
42669ca3b7215765a59a85c53ed724cbff79384e/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 1 May 2015 11:49:16 +0000 (08:49 -0300)]
gptfdisk: reinstate ldlibs support patch
I removed that in
fac3042cc53a9aff87cb047f55a12d23c9973f4d because the
ICU part was no longer required.
However the LDLIBS part is for static builds and should have been a
separate patch to avoid confusion. Fixes:
http://autobuild.buildroot.net/results/a90/
a9092d01a71e2d799e5b7b3afb9fd3e304370d0c/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 1 May 2015 14:19:03 +0000 (16:19 +0200)]
argp-standalone: fix build issue caused by UCHAR_MAX definition
The issue was simply that the patch from Max Filippov forgot to
include <limits.h> to get the definition of UCHAR_MAX.
Fixes:
http://autobuild.buildroot.org/results/bd1/
bd120ada4830fda3db96da945513d4f6f7b2d419/
and lots of similar build failures.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 1 May 2015 10:59:37 +0000 (12:59 +0200)]
json-c: add patch to make sure the library is linked against libm when needed
On uClibc, a number of symbols such as isnan() are in libm and not
libc, so we might need to link against libm. This commit adds a patch
to json-c that does this.
Fixes:
http://autobuild.buildroot.net/results/94d/
94dd7f38ae105e7cd2f342d718e27a65edcf3a3d/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 1 May 2015 09:32:34 +0000 (11:32 +0200)]
Revert "package/boost: bump to version 1.58.0"
This reverts commit
25655021fb66f58afe4966face0afdda1e7be65a.
Boost 1.58.0 breaks the build, trying to pass -m32 to compilers that
do not support it:
http://autobuild.buildroot.org/results/66c/
66c3a868816dfe4bd4d0ffafec6988fd87a2c058/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 1 May 2015 09:13:54 +0000 (11:13 +0200)]
toolchain-external: mark Synopsys toolchain as broken
This uClibc toolchain does not provide an appropriate uClibc
configuration for Buildroot: missing IPv6, missing nsl stub, missing
program invocation, etc. Therefore, we mark it as broken, waiting for
a new upstream release of a new toolchain.
We keep around the toolchain-external Synopsys code anyway, since it
will most likely be identical for the new toolchain version. However,
we remove all the quirks that were introduced to start work around
issues related to this toolchain.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Max Filippov [Tue, 28 Apr 2015 08:50:36 +0000 (11:50 +0300)]
argp-standalone: restrict value range passed to isprint function
According to C standards isprint argument shall be representable as an
unsigned char or be equal to EOF, otherwise the behaviour is undefined.
Passing arbitrary ints leads to segfault in nm program from elfutils.
Restrict isprint argument range to values representable by unsigned char.
Note: a similar change was done to the internal argp implementation of
glibc in commit
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=
9055724a92433ffa4c36f93d918ee1b3dfa1d6f7.
[Thomas: add a reference to the corresponding glibc fix.]
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Markos Chandras [Wed, 29 Apr 2015 12:21:29 +0000 (13:21 +0100)]
QEMU: Bump to 2.3.0
Bump QEMU to 2.3.0
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 28 Apr 2015 22:39:58 +0000 (00:39 +0200)]
boot/gummiboot: switch to http for git clone
The git:// protocol may not go through conservative corporate firewalls.
Use http, that goes out through about anything.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Frank Hunleth [Wed, 29 Apr 2015 13:36:44 +0000 (09:36 -0400)]
raspberrypi: bump raspberrypi_dt_defconfig kernel
This brings the raspberrypi_dt_defconfig up to the same kernel used by
the raspberrypi2_defconfig. Also changed the git URL to use HTTP for
consistency.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Frank Hunleth [Wed, 29 Apr 2015 13:36:43 +0000 (09:36 -0400)]
raspberrypi2: switch Linux kernel to rpi-3.18.y
This changes the kernel used on the Raspberry Pi 2 from the 3.19 branch
back to the 3.18 branch. This provides a couple of advantages:
1. mmc0 works again. Floris Bos found out that this was due to using
the precompiled DTB files from rpi-firmware. These DTBs were built
using 3.18.
2. The rpi-3.18.y branch is not regularly rebased like rpi-3.19.y
according to popcornmix. See
https://github.com/raspberrypi/linux/issues/915.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Reviewed-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Thu, 30 Apr 2015 11:29:21 +0000 (13:29 +0200)]
package/boost: bump to version 1.58.0
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Thu, 30 Apr 2015 19:14:55 +0000 (21:14 +0200)]
package/celt051: Add patch to fix musl build
musl does not define __GNUC_PREREQ. Use patch from Alpine Linux
(http://git.alpinelinux.org/cgit/aports/plain/main/celt051/fix-gnuc-prereq.patch).
Fixes http://autobuild.buildroot.net/results/223/
223ba6003bdd7e0c896455c21fa8fee943b4e716/
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach [Fri, 1 May 2015 03:36:03 +0000 (06:36 +0300)]
freerdp: fix build with uclibc snapshot and uclibc-ng
uclibc snapshot and uclibc-ng add support for the eventfd_{read,write} glibc
extensions. Refine our uClibc support patch to take this into account, based
on upstream fix applied to freerdp master branch.
Fixes:
http://autobuild.buildroot.net/results/e6c/
e6c2ac69682f409f9ee78a3a6155ae356c3368a4/
http://autobuild.buildroot.net/results/558/
558ccb0e475bfb434685c580d86f6c634238a084/
http://autobuild.buildroot.net/results/249/
24901b2dfc92b516f74054ea7bb71e1ccfc3f12f/
and many more.
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 30 Apr 2015 17:57:48 +0000 (14:57 -0300)]
util-linux: bump to version 2.26.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 30 Apr 2015 17:36:05 +0000 (14:36 -0300)]
linux-headers: bump 3.12.x series
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Thu, 30 Apr 2015 18:32:55 +0000 (20:32 +0200)]
package/bsdiff: add patch to fix missing header for u_char
Fix missing header <sys/types.h> for u_char in bspatch.c.
Fixes http://autobuild.buildroot.net/results/31a/
31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/
Patch not sent upstream - no maintainer mail address or repository found.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Floris Bos [Thu, 30 Apr 2015 16:12:16 +0000 (18:12 +0200)]
lighttpd: run as non-privileged user www-data
Previously the stock lighttpd configuration was patched to run as user root,
because we do not have a lighttpd user.
Patch it to use www-data instead, which is a user available in the default
skeleton, and is the same other webserver packages (like nginx) use.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 30 Apr 2015 10:58:41 +0000 (07:58 -0300)]
libtasn1: bump to version 4.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Thu, 30 Apr 2015 10:54:14 +0000 (07:54 -0300)]
libmicrohttpd: bump to version 0.9.41
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Thu, 30 Apr 2015 10:00:16 +0000 (07:00 -0300)]
stunnel: bump to version 5.17
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 30 Apr 2015 13:13:25 +0000 (15:13 +0200)]
gst-plugins-bad: unbreak vp8 support
Fixes
http://autobuild.buildroot.net/results/84e/
84e7a2df4a8de2ca1ce075a8f5f32a94b7f45ce8/
http://autobuild.buildroot.net/results/db8/
db8309c8cc6d4fb8a28d17c3b1ed71c49277d212/
http://autobuild.buildroot.net/results/5e4/
5e424a25ee6796207e7a85ecbc80ac4428b0522e/
http://autobuild.buildroot.net/results/3b0/
3b0e0356549d40edbe1c9a86214437e0f81fb3a3/
And many more.
gst-plugins-bad didn't have any explicit libvpx handling, so it would be
built with/without support for it depending on build order.
More importantly, the recent libvpx bump dropped the legacy (prefix-less)
symbols from the header file and gst-plugins-bad's handling of the non
legacy symbols was buggy.
Fix it by adding an explicit vp8 suboption and add a patch to fix (drop) the
legacy symbol handling.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Wed, 29 Apr 2015 19:05:34 +0000 (21:05 +0200)]
package/clamav: bump version to 0.98.7, enable ipv6 support
Clamav uses AC_TRY_RUN in m4/reorganization/code_checks/ipv6.m4 to check
for ipv6 support, which is not cross-compile safe. Since buildroot
supports ipv6 out-of-the-box now this patch forces ipv6 support.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yegor Yefremov [Wed, 29 Apr 2015 19:41:40 +0000 (21:41 +0200)]
ncftp: add hash file
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Wed, 29 Apr 2015 19:18:19 +0000 (16:18 -0300)]
gawk: bump to version 4.1.2
Drop LIBTOOL/GETTEXTIZE as well since it's no longer bundled with a beta
version.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Wed, 29 Apr 2015 19:17:20 +0000 (16:17 -0300)]
btrfs-progs: bump to version 4.0
Switch SITE to use BR2_KERNEL_MIRROR as well.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Wed, 29 Apr 2015 18:47:56 +0000 (15:47 -0300)]
libcurl: security bump to version 7.42.1
Fixes:
CVE-2013-3153 - sensitive HTTP server headers also sent to proxies.
And drop upstream patches.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Wed, 29 Apr 2015 18:46:56 +0000 (15:46 -0300)]
pcre: bump to version 8.37
Security patch now upstream so drop it.
Also switch to bz2 compression.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Wed, 29 Apr 2015 12:15:41 +0000 (09:15 -0300)]
linux: bump default to version 4.0.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Wed, 29 Apr 2015 12:15:40 +0000 (09:15 -0300)]
linux-headers: bump 3.{10, 14, 18, 19}.x and 4.0 series
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Wed, 29 Apr 2015 20:55:09 +0000 (22:55 +0200)]
dhcpcd: add upstream patch to fix build issue
Fixes http://autobuild.buildroot.net/results/523/
523858fb930e74fe28f24989ff0697693b5fdd67/
Patch from http://roy.marples.name/projects/dhcpcd/vpatch?from=
e05490e2d12d03b1&to=
c32714545158ca83
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Wed, 29 Apr 2015 20:54:11 +0000 (22:54 +0200)]
Revert "dhcpcd: fix ipv6 related compile failure"
This reverts commit
6b1f66643d782fc6f00e7436d41ceea6d88ad6bf.
It turns out to not really fix the build errors after all, so revert it.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baptiste Moraine [Wed, 29 Apr 2015 13:39:00 +0000 (15:39 +0200)]
libwebsockets: add LWS_ prefix to LWS_WITHOUT_TESTAPPS=ON cmake option
Currently, libwebsockets.mk is passing -DWITHOUT_TESTAPPS=ON to disable
the building of libwebsockets test applications, but this is doing nothing
because the option is really named LWS_WITHOUT_TESTAPPS.
This commit fixes that by using the correct option name.
Signed-off-by: Baptiste Moraine <baptiste.moraine@kapelse.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Seiderer [Tue, 28 Apr 2015 19:36:28 +0000 (21:36 +0200)]
dhcpcd: fix ipv6 related compile failure
Add '-D_GNU_SOURCE' to gain missing struct in6_pktinfo definition.
Fixes [1]:
ipv6.h:211:41: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
unsigned char sndbuf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
^
ipv6.h:195:38: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
#define IP6BUFLEN (CMSG_SPACE(sizeof(struct in6_pktinfo)) + \
^
ipv6.h:214:23: note: in expansion of macro 'IP6BUFLEN'
unsigned char rcvbuf[IP6BUFLEN];
[1] http://autobuild.buildroot.net/results/523/
523858fb930e74fe28f24989ff0697693b5fdd67
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Richard Genoud [Tue, 28 Apr 2015 15:42:27 +0000 (17:42 +0200)]
qt: QT_COORD_TYPE_DOUBLE should only be set on soft float
If QT_COORD_TYPE_DOUBLE is forced and hard float is used, Qt compilation
breaks because it can't find hard coded operations on double.
Moreover, QT_COORD_TYPE is float only if QT_NO_FPU is set.
(cf src/corelib/global/qglobal.h)
So, we can safely make the QT_COORD_TYPE_DOUBLE option depend on
BR2_SOFT_FLOAT.
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:34:23 +0000 (10:34 -0300)]
gdb: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Tue, 28 Apr 2015 06:50:04 +0000 (08:50 +0200)]
python3: needs dynamic library support
Fixes:
http://autobuild.buildroot.net/results/c65/
c65c2b2c4c2ca328c4f26ba38798c40ab02c8772/
http://autobuild.buildroot.net/results/e0d/
e0db38ca12dbe664d472c4f6f3f1ade4150119c3/
http://autobuild.buildroot.net/results/8e1/
8e196d05dd65cdd782c8d41d937a7d9d2ef7dc1a/
http://autobuild.buildroot.net/results/e3a/
e3a71f5d05a3e176a9e641e758b1ba64c9560991/
And many more.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Tue, 28 Apr 2015 06:46:25 +0000 (08:46 +0200)]
python3: move toolchain comment above main option
So suboptions are correctly indented.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sun, 26 Apr 2015 12:26:37 +0000 (14:26 +0200)]
python3: add hash file
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sun, 26 Apr 2015 12:26:36 +0000 (14:26 +0200)]
python3: bump to version 3.4.3
All patches are simply refreshed, except
002-properly-detect-if-python-build.patch which is removed because an
identical fix has been merged upstream:
https://github.com/python/cpython/commit/
e128ea78e5964929ca902bebc07c242d58609dfc
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Waldemar Brodkorb [Sun, 26 Apr 2015 20:44:34 +0000 (22:44 +0200)]
vlc: uclibc-ng can be used
Tested with X86 and ARM compiles.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Mon, 27 Apr 2015 05:20:40 +0000 (07:20 +0200)]
package/dvdrw-tools: needs host-m4
Fixes
http://autobuild.buildroot.net/results/b2b/
b2b836b095251950e3229b66d6ca9faeaec45e72/
http://autobuild.buildroot.net/results/03b/
03be24979d3ec4b08ebc7841ce1e2bcb05d26f97/
http://autobuild.buildroot.net/results/083/
083ce6e998154a77dbaa16b3bed08570b745e587/
http://autobuild.buildroot.net/results/a51/
a51da652314b01ae15f99708c5551f571247342b/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Sun, 26 Apr 2015 23:40:21 +0000 (01:40 +0200)]
manual: don't use a comment at the end of the version variable assignment
The comment at the end of the version string assigment could lead to a download
failure so don't use it as a example.
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reported-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Mon, 27 Apr 2015 17:01:25 +0000 (19:01 +0200)]
package/vlc: libX11 is an optional dependency for the qt4 module
Fixes
http://autobuild.buildroot.net/results/d15/
d158095d4caa8f58f1d205aeeb1ae707a1311ea5/
http://autobuild.buildroot.net/results/343/
343e2981b60d9d09a4fcd8e2109540f0dc11b402/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:07:04 +0000 (10:07 -0300)]
memcached: bump to version 1.4.24
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Korsgaard [Mon, 27 Apr 2015 21:24:21 +0000 (23:24 +0200)]
gcc/4.8.4: fix aarch64 vmlaq_lane_s32 typo
Fixes webp build:
http://autobuild.buildroot.net/results/656/
6563be62557ab6c1bdd4152523774316dc09c9ce/
http://autobuild.buildroot.net/results/e31/
e31e782d927215dde87b2f3174d70b8eb70085fd/
http://autobuild.buildroot.net/results/e2e/
e2e627dd6fdfa58ee07fd3aaca43e1731cc8b6e4/
http://autobuild.buildroot.net/results/26e/
26ed07fe917e1af21b5c5c3e4f6c2b39d78a8aff/
And many more.
Upstream bug report and patch:
https://code.google.com/p/webp/issues/detail?id=230
https://android-review.googlesource.com/#/c/99470
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch Siach [Mon, 27 Apr 2015 09:35:53 +0000 (12:35 +0300)]
ramspeed: add hash
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach [Mon, 27 Apr 2015 09:35:52 +0000 (12:35 +0300)]
memtester: add hash
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:07 +0000 (10:03 -0300)]
texinfo: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:06 +0000 (10:03 -0300)]
spawn-fcgi: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:05 +0000 (10:03 -0300)]
sed: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:04 +0000 (10:03 -0300)]
gstreamer: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:03 +0000 (10:03 -0300)]
gst-plugins-ugly: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:02 +0000 (10:03 -0300)]
gst-plugins-good: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:01 +0000 (10:03 -0300)]
gst-plugins-base: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:03:00 +0000 (10:03 -0300)]
gst-plugins-bad: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:59 +0000 (10:02 -0300)]
gst-ffmpeg: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:58 +0000 (10:02 -0300)]
screen: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:57 +0000 (10:02 -0300)]
neon: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:56 +0000 (10:02 -0300)]
lzip: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:55 +0000 (10:02 -0300)]
libgpg-error: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:54 +0000 (10:02 -0300)]
heimdal: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:53 +0000 (10:02 -0300)]
guile: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 27 Apr 2015 13:02:52 +0000 (10:02 -0300)]
diffutils: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Korsgaard [Mon, 27 Apr 2015 20:31:00 +0000 (22:31 +0200)]
civetweb: use TARGET_CONFIGURE_OPTS
Instead of explicitly handling CC/LD/CFLAGS. No functional change, but it is
cleaner like this.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Mon, 27 Apr 2015 20:29:05 +0000 (22:29 +0200)]
civetweb: rename lua option to match naming convention
Suboptions of package foo should be prefixed with BR2_PACKAGE_FOO, not just
BR2_FOO.
Also add Config.in.legacy handling for it.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Mon, 27 Apr 2015 20:03:12 +0000 (22:03 +0200)]
civetweb: unbreak static linking builds
Fixes
http://autobuild.buildroot.net/results/0a5/
0a555a4ad0d100a7d402908b1f26d213de0ec127/
http://autobuild.buildroot.net/results/97b/
97b014b2a611ba2528dda86bb05d6ffbec51c21d/
http://autobuild.buildroot.net/results/c2e/
c2e314127be74a41bcdb78f04bc51fe2edef0b0f/
http://autobuild.buildroot.net/results/734/
7346a89b5e7dd3633ecf9ac5292379ec9e832b2e/
And many more.
It is only the lua suboption that needs dlopen support, so adjust the
toolchain dependencies and CIVETWEB_LIBS handling to match.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sun, 26 Apr 2015 22:10:53 +0000 (00:10 +0200)]
CHANGES: Update with recent changes
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Sun, 26 Apr 2015 20:31:48 +0000 (22:31 +0200)]
package/gnuchess: needs c++
Quoted from ChangeLog:
2013-11-23 Antonio Ceballos <aceballos@gmail.com>
[...]
* doc/gnuchess.texi: frontend no longer compiled in C; now in C++.
Fixes
http://autobuild.buildroot.net/results/04e/
04e7c14c20f0e056e63a712be3821a3f5c94cff1/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 26 Apr 2015 20:42:01 +0000 (22:42 +0200)]
freerdp: fix patch naming
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Nicolas Serafini [Tue, 21 Apr 2015 17:04:44 +0000 (19:04 +0200)]
package/nvidia-tegra23-codecs: new package
nvidia-tegra23-codecs provides various HW-accelerated media codecs, such
as: AAC3, h264, jpeg, MP3...
Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
[me:
- split codecs from binaries into this patch
- use our extractor helpers
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas:
- Remove <pkg>_DEPENDENCIES variable that contained
nvidia-tegra23-binaries, since this dependency is a runtime
dependency only.
- Remove 'NVIDIA_TEGRA23_CODECS_INSTALL_STAGING = NO', since this is
the default.
- Remove 'NVIDIA_TEGRA23_CODECS_INSTALL_TARGET = YES', since this is
the default.
- Instead of using a NVIDIA_TEGRA23_CODECS_FIRMWARE variable listing
the firmware files to copy, simply copy all firmware files.]
Nicolas Serafini [Tue, 21 Apr 2015 17:04:43 +0000 (19:04 +0200)]
package.nvidia-tegra23-binaries: add gstreamer plugins
[Thomas:
- add missing libXv dependency.
- remove the NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS and
NVIDIA_TEGRA23_BINARIES_MULTIMEDIA_APPS, and use simple 'cp -dpfr'
calls to copy the plugins and sample applications.]
Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
[yann.morin.1998@free.fr: split out into their own patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Nicolas Serafini [Tue, 21 Apr 2015 17:04:42 +0000 (19:04 +0200)]
package/nvidia-tegra23-binaries: new package
This patch adds a new package for all libraries and drivers
provided by Nvidia Linux4Tegra release 16.5.
We have intermediate .mk and Config.in, because those values will be
shared with the codecs package, to come in a follow-up patch, like we
have for the Freescale stuff.
Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
[yann.morin.1998@free.fr:
- split jpeg into its own patch
- split codecs and gstreamer plugins out into their own packages
- do not patch for .pc files, just bundle them in $(@D)
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ben Ben <carmazen84@gmail.com>
[Thomas:
- don't select BR2_PACKAGE_XLIB_LIBXT, there is no reference to it
in <pkg>_DEPENDENCIES, and it doesn't seem to be used by any
library.
- select BR2_PACKAGE_XLIB_LIBX11, which is referenced by the .mk
file, and is actually used by the pre-built .so files.
- do not select BR2_PACKAGE_XLIB_LIBXV, since it isn't used by the
X.org libraries/drivers, but only the Gstreamer ones.
- remove 'NVIDIA_TEGRA23_BINARIES_INSTALL_TARGET = YES', it is not
needed since it is the default.
- remove the definitions of NVIDIA_TEGRA23_BINARIES_FIRMWARE,
NVIDIA_TEGRA23_BINARIES_LIBRARIES and
NVIDIA_TEGRA23_BINARIES_PKGCONFIG, these are very long, and not
really needed: just copy all the firmware, libraries and .pc files
with a simple 'cp -dpfr'.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 21 Apr 2015 17:04:41 +0000 (19:04 +0200)]
package/xserver_xorg-server: add version 1.14.7
Some old binary blobs drivers, like the NVidia Tegra2/3 blobs, only
implement an old VIDEODRV ABI.
Since VIDEODRV ABIs are not backward compatible [0], lets introduce an
older Xserver version that supports such an old ABI.
[0] http://www.x.org/wiki/XorgModuleABIVersions/
[Thomas:
- rename option BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_14_7 to
BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_14
- add hash file, change provided by Nicolas Serafini.]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 21 Apr 2015 17:04:40 +0000 (19:04 +0200)]
package/xserver_xorg-server: not all versions need all dependencies
Support for the Present protocol has been added to, and is mandatory
since version 1.15.
As we're on the verge of adding 1.14.7, we need to make Present a
version-specific dependency.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 21 Apr 2015 17:04:39 +0000 (19:04 +0200)]
package/xserver_xorg-server: add blind options to specify driver ABI
The upcoming NVidia Tegra2/3 binary blobs only work with a certain
VIDEODRV ABI (namely up to 14), so we must have a way to represent that
ABI so that such packages can not be enabled with a too recent/old ABI.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 21 Apr 2015 17:04:38 +0000 (19:04 +0200)]
package/xserver_xorg-server: make the version a choice
Only a single entry for now, but we'll add one more in an upcoming
patch, to support old binary-only drivers, like the NVidia Tegra2/3
drivers.
[Thomas:
- rename option from BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17_1 to
BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17, since we don't want to
rename the option at each minor release of the X.org server, and
X.org servers with the same major version will not have a different
ABI.]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 21 Apr 2015 17:04:37 +0000 (19:04 +0200)]
package/xserver_xorg-server: prepare for multiple supported versions
Simply move patch around...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:16 +0000 (11:51 +0200)]
Makefile: add a few more targets to nobuild_targets
With this commit, one can now execute the source-check, external-deps
and legal-info targets regardless of the checks normally being done by
packages on the configuration.
Note that we intentionally do not go down the road of adding %-source,
%-legal-info, and the miryad of other targets that could work in such
situations. We only whitelist a few targets that are really useful to
have as nobuild_targets.
[Thomas: also add 'clean' and 'distclean' to the nobuild_targets, as
suggested by Yann.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:15 +0000 (11:51 +0200)]
packages: refactor checks using BR_BUILDING
Instead of manually testing MAKECMDGOALS, use the newly introduced
BR_BUILDING variable to know if we're building or not.
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>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:14 +0000 (11:51 +0200)]
Makefile: add BR_BUILDING variable
Some packages do some sanity checks on their configuration, for
example linux checks that the defconfig string is not empty when a
defconfig is used. Such checks are currently always performed, except
when the 'source' target is part of make goals.
This is problematic for two reasons:
- Other targets such as 'source-check', 'external-deps' or
'legal-info', that do not consist in doing a build, cannot be
executed in such situations.
- The current code removes the check as soon as one of the targets is
source. But if there are other non-source targets called at the
same time, the checks are ignored.
This commit therefore introduces an internal variable called
BR_BUILDING, which tells packages if we are actually building or
not. A variable nobuild_targets indicates the targets that we do not
consider as being build targets.
For the moment, nobuild_targets only contains 'source', to be
completely iso-functional.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:13 +0000 (11:51 +0200)]
Makefile: remove unneeded variables
Now that all the external-deps, source-check and source targets are
properly implemented based on the package infrastructure, the
PACKAGES_SOURCE, TARGET_HOST_DEPS, HOST_DEPS and HOST_SOURCE variables
are no longer needed. This is a good thing since they were anyway
incorrect, as they were only doing a two level recursion in the
dependencies of host packages.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[tested with a randpackageconfig]
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:12 +0000 (11:51 +0200)]
Makefile: implement the 'source' target using the package infrastructure
Now that all the bits are in place, switch the global 'source' target
to use the package infrastructure logic.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[with 'make source' (actually together with the next patch).]
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[tested with a randpackageconfig]
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:11 +0000 (11:51 +0200)]
pkg-generic: introduce a <pkg>_ALL_DOWNLOADS variable and factorize code
Now, both the download and source-check code are iterating over
<pkg>_SOURCE, <pkg>_PATCH and <pkg>_EXTRA_DOWNLOADS elements, figuring
out whether they contain full URLs or not. Instead of doing this
repeatdly, this patch introduces an internal <pkg>_ALL_DOWNLOADS
variable, which contains the list of everything that needs to be
downloaded, with URLs already expanded to take into account <pkg>_SITE
if needed.
This allows to simplify quite significantly the .stamp_download and
source-check implementation.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:10 +0000 (11:51 +0200)]
pkg-download: fix indentation for SOURCE_CHECK_* macros
Some of the SOURCE_CHECK_* macros are using a non-standard two-spaces
indentation. This commit switches them to use a single tab based
indentation, like in the rest of Buildroot.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[with git show -w]
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:09 +0000 (11:51 +0200)]
pkg-download: get rid of DL_MODE
The DL_MODE variable is now no longer used with any other value than
"DOWNLOAD", so it no longer makes sense to have this variable at
all. Therefore, this commit gets rid of it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:08 +0000 (11:51 +0200)]
pkg-generic: don't use DL_MODE in .stamp_downloaded
The .stamp_downloaded target is now only being used to really
download, and no longer for other activities like "source check" or
"external deps". So the check on DL_MODE being equal to DOWNLOAD is no
longer necessary.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:07 +0000 (11:51 +0200)]
pkg-generic: remove the .stamp_rsync_sourced fake stamp file
The only reason for the .stamp_rsync_sourced fake stamp file target to
exist was to handle the SOURCE_CHECK operation on packages using the
OVERRIDE_SRCDIR mechanism. Now that this is handled directly inside
$(1)-source-check, there is no longer any need for this part of the
code.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:06 +0000 (11:51 +0200)]
Makefile: implement a package based source-check target
This commit switches the implementation of the global source-check
target to use a package infrastructure based mechanism, using the
$(1)-all-source-check target added in the previous commit.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:05 +0000 (11:51 +0200)]
pkg-generic: implement source-check targets
This commits extends the common package infrastructure with the
$(1)-source-check and $(1)-all-source-check targets.
The $(1)-source-check target simply calls the newly added
SOURCE_CHECK macro on all items to be downloaded.
The $(1)-all-source-check target will depend on the
$(1)-all-source-check targets of all dependent packages and the
$(1)-source-check target of the current package, which allows to do a
recursive source-check in the dependency tree.
[Thomas: move the code around a bit to avoid repeating the
<pkg>_OVERRIDE_SRCDIR condition, as suggested by Yann.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:04 +0000 (11:51 +0200)]
pkg-download: extend DOWNLOAD_INNER, add a SOURCE_CHECK macro
As part of moving to a package infrastructure based source-check
implementation, we are going to move away from the global DL_MODE
variable to select the behavior of the DOWNLOAD_INNER macro.
As a preparation to this, this commit makes the DOWNLOAD_INNER macro
take a third argument, which is the action to be done: either DOWNLOAD
or SOURCE_CHECK. For now, the DOWNLOAD macro passes $(DL_MODE) as this
third argument, in order to keep the existing behavior.
In addition, a SOURCE_CHECK macro is added, which calls DOWNLOAD_INNER
with the appropriate action. This macro will be used in the upcoming
package infra based implementation of source-check.
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>
[tested by doing a "make source" on a randpackageconfig]
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:03 +0000 (11:51 +0200)]
Makefile: move source-check outside of noconfig_targets
make source-check is here to check whether the remote sources for the
current selection of packages are still available. In its current
implementation, since it simply calls recursively a sub-make with the
source target, it can be a noconfig_targets. However, a follow-up
change will make source-check not use a sub-make, which will require
it to no longer be a noconfig_targets.
Therefore, as a preparation, this commit moves source-check outside of
noconfig_targets.
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>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:02 +0000 (11:51 +0200)]
pkg-download: remove support for the SHOW_EXTERNAL_DEPS DL_MODE
Now that the external-deps implementation relies on the per-package
<pkg>-all-external-deps and <pkg>-external-deps targets and no longer
on the 'source' target with a custom DL_MODE, we can get rid of the
support for the SHOW_EXTERNAL_DEPS DL_MODE value in the pkg-download
logic.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:01 +0000 (11:51 +0200)]
Makefile: use the package infra based external-deps
This commit changes the global 'external-deps' target to use the newly
introduced per-package <pkg>-all-external-deps, instead of relying on
the 'source' target with a custom DL_MODE.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>