buildroot.git
8 years agonss: security bump to version 3.23
Gustavo Zacarias [Wed, 30 Mar 2016 19:51:07 +0000 (16:51 -0300)]
nss: security bump to version 3.23

Fixes:
CVE-2016-1950 - Fixed a heap-based buffer overflow related to the
parsing of certain ASN.1 structures. An attacker could create a
specially-crafted certificate which, when parsed by NSS, would cause a
crash or execution of arbitrary code with the permissions of the user.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: add license info
Gustavo Zacarias [Wed, 30 Mar 2016 19:36:40 +0000 (16:36 -0300)]
gst1-libav: add license info

Now that we use unbundled ffmpeg the licensing becomes much easier.
Relevant code is under ext/*, which according to COPYING and comments is
GPLv2+, except for ext/libswscale/gstffmpegscale.c which is LGPLv2+ -
however that's not built/used when using system ffmpeg.

The code under gst-libs/ is the bundled ffmpeg itself.

Tests are under LGPLv2+ as well but we don't build them since we
disabled gst-check support in the gstreamer1 package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: switch to unbundled
Gustavo Zacarias [Wed, 30 Mar 2016 19:36:39 +0000 (16:36 -0300)]
gst1-libav: switch to unbundled

It avoids the crazy in handling all of the ffmpeg options here as well,
and potentially avoids target code duplication, hence resulting in a
size reduction.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: extend help text as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocannelloni: new package
Yegor Yefremov [Thu, 3 Mar 2016 12:01:47 +0000 (13:01 +0100)]
cannelloni: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's GPLv2, not GPLv2+.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxorriso: Add host variant
Benoît Allard [Wed, 16 Mar 2016 13:55:15 +0000 (14:55 +0100)]
xorriso: Add host variant

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowhois: bump to version 5.2.12
Gustavo Zacarias [Wed, 30 Mar 2016 17:57:02 +0000 (14:57 -0300)]
whois: bump to version 5.2.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonmap: bump to version 7.12
Gustavo Zacarias [Wed, 30 Mar 2016 17:44:01 +0000 (14:44 -0300)]
nmap: bump to version 7.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: use wizard mode on first run
Yann E. MORIN [Mon, 28 Mar 2016 15:15:47 +0000 (17:15 +0200)]
package/tvheadend: use wizard mode on first run

The format of the ACL database in tvheadend has changed, and generating
a default user is a little bit more involved than just dumping a file in
the correct locations: filenames are now md5sum (of something?) and the
usernames and passwords now have their own DB.

However, tvheadend has a wizard mode, where it is possible to configure
the basic features, of which creating an admin user.

We remove our canned ACL database, and change the startup script to
start in wizard mode on first run. We also switch to using our infra to
set the permissions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: pass --cpu config option to bundled ffmpeg
Gustavo Zacarias [Wed, 30 Mar 2016 17:15:52 +0000 (14:15 -0300)]
gst1-libav: pass --cpu config option to bundled ffmpeg

Like the proper ffmpeg package does, fixes:
http://autobuild.buildroot.net/results/a46/a462dae8df2450bc0f72cbed6125e106454bde0f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: enable postgresql support
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:10 +0000 (17:14 +0100)]
tcl: enable postgresql support

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: enable mysql support
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:09 +0000 (17:14 +0100)]
tcl: enable mysql support

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: fix sqlite usage
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:08 +0000 (17:14 +0100)]
tcl: fix sqlite usage

- Remove the bundled sqlite unconditionally, as we always want to use
  the external sqlite.
- Remove the --with-system-sqlite option as is only valid for the
  bundled sqlite configure script which we will no longer use.
- Do not remove TDBC when BR2_PACKAGE_SQLITE is not selected as it may
  be used for other TDBC drivers such as MySQL or PostgreSQL.

Fixes:
  http://autobuild.buildroot.net/results/022/02296f8624d3406a63d3a179f53862f245c56dc1/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: switch to * instead of [0-9]
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:07 +0000 (17:14 +0100)]
tcl: switch to * instead of [0-9]

Those [0-9] expressions are needlessly complex, and they actually no
longer work now that sqlite3.11.0 is bundled internally (11 is two
digits, which was accounted for).

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaer-inject: new package
Tiago Brusamarello [Wed, 30 Mar 2016 13:01:52 +0000 (10:01 -0300)]
aer-inject: new package

aer-inject allows to inject PCIE AER errors on the software level into
a running Linux kernel. This is intended for validation of the PCIE
driver error recovery handler and PCIE AER core handler.

Signed-off-by: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br>
[Thomas:
 - tweak commit log
 - rewrap Config.in help text
 - remove useless AER_INJECT_MAKE_OPTS variable, use
   TARGET_CONFIGURE_OPTS directly
 - add missing newline at end of .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: fix getent installation with Codescape MIPS toolchains
Thomas Petazzoni [Mon, 28 Mar 2016 13:37:35 +0000 (15:37 +0200)]
toolchain-external: fix getent installation with Codescape MIPS toolchains

When a toolchain is glibc based, the getent package assumes that
$(STAGING_DIR)/usr/bin contains the getent program. Unfortunately, the
Codescape MIPS toolchains do not conform with this:
$(STAGING_DIR)/usr/{bin,sbin} are empty, and instead three directories
are provided: bin-o32, bin-n32 and bin-n64 (ditto for sbin), one for
each supported MIPS ABI.

Since this is a toolchain-specific oddity, we handle it by adding a
post-install fixup hook that creates $(STAGING_DIR)/usr/{bin,sbin} as
symbolic link to the appropriate directory.

Fixes:

   http://autobuild.buildroot.org/results/9c0ee836021553319f166f9de88750535aee0a58/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: bump version to 2.5.1
Vicente Olivert Riera [Wed, 30 Mar 2016 15:40:38 +0000 (16:40 +0100)]
qemu: bump version to 2.5.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-m2crypto: remove
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:20 +0000 (12:39 -0300)]
python-m2crypto: remove

It only provided the host variant, which was only used by crda (no
longer necessary), and wasn't available as a host selection.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocrda: enable host-python3 build support
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:19 +0000 (12:39 -0300)]
crda: enable host-python3 build support

Add an upstream-submitted (but not accepted) patch in order to allow
crda to be built with python2 as well as python3.
This drops m2crypto usage (python2-only) in favour of pycrypto which can
be built against both major versions.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pycrypto: bump to version 2.6.1
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:18 +0000 (12:39 -0300)]
python-pycrypto: bump to version 2.6.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pycrypto: add host variant
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:17 +0000 (12:39 -0300)]
python-pycrypto: add host variant

Will be used by the crda python3-enabling patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle libxml2 dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:10 +0000 (11:39 -0300)]
weston: handle libxml2 dependency

It's used for JUnit XML output support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle systemd dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:09 +0000 (11:39 -0300)]
weston: handle systemd dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle webp dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:08 +0000 (11:39 -0300)]
weston: handle webp dependency

It doesn't have an enable/disable switch so it's just the dependency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle lcms dependecy
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:07 +0000 (11:39 -0300)]
weston: handle lcms dependecy

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle dbus dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:06 +0000 (11:39 -0300)]
weston: handle dbus dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: drop --disable-xwayland-test
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:05 +0000 (11:39 -0300)]
weston: drop --disable-xwayland-test

It's in the rpi backend block which makes no sense, and it depends on
xwayland being enabled which we currently don't support so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add weston-launch support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:04 +0000 (11:39 -0300)]
weston: add weston-launch support

The weston-launch supplemental group is for users to be able to
use/launch weston.
For a full weston(-launch) experience users should be at least members
of weston-launch, video (for framebuffer permissions) and optionally
audio.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle optional libva support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:03 +0000 (11:39 -0300)]
weston: handle optional libva support

It's used for the recorder.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add DRM compoitor support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:02 +0000 (11:39 -0300)]
weston: add DRM compoitor support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: set default backend for fbdev
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:01 +0000 (11:39 -0300)]
weston: set default backend for fbdev

When it's enabled set the default weston backend to fbdev, otherwise the
drm backend is the default even though we are not building it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add EGL support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:00 +0000 (11:39 -0300)]
weston: add EGL support

Also drop simple-egl-clients from the rpi compositor since it's a
duplicate of the global one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopowerpc-utils: bump to v1.3.1, change upstream location and license
Vasant Hegde [Wed, 30 Mar 2016 05:50:38 +0000 (11:20 +0530)]
powerpc-utils: bump to v1.3.1, change upstream location and license

This patch makes below changes to powerpc-utils package:
  - Update to latest upstream version (v1.3.1)
  - Update License (from CPL to GPLv2)
  - Update source link (from SF to github)
  - Disable librtas by default
  - Finally make necessary adjustment to compile the source
    (run autogen.sh before ./configure as we don't have configure in new tarball).

RTAS:
  This package contains few tools (like nvram, ppc64_cpu, etc) which are not
  dependent on RTAS support. Traditionally we always had RTAS support (at least
  on IBM Power system). But now a days we do have environments like PowerNV host
  where we do not have RTAS support. Instead we use OPAL for runtime service [1].
  Hence lets disable RTAS by default. If someone wants to build powerpc-utils
  with RTAS they can enable it.

[1] https://github.com/open-power/skiboot.git

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[Thomas: re-add hash file, fix license, it's GPLv2+, improve commit title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/linphone: alsa support in mediastreamer needs alsa_lib_mixer
Bernd Kuhls [Wed, 30 Mar 2016 05:41:27 +0000 (07:41 +0200)]
package/linphone: alsa support in mediastreamer needs alsa_lib_mixer

Fixes
http://autobuild.buildroot.net/results/dd6/dd6cbff641028b25303c3b462e2058b56e53f1dd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: NPTL thread implementation only available on MMU platforms
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:11 +0000 (22:08 +0100)]
uclibc: NPTL thread implementation only available on MMU platforms

As indicated by the uClibc-ng source code, the NPTL thread
implementation is only available on MMU platforms, so we replicate
this dependency in Buildroot so that the appropriate thread
implementation is chosen by default on ARM noMMU.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: disable DOPIC on ARM FLAT
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:09 +0000 (22:08 +0100)]
uclibc: disable DOPIC on ARM FLAT

As explained by Waldemar, enabling DOPIC in uClibc will lead to the
creation of a Position Independent library. In turn, this will cause
elf2flt to generate a "Has-PIC-GOT" flat binary, which doesn't work on
ARM. In fact, elf2flt on ARM really expect to have non-PIC code as
input, so we must disable DOPIC in the uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: gcc >= 4.9 can build a thumb/thread uclibc
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:08 +0000 (22:08 +0100)]
uclibc: gcc >= 4.9 can build a thumb/thread uclibc

Older gcc were not capable of building a uClibc library, with threads
enabled, in Thumb1. However, the issues have been fixed since gcc 4.9,
so this commit narrows down the condition to just gcc 4.7 and 4.8.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: remove USE_BX handling
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:07 +0000 (22:08 +0100)]
uclibc: remove USE_BX handling

Now that uClibc is capable of figuring out by itself whether 'bx' can
be used or not, we can simplify the logic in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: add patches to simplify Thumb handling
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:06 +0000 (22:08 +0100)]
uclibc: add patches to simplify Thumb handling

This commit adds a number of patches to uClibc that radically
simplifies the Thumb handling. uClibc currently has three options that
you need to toggle on Thumb configurations depending on the specific
ARM CPU being targeted.

However, it turns out that none of those options are necessary:

 - USE_BX can simply be guessed by looking at the ARM core being
   used. The bx instruction is available for all ARM cores >=
   ARMv4T. This is exactly what glibc is doing.

 - USE_LDREXSTREX can also be guessed by looking at the ARM core being
   used: whenever you have Thumb2, ldrex/strex is available.

 - COMPILE_IN_THUMB becomes useless, since all it does is passing
   -mthumb. But just like the uClibc config options to set
   --march=<foo> have been removed a long time ago, there's no need to
   -have an option to pass -mthumb.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogamin: fix build with musl
Baruch Siach [Tue, 1 Mar 2016 13:03:11 +0000 (15:03 +0200)]
gamin: fix build with musl

musl does not provide the non portable PTHREAD_MUTEX_RECURSIVE_NP. Add a patch
removing the assumption the PTHREAD_MUTEX_RECURSIVE_NP is available when
'linux' is defined.

Upstream had no new release since 2008, so there is no much hope of getting
this fix applied upstream.

Also, fix the pthread dependency comment. gamin code uses pthread directly.

Fixes:
http://autobuild.buildroot.net/results/3a9/3a9328f384fc648ae61316402a84eaffb175881b/
http://autobuild.buildroot.net/results/69d/69d2a93bc97ab0d70c3acb2f9c9f28612ea95871/
http://autobuild.buildroot.net/results/092/092ac7380beb8ce403a1a6fd8e4176e9234413a3/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosqlite: bump to version 3.12.0
Gustavo Zacarias [Tue, 29 Mar 2016 20:49:03 +0000 (17:49 -0300)]
sqlite: bump to version 3.12.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "package/freerdp: bump version"
Bernd Kuhls [Tue, 29 Mar 2016 20:30:38 +0000 (22:30 +0200)]
Revert "package/freerdp: bump version"

This reverts commit dda26dc614b6f5ef9be67d2604bac39235322235.

Instead of bumping freerdp to a version which breaks gstreamer
detection we revert the latest bump for now.

Fixes
http://autobuild.buildroot.net/results/1ab/1abc713a58d21c71678aab9b21ac1cfac23684f5/
http://autobuild.buildroot.net/results/0ef/0efd39115a631c409eb809b38ab64604d1de99ca/
http://autobuild.buildroot.net/results/7aa/7aac3f970dd1fbc0d25f268f32844bec7e49f4af/
http://autobuild.buildroot.net/results/396/396401bd6eb5f95364a32456a274da185e081541/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/linphone: port some stuff from mediastreamer
Bernd Kuhls [Tue, 29 Mar 2016 20:30:26 +0000 (22:30 +0200)]
package/linphone: port some stuff from mediastreamer

We need to add some dependencies formerly provided by the mediastreamer
package, also add --disable-video to make clear that our linphone
package lacks video support as stated in Config.in.

Fixes
http://autobuild.buildroot.net/results/45e/45e605de0488e9e961a536f4d232235c5282522b/
http://autobuild.buildroot.net/results/ed5/ed508ac3509be8c46670198da8eb0a2ba74835e6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libass: bump version to 0.13.2
Bernd Kuhls [Tue, 29 Mar 2016 20:29:14 +0000 (22:29 +0200)]
package/libass: bump version to 0.13.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcpreplay: fix static link with libpcap
Baruch Siach [Tue, 29 Mar 2016 18:24:15 +0000 (21:24 +0300)]
tcpreplay: fix static link with libpcap

The tcpreplay configure script does not look for static libpcap.a unless
dynamic link is disabled.

Fixes:
http://autobuild.buildroot.net/results/e7e/e7e7744ac0a22eded05f237e40b0cdaeec4ce005/
http://autobuild.buildroot.net/results/3e3/3e33a67965eb37471ec3303ee26f6a66a82383a2/
http://autobuild.buildroot.net/results/fff/fff0d6a814b765699cba803ececbc00d77e5d8fc/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomesa3d: enable DRI drivers for xorg-less configurations
Gustavo Zacarias [Mon, 28 Mar 2016 21:48:15 +0000 (18:48 -0300)]
mesa3d: enable DRI drivers for xorg-less configurations

mesa3d can in fact build the DRI infrastructure/drivers just fine
without lingering x11 libs around, it just needs libdrm & friends which
are already accounted for.

So make the libGL (full OpenGL) providing abilities dependant on x11
being present.

It serves it's purpose for EGL+GLES hardware acceleration, and can in
fact be built without them, but it's probably not very useful (still,
leave the option for people inclined to do so).

Simple test defconfig:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystemd: fix build with libgcrypt enabled
Thomas Petazzoni [Tue, 29 Mar 2016 18:00:20 +0000 (20:00 +0200)]
systemd: fix build with libgcrypt enabled

When gcrypt support is enabled, we need to tell systemd where
libgpg-error is installed.

Fixes:

  http://autobuild.buildroot.org/results/1fd6193ff33250565c95e53614f5aa7fc6f4581c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibldns: Fix build error with perl 5.10
Bernd Kuhls [Tue, 29 Mar 2016 15:14:15 +0000 (17:14 +0200)]
libldns: Fix build error with perl 5.10

Add more upstream commits to fix build errors with perl 5.10
introduced by the previous patch to fix build errors with perl 5.22.

Fixes
http://autobuild.buildroot.net/results/325/32519c6d4084f334b7fed9edfb8a8c68a1f840a8/
and many others.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: reformat patches as proper Git formatted patches.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibldns: replace patches with proper Git formatted patches
Thomas Petazzoni [Tue, 29 Mar 2016 15:12:21 +0000 (17:12 +0200)]
libldns: replace patches with proper Git formatted patches

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogit: bump version to 2.8.0
Vicente Olivert Riera [Tue, 29 Mar 2016 14:22:34 +0000 (15:22 +0100)]
git: bump version to 2.8.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-kconfig: fix .config rule for silent mode
Romain Izard [Tue, 29 Mar 2016 10:11:41 +0000 (12:11 +0200)]
core/pkg-kconfig: fix .config rule for silent mode

Ensure that each command line in the .config rule is prefixed by $$(Q)

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: wayland backend requires headers >= 3.17
Gustavo Zacarias [Tue, 29 Mar 2016 13:12:46 +0000 (10:12 -0300)]
libgtk3: wayland backend requires headers >= 3.17

As pointed by Thomas, fixes:
http://autobuild.buildroot.org/results/473/473fb2f416311ee8a8a8719e3fb3689d9226f451/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofreescale-imx: add BR2_PACKAGE_FREESCALE_IMX_HAS_VPU config
Gary Bisson [Wed, 9 Mar 2016 15:05:09 +0000 (16:05 +0100)]
freescale-imx: add BR2_PACKAGE_FREESCALE_IMX_HAS_VPU config

Since the imx-vpu package build is skipped if the platform doesn't
have a VPU, libraries dependent on the package such as libimxvpuapi
can fail although the imx-vpu package build went "fine".

This patch therefore adds a BR2_PACKAGE_FREESCALE_IMX_HAS_VPU config
which is used in every package selecting imx-vpu directly or indrectly.

It fixes the following build errors:
http://autobuild.buildroot.net/results/892/8924b17f3aa5eba1a8016d84d4478ecb0a96b236/
http://autobuild.buildroot.net/results/86f/86fef2a30065d5bc0d7755706e9ca3332426834d/
http://autobuild.buildroot.net/results/b47/b47eb03e93e2f1af85caebb707f7b4667f7e3d74/
http://autobuild.buildroot.net/results/4c9/4c9b22b33533132fd9f88917cc341ae2c2e171a8/
http://autobuild.buildroot.net/results/a8b/a8b33bfd099d9b9cd383cc568ea70846eb13c34d/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinknx: select libcurl to fix autoreconf
Baruch Siach [Wed, 16 Mar 2016 19:38:28 +0000 (21:38 +0200)]
linknx: select libcurl to fix autoreconf

linknx configure.ac uses the LIBCURL_CHECK_CONFIG macro that is only defined
in libcurl.m4 that is part of libcurl. Select libcurl for now to fix
autoreconf.

Fixes:
http://autobuild.buildroot.net/results/96e/96e9ae0df7ebb7ad3d748a6b518cc59570e0b995/
http://autobuild.buildroot.net/results/179/17971c9f8925ff8623a7d97aac8eda0c287a76c9/
http://autobuild.buildroot.net/results/2a8/2a8af93d6439b313b048ccac7b6cfecbb6baff55/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqwt: needs qt5 widgets/printsupport
Peter Seiderer [Tue, 29 Mar 2016 12:18:55 +0000 (14:18 +0200)]
qwt: needs qt5 widgets/printsupport

Fixes [1]:

  Project ERROR: Unknown module(s) in QT: printsupport

[1] http://autobuild.buildroot.net/results/b9a/b9adbc61922c89ad7a0e5dd13cd2ce3bde864ede

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolvm2: bump version to 2.02.148
Vicente Olivert Riera [Tue, 29 Mar 2016 12:11:56 +0000 (13:11 +0100)]
lvm2: bump version to 2.02.148

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoipmitool: Bump ipmitool to 1.8.16
Vasant Hegde [Tue, 29 Mar 2016 12:11:17 +0000 (17:41 +0530)]
ipmitool: Bump ipmitool to 1.8.16

New release fixes a number of bugs on AMI BMC firmware.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5tools: disable qdoc, which needs qtdeclarative
Peter Seiderer [Tue, 29 Mar 2016 11:45:25 +0000 (13:45 +0200)]
qt5tools: disable qdoc, which needs qtdeclarative

Fixes [1]:

  Project ERROR: Unknown module(s) in QT: qmldevtools-private
  Makefile:63: recipe for target 'sub-qdoc-qmake_all' failed

[1] http://autobuild.buildroot.net/results/b0a/b0a5641beae14ff79a9d5a628bb41957826eb623

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/live555: bump version to 2016.03.16
Bernd Kuhls [Mon, 28 Mar 2016 19:49:45 +0000 (21:49 +0200)]
package/live555: bump version to 2016.03.16

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: bump version
Bernd Kuhls [Mon, 28 Mar 2016 19:49:44 +0000 (21:49 +0200)]
package/tvheadend: bump version

Updated ffmpeg option name after upstream renamed it:
https://github.com/tvheadend/tvheadend/commit/1359effe28a0381b8c9cbd362d6e144fb87b00fc#diff-e2d5a00791bce9a01f99bc6fd613a39dR37

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dtv-scan-tables: bump version
Bernd Kuhls [Mon, 28 Mar 2016 19:49:43 +0000 (21:49 +0200)]
package/dtv-scan-tables: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x265: bump version to 1.9
Bernd Kuhls [Mon, 28 Mar 2016 19:49:42 +0000 (21:49 +0200)]
package/x265: bump version to 1.9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x264: bump version
Bernd Kuhls [Mon, 28 Mar 2016 19:49:41 +0000 (21:49 +0200)]
package/x264: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freerdp: bump version
Bernd Kuhls [Mon, 28 Mar 2016 19:49:35 +0000 (21:49 +0200)]
package/freerdp: bump version

This version bump is needed to provide support for ffmpeg 3.0, added
Sep, 17th, 2015: https://github.com/FreeRDP/FreeRDP/pull/2895

Please note the we can not bump to a newer version of freerdp atm
because the next commit in the master branch

https://github.com/FreeRDP/FreeRDP/commit/8206ae440f905b123cb92c7abf8c861070ea8cd8

bumped the version number to 2.x which will provide freerdp2.pc instead
of freerdp.pc, this is incompatible with vlc atm:

http://git.videolan.org/?p=vlc/vlc-2.2.git;a=blob;f=configure.ac;h=bb5d1dde2ef9828b0ba92c62dbd1143f984f45f2;hb=HEAD#l1890

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/squeezelite: fix compilation with ffmpeg >= 2.9
Bernd Kuhls [Mon, 28 Mar 2016 19:49:34 +0000 (21:49 +0200)]
package/squeezelite: fix compilation with ffmpeg >= 2.9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv3: bump version to 3.1.0
Bernd Kuhls [Mon, 28 Mar 2016 19:49:33 +0000 (21:49 +0200)]
package/opencv3: bump version to 3.1.0

Removed patches applied upstream. This version bump is needed to
provide support for ffmpeg 3.0:
https://github.com/Itseez/opencv/commit/278747ba458c9097aa72bf664c7a8df96d3a56fa

Use BR2_PACKAGE_FFMPEG_AVRESAMPLE by default because OpenCV can use it
after
https://github.com/Itseez/opencv/commit/2b2e3ee93c6788b892b084cc04d0ead5ab75c197

Before this patch:
--     FFMPEG:                      YES
--       codec:                     YES (ver 57.24.103)
--       format:                    YES (ver 57.25.100)
--       util:                      YES (ver 55.17.103)
--       swscale:                   YES (ver 4.0.100)
--       resample:                  NO

After this patch:
--     FFMPEG:                      YES
--       codec:                     YES (ver 57.24.103)
--       format:                    YES (ver 57.25.100)
--       util:                      YES (ver 55.17.103)
--       swscale:                   YES (ver 4.0.100)
--       resample:                  YES (ver 3.0.0)

Disabled new options:
WITH_MATLAB, WITH_VA, WITH_VA_INTEL, DOWNLOAD_EXTERNAL_TEST_DATA

Removed obsolete option BUILD_opencv_hal

Removed options WITH_OPENGL & WITH_OPENMP from the "Disabled features"
block because they have their own ifeq-block later on.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: bump version to 2.4.12.3
Bernd Kuhls [Mon, 28 Mar 2016 19:49:32 +0000 (21:49 +0200)]
package/opencv: bump version to 2.4.12.3

Removed patches applied upstream:
https://github.com/Itseez/opencv/commit/ea50be0529c248961e1b66293f8a9e4b807294a6
https://github.com/Itseez/opencv/commit/2e393ab83362743ba1825ad4b31d4a2925c606b4
https://github.com/Itseez/opencv/commit/eceada586bbf18fc267e437522ec4f1f23ddc656

Added upstream patch to support ffmpeg 3.0.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/linphone: add support for ffmpeg 3.0
Bernd Kuhls [Mon, 28 Mar 2016 19:49:31 +0000 (21:49 +0200)]
package/linphone: add support for ffmpeg 3.0

Linphone 3.6 is incompatible with bumped mediastreamer and ortp
packages. Like Debian we use the bundled versions instead and add the
Debian patch series to support ffmpeg 3.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mediastreamer: bump version to 2.12.1
Bernd Kuhls [Mon, 28 Mar 2016 19:49:30 +0000 (21:49 +0200)]
package/mediastreamer: bump version to 2.12.1

The version bump is needed to provide support for ffmpeg 3.0.

Removed 0001-misc-fixes.patch which previously provided patches to
support newer ffmpeg versions. This is not needed anymore after
this upstream commit:
https://github.com/BelledonneCommunications/mediastreamer2/commit/5e653bfe4c8ea27d09c80d91794f0178a454851e

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ortp: bump version to 0.25.0
Bernd Kuhls [Mon, 28 Mar 2016 19:49:29 +0000 (21:49 +0200)]
package/ortp: bump version to 0.25.0

This version bump is needed by mediastreamer 2.12.1, the mediastreamer
bump is needed to provide support for ffmpeg 3.0.

Removed srtp option after srtp support was removed from ortp:
https://github.com/BelledonneCommunications/ortp/commit/5e37fa55f1f15f5896d69156e64cdc95a1ff68bf

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdcadec: bump version to v0.2.0
Bernd Kuhls [Mon, 28 Mar 2016 19:49:28 +0000 (21:49 +0200)]
package/libdcadec: bump version to v0.2.0

This version bump is needed by ffmpeg 3.0:
http://git.videolan.org/?p=ffmpeg.git;a=blobdiff;f=configure;h=a30d831c97575858c760694f191b4efe71360301;hp=8cbd5e574979e1a9492754aa41fcff233ee8da33;hb=27ce53b52d0d5f2c1d59da13491b74fe73cde964;hpb=26a84e2dae4007628d30cae746822486076767ee

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: add support for ffmpeg 3.0
Bernd Kuhls [Mon, 28 Mar 2016 19:49:27 +0000 (21:49 +0200)]
package/kodi: add support for ffmpeg 3.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot/grub2: enable squashfs support by default
Gustavo Zacarias [Mon, 28 Mar 2016 21:03:36 +0000 (18:03 -0300)]
boot/grub2: enable squashfs support by default

Size growth is minimal and generally a non-issue for x86-based
platforms.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/qemu: enable modules for x86 and x86_64
Gustavo Zacarias [Mon, 28 Mar 2016 21:03:58 +0000 (18:03 -0300)]
configs/qemu: enable modules for x86 and x86_64

It's useful for demo configs which have more features, like
automatically loaded (module) drivers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libxslt: fix static build
Jörg Krause [Mon, 28 Mar 2016 21:09:23 +0000 (23:09 +0200)]
package/libxslt: fix static build

Set --with-libxml-libs-prefix so libtool finds the correct dependencies for
libxml2.

Fixes:
http://autobuild.buildroot.net/results/3f8/3f8d876ed6cfe6e73a75fa8904ebdd3f6f0fe53c/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-pam: install login.pam from here
Gustavo Zacarias [Tue, 29 Mar 2016 00:39:56 +0000 (21:39 -0300)]
linux-pam: install login.pam from here

Instead of installing login.pam (/etc/pam.d/login) from util-linux
conditionally do so unconditionally from linux-pam.
If busybox login is pam-enabled (linux-pam package enabled) it will be
required, otherwise it will lead to a system where login won't work, and
if util-linux is enabled it will supercede busybox login and will be
necesarry regardless.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogtkmm3: bump to version 3.20.0
Gustavo Zacarias [Mon, 28 Mar 2016 20:35:31 +0000 (17:35 -0300)]
gtkmm3: bump to version 3.20.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoredis: use BR2_TOOLCHAIN_HAS_LIBATOMIC
Gustavo Zacarias [Mon, 28 Mar 2016 14:11:01 +0000 (11:11 -0300)]
redis: use BR2_TOOLCHAIN_HAS_LIBATOMIC

It uses __atomic_fetch_add_4 so libatomic must be pulled in if
necessary. Fixes:
http://autobuild.buildroot.net/results/dfd/dfdfd77463b0ddd7016202372afcad7fb6fc9ce4/

[Peter: keep TARGET_CONFIGURE_OPTS]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogzip: bump to version 1.7
Gustavo Zacarias [Mon, 28 Mar 2016 14:12:25 +0000 (11:12 -0300)]
gzip: bump to version 1.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopangomm: bump to version 2.40.0
Gustavo Zacarias [Mon, 28 Mar 2016 11:15:55 +0000 (08:15 -0300)]
pangomm: bump to version 2.40.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoglibmm: bump to version 2.48.0
Gustavo Zacarias [Mon, 28 Mar 2016 11:15:54 +0000 (08:15 -0300)]
glibmm: bump to version 2.48.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-m2crypto: bump version
Peter Korsgaard [Mon, 28 Mar 2016 20:25:02 +0000 (22:25 +0200)]
python-m2crypto: bump version

And add stronger hash.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-m2crypto: bump to 0.23.0
Nitin Mendiratta [Mon, 28 Mar 2016 10:45:16 +0000 (16:15 +0530)]
python-m2crypto: bump to 0.23.0

[Peter: license is MIT, fix license file name / variable]
Signed-off-by: Nitin Mendiratta <nitin.mendiratta@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/ti-gfx: needs ia32 libraries
Yann E. MORIN [Sun, 27 Mar 2016 22:31:47 +0000 (00:31 +0200)]
package/ti-gfx: needs ia32 libraries

The installer is a 32-bit executable, so we need the 32-bit libraries on
the host to be able to execute it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoowfs: add sysv init scripts
Arnout Vandecappelle [Sat, 26 Mar 2016 13:00:46 +0000 (14:00 +0100)]
owfs: add sysv init scripts

owserver is started unconditionally, but it needs the device(s) to
be specified at startup. Therefore a check for non-empty OWSERVER_ARGS
is added to the owserver start script.

owfs is started only if is built. It will connect to the owserver.
It will try to load the fuse module; if fuse is built-in or already
loaded, modprobe -q will fail silently. The filesystem will be mounted
on /dev/1wire, because it represents the 1-wire slave devices; also,
the bundled Debian init scripts mount it there. We have to create that
directory in the init script in case of devtmpfs, and we have to create
it in the rootfs for static /dev; for simplicity, just do both.

Users who want a setup without owserver need to remove the owserver
init script post-build and need to give appropriate defaults to owfs.

[Peter: fix mountpoint variable typo in S30owfs]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/nodejs: bump version to 5.9.1
Martin Bark [Sat, 26 Mar 2016 20:57:55 +0000 (20:57 +0000)]
package/nodejs: bump version to 5.9.1

See https://nodejs.org/en/blog/release/v5.9.1/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocairo: enable opengl for cairo-gl
Gustavo Zacarias [Sat, 26 Mar 2016 19:35:07 +0000 (16:35 -0300)]
cairo: enable opengl for cairo-gl

If OpenGL is enabled then enable cairo-gl.
However if GLESv2 is also present we must choose which implementation to
use.
Since normally OpenGL is more featured, has more dependencies and
wouldn't be present "by accident" it seems like the logical choice to
win over it.

This feature is useful for webkitgtk's accelerated 2d canvas.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk2: point to the proper cups-config
Gustavo Zacarias [Sat, 26 Mar 2016 19:17:34 +0000 (16:17 -0300)]
libgtk2: point to the proper cups-config

Otherwise it can pick up the distro cups-config if it's present, leading
to improper library usage/linkage. Fixes:
http://autobuild.buildroot.net/results/bf4/bf493977817a750427aae82e71a5257187bd7344/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-base: alsa now needs seq
Gustavo Zacarias [Sat, 26 Mar 2016 20:30:53 +0000 (17:30 -0300)]
gst1-plugins-base: alsa now needs seq

A seq (midi) source has been added to gst-plugins-base 1.8.x hence we
need to account for it, so select BR2_PACKAGE_ALSA_LIB_SEQ. Fixes:
http://autobuild.buildroot.net/results/474/474e4b9bc3a44224302d0576cf1c0de7ce709f1a/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tzdata: bump version to 2016c
Martin Bark [Sat, 26 Mar 2016 20:18:46 +0000 (20:18 +0000)]
package/tzdata: bump version to 2016c

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/zic: bump version to 2016c
Martin Bark [Sat, 26 Mar 2016 20:18:45 +0000 (20:18 +0000)]
package/zic: bump version to 2016c

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoraptor: new package
Matt Weber [Tue, 22 Mar 2016 10:14:01 +0000 (15:44 +0530)]
raptor: new package

Raptor is a free software / Open Source C library that provides a set of parsers
and serializers that generate Resource Description Framework (RDF) triples
by parsing syntaxes or serialize the triples into a syntax.

http://librdf.org/raptor/

Patch added in the package:
0001-configure.ac-remove-conditional-lib-inclusion.patch

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Nitin Mendiratta <nitin.mendiratta@rockwellcollins.com>
[Thomas:
 - add else clause for the three optional dependencies, as suggested
   by Baruch.
 - fix they yajl optional dependency, as noticed by Baruch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5: add GPLv3 and GFDLv1.3 licensing informations
Julien CORJON [Mon, 21 Mar 2016 11:00:12 +0000 (12:00 +0100)]
qt5: add GPLv3 and GFDLv1.3 licensing informations

All Qt5 packages gained the GPLv3 license option and all the documentation
is now under GFDLv1.3 license (except qt5websocket and qt53d)

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "package/x11r7/xserver_xorg-server: dri needs arm >= v6"
Thomas Petazzoni [Tue, 22 Mar 2016 21:29:01 +0000 (22:29 +0100)]
Revert "package/x11r7/xserver_xorg-server: dri needs arm >= v6"

This reverts commit 7bac31ceea1b52986b1773a1bd4841110672f923.

This commit is no longer needed, since libdrm no longer needs arm >=
v6 support thanks to the fix to the CAS implementation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibdrm: adjust the ARM patch to work on ARMv4/ARMv5
Thomas Petazzoni [Tue, 22 Mar 2016 21:29:00 +0000 (22:29 +0100)]
libdrm: adjust the ARM patch to work on ARMv4/ARMv5

The ARM patch that was added in commit
94841d87fd2ff8ebf7af84d49e5095074958febf ("libdrm: fix support for
xserver with Vivante drivers") makes the assumption that ldrex/strex
is available on ARM. While this is true on ARMv6+, it is not true on
ARMv4/ARMv5. Due to this, we had to make follow-up commits like
7bac31ceea1b52986b1773a1bd4841110672f923
("package/x11r7/xserver_xorg-server: dri needs arm >= v6") and more is
needed in the reverse dependencies to disable DRI usage on
ARMv4/ARMv5.

In fact, it turns out that the CAS code in libdrm is only an
optimization, and it will gracefully fall back to a system call based
lock/unlock mechanism.

So we simply change the patch to only provide the optimized CAS
implementation on ARMv6+. The original reason for this patch was to
fix Vivante drivers, and Vivante GPUs are only used in ARMv6+ cores,
so we should be fine (famous last words).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibdrm: reformat patch 0001 with Git
Thomas Petazzoni [Tue, 22 Mar 2016 21:28:59 +0000 (22:28 +0100)]
libdrm: reformat patch 0001 with Git

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/procps-ng: install libprocps.pc in staging/usr/lib/pkgconfig/
Romain Naour [Sat, 26 Mar 2016 13:27:36 +0000 (14:27 +0100)]
package/procps-ng: install libprocps.pc in staging/usr/lib/pkgconfig/

Since 834893a965a993e8a73e30b448426f626419f3c8, pkg-config --libs libprocps
doesn't work anymore because libprocps.pc is installed in
STAGING_DIR/lib/pkgconfig/ instead of STAGING_DIR/usr/lib/pkgconfig/.

Add --libdir=/usr/lib in PROCPS_NG_CONF_OPTS to fixes the issue.
Note that libprocps.so is now installed in /usr/lib/ instead of /lib/.

Fixes:
http://autobuild.buildroot.net/results/2e5/2e5100ccf1ed336c26b83930e7149941c97fc4d2/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosetools: fix build on SPARC64
Thomas Petazzoni [Sat, 26 Mar 2016 17:49:41 +0000 (18:49 +0100)]
setools: fix build on SPARC64

To build shared libraries on SPARC64, -fPIC must be used instead of
just -fpic. This commit fixes the setools package, which allows to get
rid of the following autobuilder failure:

  http://autobuild.buildroot.net/results/ba1e473178bb66ebc43897b20e534606d2577ee3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luajit: ensure dynamic library symlinks are created
Romain Naour [Wed, 23 Mar 2016 22:04:59 +0000 (23:04 +0100)]
package/luajit: ensure dynamic library symlinks are created

The luajit Makefile has the following logic:

          $(LDCONFIG) $(INSTALL_LIB) && \
          $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
          $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :

So if ldconfig fails for some reason, the symbolic links to refer to
the luajit library are not created. Since ldconfig for the target
didn't make sense, LDCONFIG=true has been added a long time ago when
building the target variant of luajit.

However, since commit 9ba8d1cce4ab00307827083bae234d87b37fb967, the
host variant of luajit is also linked dynamically. While ldconfig for
the host should work, on certain machines ldconfig is not available in
the PATH, and needs to be explicitly called as
/sbin/ldconfig. However, since output/host/usr/lib is in the RPATH of
the binaries we create, there is really no need to bother running
ldconfig, so we simply pass LDCONFIG=true, like we do for the target
variant. This ensures that the symlinks are always created.

Fixes:
http://autobuild.buildroot.net/results/4dc/4dcbcde0046e265317e170a977e699e5c3a06b87/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
[Thomas: rewrite commit log with a proper explanation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-validate: bump to version 1.8.0
Gustavo Zacarias [Fri, 25 Mar 2016 12:50:14 +0000 (09:50 -0300)]
gst1-validate: bump to version 1.8.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: bump to version 1.8.0
Gustavo Zacarias [Fri, 25 Mar 2016 12:50:13 +0000 (09:50 -0300)]
gst1-libav: bump to version 1.8.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>