buildroot.git
7 years agopackage: remove consecutive empty lines
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:11 +0000 (19:50 -0300)]
package: remove consecutive empty lines

Occurrences were searched using [1]:
check-package --include-only ConsecutiveEmptyLines $(find * -type f)
and manually removed.

[1] http://patchwork.ozlabs.org/patch/729666/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: remove empty line at end of file
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:10 +0000 (19:50 -0300)]
package: remove empty line at end of file

Occurrences were searched using [1]:
check-package --include-only EmptyLastLine $(find * -type f)
and manually removed.

[1] http://patchwork.ozlabs.org/patch/729666/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: remove trailing whitespace
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:09 +0000 (19:50 -0300)]
package: remove trailing whitespace

Occurrences were searched using [1]:
check-package --include-only TrailingSpace $(find * -type f)
and manually removed.

[1] http://patchwork.ozlabs.org/patch/729666/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: fix handling of ld.so
Thomas De Schampheleire [Thu, 6 Apr 2017 20:25:05 +0000 (22:25 +0200)]
toolchain-external: fix handling of ld.so

Commit ba6bac138331cea449592f877e558f84176a70bf made a change in copying of
the dynamic loader, with the goal of reducing toolchain-specific fixups.
Any ld*.so file found in the toolchain's lib directory would be copied to
the staging/lib directory.

For the toolchains that previously needed fixup, this new behavior is fine.
The reason they needed fixup was that the normal copy action did not include
any dynamic loader.

However, for certain other toolchains this new behavior actually breaks
things: regardless of ARCH_LIB_DIR, which may be lib64 instead of lib, the
dynamic loader from lib is copied _over_ any previously correct dynamic
loader.

This has been witnessed with the CodeSourcery x86_64 and
CodeSourcery MIPS64 toolchains. In both cases, a 32-bit dynamic loader was
copied to staging/lib, while a 64-bit version was expected.

Fix the problem by only performing this explicit dynamic loader copy if no
dynamic loader is found in staging/lib.

Fixes http://autobuild.buildroot.net/results/8bf/8bffe54032aad9cc710a22411ef3bff4a2c93e55/

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.77
Bernd Kuhls [Tue, 4 Apr 2017 21:23:02 +0000 (23:23 +0200)]
package/libdrm: bump version to 2.4.77

Replace sha256 hash by sha512.

Removed patch 0003, applied upstream:
https://cgit.freedesktop.org/mesa/drm/commit/?id=6796859fcce7b9d7157f066a8b0dac3ede6438dd

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libvpx: bump version to 1.6.1
Bernd Kuhls [Tue, 4 Apr 2017 20:25:52 +0000 (22:25 +0200)]
package/libvpx: bump version to 1.6.1

Rebased patch 0001.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: Add CIP SLTS selection option
Angelo Compagnucci [Thu, 6 Apr 2017 16:58:25 +0000 (18:58 +0200)]
linux: Add CIP SLTS selection option

This patch adds an easy way to select the CIP project SLTS
kernel within the kernel menu.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
[Thomas: remove BR2_CIP_KERNEL_REPO_URL option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pudb: bump to version 2017.1.2
Yegor Yefremov [Thu, 6 Apr 2017 08:09:17 +0000 (10:09 +0200)]
python-pudb: bump to version 2017.1.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofmt: new package
Semyon Kolganov [Thu, 6 Apr 2017 15:41:17 +0000 (18:41 +0300)]
fmt: new package

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
[Thomas:
 - add entry to DEVELOPERS file
 - add missing wchar dependency
 - minor tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: bump linux kernel to 4.10.8 in snps_archs38_vdk_defconfig
Vlad Zakharov [Thu, 6 Apr 2017 16:19:39 +0000 (19:19 +0300)]
configs: bump linux kernel to 4.10.8 in snps_archs38_vdk_defconfig

With this commit we update snps_archs38_vdk_defconfig with the
following:
  - bump linux kernel version to 4.10.8
  - set up host linux headers to 4.10

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/test-pkg: print number of toolchains and progress
Yann E. MORIN [Thu, 6 Apr 2017 18:18:42 +0000 (20:18 +0200)]
support/test-pkg: print number of toolchains and progress

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: document the test-pkg script
Yann E. MORIN [Thu, 6 Apr 2017 18:18:41 +0000 (20:18 +0200)]
docs/manual: document the test-pkg script

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-engine: bump to version 17.04.0-ce
Fabrice Fontaine [Thu, 6 Apr 2017 18:20:21 +0000 (20:20 +0200)]
docker-engine: bump to version 17.04.0-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-containerd: bump to version 422e31ce907fd9c3833a38d7b8fdd023e5a76e73
Fabrice Fontaine [Thu, 6 Apr 2017 18:20:20 +0000 (20:20 +0200)]
docker-containerd: bump to version 422e31ce907fd9c3833a38d7b8fdd023e5a76e73

This is a runtime dependency of docker-engine in version 17.04.0-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorunc: bump to version 9c2d8d184e5da67c95d601382adf14862e4f2228
Fabrice Fontaine [Thu, 6 Apr 2017 18:20:19 +0000 (20:20 +0200)]
runc: bump to version 9c2d8d184e5da67c95d601382adf14862e4f2228

This is a runtime dependency of docker-engine in version 17.04.0-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibnspr: use __nios2__ instead of nios2
Thomas Petazzoni [Thu, 6 Apr 2017 07:25:36 +0000 (09:25 +0200)]
libnspr: use __nios2__ instead of nios2

Our patch adding nios2 support to libnspr uses the built-in compiler
define "nios2". However, this doesn't work with C++11, where only the
__nios2__ define is available. Since __nios2__ is always available,
use that instead:

$ ./output/host/usr/bin/nios2-linux-gcc -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )"

$ ./output/host/usr/bin/nios2-linux-gcc -std=c++11 -x c++ -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )"

Patch 0001-nios2.patch is therefore changed to use __nios2__ (the rest
of the change noise is due to using quilt to format the patch). Patch
0002-microblaze.patch is simply updated to apply correctly on top of
the modified 0001-nios2.patch.

This fixes the build of the poppler library on nios2. It is built with
-std=c++11, and includes nspr headers (through nss), causing a build
issue.

Fixes:

  http://autobuild.buildroot.net/results/9fee58076157d814616fa0da51afde8da21a8973/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibnspr: fix Microblaze patch
Thomas Petazzoni [Thu, 6 Apr 2017 07:03:11 +0000 (09:03 +0200)]
libnspr: fix Microblaze patch

Due to a mistake, the Microblaze patch was adding another #elif
defined(nios2), which doesn't make any sense. This commit gets rid of
it.

The rest of the noise in the change is due to the use of quilt to
generate the patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/website: update for 2017.02.1
Peter Korsgaard [Wed, 5 Apr 2017 21:21:39 +0000 (23:21 +0200)]
docs/website: update for 2017.02.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoUpdate for 2017.02.1
Peter Korsgaard [Wed, 5 Apr 2017 11:35:15 +0000 (13:35 +0200)]
Update for 2017.02.1

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 476067a78d4fd1ddb141a8cccc63cf3e75cbe7a3)

7 years agoarp-scan: new package
Arnout Vandecappelle [Wed, 5 Apr 2017 10:14:10 +0000 (12:14 +0200)]
arp-scan: new package

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoAdd out-of-source U-Boot device tree support
James Balean [Wed, 5 Apr 2017 03:45:51 +0000 (22:45 -0500)]
Add out-of-source U-Boot device tree support

Similaly to Linux, this patch adds the ability to copy in and build
out-of-source device tree sources during a U-Boot build.

Signed-off-by: James Balean <james@balean.com.au>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobeaglebone: add DT for BeagleBone Green
Matthias Fritzsche [Wed, 5 Apr 2017 20:11:59 +0000 (22:11 +0200)]
beaglebone: add DT for BeagleBone Green

Signed-off-by: Matthias Fritzsche <txt.file@txtfile.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosyslinux: use Git formatted patches
Thomas Petazzoni [Wed, 5 Apr 2017 20:06:06 +0000 (22:06 +0200)]
syslinux: use Git formatted patches

In preparation for the addition of more patches to the syslinux
package, reformat the two existing patches as proper Git formatted
patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: copy_toolchain_lib_root: copy symlinks instead of recreating them
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:49 +0000 (22:56 +0100)]
toolchain: copy_toolchain_lib_root: copy symlinks instead of recreating them

copy_toolchain_lib_root handles symlinks by recreating them, disregarding
the original destination and assuming the destination is in the same
directory as the link itself.
When a library link points to the real library file in another directory,
for example:
    usr/lib/octeon2/libcrypt.so -> ../../../lib32/octeon2/libcrypt.so.1
then the link created by copy_toolchain_lib_root is broken.

It is more robust to copy the symlink to keep the destination intact. The
destination path should be present, possibly through other symbolic links.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: copy_toolchain_lib_root: clarify input parameter
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:48 +0000 (22:56 +0100)]
toolchain: copy_toolchain_lib_root: clarify input parameter

The input to copy_toolchain_lib_root is not one library, not a list of
libraries, but a library name pattern with glob wildcards.
This pattern is then passed to 'find' to get the actual list of libraries
matching the pattern. Reflect this using an appropriate variable name.

Note: if the root of the buildroot tree contains a file matching one of
these library patterns, the copying of libraries from staging to target will
not be correct. It is not impossible to fix that, e.g. using 'set -f', but
maybe it's not worth it.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: copy_toolchain_lib_root: clarify logic
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:47 +0000 (22:56 +0100)]
toolchain: copy_toolchain_lib_root: clarify logic

copy_toolchain_lib_root has slightly different logic depending on the type
of library object: file or link. All actions related to links are not
relevant in case you are working with a file. Hence, try to increase clarity
by not executing unnecessary lines in the 'file' case.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: copy_toolchain_lib_root: remove unused variable LIBDIR
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:46 +0000 (22:56 +0100)]
toolchain: copy_toolchain_lib_root: remove unused variable LIBDIR

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: simplify previously-broken symbolic links
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:45 +0000 (22:56 +0100)]
toolchain-external: simplify previously-broken symbolic links

A previous commit rewrote broken symbolic links in staging, caused by a
non-singular ARCH_LIB_DIR. In this case, the symbolic links are typically
using one or more intermediate directory symlinks, which can be simplified
using the newly introduced simplify_symlink helper.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain helpers: introduce simplify_symlink
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:44 +0000 (22:56 +0100)]
toolchain helpers: introduce simplify_symlink

The external toolchain logic flattens the directory layout in the staging
directory.  Regardless of the number of levels present in the extracted
toolchain, libraries are always copied to lib/ and usr/lib/, and directory
symbolic links are provided to make the original paths available as well.

Due to this, the same library may be reachable through a number of paths:
one path without any symbolic link, and one or more paths using directory
symlinks.

Using a direct path in a symlink destination is generally preferred because
it is clearer, but it is also more robust against accidental removal of an
intermediate directory symlink.

Introduce a helper function to simplify a symlink's destination to such a
direct path. This function will be used in a subsequent patch.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: cover multilib toolchains with lib/<variant> layout
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:43 +0000 (22:56 +0100)]
toolchain-external: cover multilib toolchains with lib/<variant> layout

The toolchain from the Cavium Octeon SDK has a sysroot layout as follows:

./lib32
./lib32/octeon2
./lib32-fp
./lib64
./lib64/octeon2
./lib64-fp
./usr
./usr/lib
./usr/lib32
./usr/lib32/octeon2
./usr/lib32-fp
./usr/lib64
./usr/lib64/octeon2
./usr/lib64-fp
./usr/bin
./usr/bin32
./usr/bin32-fp
./usr/bin64-fp
./usr/libexec
./usr/libexec32
./usr/libexec32-fp
./usr/libexec64-fp
./usr/sbin
./usr/sbin32
./usr/sbin32-fp
./usr/sbin64-fp
./usr/include
./usr/share
./sbin
./sbin32
./sbin32-fp
./sbin64-fp
./etc
./var

with the following selections:
- lib64          : default
- lib64/octeon2  : -march=octeon2
- lib64-fp       : -march=octeon3
- lib32          : -mabi=n32
- lib32/octeon2  : -mabi=n32 -march=octeon2
- lib32-fp       : -mabi=n32 -march=octeon3

In case of '-mabi=n32 -march=octeon2' (but same is true for n64+octeon2)the
original Buildroot toolchain logic would copy both the libraries in
lib32 as the subdirectory lib32/octeon2, which means that every library is
installed twice (but only one of each is really needed).

While ARCH_LIB_DIR is determined by the location of libc.a, which in this
case is effectively:
    <sysroot>/usr/lib32/octeon2/libc.a
the variable only retains 'lib32' and not 'lib32/octeon2' as expected.

To make Buildroot cope with this style of toolchain layout, we need to adapt
the calculation of ARCH_LIB_DIR to also include the second part.
This, in turn, means that ARCH_LIB_DIR is no longer guaranteed to be a
singular path component, resulting in some additional changes.

Certain older Linaro toolchains actually had the same layout. Libraries were
located in lib/<tuple> rather than lib directly. Previously, this was
handled by adding a toolchain-specific fixup that creates a symlink
lib/<tuple> -> lib, but with this patch this would no longer be needed.
Note that one difference with the Octeon case is that these Linaro
toolchains are not actually multilib, i.e. there is just one location with
the libraries and thus there is no problem with duplicated libraries.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain helpers: introduce function relpath_prefix
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:42 +0000 (22:56 +0100)]
toolchain helpers: introduce function relpath_prefix

The helper function copy_toolchain_sysroot has some logic to transform a
path into a number of '../' components based on the depth of that path.

As this same logic will be needed in another place in a subsequent patch,
extract it into a separate helper relpath_prefix.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: handle ld.so fixups centrally
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:41 +0000 (22:56 +0100)]
toolchain-external: handle ld.so fixups centrally

Normally, the Buildroot toolchain logic copies all required libraries from
the external toolchain to the staging directory, including the dynamic
loader ld-*.so.
There are cases, however, where the dynamic loader is _not_ automatically
copied to staging. This happens when the dynamic loader is not inside
ARCH_LIB_DIR itself (e.g. lib64), but instead resides in 'lib' (assume, of
course, that ARCH_LIB_DIR != 'lib').

Currently, this is fixed in a toolchain-specific fixup, e.g. by recreating a
missing symlink or copying over a missing file. Such toolchain specific
fixups are not very nice.

Moreover, in a subsequent patch, the value of ARCH_LIB_DIR changes for some
toolchains, causing them to have the same problem of a missing dynamic
loader. This used to be the case for older Linaro toolchains with libraries
in 'lib/<tuple>': Buildroot used to set ARCH_LIB_DIR=lib but the mentioned
patch changes it to 'lib/<tuple>' instead. As a result, the files directly
under 'lib/' will no longer be copied. There should be none, but the dynamic
loader is a notable exception.
[Note: support for these older Linaro toolchain has been removed in 2016.11]

Instead, copy over the ld.so file(s)/link(s) from the extracted toolchain
into staging, in the central copy_toolchain_sysroot function. The existing
toolchain logic will then handle the copy of these files from staging to
target.
This means the toolchain-specific fixups can be removed.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: clarify rsync excludes in copy_toolchain_sysroot
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:40 +0000 (22:56 +0100)]
toolchain-external: clarify rsync excludes in copy_toolchain_sysroot

The copy_toolchain_sysroot helper features a complex rsync loop that copies
various directories from the extracted toolchain to the staging directory.
The complexity mainly stems from the fact that we support multilib toolchain
tarballs but only copy one of the multilib variants into staging.

Increase understandability of this logic by explicitly restricting the
rsync excludes to the iteration of the for loop they are relevant for.
Additionally, update the function comment.

Note: all attempts to reduce duplication between both rsync while keeping
things nice and readable failed. One has to be extremely careful regarding
line continuation, indentation, and single vs double quoting. In the end, a
split up rsync seemed most clean.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Benoît Allard for boot/syslinux
Benoît Allard [Wed, 5 Apr 2017 13:28:50 +0000 (15:28 +0200)]
DEVELOPERS: add Benoît Allard for boot/syslinux

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: update the e-mail address of Bartosz Golaszewski
Bartosz Golaszewski [Tue, 4 Apr 2017 15:04:35 +0000 (17:04 +0200)]
DEVELOPERS: update the e-mail address of Bartosz Golaszewski

I'm no longer with BayLibre. Change my address to an active one.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "odroid-mali: mark package as BROKEN"
Dagg Stompler [Sat, 25 Mar 2017 12:39:18 +0000 (15:39 +0300)]
Revert "odroid-mali: mark package as BROKEN"

This reverts commit e2ac546c1951ba8a3e88965d3023eb38a9493f28.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoodroid-mali: fix broken headers
Dagg Stompler [Sat, 25 Mar 2017 12:39:17 +0000 (15:39 +0300)]
odroid-mali: fix broken headers

Upstream has updated the OpenGL
headers (https://github.com/mdrjr/c2_mali/issues/1) it should fix
failures such as:

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

in addition, when the framebuffer variant (i.e not X11) is used, we
update the cflags in egl.pc to pass -DMESA_EGL_NO_X11_HEADERS so that
X11 headers are not included.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: add patch fixing build failures related to time structures
Thomas Petazzoni [Tue, 4 Apr 2017 19:28:11 +0000 (21:28 +0200)]
uclibc: add patch fixing build failures related to time structures

The latest bump of uClibc-ng 1.0.23 contains a commit touching <fcntl.h>
that causes a large number of build failures related to time
structures. For the moment, let's revert this patch to avoid the build
failures.

Fixes:

  http://autobuild.buildroot.net/results/fcd024f6658890861fd7165e15edc65f77a9d8e7/
  http://autobuild.buildroot.net/results/431135d9f985f3b3f935cc29fe16728b2412dd3a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibselinux: query for python site-packages dir directly
Matt Weber [Tue, 4 Apr 2017 02:06:11 +0000 (21:06 -0500)]
libselinux: query for python site-packages dir directly

With the bump to version 2.6, the following commit needs
to be taken into consideration for overloading paths.
https://github.com/SELinuxProject/selinux/commit/8162f10e670da963eb65ccf1e7de69ea85aba30d

The PYLIBVER is no longer used and the PYTHONLIBDIR is
renamed to PYSITEDIR with slightly different pathing.

More details can be found in the issue ticket which was
marked as a non-issue after analysis that a Buildroot fix
was the resolution.
https://github.com/SELinuxProject/selinux/issues/51

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoless: bump version to 487
Vicente Olivert Riera [Tue, 4 Apr 2017 10:39:49 +0000 (11:39 +0100)]
less: bump version to 487

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonano: bump version to 2.8.0
Vicente Olivert Riera [Tue, 4 Apr 2017 10:17:56 +0000 (11:17 +0100)]
nano: 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>
7 years agognupg2: bump version to 2.1.20
Vicente Olivert Riera [Tue, 4 Apr 2017 09:52:46 +0000 (10:52 +0100)]
gnupg2: bump version to 2.1.20

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosquid: bump version to 3.5.25
Vicente Olivert Riera [Tue, 4 Apr 2017 09:34:49 +0000 (10:34 +0100)]
squid: bump version to 3.5.25

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofreeswitch: bump version to 1.6.16
Vicente Olivert Riera [Tue, 4 Apr 2017 09:17:17 +0000 (10:17 +0100)]
freeswitch: bump version to 1.6.16

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibiio: Fix tools not linked with pthreads
Paul Cercueil [Tue, 4 Apr 2017 09:43:26 +0000 (11:43 +0200)]
libiio: Fix tools not linked with pthreads

Add a patch cherry-picked from the upstream libiio project.

Fixes:
http://autobuild.buildroot.net/results/595/595dfd7a17e2bba71844536c9071f7608879e319
http://autobuild.buildroot.net/results/693/69390ba1f7b1460c3217ef88125faeeeda445f20
http://autobuild.buildroot.net/results/71e/71ecc80e891a36305b3dacbd12bf8130fe4fd31f
http://autobuild.buildroot.net/results/4d1/4d1d798ac740403e814b843083b14c9a890dfd54
http://autobuild.buildroot.net/results/00f/00ffdfce0e7780a0f5a5dfadf6bfd63e51c7bbb8
http://autobuild.buildroot.net/results/863/863fa72f443c45793df4837992c5c8dc65590c48

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst-ffmpeg: work-around bogus configure logic on SPARC
Thomas Petazzoni [Wed, 22 Mar 2017 23:04:56 +0000 (00:04 +0100)]
gst-ffmpeg: work-around bogus configure logic on SPARC

The libav version built into the gst-ffmpeg code produces a bogus
binary on SPARC, which causes the following error of the
check-bin-arch script:

  ERROR: architecture for ./usr/lib/gstreamer-0.10/libgstffmpeg.so is Sparc v8+, should be Sparc
  ERROR: architecture for ./usr/lib/gstreamer-0.10/libgstpostproc.so is Sparc v8+, should be Sparc
  ERROR: architecture for ./usr/lib/gstreamer-0.10/libgstffmpegscale.so is Sparc v8+, should be Sparc

The problem is the following bit of code in
gst-lib/ext/libav/configure:

elif enabled sparc; then

    enabled vis && check_asm vis '"pdist %f0, %f0, %f0"' -mcpu=ultrasparc &&
        add_cflags -mcpu=ultrasparc -mtune=ultrasparc

I.e, it checks if the architecture supports the pdist
instruction... but forces -mcpu to ultrasparc while doing so. So it's
like "let's see if this Ultrasparc instruction exists when I force the
compiler to think I'm using Ultrasparc", which is non-sensical. This
has been fixed later on in libav upstream:

  https://git.libav.org/?p=libav.git;a=commit;h=6aa93689abe8c095cec9fa828c2dee3131008995

However, this commit cannot be backported as-is since the shell
function check_inline_asm did not exist in the old libav version
bundled in gst-ffmpeg.

Therefore, we take the simpler route of disabling the VIS
optimizations on SPARCv8 and Leon3.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "qemu: allow to build host variant statically"
Thomas Petazzoni [Mon, 3 Apr 2017 20:48:53 +0000 (22:48 +0200)]
Revert "qemu: allow to build host variant statically"

This reverts commit a6afa968fc9080080b943885b8599475df9e36c4, which
causes too many different build issues:

  http://autobuild.buildroot.net/results/d5c/d5ced6c9738b285e6fda8c3d41c3c66ee0cf1edc/build-end.log

  http://autobuild.buildroot.net/results/fca/fca01cc5ce13384df0a7f8fad75e2acd05598f99/build-end.log

  http://autobuild.buildroot.net/results/f17/f1755f26a3eacd84de9bd901b214a5bbb964988c/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/systemd: better patch to avoid ln --relative
Yann E. MORIN [Sat, 1 Apr 2017 17:38:13 +0000 (19:38 +0200)]
package/systemd: better patch to avoid ln --relative

We currently have two patches that address the ln --relative issue
differently. The first one changes the behaviour to generate absolute
symlinks, which is incorrect; the second provides an ad-hoc solution
for a single case.

Replace both of them with a single patch that mimics ln --relative when
the host ln does not support it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoportmap: remove package as it is obsolete
Waldemar Brodkorb [Sun, 2 Apr 2017 03:37:08 +0000 (05:37 +0200)]
portmap: remove package as it is obsolete

The upstream tarball isn't available, no releases since ten years. The
latest change to upstream git is from 2014.  Better use rpcbind for any
RPC portmapper service.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: make the legacy option select rpcbind, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobinutils: remove support for binutils 2.25
Thomas Petazzoni [Mon, 3 Apr 2017 20:28:21 +0000 (22:28 +0200)]
binutils: remove support for binutils 2.25

Now that we have switched to binutils 2.27 as the default binutils
version, it's time to get rid of binutils 2.25. So this commit remove
the 2.25 version choice, the hash file entry, the patches, and adds a
Config.in.legacy option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobinutils: switch to 2.27 as the default version
Thomas Petazzoni [Mon, 3 Apr 2017 20:26:30 +0000 (22:26 +0200)]
binutils: switch to 2.27 as the default version

Now that binutils 2.28 is available, switch to binutils 2.27 as the
default version, for both the host variant and the target variant. Note
that the target variant, when no host variant is built, was still
2.25.1: we forgot to update it to 2.26 when the host version was updated
to 2.26.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobinutils: remove 2.24 hash
Thomas Petazzoni [Mon, 3 Apr 2017 20:18:28 +0000 (22:18 +0200)]
binutils: remove 2.24 hash

Commit d8878112ad3df2a3d9468cf40a2401b581e7e432 ("binutils: remove
deprecated 2.24.X") removed support for binutils 2.24, but forgot to
remove the hash from binutils.hash. This commit fixes that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobinutils: bump to 2.28
Adam Duskett [Tue, 21 Mar 2017 00:59:43 +0000 (20:59 -0400)]
binutils: bump to 2.28

 - Patch 0100-elf32-arm-no-data-fix.patch is upstream as of commit
   6342be709e8749d0a44c02e1876ddca360bfd52f, so it is removed.

 - Patch 0130-tc-xtensa.c-fixup-xg_reverse_shift_count-typo.patch is
   upstream as of commit 78fb7e37eb8bb08ae537d6c487996ff17c810332, so
   it is removed.

 - Patch
   0900-Revert-part-Set-dynamic-tag-VMA-and-size-from-dynami.patch is
   upstream as of commit c646b02fdcae5f37bd88f33a0c4683ef13ad5c82, so
   it is removed.

 - All other patches are kept, just refreshed to apply cleanly on the
   new binutils version.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
[Thomas: improve commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: update to 1.0.23
Waldemar Brodkorb [Mon, 3 Apr 2017 18:18:02 +0000 (20:18 +0200)]
uclibc: update to 1.0.23

Bugfix release, internal RPC implementation removed.
All patches applied upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouhttpd: fix TCP_FASTOPEN related compile error
Peter Seiderer [Mon, 3 Apr 2017 17:29:08 +0000 (19:29 +0200)]
uhttpd: fix TCP_FASTOPEN related compile error

Fixes [1]:

  .../uhttpd-a8bf9c00842224edb394e79909053f7628ee6a82/listen.c: In function 'uh_setup_listeners':
  .../uhttpd-a8bf9c00842224edb394e79909053f7628ee6a82/listen.c:120:30: error: 'TCP_FASTOPEN' undeclared (first use in this function)

[1] http://autobuild.buildroot.net/results/56e/56e0727ccd1255b05e03d1b79dc238bd88701230

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodc3dd: gettextize to match newer gettext version
Rodrigo Rebello [Mon, 3 Apr 2017 01:42:22 +0000 (22:42 -0300)]
dc3dd: gettextize to match newer gettext version

Because dc3dd is being autoreconfigured and comes with an old gettext
infra, gettextize needs to be called so that the infra is updated to
match the newer version used in Buildroot.

Commit b36d57fab included a patch to add the definition of MKDIR_P to
po/Makefile.in.in in order to fix autobuild failures that ocurred when
host-gettext was built before dc3dd. This patch is no longer necessary
as gettextize adds a new Makefile template which contains the needed
definition, so drop it.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-serial: fix legal info
Rahul Bedarkar [Sun, 2 Apr 2017 18:43:08 +0000 (00:13 +0530)]
python-serial: fix legal info

python-serial is provided under BSD-3-Clause license.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibplatform: use SPDX short identifier for PHP license
Rahul Bedarkar [Sun, 2 Apr 2017 18:43:07 +0000 (00:13 +0530)]
libplatform: use SPDX short identifier for PHP license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp-ssh2: add version to license string
Rahul Bedarkar [Sun, 2 Apr 2017 18:43:06 +0000 (00:13 +0530)]
php-ssh2: add version to license string

LICENSE file refers to PHP license version 3.01

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp-memcached: fix legal info
Rahul Bedarkar [Sun, 2 Apr 2017 18:43:05 +0000 (00:13 +0530)]
php-memcached: fix legal info

LICENSE file refer to PHP license version 3.01. License header in all
source files refer to PHP license version 3.01 except source files for
fastlz library which is provided under MIT license and g_fmt.{c,h}
which has ISC-like license header.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp-imagick: add version to license string
Rahul Bedarkar [Sun, 2 Apr 2017 18:43:04 +0000 (00:13 +0530)]
php-imagick: add version to license string

LICENSE file refers to PHP license version 3.01.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp-geoip: add version to license string
Rahul Bedarkar [Sun, 2 Apr 2017 18:43:03 +0000 (00:13 +0530)]
php-geoip: add version to license string

License header in geoip.c refers to PHP license version 3.01.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp-amqp: add version to license string
Rahul Bedarkar [Sun, 2 Apr 2017 18:43:02 +0000 (00:13 +0530)]
php-amqp: add version to license string

LICENSE file refers to PHP license version 3.01.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tyrian: fixes compilation with static libs
Julien BOIBESSOT [Mon, 3 Apr 2017 12:25:43 +0000 (14:25 +0200)]
package/tyrian: fixes compilation with static libs

Has been tested with: "./support/scripts/test-pkg -c tyrian.cfg -p opentyrian"
Fixes: http://autobuild.buildroot.net/results/0e2345db82b33f591958fc0f72ad914adafe0522
and some similar previous build failure.

Thanks Thomas for the tip ;-).

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobtrfs-progs: bump version to 4.10.2
Vicente Olivert Riera [Mon, 3 Apr 2017 10:14:49 +0000 (11:14 +0100)]
btrfs-progs: bump version to 4.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosqlite: bump version to 3180000 (3.18.0)
Vicente Olivert Riera [Mon, 3 Apr 2017 10:13:57 +0000 (11:13 +0100)]
sqlite: bump version to 3180000 (3.18.0)

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibsoc: add host-pkgconf dependency
Yegor Yefremov [Mon, 3 Apr 2017 08:14:41 +0000 (10:14 +0200)]
libsoc: add host-pkgconf dependency

Without pkg-config PKG_CHECK_MODULES won't be expanded
and ./configure script produces following error message:

./configure: line 12237: syntax error near unexpected token `PYTHON,'
./configure: line 12237: ` PKG_CHECK_MODULES(PYTHON, python-"$PYTHON_VERSION")'

Fixes:

http://autobuild.buildroot.net/results/86e/86e04bd2b10527130306451e56a7693ed4b4befd

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibmaxminddb: improve --disable-tests patch
Fabrice Fontaine [Sun, 2 Apr 2017 14:20:57 +0000 (16:20 +0200)]
libmaxminddb: improve --disable-tests patch

Following review of libmaxminddb patch by Thomas Petazzoni, here is an
enhanced version of the --disable-tests patch which has been sent
upstream.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Fabio Estevam [Sun, 2 Apr 2017 18:15:14 +0000 (15:15 -0300)]
linux-headers: bump 4.{4, 9, 10}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default version to 4.10.8
Fabio Estevam [Sun, 2 Apr 2017 18:15:13 +0000 (15:15 -0300)]
linux: bump default version to 4.10.8

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libva-intel-driver: bump version to 1.8.0
Bernd Kuhls [Sun, 2 Apr 2017 08:13:26 +0000 (10:13 +0200)]
package/libva-intel-driver: bump version to 1.8.0

Autoreconf is not necessary anymore after a fix was commit upstream:
https://github.com/01org/intel-vaapi-driver/commit/fe6280841dfaaee94e8664517420f351cd334c86

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libva: bump version to 1.8.0
Bernd Kuhls [Sun, 2 Apr 2017 08:13:25 +0000 (10:13 +0200)]
package/libva: bump version to 1.8.0

Removed patch because libva-utils are no longer part of the libva
package:
https://lists.01.org/pipermail/intel-vaapi-media/2017-March/000015.html

*   Move all utilities and tests to libva-utils

Package libva-utils will be added later.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomc: bump version to 4.8.19
Rodrigo Rebello [Sun, 2 Apr 2017 03:25:10 +0000 (00:25 -0300)]
mc: bump version to 4.8.19

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: disable build with uClibc-ng
Baruch Siach [Thu, 30 Mar 2017 05:29:37 +0000 (08:29 +0300)]
lvm2: disable build with uClibc-ng

lvm2 needs floorl() amnd nearbyintl(), which uClibc does not provide
for all architectures.

The simplest solution is to just disable lvm2 for uClibc.

Fixes:
  http://autobuild.buildroot.net/results/733/733c4d52f22d5f104b835d0f1c64e8a555ec1339/
  http://autobuild.buildroot.net/results/9ce/9ce371b59f0113d10261ede919a7e4f2ce377b3c/
  http://autobuild.buildroot.net/results/e48/e48fbec55160428b84c8d3b2ca957e8f6432c8e1/

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: adjust commit log, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: fix autoreconf
Yann E. MORIN [Sun, 2 Apr 2017 17:50:29 +0000 (19:50 +0200)]
package/libdrm: fix autoreconf

To properly autoreconf, the xorg macros, from host-xutil_util-macros,
are needed.

Fixes:
    http://autobuild.buildroot.org/results/2e8/2e887c25b22bd36eab36ff361645306c8ddb79aa/
    http://autobuild.buildroot.org/results/7c0/7c0050d63a1d34eecb6d16e2654369cea561707a/
    http://autobuild.buildroot.org/results/2ef/2ef3d6d74c56632c012b85e05af6eaf0259b72c9/
    [...]

(Thanks Romain for confirming the fix on IRC! ;-) )

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: fix linking of etnaviv_cmd_stream_test
Bernd Kuhls [Sun, 2 Apr 2017 10:27:30 +0000 (12:27 +0200)]
package/libdrm: fix linking of etnaviv_cmd_stream_test

Fixes
http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/
http://autobuild.buildroot.net/results/c33/c3330ef9a8cadb46bbd31c5b14ece34f192133e3/
http://autobuild.buildroot.net/results/d18/d181bd044246646732a14815aae08337b0b5eecf/
http://autobuild.buildroot.net/results/4f5/4f5872211812c7e191cffcf41cab998fc20c0d20/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add missing autoreconf=yes.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/synergy: bump to version 1.8.8 to fix build errors
Pieterjan Camerlynck [Sun, 2 Apr 2017 08:36:16 +0000 (10:36 +0200)]
package/synergy: bump to version 1.8.8 to fix build errors

Building synergy on sparc, nios2, mipsel and mips64el would fail with
the following errors:
  src/lib/ipc/IpcClientProxy.cpp: In member function 'void IpcClientProxy::send(const IpcMessage&)':
  src/lib/ipc/IpcClientProxy.cpp:150:59: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [-Werror]
     ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
                                                             ^
  In file included from src/lib/ipc/IpcClientProxy.cpp:23:0:
  src/lib/ipc/../synergy/ProtocolUtil.h:82:16: note: candidate 1: static void ProtocolUtil::writef(void*, const char*, va_list)
    static void   writef(void*, const char* fmt, va_list);
                  ^
  src/lib/ipc/../synergy/ProtocolUtil.h:53:16: note: candidate 2: static void ProtocolUtil::writef(synergy::IStream*, const char*, ...)
    static void   writef(synergy::IStream*,
                  ^
  src/lib/ipc/../synergy/ProtocolUtil.h:82:16: error: 'static void ProtocolUtil::writef(void*, const char*, va_list)' is private
    static void   writef(void*, const char* fmt, va_list);
                  ^
  src/lib/ipc/IpcClientProxy.cpp:150:59: error: within this context
     ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
                                                             ^
  At global scope:
  cc1plus: error: unrecognized command line option '-Wno-unused-local-typedef' [-Werror]
  cc1plus: all warnings being treated as errors

Fixed by upstream commits:
  https://github.com/symless/synergy/commit/c31f908fb283dadc1a34856796e2d7a9df7bbb77
  https://github.com/symless/synergy/commit/2643cea67bed960a3ae57ba881cd06f52843fa62

Fixes:
  http://autobuild.buildroot.net/results/dc40671874aac9ad491bd4c7aa57eb1c53484492
  http://autobuild.buildroot.net/results/a37905b0c93aa0dc891a85be1701e51cf2988cbe
  http://autobuild.buildroot.net/results/611895e29faba0b35b2b27005a5142192ed63fd8
  http://autobuild.buildroot.net/results/7bdd4428c1335593b04a18ce8e9705b0bc932484

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/dc3dd: fix build with NLS enabled
Yann E. MORIN [Sun, 2 Apr 2017 09:04:02 +0000 (11:04 +0200)]
package/dc3dd: fix build with NLS enabled

Fixes:
    http://autobuild.buildroot.org/results/56e/56eda8289118782de7b8b33f956bfb33b159b86a/
    http://autobuild.buildroot.org/results/b8b/b8b59ab00790ff1b29fb72852e05ef8b402f41ec/
    http://autobuild.buildroot.org/results/ef5/ef581cc3cae46a6ed08c321b575b71e6a384cced/
    [...and a lot more...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibmaxminddb: new package
Fabrice Fontaine [Sun, 12 Feb 2017 20:26:56 +0000 (21:26 +0100)]
libmaxminddb: new package

C library for the MaxMind DB file format

The libmaxminddb library provides a C library for reading
MaxMind DB files, including the GeoIP2 databases from MaxMind.
This is a custom binary format designed to facilitate fast
lookups of IP addresses while allowing for great flexibility
in the type of data associated with an address.

The MaxMind DB format is an open format. The spec is available
at http://maxmind.github.io/MaxMind-DB/. This spec is licensed
under the Creative Commons Attribution-ShareAlike 3.0 Unported
License.

http://maxmind.github.io/libmaxminddb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: add entry in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/bluez-tools: new package
Bernd Kuhls [Thu, 9 Feb 2017 21:26:16 +0000 (22:26 +0100)]
package/bluez-tools: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add licensing information.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: add version to license string
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:31 +0000 (00:36 +0530)]
php: add version to license string

As per LICENSE file, php uses PHP license version 3.01.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for EPL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:30 +0000 (00:36 +0530)]
package: use SPDX short identifier for EPL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-nfc: use SPDX short identifier for EUPL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:29 +0000 (00:36 +0530)]
python-nfc: use SPDX short identifier for EUPL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agontp: use SPDX short identifier for ntp license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:28 +0000 (00:36 +0530)]
ntp: use SPDX short identifier for ntp license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowpan-tools: correct license name
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:27 +0000 (00:36 +0530)]
wpan-tools: correct license name

iw license is ISC.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for ZPL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:26 +0000 (00:36 +0530)]
package: use SPDX short identifier for ZPL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibraw: use SPDX short identifier for CDDL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:25 +0000 (00:36 +0530)]
libraw: use SPDX short identifier for CDDL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for libpng license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:24 +0000 (00:36 +0530)]
package: use SPDX short identifier for libpng license

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for libpng license is Libpng.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for OFL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:23 +0000 (00:36 +0530)]
package: use SPDX short identifier for OFL license

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for OFLv1.0/OFLv1.1 is OFL-1.0/OFL-1.1.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/OFLv([1]\.[0-1])/OFL-\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.0.3
Bernd Kuhls [Sat, 1 Apr 2017 19:08:23 +0000 (21:08 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 17.0.3

Switched hash to sha512.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.76
Bernd Kuhls [Sat, 1 Apr 2017 19:08:22 +0000 (21:08 +0200)]
package/libdrm: bump version to 2.4.76

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 1 Apr 2017 19:08:21 +0000 (21:08 +0200)]
package/tvheadend: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopacakge/dieharder: fix autoreconf
Yann E. MORIN [Sat, 1 Apr 2017 19:09:09 +0000 (21:09 +0200)]
pacakge/dieharder: fix autoreconf

When dieharder was committed, Thomas removed the hook to cleanup the m4
files, on the reason that autoreconf would recreate the broken symlinks
(and because the hook was too complex).

It turns out the hook was needed: if the symbolic links are
broken (libtool not installed on the host machine), autoreconf fails to
do its job.

Reinstate a simpler hook.

Fixes:
    http://autobuild.buildroot.org/results/a92/a92e9a74b0966f8f0bc4080f918d5ddf4c1ec0ce/
    http://autobuild.buildroot.org/results/a4f/a4f6647f69ad89ff1ffe5f1331281fb7a57ade4e/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Julien Viard de Galbert <julien@vdg.name>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodieharder: new package
Julien Viard de Galbert [Wed, 8 Feb 2017 21:37:52 +0000 (22:37 +0100)]
dieharder: new package

Signed-off-by: Julien Viard de Galbert <julien@vdg.name>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - remove complicated DIEHARDER_POST_PATCH_FIXUP that replaces bogus
   libtool .m4 files: since we are anyway autoreconfiguring the
   package, this is not necessary. And therefore, remove host-libtool
   in the dependencies.
 - use GPL-2.0 instead of GPLv2
 - add entry in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoncurses: drop unneeded trailing backslashes
Rodrigo Rebello [Sat, 1 Apr 2017 16:43:09 +0000 (13:43 -0300)]
ncurses: drop unneeded trailing backslashes

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-lxml: allow build as host package
Carlos Santos [Wed, 1 Feb 2017 17:51:08 +0000 (15:51 -0200)]
python-lxml: allow build as host package

While currently there is no in-tree Buildroot package which depends on
host-python-lxml, we (DATACOM) have some proprietary modules that use it
in their test scripts.

We tested python-lxml as host package and confirmed that it builds and
works correctly. Someone else might require it, so we are proposing its
inclusion.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Thomas: add Config.in.host entry.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython3: remove full path from .pyc
Jérôme Pouiller [Tue, 20 Dec 2016 13:46:27 +0000 (14:46 +0100)]
python3: remove full path from .pyc

.pyc files include path to source .py file. This patch changes the way
`pycompile.py' is launched in order to only keep the part relative to
$TARGET_DIR.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython2: remove full path from .pyc
Jérôme Pouiller [Tue, 20 Dec 2016 13:46:26 +0000 (14:46 +0100)]
python2: remove full path from .pyc

.pyc files include path to source .py file. This patch changes the way
`pycompile.py' is launched in order to only keep the part relative to
$TARGET_DIR.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodc3dd: add patch to fix autoreconf
Thomas Petazzoni [Sat, 1 Apr 2017 15:02:21 +0000 (17:02 +0200)]
dc3dd: add patch to fix autoreconf

This commit adds a patch to dc3dd that fixes autoreconfiguration.

Fixes:

  http://autobuild.buildroot.net/results/5b73b0d735691c5f63ed9bc3122bc84ea21faae7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoncurses: bump to 6.0
Adam Duskett [Tue, 21 Mar 2017 00:53:37 +0000 (20:53 -0400)]
ncurses: bump to 6.0

ncurses 6.0 has been out for a while now (August 8th 2015!), so this
patch brings us up to the latest version.

- The first patch is no longer needed as it was fixed in the new
  release.
- The other two packages are still applicable, so they have been
  updated to apply properly on the new ncurses version.
- A new option: --with-pkg-config-libdir has been added. Without it
  pkg files wouldn't install to the correct location.
- NCURSES_ABI_VERSION is no longer needed, as there is only 6.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>