buildroot.git
8 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_LIBATOMIC
Thomas Petazzoni [Sun, 6 Mar 2016 20:47:16 +0000 (21:47 +0100)]
toolchain: introduce BR2_TOOLCHAIN_HAS_LIBATOMIC

Until now, we were assuming that whenever you have gcc 4.8, libatomic
is available. It turns out that this is not correct, since libatomic
will not be available if thread support is disabled in the toolchain.

Therefore, __atomic_*() intrinsics may not be available even if the
toolchain uses gcc 4.8.

To solve this problem, we introduce a BR2_TOOLCHAIN_HAS_LIBATOMIC
boolean, which indicates whether the toolchain has libatomic. It is
the case when you are using gcc >= 4.8 *and* thread support is
enabled. We then use this new BR2_TOOLCHAIN_HAS_LIBATOMIC to define
BR2_TOOLCHAIN_HAS_ATOMIC.

As explained in the comment, on certain architectures, libatomic is
technically not needed to provide the __atomic_*() intrinsics since
they might be all built-in. However, since libatomic is only absent in
non-thread capable toolchains, it is not worth making things more
complex for such seldomly used configuration.

Note that we are introducing the intermediate
BR2_TOOLCHAIN_HAS_LIBATOMIC option because it will be useful on its
own for certain packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: improve Config.in comment using a suggestion from Yann.]

8 years agoqt5: bump version to 5.6.0
Julien CORJON [Thu, 17 Mar 2016 09:42:28 +0000 (10:42 +0100)]
qt5: bump version to 5.6.0

Remove upstream committed patches (qt5base):
  - 0001-Force_egl_visual_ID_33.patch (see [1], [2])
  - 0003-xcb-egl-fixes.patch (see [3])
  - 0005-forkd-disable-eventfd-for-uclibc.patch (see [4], [5])
  - 0009-fix-eglfs-for-sunxi-mali.patch (see [6])
  - 0014-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch (see [7])

Remove MX6_WORKAROUND from qt5base.mk since we do not need to tweak
EGL visual ID to 33.

Remove upstream committed patch (qt5webchannel):
  - 0001-Fix-builds-without-qml-module.patch (see [8], [9])

Fix Qt5Enginio to 1.6.0 version (see [10])

[1] https://bugreports.qt.io/browse/QTBUG-44290
[2] https://codereview.qt-project.org/#/c/108849/
[3] https://codereview.qt-project.org/#/c/115438/
[4] https://bugreports.qt.io/browse/QTBUG-47337
[5] https://codereview.qt-project.org/#/c/121988/
[6] https://codereview.qt-project.org/#/c/125837/
[7] https://codereview.qt-project.org/#/c/126725/
[8] https://bugreports.qt.io/browse/QTBUG-47360
[9] https://codereview.qt-project.org/#/c/122086/
[10] https://bugreports.qt.io/browse/QTBUG-50111

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qt5webkit-examples: remove obsolete package
Julien CORJON [Thu, 17 Mar 2016 09:42:27 +0000 (10:42 +0100)]
package/qt5webkit-examples: remove obsolete package

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
[Thomas: add removed option to Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qt5webkit: remove obsolete package
Julien CORJON [Thu, 17 Mar 2016 09:42:26 +0000 (10:42 +0100)]
package/qt5webkit: remove obsolete package

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
[Thomas: add removed option to Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qt5quick1: remove obsolete package
Julien CORJON [Thu, 17 Mar 2016 09:42:25 +0000 (10:42 +0100)]
package/qt5quick1: remove obsolete package

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
[Thomas: add removed option to Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozeromq: add explicit --without-pgm when pgm is disabled
Thomas Petazzoni [Sun, 20 Mar 2016 22:05:37 +0000 (23:05 +0100)]
zeromq: add explicit --without-pgm when pgm is disabled

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozeromq: add norm support
Gustavo Zacarias [Wed, 9 Mar 2016 09:35:42 +0000 (06:35 -0300)]
zeromq: add norm support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: add explicit --without-norm.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonorm: new package
Gustavo Zacarias [Wed, 9 Mar 2016 09:35:41 +0000 (06:35 -0300)]
norm: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas:
 - remove useless parenthesis enclosing waf calls
 - move the header copying outside of the 'cd $(@D)'.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luajit: build host variant dynamically
Romain Naour [Fri, 4 Mar 2016 23:00:42 +0000 (00:00 +0100)]
package/luajit: build host variant dynamically

While building libevas.so for the host-efl with luajit support, the link fail
when libluajit is build statically:

/usr/bin/ld: output/host/usr/lib/libluajit-5.1.a(ljamalg.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
output/host/usr/lib/libluajit-5.1.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

Build luajit dynamically in order to build host-efl with luajit support.

Also, passing HOST_LDFLAGS is needed so that a proper rpath is added
to the resulting binaries. Note that it is expected to have
HOST_LDFLAGS assigned to TARGET_LDFLAGS, it's just that luajit has a
somewhat non-conventional naming of variables. This is needed to avoid
the following error from the rpath sanity check:

***
*** ERROR: package host-luajit installs executables without proper RPATH:
***   output/host/usr/bin/luajit

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoicu: remove dev files
Gustavo Zacarias [Wed, 9 Mar 2016 16:25:22 +0000 (13:25 -0300)]
icu: remove dev files

Remove files that aren't used for runtime purposes.

Size savings delta +450 KB.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconnman-gtk: new package
Gustavo Zacarias [Thu, 10 Mar 2016 14:52:37 +0000 (11:52 -0300)]
connman-gtk: new package

It was added to the networking category close to connman for the ability
to tweak connman features without going around (i.e. add support for
wifi and so on).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibglib2: improve dev file handling
Gustavo Zacarias [Thu, 10 Mar 2016 14:52:36 +0000 (11:52 -0300)]
libglib2: improve dev file handling

Remove source schema files from target
(/usr/share/glib-2.0/schemas/*.dtd and *.xml) at target finalization
time.
This is because other packages install schemas as well to avoid
duplicating file removal efforts all around.

Add a schema compiler run on target finalization as well - we previously
didn't do this since not many packages use it, however the upcoming
connman-gtk package does require a valid gschemas.compiled to work
properly.
We also do this at target finalization to avoid each package handling
this on their own.

Purge some extra binaries and files from the target, like the schema
compiler to save additional space since they're unused at run time.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "package/gcc: fix libgcc build for xtensa"
Max Filippov [Fri, 11 Mar 2016 01:34:00 +0000 (04:34 +0300)]
Revert "package/gcc: fix libgcc build for xtensa"

This reverts commit c44cf2cc97df1729577263d2b0cb5263e8cdc4c1.
Now that xtensa gas don't move literals into .init and .fini this fix is
no longer needed.

See upstream commit
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=4111950f363221c4641dc2f33bea61cc94f34906,
which was backported to all supported binutils version, under the name
*-xtensa-fix-.init-.fini-literals-moving.patch.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
[Thomas: add more details in the commit log, as suggested by Yann
E. Morin, and using information provided by Max.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pax-utils: switch to autotools
Yann E. MORIN [Fri, 11 Mar 2016 18:04:45 +0000 (19:04 +0100)]
package/pax-utils: switch to autotools

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: independently done a patch similar to the one
 by Thomas]
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: build and install kernel selftests
Cyril Bur [Wed, 16 Mar 2016 03:26:33 +0000 (14:26 +1100)]
linux: build and install kernel selftests

This patch adds the ability to compile and install the kernel
selftests into the target at /usr/lib/kselftests. The rationale behind
/usr/lib is that the selftests have subdirectories where they are
installed which makes them unsuitable to be placed in /usr/sbin as
this would result in /usr/sbin/kselftests/x/y/z. While the selftests
aren't libraries either, they don't achieve much as a standalone
binary so they can be considered to be a 'library of tests' making
/usr/lib sensible.

The selftests require that the kernel headers be installed into the
kernel build tree as some of the selftests have a hardcoded CFLAGS to
include kernel headers (CFLAGS += -I../../../../usr/include/). This is
most easily achieved by using the make ... headers_install inside the
kernel build dir.

This is likely to be a rarely used debugging/performance feature for
development and unlikely to be used in a production configuration.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas:
 - remove bash as a build dependency, it is only a runtime dependency.
 - fix typo in the Config.in help text, and rewrap
 - add missing 'depends on BR2_USE_MMU' dependency for the comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/jack2: add comment about celt and eigen
Yann E. MORIN [Fri, 11 Mar 2016 18:00:35 +0000 (19:00 +0100)]
package/jack2: add comment about celt and eigen

The optinal dependency on celt is not added, because we only have
celt-0.5.1 and jack2 requires celt >= 0.5.2 (even though it does look
for celt >= 0.5.0, it does not build with celt- < 0.5.2). Since we
cannot upgrade celt (for now), we just never make jack2 depend on
celt051, and it won't find it either, as it just searches for celt.pc
and we have celt051.pc.

As well, the dependency on eigen is only useful in conjunction with
gtkiostream, for which we do not have a package. So, we don't need to
depend on eigen.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agojack2: allow to choose the mode to operate jackd
Antoine Ténart [Fri, 11 Mar 2016 18:00:34 +0000 (19:00 +0100)]
jack2: allow to choose the mode to operate jackd

jack2 allows to use three modes:
- A legacy jackd service alone.
- A DBUS jackd service alone.
- A mixture between the standalone jackd and the DBUS jackd.

This patch adds the possibility to choose between these three modes,
while the legacy jackd was the only option before.

In addition, the jack_control tool is removed when the DBUS jackd is not
available, as this tool is used to control it.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
[yann.morin.1998@free.fr:
  - rebase
  - only use two booleans, not a choice
  - python is a runtime-only dependency
  - use python3 if enabled, fallback to python
  - simplify post-install condition
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: fix minor typo.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/multicat: fix HAVE_CLOCK_NANOSLEEP with uClibc
Jörg Krause [Sun, 20 Mar 2016 17:55:25 +0000 (18:55 +0100)]
package/multicat: fix HAVE_CLOCK_NANOSLEEP with uClibc

multicat uses clock_nanosleep() conditionally if HAVE_CLOCK_NANOSLEEP is
defined. Unfortunatly, multicat does not use autoconf to check if
clock_nanosleep() is really available, but defines it if __APPLE__ is not
defined.

With uClibc clock_nanosleep() is not available if the C library is configured
without NPTL support (sets __UCLIBC_HAS_THREADS_NATIVE__) or
__UCLIBC_HAS_ADVANCED_REALTIME__ is not set.

Fixes:
http://autobuild.buildroot.net/results/84f/84f8302ee94e6e6849f6b26cb697c2f9986bafe5/
http://autobuild.buildroot.net/results/9e0/9e07a98e87755c992254295c46edb0dace967a21/
http://autobuild.buildroot.net/results/4b0/4b07d276d7c09f2fc2d63c8c37c92519cfe36dbc/
http://autobuild.buildroot.net/results/84f/84f8302ee94e6e6849f6b26cb697c2f9986bafe5/
and many more.

Upstream status: Pending
https://mailman.videolan.org/pipermail/multicat-devel/2016-March/000129.html

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: bump to version 1.10.0
Gustavo Zacarias [Wed, 9 Mar 2016 09:58:45 +0000 (06:58 -0300)]
weston: bump to version 1.10.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowayland-protocols: new package
Gustavo Zacarias [Wed, 9 Mar 2016 09:58:44 +0000 (06:58 -0300)]
wayland-protocols: new package

For wayland 1.10+ they're split from wayland core and required by
weston.
Hide it behind the wayland package since it's useless independently even
though it can be "built" and installed.
And it makes no sense to install to target since they are DTDs used at
build-time.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowayland: bump to version 1.10.0
Gustavo Zacarias [Wed, 9 Mar 2016 09:58:43 +0000 (06:58 -0300)]
wayland: bump to version 1.10.0

wayland-scanner host/cross support is now native so drop the funky
trick.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibepoxy: move outside x11r7 scope
Gustavo Zacarias [Wed, 9 Mar 2016 09:58:39 +0000 (06:58 -0300)]
libepoxy: move outside x11r7 scope

Move it outside x11r7 scope since it can be built without it with a few
patches (sent upstream via github pull request).

Motivation is simple, it's a dependency for newer gtk3 versions which
can work with a wayland or broadway backend, and having a full x11 stack
is pointless for that scenario.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: split the first patch into four separate patches, since
that's how they were submitted upstream.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mesa3d: depends on BR2_TOOLCHAIN_HAS_SYNC_1
Bernd Kuhls [Sat, 19 Mar 2016 09:20:54 +0000 (10:20 +0100)]
package/mesa3d: depends on BR2_TOOLCHAIN_HAS_SYNC_1

Fixes
http://autobuild.buildroot.net/results/399/399d76ac70c3933604067e2c6dcb4086b50acfff/
http://autobuild.buildroot.net/results/70c/70cd299600985d7cf00c5b449f7e75284160551a/
http://autobuild.buildroot.net/results/b4a/b4ab89c3628dd648683e25f9e3c6238f13871aba/
http://autobuild.buildroot.net/results/33d/33d6dc8e1f57b5a02b07c50e5cefa272c6d992fc/
http://autobuild.buildroot.net/results/7f3/7f32a9577ee2e50af38d4f60de50d938792b66a3/
http://autobuild.buildroot.net/results/c98/c98b74d1d1342ca18fb161d010e94d45462ac6f1/
and others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxdriver_xf86-video-ati: needs dri3proto for glamor
Gustavo Zacarias [Fri, 18 Mar 2016 20:55:22 +0000 (17:55 -0300)]
xdriver_xf86-video-ati: needs dri3proto for glamor

We need to match xserver here, since we need glamor support there in
order to enable it here, hence need to match the dependencies.
For xserver it needs dri3proto+libepoxy, however if only libepoxy is
present then glamor would be disabled for the server but enabled for the
driver, leading to build failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: add Cortex-M4 entry
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:05 +0000 (22:08 +0100)]
arch/arm: add Cortex-M4 entry

This commit adds the option to select the Cortex-M4 ARM core, in the
same family as Cortex-M3. This will be useful to enable the internal
toolchain backend for this ARM core, and provide some defconfigs for
Cortex-M4 platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: Cortex-M3 provides only Thumb-2
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:04 +0000 (22:08 +0100)]
arch/arm: Cortex-M3 provides only Thumb-2

The Cortex-M cores only support Thumb-2, not Thumb. In fact, Thumb-2
is a superset of Thumb, and we could have a single option for both in
Buildroot, since -mthumb on ARMv4/v5 means original Thumb, while
-mthumb on ARMv7 means Thumb 2. However, for clarity, it makes sense
to have two separate options. But in this case, Cortex-M3 should not
advertise that it supports Thumb, as in fact selecting Thumb would
generate Thumb-2 code.

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: introduce and use BR2_ARM_CPU_ARMV7M
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:03 +0000 (22:08 +0100)]
arch/arm: introduce and use BR2_ARM_CPU_ARMV7M

All ARM cores should select a BR2_ARM_CPU_* option. Currently, the
cortex-m3 does not, which this commit fixes by introducing a
BR2_ARM_CPU_ARMV7M option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/minidlna: unavailable for static builds
Bernd Kuhls [Sat, 19 Mar 2016 09:43:42 +0000 (10:43 +0100)]
package/minidlna: unavailable for static builds

minidlna has long standing issues with static-only builds:
http://patchwork.ozlabs.org/patch/501844/
http://patchwork.ozlabs.org/patch/506310/

This patch fixes
http://autobuild.buildroot.net/results/d73/d7370d0f8d1c7c028996feab0ea4f36edbf8a698/
http://autobuild.buildroot.net/results/575/5752be7c1820579425ba24178482ab0d6eea7b62/
"pack_utils.c:(.text+0x9a8): multiple definition of `free_metadata'"

The multiple definition can be fixed of course but instead of digging
deeper and deeper into this mess let's disable static builds.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolirc-tools: needs host-python3
Gustavo Zacarias [Sat, 19 Mar 2016 12:44:45 +0000 (09:44 -0300)]
lirc-tools: needs host-python3

As stated in NEWS "Build scripts now requires python3". Fixes:
http://autobuild.buildroot.net/results/f41/f417a17ad24eec8f72402a634588c6b3af8293be/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu-m68k: add new board
Waldemar Brodkorb [Sat, 19 Mar 2016 17:27:55 +0000 (18:27 +0100)]
qemu-m68k: add new board

Ethernet is not working, but at least you get a shell and
can test applications for m68k.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/m68k: re-enable the architecture
Waldemar Brodkorb [Sat, 19 Mar 2016 19:04:10 +0000 (20:04 +0100)]
arch/m68k: re-enable the architecture

This allows to build a m68k toolchain with uClibc.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/multicat: add patch to fix musl build
Jörg Krause [Sat, 19 Mar 2016 23:41:45 +0000 (00:41 +0100)]
package/multicat: add patch to fix musl build

Add a patch to fix two musl build issues:
  1) `struct udphdr` requires definition of `_GNU_SOURCE`
  2) `mode_t` requires including <sys/types.h>

Fixes:
http://autobuild.buildroot.net/results/9f1/9f1a3f3aab854f1bd20f1064391e613457312022/

Upstream status: Pending [1]

[1] https://mailman.videolan.org/pipermail/multicat-devel/2016-March/000126.html

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/multicat: add patch to fix static build
Jörg Krause [Sat, 19 Mar 2016 23:41:44 +0000 (00:41 +0100)]
package/multicat: add patch to fix static build

Building multicat in a static context fails with:
  aggregartp.c:381: undefined reference to `pthread_self'

Fix this by adding -lpthread to LDLIBS.

Fixes:
http://autobuild.buildroot.net/results/e69/e699cf6b97bc97f2e8e51aa8b86f0e16af70b5b0/
http://autobuild.buildroot.net/results/201/2019f11dcc43cb0db13ceb4e3a575c1a91573d4c/
http://autobuild.buildroot.net/results/fa9/fa98afec377a1e8fce64af5897d1f7af45804069/
and maybe more.

Upstream status: Pending [1]

[1] https://mailman.videolan.org/pipermail/multicat-devel/2016-March/000125.html

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: disable plugins for static links
Max Filippov [Sat, 19 Mar 2016 20:14:56 +0000 (23:14 +0300)]
binutils: disable plugins for static links

Plugins want to use dlopen even when configured with --disable-shared.
Add --disable-plugins when STATIC_LIBS is selected.
Fixes:
  http://autobuild.buildroot.net/results/a59e5858d777dcee3d8f7fb6e82ee4735b520155/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dovecot-pigeonhole: bump version to 0.4.13
Bernd Kuhls [Sat, 19 Mar 2016 20:00:21 +0000 (21:00 +0100)]
package/dovecot-pigeonhole: bump version to 0.4.13

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dovecot: bump version to 2.2.22
Bernd Kuhls [Sat, 19 Mar 2016 20:00:20 +0000 (21:00 +0100)]
package/dovecot: bump version to 2.2.22

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libva-intel-driver: bump version to 1.7.0
Bernd Kuhls [Sat, 19 Mar 2016 19:59:03 +0000 (20:59 +0100)]
package/libva-intel-driver: bump version to 1.7.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libva: bump version to 1.7.0
Bernd Kuhls [Sat, 19 Mar 2016 19:59:02 +0000 (20:59 +0100)]
package/libva: bump version to 1.7.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: needs host gcc >= 4.6
Bernd Kuhls [Sat, 19 Mar 2016 20:25:36 +0000 (21:25 +0100)]
package/kodi: needs host gcc >= 4.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: add symbols for BR2_HOST_GCC_AT_LEAST_4_6
Bernd Kuhls [Sat, 19 Mar 2016 20:25:35 +0000 (21:25 +0100)]
Config.in: add symbols for BR2_HOST_GCC_AT_LEAST_4_6

This option is needed to fix the Kodi build with older host gcc
versions.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: fix segfault during playback of mpeg2 content using vaapi
Bernd Kuhls [Sat, 19 Mar 2016 20:25:34 +0000 (21:25 +0100)]
package/kodi: fix segfault during playback of mpeg2 content using vaapi

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodropbear: bump to version 2016.73
Alexander Dahl [Sun, 20 Mar 2016 12:04:37 +0000 (13:04 +0100)]
dropbear: bump to version 2016.73

some new runtime options, minor fixes, and fixes for issues found by
various code analyze and lintian tools.

Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: also display the custom help with our main help
Yann E. MORIN [Fri, 11 Mar 2016 17:41:10 +0000 (18:41 +0100)]
core: also display the custom help with our main help

The patch merges the custom help, introduced in the previous patch, at
the end of our internal help.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: add the possibility to provide help for custom rules
Yann E. MORIN [Fri, 11 Mar 2016 17:41:09 +0000 (18:41 +0100)]
core: add the possibility to provide help for custom rules

When using a br2-external tree, it is possible (as stated in our manual)
to implement whatever arbitrary extra make rules (such as flashing a
board, or extracting the rootfs in an NFS export...). Some of those
extra rules might be exposed to the user as new entry points that the
user can call by itself.

However, there is no way for the br2-external to advertise those new
rules in the help text.

We add the possibility to do so, by adding a new make rule, called
help-custom, advertised in our own help info.

It is up to the br2-external tree to provide whatever help text is
deemed necessary. The format of the help is completely free-form.

Note that we need to provide an empty, dummy help-custom rule, since it
is always advertised (making it .PHONY does not work). Since this rule
is empty, make gently reports that there is "Nothing to be done for
`help-local'", which is pretty well fitting when help-local was not
provided (either because there's no br2-external tree, or when the
br2-external tree does not provide it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: add hashes for actual sources
Yann E. MORIN [Fri, 11 Mar 2016 17:49:14 +0000 (18:49 +0100)]
toolchain/external: add hashes for actual sources

As we currently download the actual sources as part of saving the
legal-info, we do not check the hashes of those downloads.

That's because, during legal-info, there is not package involved, and
thus there's no path to an actual .hash file.

However, this precludes legal-info from working in off-line mode. A
subsequent patch will make it possible to do so, and actual sources will
be downloaded as another classical package download.

This will have two consequences:

  - first, we will be able to add hashes for actual sources, so we can
    ensure their integrity,

  - second, and as a direct consequence of the above, when a .hash file
    is present, it would have to list all the hashes for that package,
    or that would be treated as an error.

Currently, the only package that falls in this case is the external-
toolchain, for which we have means to retrieve the sources for some of
the toolchains.

So we just add hashes for those actual external-toolchain sources we may
have to download.

Those hashes are not used for now, but they'll come into play a few
patches down.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkitgtk24: security bump to version 2.4.10
Gustavo Zacarias [Mon, 14 Mar 2016 20:52:15 +0000 (17:52 -0300)]
webkitgtk24: security bump to version 2.4.10

Fixes:
CVE-2015-1120, CVE-2015-1076, CVE-2015-1071, CVE-2015-1081,
CVE-2015-1122, CVE-2015-1155, CVE-2014-1748, CVE-2015-3752,
CVE-2015-5809, CVE-2015-5928, CVE-2015-3749, CVE-2015-3659,
CVE-2015-3748, CVE-2015-3743, CVE-2015-3731, CVE-2015-3745,
CVE-2015-5822, CVE-2015-3658, CVE-2015-3741, CVE-2015-3727,
CVE-2015-5801, CVE-2015-5788, CVE-2015-3747, CVE-2015-5794,
CVE-2015-1127, CVE-2015-1153, CVE-2015-1083.

0002-WTF-Platform.h-use-_ABI64-instead-of-_MIPS_SIM_ABI64.patch upstream
so drop it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkitgtk24: add https option
Gustavo Zacarias [Mon, 14 Mar 2016 20:52:14 +0000 (17:52 -0300)]
webkitgtk24: add https option

Add a BR2_PACKAGE_WEBKITGTK24_HTTPS to pull in required dependencies for
HTTPS protocol support.
This is almost essentially the same as using midori with HTTPS enabled,
however Midori's HTTPS support is based on glib-networking, and webkit
via libsoup-ssl (for MiniBrowser, it doesn't affect midori's support).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkitgtk24: add multimedia option
Gustavo Zacarias [Mon, 14 Mar 2016 20:52:13 +0000 (17:52 -0300)]
webkitgtk24: add multimedia option

Add a BR2_PACKAGE_WEBKITGTK24_MULTIMEDIA option that will select/pull in
the basic required components in order for a few multimedia websites
(HTML5 video) to work.
Tested with videojs.com & youtube.com

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoshared-mime-info: attempt to fix parallel build issues
Gustavo Zacarias [Mon, 14 Mar 2016 22:11:06 +0000 (19:11 -0300)]
shared-mime-info: attempt to fix parallel build issues

According to https://bugs.freedesktop.org/show_bug.cgi?id=46093 the
problem lies with 'make check' which is enabled by default.
But we don't care about running the check target, so disable it.
It will hopefully finally fix, for target:
http://autobuild.buildroot.net/results/03f/03fcc8aff675eb035e123eb2b01e4ed122c66cbc/
For host:
http://autobuild.buildroot.net/results/6c1/6c1fd50913ef8a3a5cc108f428f2c195c768324d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: nitrogen*: bump kernel version to 3.14.52-1.1.0_ga
Gary Bisson [Wed, 16 Mar 2016 14:56:54 +0000 (15:56 +0100)]
configs: nitrogen*: bump kernel version to 3.14.52-1.1.0_ga

Also add device tree of our Nitrogen6_Max QuadPlus version:
https://boundarydevices.com/product/nitrogen6max/

As well as our latest SOM version:
https://boundarydevices.com/product/nit6x-som-v2/

Using the latest commit of our 3.14.52 kernel branch:
https://github.com/boundarydevices/linux-imx6/commits/boundary-imx_3.14.52_1.1.0_ga

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: freescale_imx6*: bump version to 3.14.52-1.1.0_ga
Gary Bisson [Wed, 16 Mar 2016 14:56:53 +0000 (15:56 +0100)]
configs: freescale_imx6*: bump version to 3.14.52-1.1.0_ga

Consolidated GA support i.MX 6Q/QP/D/S/SL/UL and 7Dual

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/9f206ec7
https://github.com/Freescale/meta-fsl-arm/commit/33d1115d

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-imx: add missing libfslcodec dependency
Gary Bisson [Wed, 16 Mar 2016 14:56:52 +0000 (15:56 +0100)]
gst1-imx: add missing libfslcodec dependency

Needed by imxmp3audioenc and imxuniaudiodec plugins.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux/perf: conditionally enable support for gz/xz compression
Yann E. MORIN [Fri, 11 Mar 2016 18:19:57 +0000 (19:19 +0100)]
linux/perf: conditionally enable support for gz/xz compression

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux/perf: forcefully disable the features with missing dependencies
Yann E. MORIN [Fri, 11 Mar 2016 18:19:56 +0000 (19:19 +0100)]
linux/perf: forcefully disable the features with missing dependencies

Forcefully disable the features that have optional dependencies that are
not enabled in Buildroot.

Disable support for bionic since, well, we're not Android.

Slightly re-order the variables to have semantically-related variables
together, with features last.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux/perf: honour the number of parallel jobs
Yann E. MORIN [Fri, 11 Mar 2016 18:19:55 +0000 (19:19 +0100)]
linux/perf: honour the number of parallel jobs

perf does not honour the -j flags we pass to make; it yet again tries to
reinvent the wheel and by default uses the number of CPUs as the number
of parallel jobs.

Fortunately, in their infinite wisdom, the insane developpers of the
perf buildsystem were kind enough to provide us with a variable we can
set to specify the number of parallel jobs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux/perf: really do not build the documentation
Yann E. MORIN [Fri, 11 Mar 2016 18:19:54 +0000 (19:19 +0100)]
linux/perf: really do not build the documentation

The perf buildsystem, inside the kernel, is not really amenable to be
easily used...

Regarding the documentation, it will forcefully try to detect asciidoc
and, with the latest versions, xmlto, completely disregarding what the
user may provide.

We currently pass ASCIIDOC= (the empty string) on the make command line,
as an attempt to disable building the documentation, but that has no
effect whatsoever on perf: that variable is not passed down to the
sub-sub-make (yes, a two-level depth) that is responsible for building
the documentation.

We really do not want to build any of the documentation (the user can
refer to the documentation on his own development machine), so we use a
little dirty trick: we provide a GNUmakefile beside the existing
Makefile for the documentation; GNUmakefile always takes precedence over
a Makefile when both are present. We only provide a catch-all-no-recipe
rule in that GNUmakefile, so it really does nothing useful, except avoid
building the documentation.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lirc-tools: needs host-libxslt
Bernd Kuhls [Sat, 19 Mar 2016 08:28:27 +0000 (09:28 +0100)]
package/lirc-tools: needs host-libxslt

Fixes
http://autobuild.buildroot.net/results/e5c/e5c4199a77b66a67da1060d1e9b74150c1c12a7e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofirmware-imx: bump to version 5.3
Gary Bisson [Wed, 16 Mar 2016 14:56:50 +0000 (15:56 +0100)]
firmware-imx: bump to version 5.3

Changelog:
- Add basic epdc firmware copy to correct output path
- Move legacy epdc firmware to this package out of kernel
- VPU firmware upgrade to v3.1.1_r46070

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/0fdf829

This package has been implicitely tested through gstreamer as the
plugins rely on them for vpu decoding for instance:
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-vpu: bump to version 5.4.32
Gary Bisson [Wed, 16 Mar 2016 14:56:49 +0000 (15:56 +0100)]
imx-vpu: bump to version 5.4.32

Changelog:
- Support AVcVuiInfo for Decoder through DecInitialInfo or DecOutputInfo
- Clear structure iram IOGetIramBase() fails to set them to avoid
using uninitialized variables.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/be030922

This package has been implicitely tested through gstreamer as the
plugins rely on it for vpu decoding:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-kobs: bump to version 5.3
Gary Bisson [Wed, 16 Mar 2016 14:56:48 +0000 (15:56 +0100)]
imx-kobs: bump to version 5.3

Changelog:
- add new feature to read bch geometry setting from debugfs, it provides
the feasibility to support large oob NAND devices.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/9953874c

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoxdriver_xf86-video-imx-viv: bump to version 5.0.11 p7.4
Gary Bisson [Wed, 16 Mar 2016 14:56:47 +0000 (15:56 +0100)]
xdriver_xf86-video-imx-viv: bump to version 5.0.11 p7.4

Changelog:
- License changed to MIT.
- Fix GCC5.2 build.

Also add a patch pulled from Yocto for the following reason:
The 'swaprep.h' is an internal Xorg header and is not being installed
anymore. The swap features are provided by the 'misc.h' header now.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/19935f57
https://github.com/Freescale/meta-fsl-arm/commit/277cef92

The following xorg.conf was used in order to force the use of the
vivante module:
https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf

Note that the X server must be started with the "noreset" option to
avoid crashes when closing X apps.
 # X -noreset

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agokernel-module-imx-gpu-viv: bump version to 5.0.11 p7.4
Gary Bisson [Wed, 16 Mar 2016 14:56:46 +0000 (15:56 +0100)]
kernel-module-imx-gpu-viv: bump version to 5.0.11 p7.4

In order to match the imx-gpu-viv graphics libraries version.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/dcfa6752

This package has been tested with the following commands:
 # modprobe galcore
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signen-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-gpu-viv: add apitrace dependency on libpng
Gary Bisson [Wed, 16 Mar 2016 14:56:45 +0000 (15:56 +0100)]
imx-gpu-viv: add apitrace dependency on libpng

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/ce73c200

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-gpu-viv: bump version to 5.0.11 p7.4
Gary Bisson [Wed, 16 Mar 2016 14:56:44 +0000 (15:56 +0100)]
imx-gpu-viv: bump version to 5.0.11 p7.4

This version is released with 3.14.52-1.1.0_ga release.

Includes many of the bug fixes and stability improvements.
For more information refer to i.MX Linux Release Notes from NXP website:
L3.14.52_1.1.0_LINUX_DOCS package is under Supporting Information.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/f1161869

This package has been tested with both X11 and Framebuffer backends:
 # cd /usr/share/examples/viv_samples/vdk/
 # apitrace trace --api egl ./tutorial7
 # gmem_info
 ... display memory use per PID ...
 # apitrace replay tutorial7.trace
 # eglretrace tutorial7.trace

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfslvpuwrap: bump to version 1.0.62
Gary Bisson [Wed, 16 Mar 2016 14:56:43 +0000 (15:56 +0100)]
libfslvpuwrap: bump to version 1.0.62

Changelog:
- Add frame rate check and return failure if frame rate is invalid
  value (<=0)

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/67b3b998

This package has been implicitely tested through gstreamer as the
plugins rely on it for vpu decoding:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfslparser: bump to version 4.0.8
Gary Bisson [Wed, 16 Mar 2016 14:56:42 +0000 (15:56 +0100)]
libfslparser: bump to version 4.0.8

Changelog since 4.0.7:
-Support hevc in MPG2 parser.
-Enhance the parsing conditions in SPS nal unit.
 Parse system header to get stream id.
 For mpeg video, don't call parseh264 to avoid mistakes.
-Fix memory leak, free temp data buffer after parsing header.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/c3aa06b3

This package has been implicitely tested through gstreamer as the 0.10
plugin relies on it:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfslcodec: bump to version 4.0.8
Gary Bisson [Wed, 16 Mar 2016 14:56:41 +0000 (15:56 +0100)]
libfslcodec: bump to version 4.0.8

Changelog since 4.0.7:
- Version alignment with other Multimedia components.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/6a1f559a

This package has been implicitely tested through gstreamer as the 0.10
plugin relies on it:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolxc: update comment about the headers >= 3.0 dependency
Thomas Petazzoni [Thu, 17 Mar 2016 13:34:11 +0000 (14:34 +0100)]
lxc: update comment about the headers >= 3.0 dependency

Since commit 604095fe9bea925f34ea05a5d80efbc3e9ba16f2 ("libcap: add
patch to fix build issue with old kernel headers"), libcap builds fine
with headers < 3.0, so it is no longer the reason why lxc needs
headers >= 3.0.

However, lxc uses setns(), which is only available since kernel 3.0,
so we simply update the comment next to the dependency so that it is
accurate.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoRevert "lxc: remove dependency on headers >= 3.0"
Peter Korsgaard [Fri, 18 Mar 2016 21:24:49 +0000 (22:24 +0100)]
Revert "lxc: remove dependency on headers >= 3.0"

This reverts commit 598d1e53c1a15bb983ed96a19db411bbcdfd97df.

[Peter: Seems like I ended up applying the wrong patch :/]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolxc: remove dependency on headers >= 3.0
Thomas Petazzoni [Wed, 16 Mar 2016 20:20:11 +0000 (21:20 +0100)]
lxc: remove dependency on headers >= 3.0

Now that libcap no longer needs kernel headers >= 3.0, we can remove
this dependency from lxc. However, building with headers 2.6.32
exhibits a build issue caused by the redefinition of the setns()
function.

Since setns() is not implemented in the C library, lxc provides its
own version. However, for some reason, while the C library doesn't
implement setns(), it provides a prototype for it, which is not
exactly the same as the one in lxc, causing a build failure. We re-use
a solution implemented in gdb to solve the same problem: define in lxc
a function called do_setns(), which calls setns() when available, or
manually does the system call otherwise.

Of course, with old kernels the system call will not be available, so
things will fail at runtime, but this was anyway already the behavior
of lxc's setns() dummy implementation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoopenpgm: depends on sync2/sync4
Gustavo Zacarias [Wed, 16 Mar 2016 19:15:00 +0000 (16:15 -0300)]
openpgm: depends on sync2/sync4

Add dependency on BR2_TOOLCHAIN_HAS_SYNC_2/4 since it uses both
__sync_fetch_and_add_2() and __sync_fetch_and_add_4() atomic builtins.
Fixes:
http://autobuild.buildroot.net/results/8f2/8f2a3571611dc9414c23808e7615f87b677557dd/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/lirc-tools: Bump to version 0.9.3a
Joshua Henderson [Fri, 18 Mar 2016 04:15:09 +0000 (21:15 -0700)]
package/lirc-tools: Bump to version 0.9.3a

As part of bumping to version 0.9.3a, two patches are dropped because they
are already upstream.

Signed-off-by: Joshua Henderson <digitalpeer@digitalpeer.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/upmpdcli: bump to version 1.1.3
Jörg Krause [Thu, 17 Mar 2016 17:06:51 +0000 (18:06 +0100)]
package/upmpdcli: bump to version 1.1.3

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoquagga: bump to version 1.0.20160315
Baruch Siach [Thu, 17 Mar 2016 18:10:22 +0000 (20:10 +0200)]
quagga: bump to version 1.0.20160315

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.18.x and 4.1.x series
Gustavo Zacarias [Fri, 18 Mar 2016 10:37:41 +0000 (07:37 -0300)]
linux-headers: bump 3.18.x and 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonmap: bump to version 7.10
Gustavo Zacarias [Fri, 18 Mar 2016 11:24:06 +0000 (08:24 -0300)]
nmap: bump to version 7.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogit: bump version to 2.7.4
Vicente Olivert Riera [Fri, 18 Mar 2016 11:08:22 +0000 (11:08 +0000)]
git: bump version to 2.7.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocmake: bump version to 3.5.0
Vicente Olivert Riera [Fri, 18 Mar 2016 12:36:08 +0000 (12:36 +0000)]
cmake: bump version to 3.5.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolvm2: bump version to 2.02.146
Vicente Olivert Riera [Fri, 18 Mar 2016 12:16:06 +0000 (12:16 +0000)]
lvm2: bump version to 2.02.146

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoxfsprogs: bump version to 4.5.0
Vicente Olivert Riera [Fri, 18 Mar 2016 12:04:39 +0000 (12:04 +0000)]
xfsprogs: bump version to 4.5.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibsigc: bump to version 2.8.0
Gustavo Zacarias [Fri, 18 Mar 2016 13:29:01 +0000 (10:29 -0300)]
libsigc: bump to version 2.8.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonasm: bump to version 2.12.01
Gustavo Zacarias [Fri, 18 Mar 2016 13:15:59 +0000 (10:15 -0300)]
nasm: bump to version 2.12.01

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoharfbuzz: bump to version 1.2.4
Gustavo Zacarias [Fri, 18 Mar 2016 13:15:38 +0000 (10:15 -0300)]
harfbuzz: bump to version 1.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoa10disp: add a hash file
Vicente Olivert Riera [Fri, 18 Mar 2016 15:23:00 +0000 (15:23 +0000)]
a10disp: add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotcl: bump version to 8.6.5
Vicente Olivert Riera [Fri, 18 Mar 2016 15:11:26 +0000 (15:11 +0000)]
tcl: bump version to 8.6.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibpjsip: disable all bundled third party libraries
Luca Ceresoli [Thu, 17 Mar 2016 12:51:12 +0000 (13:51 +0100)]
libpjsip: disable all bundled third party libraries

libpjsip bundles several third party libraries. In Buildroot we prefer
either not to build them or to depend on a proper package for each of
them. The current recipe disables most of them, but not all, so
disable the remaining ones.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibpjsip: really disable gsm
Luca Ceresoli [Thu, 17 Mar 2016 12:51:11 +0000 (13:51 +0100)]
libpjsip: really disable gsm

--disable-gsm does not exist, the option is called --disable-gsm-codec.

Fixes:
  http://autobuild.buildroot.org/results/f8c/f8c41f35ab56fac86f2877b09a60924256f57028/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobarebox: bump to version 2016.03.0
Fabio Porcedda [Thu, 17 Mar 2016 12:23:35 +0000 (13:23 +0100)]
barebox: bump to version 2016.03.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosdl: disable rpath via configure option
Rodrigo Rebello [Thu, 17 Mar 2016 06:02:22 +0000 (03:02 -0300)]
sdl: disable rpath via configure option

The -rpath option was being stripped from sdl-config via a post install
staging hook, but the same wasn't being done for sdl.pc. Because of
this, packages that detect SDL via pkg-config ended up passing
'-Wl,-rpath,/usr/lib' to the linker, which caused build failures under
certain circumstances since libraries were being looked for in the wrong
directory.

Fix by passing the --disable-rpath option to the SDL configure script,
which takes care of disabling -rpath everywhere. This also allows the
SDL_FIXUP_SDL_CONFIG hack to be completely removed.

Fixes:

  http://autobuild.buildroot.net/results/624/62499217eeaf3228b46652e3f65776d7ece8fce6/
  http://autobuild.buildroot.net/results/cc1/cc1f78f6c43e3a7bf3ed80d759d9c4d7363d0e48/

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{10, 14}.x and 4.4.x series
Gustavo Zacarias [Thu, 17 Mar 2016 00:55:34 +0000 (21:55 -0300)]
linux-headers: bump 3.{10, 14}.x and 4.4.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcap, cdrkit, dvdrw-tools, fastd, squid: remove headers >= 3.0 dependency
Thomas Petazzoni [Wed, 16 Mar 2016 20:20:10 +0000 (21:20 +0100)]
libcap, cdrkit, dvdrw-tools, fastd, squid: remove headers >= 3.0 dependency

Now that the libcap package has a patch that makes it build with
kernel headers < 3.0 (which was needed for the host variant of
libcap), there is no longer a need to have a dependency on headers >=
3.0 for the target variant of libcap.

All reverse dependencies of libcap are handled in this commit, except
lxc, which will be handled in a separate commit since it needs some
special solution.

The build of all those packages has been tested with a toolchain that
uses kernel headers 2.6.32, which is the oldest that our default glibc
version accepts to use.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcap: add patch to fix build issue with old kernel headers
Thomas Petazzoni [Wed, 16 Mar 2016 20:20:09 +0000 (21:20 +0100)]
libcap: add patch to fix build issue with old kernel headers

Old kernels (before 2.6.36) were defining XATTR_NAME_CAPS in
<linux/capability.h>, but using XATTR_SECURITY_PREFIX and
XATTR_CAPS_SUFFIX which were defined in the kernel-only part of
<linux/xattr.h>.

In kernel 2.6.36 (commit af4f136056c984b0aa67feed7d3170b958370b2f),
the XATTR_NAME_CAPS definition was moved to the kernel-only part of
<linux/xattr.h>. It's only in kernel 3.0 (commit
1dbe39424a43e56a6c9aed12661192af51dcdb9f) that <linux/xattr.h> was
fixed to expose XATTR_NAME_CAPS and the related definitions to
userspace.

This is the reason why the target variant of libcap has a dependency
on headers >= 3.0 for the moment.

However, this doesn't solve the problem for the host variant of
libcap, which doesn't build properly on old systems.

To solve this, we simply add a patch that defines the missing
definitions. Their values haven't changed over time since they are
part of the kernel to userspace ABI.

Fixes:

  http://autobuild.buildroot.org/results/856b71bccf14c3334a8c0fc66c1d985b09734313/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcap: bump version
Yann E. MORIN [Wed, 16 Mar 2016 20:20:08 +0000 (21:20 +0100)]
libcap: bump version

attr is no longer a dependency, not even optional.

Refresh our patches, and drop the backport from upstream.

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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoquagga: fix build when ospfd is disabled
Baruch Siach [Wed, 16 Mar 2016 18:07:10 +0000 (20:07 +0200)]
quagga: fix build when ospfd is disabled

ospfclient and ospfapi that gets build by default need libospf, but libospf
doesn't get built when ospfd is disabled. Disable ospfapi in this case.

Fixes:
http://autobuild.buildroot.net/results/918/918f5ced9c7dd59a8fcab654dc8f6d2798515e34/
http://autobuild.buildroot.net/results/edb/edbcb616b6019bced330238228fb5c6f880ab885/
http://autobuild.buildroot.net/results/831/8311f611559b3e7e98860d5a0264db97d4de1a54/

and many more.

[Peter: tweak description]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomodem-manager: bump to version 1.4.14
Yegor Yefremov [Wed, 16 Mar 2016 15:43:15 +0000 (16:43 +0100)]
modem-manager: bump to version 1.4.14

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibmbim: bump to version 1.12.4
Yegor Yefremov [Wed, 16 Mar 2016 15:43:14 +0000 (16:43 +0100)]
libmbim: bump to version 1.12.4

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-mistune: bump to version 0.7.2
Yegor Yefremov [Wed, 16 Mar 2016 15:41:49 +0000 (16:41 +0100)]
python-mistune: bump to version 0.7.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-cffi: bump to version 1.5.2
Yegor Yefremov [Wed, 16 Mar 2016 15:41:48 +0000 (16:41 +0100)]
python-cffi: bump to version 1.5.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-pyroute2: bump to version 0.3.16
Yegor Yefremov [Wed, 16 Mar 2016 15:41:47 +0000 (16:41 +0100)]
python-pyroute2: bump to version 0.3.16

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomc: bump to version 4.8.16
Yegor Yefremov [Wed, 16 Mar 2016 15:41:46 +0000 (16:41 +0100)]
mc: bump to version 4.8.16

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>