buildroot.git
9 years agopcre: bump to version 8.37
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>
9 years agolinux: bump default to version 4.0.1
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>
9 years agolinux-headers: bump 3.{10, 14, 18, 19}.x and 4.0 series
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>
9 years agodhcpcd: add upstream patch to fix build issue
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>
9 years agoRevert "dhcpcd: fix ipv6 related compile failure"
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>
9 years agolibwebsockets: add LWS_ prefix to LWS_WITHOUT_TESTAPPS=ON cmake option
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>
9 years agodhcpcd: fix ipv6 related compile failure
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>
9 years agoqt: QT_COORD_TYPE_DOUBLE should only be set on soft float
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>
9 years agogdb: add hash file
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>
9 years agopython3: needs dynamic library support
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>
9 years agopython3: move toolchain comment above main option
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>
9 years agopython3: add hash file
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>
9 years agopython3: bump to version 3.4.3
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>
9 years agovlc: uclibc-ng can be used
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>
9 years agopackage/dvdrw-tools: needs host-m4
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>
9 years agomanual: don't use a comment at the end of the version variable assignment
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>
9 years agopackage/vlc: libX11 is an optional dependency for the qt4 module
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>
9 years agomemcached: bump to version 1.4.24
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>
9 years agogcc/4.8.4: fix aarch64 vmlaq_lane_s32 typo
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>
9 years agoramspeed: add hash
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>
9 years agomemtester: add hash
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>
9 years agotexinfo: add hash file
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>
9 years agospawn-fcgi: add hash file
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>
9 years agosed: add hash file
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>
9 years agogstreamer: add hash file
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>
9 years agogst-plugins-ugly: add hash file
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>
9 years agogst-plugins-good: add hash file
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>
9 years agogst-plugins-base: add hash file
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>
9 years agogst-plugins-bad: add hash file
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>
9 years agogst-ffmpeg: add hash file
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>
9 years agoscreen: add hash file
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>
9 years agoneon: add hash file
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>
9 years agolzip: add hash file
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>
9 years agolibgpg-error: add hash file
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>
9 years agoheimdal: add hash file
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>
9 years agoguile: add hash file
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>
9 years agodiffutils: add hash file
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>
9 years agocivetweb: use TARGET_CONFIGURE_OPTS
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>
9 years agocivetweb: rename lua option to match naming convention
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>
9 years agocivetweb: unbreak static linking builds
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>
9 years agoCHANGES: Update with recent changes
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>
9 years agopackage/gnuchess: needs c++
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>
9 years agofreerdp: fix patch naming
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>
9 years agopackage/nvidia-tegra23-codecs: new package
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.]

9 years agopackage.nvidia-tegra23-binaries: add gstreamer plugins
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>
9 years agopackage/nvidia-tegra23-binaries: new package
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>
9 years agopackage/xserver_xorg-server: add version 1.14.7
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>
9 years agopackage/xserver_xorg-server: not all versions need all dependencies
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>
9 years agopackage/xserver_xorg-server: add blind options to specify driver ABI
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>
9 years agopackage/xserver_xorg-server: make the version a choice
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>
9 years agopackage/xserver_xorg-server: prepare for multiple supported versions
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>
9 years agoMakefile: add a few more targets to nobuild_targets
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>
9 years agopackages: refactor checks using BR_BUILDING
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>
9 years agoMakefile: add BR_BUILDING variable
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>
9 years agoMakefile: remove unneeded variables
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]

9 years agoMakefile: implement the 'source' target using the package infrastructure
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]

9 years agopkg-generic: introduce a <pkg>_ALL_DOWNLOADS variable and factorize code
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>
9 years agopkg-download: fix indentation for SOURCE_CHECK_* macros
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>
9 years agopkg-download: get rid of DL_MODE
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>
9 years agopkg-generic: don't use DL_MODE in .stamp_downloaded
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>
9 years agopkg-generic: remove the .stamp_rsync_sourced fake stamp file
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>
9 years agoMakefile: implement a package based source-check target
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>
9 years agopkg-generic: implement source-check targets
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>
9 years agopkg-download: extend DOWNLOAD_INNER, add a SOURCE_CHECK macro
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>
9 years agoMakefile: move source-check outside of noconfig_targets
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>
9 years agopkg-download: remove support for the SHOW_EXTERNAL_DEPS DL_MODE
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>
9 years agoMakefile: use the package infra based external-deps
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>
9 years agopkg-generic: take into account patch dependencies in source, external-deps and legal...
Thomas Petazzoni [Sun, 26 Apr 2015 09:51:00 +0000 (11:51 +0200)]
pkg-generic: take into account patch dependencies in source, external-deps and legal-info

The $(1)-all-{source,external-deps,legal-info} targets currently only
take care of the dependencies in <pkg>_DEPENDENCIES, but not
<pkg>_PATCH_DEPENDENCIES. This patch fixes that by introducing a
<pkg>_FINAL_ALL_DEPENDENCIES. It also reworks the $(1)-show-depends
target to make use of <pkg>_FINALL_ALL_DEPENDENCIES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agopackage/libsrtp: bump version to 1.5.2
Bernd Kuhls [Sun, 26 Apr 2015 12:45:31 +0000 (14:45 +0200)]
package/libsrtp: bump version to 1.5.2

Removed patches applied upstream:
https://github.com/cisco/libsrtp/commit/cae277e4377acc90ef787d09ed0d82968bbe809a
https://github.com/cisco/libsrtp/commit/b5fad5f893c7f323a8f8e1c512fa48cf6cdb1c8d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ccache: bump to version 3.2.1
Karoly Kasza [Sun, 26 Apr 2015 12:39:13 +0000 (14:39 +0200)]
package/ccache: bump to version 3.2.1

Bump ccache from v.3.1.x to v.3.2.x.
All functionality remained the same.
 - Configure now accepts a parameter to use ccache's internal zlib.
 - conf.c was introduced and some settings were moved from ccache.c,
   with minor changes.
 - The PATCH_CONFIGURATION hook was moved from POST_CONFIGURE to
   POST_PATCH, as patching files should be done there, before calling
   the configure script.

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibedit: add hash file
Thomas Petazzoni [Sun, 26 Apr 2015 17:16:33 +0000 (19:16 +0200)]
libedit: add hash file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libedit: bump version to 20150325-3.1
Bernd Kuhls [Sun, 26 Apr 2015 12:36:07 +0000 (14:36 +0200)]
package/libedit: bump version to 20150325-3.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tor: limit libseccomp support to archs supported by upstream
Bernd Kuhls [Sun, 26 Apr 2015 10:29:46 +0000 (12:29 +0200)]
package/tor: limit libseccomp support to archs supported by upstream

See this commit for a list of supported archs:
https://gitweb.torproject.org/tor.git/commit/src/common/sandbox.c?id=b0c1c700114aa8d4dfc180d85870c5bbe15fcacb

Fixes mips64el build error:
http://autobuild.buildroot.net/results/f97/f9792a0b013f6b79774ecc978d859f56bd941586/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc-ng: remove temporary workaround
Waldemar Brodkorb [Sun, 26 Apr 2015 11:19:18 +0000 (13:19 +0200)]
uclibc-ng: remove temporary workaround

fminf and others got implemented in the time after this
patch was added. Remove the workaround to get mesa compiled
with uClibc-ng.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gnuchess: bump version to 6.2.1
Bernd Kuhls [Sun, 19 Apr 2015 14:29:22 +0000 (16:29 +0200)]
package/gnuchess: bump version to 6.2.1

Removed unneeded patches, Debian did the same:
http://metadata.ftp-master.debian.org/changelogs/main/g/gnuchess/unstable_changelog

gnuchess (6.0.2-1) unstable; urgency=low

  * New upstream version (Closes: #637722)
[...]
    - Drop patches

The patch is no longer needed because the gnuchess code has been
reworked. The input.c file no longer exists, and there is no longer a
getline() function being defined.

[Thomas: tweak commit log.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-imx: new package
Jérôme Pouiller [Sat, 29 Nov 2014 09:12:40 +0000 (10:12 +0100)]
xdriver_xf86-video-imx: new package

X.Org driver for iMX5 GPU. Most of patches come from Yocto project.

Tested using:
    mx5loco_defconfig +
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
    BR2_PACKAGE_QT5=y
    BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
    BR2_PACKAGE_QT5BASE_EXAMPLES=y
    BR2_PACKAGE_QT5BASE_OPENGL_LIB=y
    BR2_PACKAGE_QT5BASE_XCB=y
    BR2_PACKAGE_QT5BASE_DEFAULT_QPA="xcb"
    BR2_PACKAGE_QT5BASE_GIF=y
    BR2_PACKAGE_QT5BASE_JPEG=y
    BR2_PACKAGE_QT5BASE_PNG=y
    BR2_PACKAGE_QT5QUICKCONTROLS=y
    BR2_PACKAGE_XORG7=y
    BR2_PACKAGE_XSERVER_XORG_SERVER=y
    BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR=y
    BR2_PACKAGE_XDRIVER_XF86_INPUT_EVDEV=y
    BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX=y
    BR2_PACKAGE_FREESCALE_IMX=y
    BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53=y
    BR2_PACKAGE_GPU_AMD_BIN_MX51=y
    BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES=y

[Thomas: minor tweaks to Config.in.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dovecot: Fix broken logic for comment display
Bernd Kuhls [Sun, 26 Apr 2015 09:48:20 +0000 (11:48 +0200)]
package/dovecot: Fix broken logic for comment display

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofs: only add non rootfs- targets to PACKAGES
Thomas Petazzoni [Sun, 26 Apr 2015 09:50:59 +0000 (11:50 +0200)]
fs: only add non rootfs- targets to PACKAGES

Commit 4570dbcb14b394d8f3c97baf4c9e5f4f225d1d37
("4570dbcb14b394d8f3c97baf4c9e5f4f225d1d37") added the dependencies of
rootfs building logic to PACKAGES, only thinking about the case where
rootfs building logic actually depends on real, normal packages
(host-mtd, host-genext2fs, etc.). But some file systems (rootfs-ubi)
depend on other filesystem images (rootfs-ubifs). And such targets
should not be added to PACKAGES, otherwise an incorrect circular
dependency is created.

This commit fixes that by only adding the rootfs building logic
dependencies that do *not* start with rootfs- to the global PACKAGES
variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agoqt: add QT_COORD_TYPE to double option
Julien D'Ascenzio [Wed, 22 Apr 2015 08:34:18 +0000 (10:34 +0200)]
qt: add QT_COORD_TYPE to double option

On ARM-based platforms, qreal is a typedef for float for performance
reasons. But we may want a double precision anyway.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pyqt: fix PyQt_qreal_double enabling/disabling
Gwenhael Goavec-Merou [Sat, 25 Apr 2015 10:41:16 +0000 (12:41 +0200)]
python-pyqt: fix PyQt_qreal_double enabling/disabling

fix :
http://autobuild.buildroot.net/results/6a2/6a28855c11b321ce8ceaf0acdd5395738af931fd/
http://autobuild.buildroot.net/results/91a/91a3641d1e4126475bbca0d3c779582832f6db91/
http://autobuild.buildroot.net/results/b10/b10fa70c199fc2de405068fea1eac80c29577747/
http://autobuild.buildroot.net/results/b53/b5334ac80afb58a19bd40b7c0b18378d75bc8fc7/
http://autobuild.buildroot.net/results/01f/01fa1319e467c3c2410fd462dc40c18b82dc8246/
http://autobuild.buildroot.net/results/2e6/2e6cae93ab860175c405e440bc7e24334b5b14e8/

According to configure-ng.py, PyQt_qreal_double must be disabled on
ARM target and when QT_NO_FPU is set.

[Thomas: refactor code using a hidden Config.in boolean.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-encode-detect: new package
Bernd Kuhls [Sun, 26 Apr 2015 09:37:15 +0000 (11:37 +0200)]
package/perl-encode-detect: new package

[Thomas:
 - rewrap Config.in help text
 - fix license, it's MPL-1.1, not 'open_source'.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-db-file: new package
Bernd Kuhls [Sun, 26 Apr 2015 09:37:14 +0000 (11:37 +0200)]
package/perl-db-file: new package

[Thomas: rename package to perl-db-file.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tor: new package
Bernd Kuhls [Mon, 20 Apr 2015 17:51:37 +0000 (19:51 +0200)]
package/tor: new package

[Thomas:
  - remove reference to BR2_LARGEFILE, this option has been
    removed. Largefile support is now guaranteed to be present.
  - rewrap Config.in help text to the appropriate length.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-libwww-perl: Move package/perl-libwww to new package
Bernd Kuhls [Sat, 25 Apr 2015 13:14:02 +0000 (15:14 +0200)]
package/perl-libwww-perl: Move package/perl-libwww to new package

This move is necessary to sync the package with scancpan output
as suggested by Francois.
http://lists.busybox.net/pipermail/buildroot/2015-April/126406.html

Since perl-libwww was never part of any official buildroot release
I did not bother the include legavy handling of its options ;)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/input-tools: add hash for joystick_20051019-5.diff.gz
Romain Naour [Sat, 25 Apr 2015 12:39:38 +0000 (14:39 +0200)]
package/input-tools: add hash for joystick_20051019-5.diff.gz

Fixes:
http://autobuild.buildroot.net/results/1f3/1f3c5c060cd98a3f4cf9688fc8a83cc1c23ece29

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevdev: bump version to 1.4.2
Peter Seiderer [Sat, 25 Apr 2015 10:03:50 +0000 (12:03 +0200)]
libevdev: bump version to 1.4.2

Update version and hash (see [1] for details).

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/download: restore mandatory check of hashes
Yann E. MORIN [Wed, 22 Apr 2015 22:08:41 +0000 (00:08 +0200)]
support/download: restore mandatory check of hashes

Now that custom external toolchains to be downloaded properly instruct
to not fail on a missing hash, restore the mandatory hash check for
everything else.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/uclibc: ignore missing hash for snapshots
Yann E. MORIN [Wed, 22 Apr 2015 22:08:40 +0000 (00:08 +0200)]
package/uclibc: ignore missing hash for snapshots

We can't have a hash for snapshots, so add them to the exclusion list.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain/external: ignore missing hash for custom downloaded toolchain
Yann E. MORIN [Wed, 22 Apr 2015 22:08:39 +0000 (00:08 +0200)]
toolchain/external: ignore missing hash for custom downloaded toolchain

We will *always* be missing a hash file for custom external toolchains
that are downloaded.

So, just ignore that failure.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/download: add possibility to not fail on missing hash
Yann E. MORIN [Wed, 22 Apr 2015 22:08:38 +0000 (00:08 +0200)]
support/download: add possibility to not fail on missing hash

In very constrained cases, it might be needed to not fail if a hash is
missing. This is notably the case for custom external toolchains to be
downloaded, because we do have a .hash file for external toolchains,
but we obviously can not have hashes for all existing custom toolchains
(he, "custom"!).

So, add a way to avoid failing in that case.

>From the Makefile, we export the list of files for which not to check
the hash. Then, from the check-hash script, if no check was done, and
the file we were trying to match in in this exclusion list, we just exit
without error.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
changes v6 -> v7:
  - /beautify/ the pattern in the case clause

Changed v5 -> v6:  (Arnout)
  - fix the pattern in the case clause

Changes v4 -> v5:
  - micro-optimisation, use case-esac instead of a for-loop  (Arnout)
  - typoes  (Arnout)

Changes v3 -> v4:
  - drop the magic value, use a list of excluded files  (Arnout)

Changes v1 -> v2:
  - fix typoes in commit log

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: update hash for arc
Arnout Vandecappelle [Wed, 22 Apr 2015 22:08:37 +0000 (00:08 +0200)]
uclibc: update hash for arc

The old hash for 2014.08 was never updated. Since uclibc-arc-2014.12 is
downloaded from the github helper, it is converted into a 'none' hash.

Reordered the hashes so the none-hashes are together.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/uclibc: add missing hash for eXtensa
Yann E. MORIN [Wed, 22 Apr 2015 22:08:36 +0000 (00:08 +0200)]
package/uclibc: add missing hash for eXtensa

This is a git snapshot, we can't have a hash for it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/binutils: add hashes
Yann E. MORIN [Wed, 22 Apr 2015 22:08:35 +0000 (00:08 +0200)]
package/binutils: add hashes

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Fixes linking error with tremor due to wrong library name
Bernd Kuhls [Wed, 22 Apr 2015 22:06:24 +0000 (00:06 +0200)]
package/vlc: Fixes linking error with tremor due to wrong library name

Fixes
http://autobuild.buildroot.net/results/469/4693f5f3d362e74a55c8145dbe777606f5865ad5/
http://autobuild.buildroot.net/results/795/795744533dbf7076e88163fb35327da8c42819f1/
http://autobuild.buildroot.net/results/89d/89d9997fc76ad334ff7b7f2a28294c78c424a120/
http://autobuild.buildroot.net/results/57f/57f22c8623268d836e8b402e8c27d418b6fb7f72/
http://autobuild.buildroot.net/results/5f6/5f66a8a135c95624a14908c685f1201dd7f8ae87/

and many others

[Thomas: rename patch to respect patch numbering.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Fix compile warning being treated as error
Bernd Kuhls [Fri, 24 Apr 2015 20:00:52 +0000 (22:00 +0200)]
package/vlc: Fix compile warning being treated as error

Fixes
http://autobuild.buildroot.net/results/b14/b149dcd9bfcf9e69cf7fa16636c3089a6673769a/
http://autobuild.buildroot.net/results/d45/d45c4abcd22d99edaff8943b0073a94dcd972ab5/
http://autobuild.buildroot.net/results/1f6/1f6a4a9084a9d07bdd8d6c6dafeedb38d27c0b8f/
http://autobuild.buildroot.net/results/8f0/8f05242257a0ed059d5258c4a83ab26095516917/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdcadec: new package
Bernd Kuhls [Sat, 25 Apr 2015 09:16:48 +0000 (11:16 +0200)]
package/libdcadec: new package

Needed for next ffmpeg release:
http://git.videolan.org/?p=ffmpeg.git;a=blobdiff;f=Changelog;h=4542e324d8ab722468ed251325a3efddb28bff8e;hp=46304d83a90d2a846421a61f9391dfcd1e52ba31;hb=72025ac36c740f031d7e413041fdfe97087c83c4;hpb=6fe2641d6e410b7bc203138fa97e1118b411f16d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoluarocks: bump to version 2.2.2
Francois Perrad [Sat, 25 Apr 2015 08:48:54 +0000 (10:48 +0200)]
luarocks: bump to version 2.2.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogtest: generate the gtest-config script
Thomas Petazzoni [Sat, 25 Apr 2015 09:22:42 +0000 (11:22 +0200)]
gtest: generate the gtest-config script

gtest has moved from the autotools to CMake, but the CMake build
system is currently not installing the gtest-config script. Work
around that by installing it manually, after doing the necessary
sed-ing from the gtest-config.in template.

Reported-by: Carlos Santos <casantos@datacom.ind.br>
Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/bullet: new package
Romain Naour [Fri, 24 Apr 2015 19:46:11 +0000 (21:46 +0200)]
package/bullet: new package

[Thomas:
  - move package to 'Libraries -> Graphics'
  - wrap the Config.in help text
  - change license from "Zlib" to "zlib license" to match what the
    zlib package is doing.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nvidia-driver: don't install gl.pc when not providing libgl
Yann E. MORIN [Fri, 24 Apr 2015 21:39:57 +0000 (23:39 +0200)]
package/nvidia-driver: don't install gl.pc when not providing libgl

When nvidia-driver does not provide libgl (i.e. when it does not install
the X.org driver), it should also not install gl.pc, otherwise, packages
that depend on pkg-config will mis-detect presence of GL and fail to
build, like vlc:

    http://autobuild.buildroot.org/results/724/724fce8ce51c2c0578192b1369a1cfcea3d72638/

So, only install gl.pc when we install the X.org driver. Similarly, we
do not need to install libGL.la either.

Reported-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>