buildroot.git
7 years agosupport/scripts/check-bin-arch: fix after "fix for filenames with spaces"
Thomas Petazzoni [Wed, 22 Mar 2017 20:43:54 +0000 (21:43 +0100)]
support/scripts/check-bin-arch: fix after "fix for filenames with spaces"

In commit 2f6c5e513cf6688f9343a25ac90138e9ad751eb5
("support/check-bin-arch: fix for filenames with spaces"), Yann
adjuste the check-bin-arch script to properly handle filenames with
spaces.

However, he also did a subtle change of the regexp that extracts the
path of the files. It was:

  "/^${package},(.+)$/!d; s//\1/;"

and Yann changed it to:

  "/^${package},\.(.+)$/!d; s//\1/;"

So the file paths used to start with a dot (like "./usr/share/foo"),
and now they no longer start with a dot (like "/usr/share/foo"). While
this modification is good and makes sense, the match for
/lib/firmware/ was not adjusted accordingly, and the follow-up patch
also ignoring /usr/share was not adjusted as well.

This commit fixes those /lib/firmware/ and /usr/share/ special cases,
which will fix:

  http://autobuild.buildroot.net/results/76a1475f4cdedb80426fb022ef2e644aa5625660/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoaugeas: new package
Jörg Krause [Sat, 11 Mar 2017 12:47:44 +0000 (13:47 +0100)]
augeas: new package

Augeas is a configuration editing tool. It parses configuration files in
their native formats and transforms them into a tree. Configuration
changes are made by manipulating this tree and saving it back into
native config files.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Romain Naour <romain.naour@gmail.com>
[Thomas: fix Config.in comment dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agovboot-utils: add hash
Arnout Vandecappelle [Tue, 21 Mar 2017 00:07:04 +0000 (01:07 +0100)]
vboot-utils: add hash

vboot-utils had a hash file, but is says "none" because it is a git
download.  Since our git downloads are not reproducible, we can actually
add a hash.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouhttpd: add hash
Arnout Vandecappelle [Tue, 21 Mar 2017 00:07:03 +0000 (01:07 +0100)]
uhttpd: add hash

uhttpd had a hash file, but is says "none" because it is a git download.
Since our git downloads are not reproducible, we can actually add a
hash.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoubus: add hash
Arnout Vandecappelle [Tue, 21 Mar 2017 00:07:02 +0000 (01:07 +0100)]
ubus: add hash

ubus had a hash file, but is says "none" because it is a git download.
Since our git downloads are not reproducible, we can actually add a
hash.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosquashfs: correct hash
Arnout Vandecappelle [Tue, 21 Mar 2017 00:07:01 +0000 (01:07 +0100)]
squashfs: correct hash

When squashfs was bumped to 3de1687d in commit ee90313c64, the hash
file was not updated. This wasn't noticed before since hashes are not
checked for git downloads.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-firmware: correct hash
Arnout Vandecappelle [Tue, 21 Mar 2017 00:07:00 +0000 (01:07 +0100)]
linux-firmware: correct hash

When linux-firmware was bumped to 6d3bc8886 in commit 3ff5896ff, a hash
file was added but the hash was wrong. This wasn't noticed before since
hashes are not checked for git downloads.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofmc: correct hash file
Arnout Vandecappelle [Tue, 21 Mar 2017 00:06:59 +0000 (01:06 +0100)]
fmc: correct hash file

It had sha256sum instead of sha256. This wasn't noticed before since
hashes for git downloads are not checked.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoaer-inject: remove redundant _SITE_METHOD
Arnout Vandecappelle [Tue, 21 Mar 2017 00:06:58 +0000 (01:06 +0100)]
aer-inject: remove redundant _SITE_METHOD

The _SITE has a git:// URL, so _SITE_METHOD is not needed.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodownload/git: create GNU format tar files
Arnout Vandecappelle [Tue, 21 Mar 2017 00:06:57 +0000 (01:06 +0100)]
download/git: create GNU format tar files

On most distros, the tar format defaults to GNU. However, at build time
the default format may be changed to posix. Also, future versions of
tar will default to posix.

Since we want the tarballs created by the git download method to be
reproducible (so their hash can be checked), we should explicitly
specify the format. Since existing tarballs on sources.buildroot.org
use the GNU format, and also the existing hashes in the *.hash files
are based on GNU format tarballs, we use the GNU format.

In addition, the Posix format encodes atime and ctime as well as mtime,
but tar offers no option like --mtime to override them. In the GNU
format, atime and ctime are only encoded if the --incremental option is
given.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libusb: bump version to 1.0.21
Bernd Kuhls [Tue, 21 Mar 2017 07:17:04 +0000 (08:17 +0100)]
package/libusb: bump version to 1.0.21

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pathvalidate: bump version to 0.15.0
Vicente Olivert Riera [Tue, 21 Mar 2017 15:52:29 +0000 (15:52 +0000)]
python-pathvalidate: bump version to 0.15.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agograph-depends: rename pkgutil.py to brpkgutil.py
Yegor Yefremov [Tue, 21 Mar 2017 08:22:33 +0000 (09:22 +0100)]
graph-depends: rename pkgutil.py to brpkgutil.py

pkgutil.py is also part of Python itself. Placing pkgutil.py as is
in a folder with other scripts that require original pkgutil will
break them. This is the case with scanpypi. So rename pkgutil.py
to brpkgutil.py to avoid naming collision.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=9766
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotslib: update to 1.8
Martin Kepplinger [Tue, 21 Mar 2017 16:52:39 +0000 (17:52 +0100)]
tslib: update to 1.8

For those who are interested, the release notes:

https://github.com/kergoth/tslib/releases

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotslib: use main project page in Config.in help text
Martin Kepplinger [Tue, 21 Mar 2017 16:52:38 +0000 (17:52 +0100)]
tslib: use main project page in Config.in help text

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
[Thomas: instead of adding tslib.org, just replace the github address by
the tslib.org one, which is the really upstream homepage.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoghostscript: drop the ijs subfolder to fix build
Thomas Petazzoni [Tue, 21 Mar 2017 21:48:15 +0000 (22:48 +0100)]
ghostscript: drop the ijs subfolder to fix build

The ijs/ subfolder contains a bogus ltmain.sh file, which is actually a
broken symbolic link. Due to this, our logic to patch ltmain.sh files
fail with some patch versions:

  >>> ghostscript 9.21 Patching libtool
  File /home/buildroot/build/instance-0/output/build/ghostscript-9.21/ijs/ltmain.sh is not a regular file -- refusing to patch

Since we are anyway not using the ijs support (--without-ijs is passed),
do like we do for all other sub-components of ghostscript: get rid of
the ijs/ subfolder completely.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoltp-testsuite: disable Open POSIX testsuite
Thomas Petazzoni [Tue, 21 Mar 2017 21:21:20 +0000 (22:21 +0100)]
ltp-testsuite: disable Open POSIX testsuite

The Open POSIX testsuite builds and installs to the target directory a
program called 't0' that isn't cross-compiled, which is bad.

Since the LTP build system is autoconf but not automake based, and the
Open POSIX testsuite is a sort of sub-project inside it, fixing the
issue is not trivial.

Therefore, we simply disable the Open POSIX testsuite entirely. Oddly
enough, --without-open-posix-testsuite doesn't work due to another bug,
so we simply have to remove --with-open-posix-testsuite.

Open POSIX testsuite cross-compilation issue reported at
https://github.com/linux-test-project/ltp/issues/144.

Configure script bug reported at
https://github.com/linux-test-project/ltp/issues/143.

Fixes:

  http://autobuild.buildroot.net/results/8326ba9eb257dfc92c1ad282ba6d3565e8250def/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/dbus-cpp: fix cross-compilation
Yann E. MORIN [Tue, 21 Mar 2017 21:33:59 +0000 (22:33 +0100)]
package/dbus-cpp: fix cross-compilation

dbus-cpp has an ugly hack to not cross-build the tools when it detects
cross-compilation.

However, we already have a host variant that builds those tools (and we
anyway don't seem to need them to begin with).

Drop our patch that propagates the CXXFLAGS/LDFLAGS_FOR_BUILD. Replace
with a patch to cross-compile the tools.

Fixes:
    http://autobuild.buildroot.org/results/110/1100539caae6ef62c61a3b96bc54f7c0a215cc62/
    and many, many more.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoapr: fix size of pid_t
Julien Beraud [Tue, 21 Mar 2017 13:23:56 +0000 (14:23 +0100)]
apr: fix size of pid_t

pid_t is a signed 32bits integer on both 32bits and 64bits
architectures.
This fixes an issue with apache server which causes bad pid
to be written in PidFile

Signed-off-by: Julien Beraud <julien.beraud@spectracom.orolia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoirssi: add patch to fix static linking
Rodrigo Rebello [Tue, 21 Mar 2017 03:45:53 +0000 (00:45 -0300)]
irssi: add patch to fix static linking

An upstream change which removed the option to build Irssi without SSL
support (v1.0.0 and later) also eliminated the use of PKG_CHECK_MODULES
to find the OpenSSL library, relying only on a test with AC_CHECK_LIB
for that purpose.

This unfortunately broke static linking since the flag to link with
zlib, used by OpenSSL, is missed completely.

The newly added patch therefore adds PKG_CHECK_MODULES back into the
configure script.

Fixes:

  http://autobuild.buildroot.net/results/e8b51f65525246d1205a26859d418393aaebf48c/
  http://autobuild.buildroot.net/results/35d952b3b36e295723bf8ed1badb4c9439201822/
  http://autobuild.buildroot.net/results/ea8af1458edf3ce0e2b1c444d2ae29ac1e5d2fbf/
  [...]

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gnupg2: fix libusb detection
Bernd Kuhls [Tue, 21 Mar 2017 07:09:26 +0000 (08:09 +0100)]
package/gnupg2: fix libusb detection

gnupg2 does not use pkgconf to detect the include dir of libusb.

Fixes
http://autobuild.buildroot.net/results/70c/70c9f5f8ae77fbda2b5eba3aacf831430dc59a1c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agovala: bump version to 0.34.7
Vicente Olivert Riera [Tue, 21 Mar 2017 17:05:17 +0000 (17:05 +0000)]
vala: bump version to 0.34.7

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosupport/script/check-bin-arch: ignore /usr/share
Thomas Petazzoni [Tue, 21 Mar 2017 20:35:16 +0000 (21:35 +0100)]
support/script/check-bin-arch: ignore /usr/share

/usr/share normally should not contain binaries executable for the
target platform. However, it might contain ELF binaries for other
platforms, such as firmware files installed by Qemu or
pru-software-support.

Instead of special-casing each package, let's simply ignore /usr/share.

Fixes:

  http://autobuild.buildroot.net/results/6f3fea9f6adaef1573fbb0dd6903b5d99e470610/
  (pru-software-support)

  http://autobuild.buildroot.net/results/fe8892bc22a03299fc41e30bfea5e42166838f88/
  (qemu)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosupport/check-bin-arch: fix for filenames with spaces
Yann E. MORIN [Tue, 21 Mar 2017 19:01:25 +0000 (20:01 +0100)]
support/check-bin-arch: fix for filenames with spaces

Filenames with spaces will break the current for loop.

Fix that by using a while-read loop, fed with the list of files on
stdin, using process substitution.

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopoppler: bump version to 0.53.0
Vicente Olivert Riera [Tue, 21 Mar 2017 15:41:09 +0000 (15:41 +0000)]
poppler: bump version to 0.53.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobtrfs-progs: bump version to 4.10.1
Vicente Olivert Riera [Tue, 21 Mar 2017 14:17:28 +0000 (14:17 +0000)]
btrfs-progs: bump version to 4.10.1

Drop 0003-btrfs-progs-add-missing-limits-headers.patch since it's
already included in this release:
  https://github.com/kdave/btrfs-progs/commit/153d4e6c01b53855d01b5d0c99886ba31b48bad1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomoarvm: bump version to 2017.03
Vicente Olivert Riera [Tue, 21 Mar 2017 15:50:15 +0000 (15:50 +0000)]
moarvm: bump version to 2017.03

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomemcached: bump version to 1.4.36
Vicente Olivert Riera [Tue, 21 Mar 2017 15:40:08 +0000 (15:40 +0000)]
memcached: bump version to 1.4.36

From the release notes
(https://github.com/memcached/memcached/wiki/ReleaseNotes1436):

Important bug fix that could lead to a hung slab mover.  Also improves
memory efficiency of chunked items.

[Peter: add release notes link / mention important bug fix]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibgtk3: bump version to 3.22.11
Vicente Olivert Riera [Tue, 21 Mar 2017 15:17:18 +0000 (15:17 +0000)]
libgtk3: bump version to 3.22.11

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojson-glib: bump version to 1.2.8
Vicente Olivert Riera [Tue, 21 Mar 2017 14:41:19 +0000 (14:41 +0000)]
json-glib: bump version to 1.2.8

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogit: bump version to 2.12.1
Vicente Olivert Riera [Tue, 21 Mar 2017 14:18:21 +0000 (14:18 +0000)]
git: bump version to 2.12.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoopenssh: security bump to version 7.5
Baruch Siach [Tue, 21 Mar 2017 13:11:22 +0000 (15:11 +0200)]
openssh: security bump to version 7.5

From the release notes (https://www.openssh.com/txt/release-7.5):

Security
--------

 * ssh(1), sshd(8): Fix weakness in CBC padding oracle countermeasures
   that allowed a variant of the attack fixed in OpenSSH 7.3 to proceed.
   Note that the OpenSSH client disables CBC ciphers by default, sshd
   offers them as lowest-preference options and will remove them by
   default entriely in the next release. Reported by Jean Paul
   Degabriele, Kenny Paterson, Martin Albrecht and Torben Hansen of
   Royal Holloway, University of London.

 * sftp-client(1): [portable OpenSSH only] On Cygwin, a client making
   a recursive file transfer could be maniuplated by a hostile server to
   perform a path-traversal attack. creating or modifying files outside
   of the intended target directory. Reported by Jann Horn of Google
   Project Zero.

[Peter: mention security fixes]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/ghostscript: new package
Bernd Kuhls [Sun, 18 Dec 2016 20:56:29 +0000 (21:56 +0100)]
package/ghostscript: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas:
 - switch to version 9.21 now that it has been released
 - add a hash file
 - switch to Git formatted patches
 - use $(HOSTCC) instead of hardcoding "gcc", and use $(HOST_CFLAGS) and
   $(HOST_LDFLAGS) instead of hardcoding -L$(HOST_DIR)/usr/lib
   -I$(HOST_DIR)/usr/include
 - add entry to DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/lcms2: add support for host variant
Bernd Kuhls [Sun, 18 Dec 2016 20:56:28 +0000 (21:56 +0100)]
package/lcms2: add support for host variant

Needed for upcoming ghostscript package.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython3: generate reproducible .pyc
Jérôme Pouiller [Tue, 20 Dec 2016 13:46:24 +0000 (14:46 +0100)]
python3: generate reproducible .pyc

.pyc files contain the modification time of the corresponding .py
source. In order to make the build reproducible, we fix the modification
time of all .py before compiling .pyc files.

In addition, since pycompile relies on the modification time to know if
a file needs to be recompiled, it is safer to force recompilation of all
source files.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
[Thomas: do not register PYTHON_FIX_TIME as a
 PYTHON_TARGET_FINALIZE_HOOKS, instead call it inside
 PYTHON_CREATE_PYC_FILES before doing the byte compilation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython2: generate reproducible .pyc
Jérôme Pouiller [Tue, 20 Dec 2016 13:46:23 +0000 (14:46 +0100)]
python2: generate reproducible .pyc

.pyc files contain the modification time of the corresponding .py
source. In order to make the build reproducible, we fix the modification
time of all .py before compiling .pyc files.

In addition, since pycompile relies on the modification time to know if
a file needs to be recompiled, it is safer to force recompilation of all
source files.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
[Thomas: do not register PYTHON_FIX_TIME as a
 PYTHON_TARGET_FINALIZE_HOOKS, instead call it inside
 PYTHON_CREATE_PYC_FILES before doing the byte compilation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-elecrons.com>
7 years agopycompile: allow to force compilation
Jérôme Pouiller [Tue, 20 Dec 2016 13:46:22 +0000 (14:46 +0100)]
pycompile: allow to force compilation

By default, compile_dir() relies on the modification time to know if a
python file has to be built again. However in some circumstances (when
doing reproducible builds), modification times are not reliable. Thus,
this patch adds a way to force the rebuild of all python sources.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: add defconfig for Nationalchip gx6605s dev board
Guo Ren [Mon, 6 Mar 2017 11:52:32 +0000 (19:52 +0800)]
configs: add defconfig for Nationalchip gx6605s dev board

gx6605s is a nice SOC for dvbs2 DVB product, and C-SKY inside.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
[Thomas: drop post-image script copying the gdbinit file, and suggest
to use gdb -x option instead to point to the gdbinit file in board/.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-bad: waylandsink needs wayland-protocols
Peter Seiderer [Mon, 6 Mar 2017 20:43:47 +0000 (21:43 +0100)]
gst1-plugins-bad: waylandsink needs wayland-protocols

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
----
Changes v1 -> v2:
  - use select instead of depends for BR2_PACKAGE_WAYLAND_PROTOCOLS
   (suggested by Thomas Petazzoni)
  - add select BR2_PACKAGE_WAYLAND_PROTOCOLS to missing second
    place (BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibxkbcommon: disable wayland support
Peter Seiderer [Fri, 10 Mar 2017 19:54:54 +0000 (20:54 +0100)]
libxkbcommon: disable wayland support

Disable wayland support (only needed for the interactive-wayland
test program). This fixes a compile failure in case wayland
support is autodetected:

    GEN      xdg-shell-unstable-v5-protocol.c
  /bin/sh: /usr/bin/wayland-scanner: No such file or directory
  Makefile:2426: recipe for target 'xdg-shell-unstable-v5-protocol.c' failed
  make[3]: *** [xdg-shell-unstable-v5-protocol.c] Error 127
  make[3]: *** Waiting for unfinished jobs....
    GEN      xdg-shell-unstable-v5-client-protocol.h
  /bin/sh: /usr/bin/wayland-scanner: No such file or directory
  Makefile:2428: recipe for target 'xdg-shell-unstable-v5-client-protocol.h' failed
  make[3]: *** [xdg-shell-unstable-v5-client-protocol.h] Error 127

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoMakefile: add check of binaries architecture
Thomas Petazzoni [Sun, 19 Mar 2017 13:07:52 +0000 (14:07 +0100)]
Makefile: add check of binaries architecture

As shown recently by the firejail example, it is easy to miss that a
package builds and installs binaries without actually cross-compiling
them: they are built for the host architecture instead of the target
architecture.

This commit adds a small helper script, check-bin-arch, called as a
GLOBAL_INSTRUMENTATION_HOOKS at the end of the target installation of
each package, to verify that the files installed by this package have
been built for the correct architecture.

Being called as a GLOBAL_INSTRUMENTATION_HOOKS allows the build to error
out right after the installation of the faulty package, and therefore
get autobuilder error detection properly assigned to this specific
package.

Example output with the firejail package enabled, when building for an
ARM target:

ERROR: architecture for ./usr/lib/firejail/libconnect.so is Advanced Micro Devices X86-64, should be ARM
ERROR: architecture for ./usr/bin/firejail is Advanced Micro Devices X86-64, should be ARM
ERROR: architecture for ./usr/lib/firejail/libtrace.so is Advanced Micro Devices X86-64, should be ARM
ERROR: architecture for ./usr/lib/firejail/libtracelog.so is Advanced Micro Devices X86-64, should be ARM
ERROR: architecture for ./usr/lib/firejail/ftee is Advanced Micro Devices X86-64, should be ARM
ERROR: architecture for ./usr/lib/firejail/faudit is Advanced Micro Devices X86-64, should be ARM
ERROR: architecture for ./usr/bin/firemon is Advanced Micro Devices X86-64, should be ARM
ERROR: architecture for ./usr/bin/firecfg is Advanced Micro Devices X86-64, should be ARM

Many thanks to Yann E. Morin and Arnout Vandecappelle for their reviews
and suggestions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch: add BR2_READELF_ARCH_NAME hidden config option
Thomas Petazzoni [Sun, 19 Mar 2017 13:07:51 +0000 (14:07 +0100)]
arch: add BR2_READELF_ARCH_NAME hidden config option

This config option corresponds to the string returned by readelf for
the "Machine" field of the ELF header. It will be used to check if the
architecture of binaries built by Buildroot match the target
architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-ati: bump version to 7.9.0
Romain Naour [Sun, 19 Mar 2017 20:51:55 +0000 (21:51 +0100)]
package/x11r7/xdriver_xf86-video-ati: bump version to 7.9.0

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: bump to version 1.19.3
Romain Naour [Sun, 19 Mar 2017 20:51:54 +0000 (21:51 +0100)]
package/x11r7/xserver_xorg-server: bump to version 1.19.3

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: fix hash file, as noticed by Bernd.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: add lm-sensors optional dependency
Romain Naour [Sun, 19 Mar 2017 20:51:53 +0000 (21:51 +0100)]
package/mesa3d: add lm-sensors optional dependency

radeon-pci-0008
Adapter: PCI adapter
temp1:        +56.0 C  (crit = +120.0 C, hyst = +90.0 C)

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/qemu: update xtensa linux to 4.9.16
Max Filippov [Sun, 19 Mar 2017 23:08:24 +0000 (16:08 -0700)]
configs/qemu: update xtensa linux to 4.9.16

This fixes the following nommu kernel build issue:

  arch/xtensa/kernel/setup.c: In function 'cpu_reset':
  arch/xtensa/kernel/setup.c:553:2: error: implicit declaration of function
    'local_flush_tlb_all' [-Werror=implicit-function-declaration]
    local_flush_tlb_all();

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libkcapi: bump version to latest git hash 79cb80714ebc
Marcin Nowakowski [Mon, 20 Mar 2017 10:25:09 +0000 (11:25 +0100)]
package/libkcapi: bump version to latest git hash 79cb80714ebc

Configure script is used to detect options supported by the target
compiler, but those options are then incorrectly used by the targets
compiled using a host compiler.

configure:
  checking whether CC supports -fstack-protector-strong... yes
make:
  /usr/bin/gcc (...)
  cc1: error: unrecognized command line option "-fstack-protector-strong"

Fixes:
  http://autobuild.buildroot.net/results/4c0/4c06dfa35ef52f6522619f797a9ae4e7a2e45d04/
  http://autobuild.buildroot.net/results/788/78886670cff406a09bd08808d9a6e328ee75634b/

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-sortedcontainers: new package
Yegor Yefremov [Mon, 20 Mar 2017 14:36:20 +0000 (15:36 +0100)]
python-sortedcontainers: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-vaapi: fix build when Gstreamer debugging is disabled
Rahul Bedarkar [Mon, 20 Mar 2017 18:53:00 +0000 (00:23 +0530)]
gst1-vaapi: fix build when Gstreamer debugging is disabled

When Gstreamer debugging is disabled (BR2_PACKAGE_GSTREAMER1_GST_DEBUG)
we get following build errors:

  gstvaapisink.c: In function 'gst_vaapisink_init':
  gstvaapisink.c:1902:39: error: 'gst_debug_vaapisink' undeclared (first use in this function)
  gstvaapisink.c:1902:39: note: each undeclared identifier is reported only once for each function it appears in
  gstvaapidecode.c: In function 'gst_vaapidecode_init':
  gstvaapidecode.c:1365:63: error: 'gst_debug_vaapidecode' undeclared (first use in this function)
  gstvaapidecode.c:1365:63: note: each undeclared identifier is reported only once for each function it appears in
  gstvaapipostproc.c: In function 'gst_vaapipostproc_init':
  gstvaapipostproc.c:1811:7: error: 'gst_debug_vaapipostproc' undeclared (first use in this function)
  gstvaapipostproc.c:1811:7: note: each undeclared identifier is reported only once for each function it appears in

Add upstream patch to fix these build issues.

Fixes:
  http://autobuild.buildroot.net/results/653/653d9b056b04e589b8f5c57111635b0b3d7c8949

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x265: bump version to 2.3
Bernd Kuhls [Mon, 20 Mar 2017 18:32:01 +0000 (19:32 +0100)]
package/x265: bump version to 2.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libbluray: bump version to 1.0.0
Bernd Kuhls [Mon, 20 Mar 2017 18:17:25 +0000 (19:17 +0100)]
package/libbluray: bump version to 1.0.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.0.2
Bernd Kuhls [Mon, 20 Mar 2017 18:16:08 +0000 (19:16 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 17.0.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump to version 1.4.3
Fabrice Fontaine [Mon, 20 Mar 2017 18:00:51 +0000 (19:00 +0100)]
cjson: bump to version 1.4.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokeepalived: bump to version 1.3.5
Baruch Siach [Mon, 20 Mar 2017 20:52:42 +0000 (22:52 +0200)]
keepalived: bump to version 1.3.5

The configure script now supports --{enable,disable}-libnl, use them.

Cc: Ilias Apalodimas <apalos@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokeepalived: fix libnl optional dependency
Baruch Siach [Mon, 20 Mar 2017 20:52:41 +0000 (22:52 +0200)]
keepalived: fix libnl optional dependency

List libnl as a dependency when it is enabled. Make sure that
libnfnetlink is actually enabled when listing it as a dependency.

Cc: Ilias Apalodimas <apalos@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofilemq: bump version to 3dc89932903b0320853d87833aabc6f7e7781c49
Rahul Bedarkar [Mon, 20 Mar 2017 15:11:19 +0000 (20:41 +0530)]
filemq: bump version to 3dc89932903b0320853d87833aabc6f7e7781c49

This version bump removes (L)GPLv3 license text which were leftover
from previous implementation.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofilemq: correct license
Rahul Bedarkar [Mon, 20 Mar 2017 15:11:18 +0000 (20:41 +0530)]
filemq: correct license

All source files, except src/filemq_client.c and src/filemq_server.c,
has MPL Version 2.0 license text in file header.

As confirmed with upstream [1] (L)GPLv3 license texts COPYING and
COPYING.LESSER are leftover from previous implementation.

[1] - https://github.com/zeromq/filemq/issues/74

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-vaapi: bump version to 1.10.4
Rahul Bedarkar [Mon, 20 Mar 2017 15:11:17 +0000 (20:41 +0530)]
gst1-vaapi: bump version to 1.10.4

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/bananapro: bump U-Boot to 2017.03
Jörg Krause [Mon, 20 Mar 2017 19:31:38 +0000 (20:31 +0100)]
configs/bananapro: bump U-Boot to 2017.03

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/bananapro: bump Linux to 4.10.4
Jörg Krause [Mon, 20 Mar 2017 19:31:37 +0000 (20:31 +0100)]
configs/bananapro: bump Linux to 4.10.4

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowiringpi: fix compile for missing baud defines
Peter Seiderer [Mon, 20 Mar 2017 20:00:20 +0000 (21:00 +0100)]
wiringpi: fix compile for missing baud defines

For sparc-buildroot-linux-uclibc/sysroot/usr/include/asm/termbits.h
containing:

  /* These have totally bogus values and nobody uses them
     so far. Later on we'd have to use say 0x10000x and
     adjust CBAUD constant and drivers accordingly.
  #define B2500000  0x00001010
  #define B3000000  0x00001011
  #define B3500000  0x00001012
  #define B4000000  0x00001013  */

Fixes [1]:

  wiringSerial.c: In function 'serialOpen':
  wiringSerial.c:78:28: error: 'B2500000' undeclared (first use in this function)
       case 2500000: myBaud = B2500000 ; break ;
                              ^
  wiringSerial.c:78:28: note: each undeclared identifier is reported only once for each function it appears in
  wiringSerial.c:79:28: error: 'B3000000' undeclared (first use in this function)
       case 3000000: myBaud = B3000000 ; break ;
                              ^
  wiringSerial.c:80:28: error: 'B3500000' undeclared (first use in this function)
       case 3500000: myBaud = B3500000 ; break ;
                              ^
  wiringSerial.c:81:28: error: 'B4000000' undeclared (first use in this function)
       case 4000000: myBaud = B4000000 ; break ;
                              ^

[1] http://autobuild.buildroot.net/results/5be/5bea1e95d1c7b444a5f0a5770251f1af3efc9c18

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoskalibs: fix endianness detection on x86
Eric Le Bihan [Mon, 20 Mar 2017 20:11:22 +0000 (21:11 +0100)]
skalibs: fix endianness detection on x86

Update the patch for compile time endianness detection so it works on
x86 platforms using GCC <= 4.4.

Fixes:

  http://autobuild.buildroot.net/results/c2e8e1180571976b412cbba729c45a3698aea0b2
  http://autobuild.buildroot.net/results/2ee47107d8a67470f7bc3e10cf763202d5455d17

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibv4l: drop -lrt workaround
Baruch Siach [Mon, 20 Mar 2017 20:36:41 +0000 (22:36 +0200)]
libv4l: drop -lrt workaround

libv4l adds the -lrt flag since upstream commit 3dcb945bfcab
("v4l2-compliance: Explicitely link against rt library").

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoautomake: fix unescaped left brace warning patch
Adam Duskett [Mon, 6 Mar 2017 13:23:59 +0000 (08:23 -0500)]
automake: fix unescaped left brace warning patch

Automake currently has a unescaped left brace in it's automake.in folder
that generates the warning:
"Unescaped left brace in regex is deprecated, passed through in regex;"
This patch, which is backported from upstream fixes this warning.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: format patch using "git format-patch".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowget: add upstream security fix
Baruch Siach [Mon, 20 Mar 2017 04:16:56 +0000 (06:16 +0200)]
wget: add upstream security fix

Fixes CVE-2017-6508: CRLF injection in the url_parse function in url.c

http://lists.gnu.org/archive/html/bug-wget/2017-03/msg00018.html

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosmcroute: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:07:41 +0000 (15:07 +0100)]
smcroute: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonvme: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:07:15 +0000 (15:07 +0100)]
nvme: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibvdpau: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:06:23 +0000 (15:06 +0100)]
libvdpau: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-rpi-gpio: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:05:19 +0000 (15:05 +0100)]
python-rpi-gpio: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolog4cpp: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:04:12 +0000 (15:04 +0100)]
log4cpp: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gnupg2: add optional support for gnutls
Bernd Kuhls [Sun, 12 Mar 2017 11:33:28 +0000 (12:33 +0100)]
package/gnupg2: add optional support for gnutls

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gnupg2: add optional support for sqlite
Bernd Kuhls [Sun, 12 Mar 2017 11:33:27 +0000 (12:33 +0100)]
package/gnupg2: add optional support for sqlite

Also add host-pkgconf to detect sqlite support, otherwise

checking pkg-config is at least version 0.9.0...
 ./configure: line 7981: /home/buildroot/br2/output/host/usr/bin/pkg-config: No such file or directory
no
[...]
checking for SQLITE3... no

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gnupg2: bump version to 2.1.19
Bernd Kuhls [Sun, 12 Mar 2017 11:33:26 +0000 (12:33 +0100)]
package/gnupg2: bump version to 2.1.19

Support for GnuPG 2.0 will end 2017-12-31:
https://lists.gnupg.org/pipermail/gnupg-announce/2017q1/000402.html

Removed all patches:

- 0001-fix-pth-config-usage.patch
  Not needed anymore, gnupg2 now depends on libnpth:
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=001352077cdc7e402421c77328bea1a052005673

- 0002-missing-include.patch
  Not needed anymore after upstream commit
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=0367a4b8cfbf1f197e093ca2b83b27e0a409c3c7

- 0003-dont-run-tests.patch
  Not needed anymore after upstream commit
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=4a232d23a8f51bebf9ee382e480248b4bde30f28

- 0004-silence-git-when-not-in-git-tree.patch
  Not needed anymore after upstream commit restricting the usage of git
  commands to the case where the directory .git exists
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=b67e4e523e6d19d384e23c5bb03010caebd150e7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libnpth: new package
Bernd Kuhls [Sun, 12 Mar 2017 11:33:25 +0000 (12:33 +0100)]
package/libnpth: new package

Needed for gnupg 2.1.x
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=001352077cdc7e402421c77328bea1a052005673

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libgpg-error: bump version to 1.27
Bernd Kuhls [Sun, 12 Mar 2017 11:33:24 +0000 (12:33 +0100)]
package/libgpg-error: bump version to 1.27

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/docker-engine: introduce option to build CLI client statically
Christian Stewart [Sun, 19 Mar 2017 06:20:42 +0000 (02:20 -0400)]
package/docker-engine: introduce option to build CLI client statically

This is useful when bind-mounting the docker client binary into
containers for a docker-in-docker setup.

The Docker CLI communicates with the daemon over a socket. It is
sometimes useful to bind-mount the Docker CLI and socket into containers at
run-time, so that scripts within the containers can call the Docker API
in the host using a client compatible with the host daemon.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomesa3d: Add temporary fixes for etnaviv rendering
Fabio Estevam [Sun, 19 Mar 2017 19:26:59 +0000 (16:26 -0300)]
mesa3d: Add temporary fixes for etnaviv rendering

Currently when running Qt5_CinematicExperience demo from Qt5.8 the
covers of the movies appear with a black box instead of showing the
actual art cover.

Also, the fonts are incorrectly displayed in many cases.

Fix these issues by applying temporary patches to etnaviv.

According to Christian Gmeiner and Wladimir J. van der Laan
the correct solution to this problem is to use shader variants [1].

Use these temporary patches until the correct solution appears in
mesa mainline, so that etaniv users can run Qt successfully for
the time being.

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-March/147948.html

Tested on imx6q-sabresd board.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosysvinit: adjust help text
Baruch Siach [Sun, 19 Mar 2017 17:22:12 +0000 (19:22 +0200)]
sysvinit: adjust help text

sysvinit is far from ultimate init implementation these days. Update the
help text to match reality.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscripts/pycompile: Accomodate latest Python 3 codebase
Andrey Smirnov [Tue, 14 Mar 2017 23:42:27 +0000 (16:42 -0700)]
scripts/pycompile: Accomodate latest Python 3 codebase

As of the version 3.6.0 compile_dir() call will treat its 'quiet'
argument as a full blown integer rather than a boolean value and perform
integer comparison operations such as '<' or '>='.

To account for that convert ReportProblem type to be a true derivative
of built-in int() and override all of int's rich comparison operators in
order to be able to "sniff" for PyCompileError in all possible use-cases

The integer value ReportProblem pretends to be is teremined by class
variable VALUE which is set to 1.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotesseract-ocr: new package
Gilles Talis [Sun, 19 Mar 2017 08:07:53 +0000 (09:07 +0100)]
tesseract-ocr: new package

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Thomas:
 - remove jpeg, tiff and libpng dependencies, they do not seem to be
   used
 - add host-pkgconf as a dependency, since the configure script uses
   PKG_CHECK_MODULES()
 - pass --disable-opencl to explicitly disable OpenCL support
 - add comment to explain why we don't add support for cairo, pango and
   icu as optional dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoleptonica: new package
Gilles Talis [Sun, 19 Mar 2017 08:07:52 +0000 (09:07 +0100)]
leptonica: new package

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pkg-toolchain-external: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:52 +0000 (10:59 +0100)]
package/pkg-toolchain-external: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/uclibc-ng-test: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:51 +0000 (10:59 +0100)]
package/uclibc-ng-test: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qt5multimedia: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:50 +0000 (10:59 +0100)]
package/qt5multimedia: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openocd: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:49 +0000 (10:59 +0100)]
package/openocd: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libscrypt: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:48 +0000 (10:59 +0100)]
package/libscrypt: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytablewriter: bump version to 0.17.2
Vicente Olivert Riera [Mon, 13 Mar 2017 12:20:52 +0000 (12:20 +0000)]
python-pytablewriter: bump version to 0.17.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pathvalidate: bump version to 0.14.1
Vicente Olivert Riera [Mon, 13 Mar 2017 12:20:14 +0000 (12:20 +0000)]
python-pathvalidate: bump version to 0.14.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dataproperty: bump version to 0.17.0
Vicente Olivert Riera [Mon, 13 Mar 2017 12:19:16 +0000 (12:19 +0000)]
python-dataproperty: bump version to 0.17.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopostgresql: bump version to 9.6.2
Vicente Olivert Riera [Mon, 13 Mar 2017 11:52:13 +0000 (11:52 +0000)]
postgresql: bump version to 9.6.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomemcached: bump version to 1.4.35
Vicente Olivert Riera [Mon, 13 Mar 2017 11:43:50 +0000 (11:43 +0000)]
memcached: bump version to 1.4.35

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimagemagick: bump version to 7.0.5-2
Vicente Olivert Riera [Mon, 13 Mar 2017 11:34:23 +0000 (11:34 +0000)]
imagemagick: bump version to 7.0.5-2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoipset: bump version to 6.32
Vicente Olivert Riera [Mon, 13 Mar 2017 11:32:40 +0000 (11:32 +0000)]
ipset: bump version to 6.32

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoharfbuzz: bump version to 1.4.5
Vicente Olivert Riera [Mon, 13 Mar 2017 11:26:41 +0000 (11:26 +0000)]
harfbuzz: bump version to 1.4.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowilink-bt-firmware: new package
Baruch Siach [Mon, 13 Mar 2017 14:35:27 +0000 (16:35 +0200)]
wilink-bt-firmware: new package

Add firmware files for the UART attached Bluetooth on TI Wilink series
wireless connectivity combo chips.

Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Thomas: rename config option so that it has the BR2_PACKAGE_ prefix.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomono: remove nonexistent configure options
Dustin Johnson [Wed, 15 Mar 2017 01:55:07 +0000 (21:55 -0400)]
mono: remove nonexistent configure options

The .mk file for the mono package contains out of date configuration
options. The --disable-gtk-doc option is no longer available in
configure. Moonlight is no longer supported in Mono and the
--with-moonlight=no option is no longer required.

Signed-off-by: Dustin Johnson <dustin.r.johnson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouccp420wlan: new package
Abhimanyu Vishwakarma [Thu, 16 Mar 2017 11:43:20 +0000 (17:13 +0530)]
uccp420wlan: new package

Wifi kernel module and firmware for Imagination explorer RPU

Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Reviewed-by: Rahul Bedarkar <Rahul.Bedarkar@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: indicate linux >= 4.2 dependency, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Fabio Estevam [Sat, 18 Mar 2017 14:21:42 +0000 (11:21 -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 to version 4.10.4
Fabio Estevam [Sat, 18 Mar 2017 14:21:41 +0000 (11:21 -0300)]
linux: bump default to version 4.10.4

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoskeleton: fix permissions on /dev/pts/ptmx
Jan Kundrát [Fri, 17 Mar 2017 16:02:54 +0000 (17:02 +0100)]
skeleton: fix permissions on /dev/pts/ptmx

Without this patch, it is not possible to allocate PTYs when a generated
rootfs image with a recent glibc and systemd is launched as a container  on
an RHEL7 system via machinectl/systemd-nspawn. The container boots, but
`machinectl login mycontainer` fails. The culprit is /dev/pts/ptmx with
0000 perms.

On a typical system, there are two `ptmx` devices. One is provided by the
devpts at /dev/pts/ptmx and it is typically not directly accessed from
userspace. The other one which actually *is* opened by processes is
/dev/ptmx. Kernel's documentation says these days that /dev/ptmx should be
either a symlink, or a bind mount of the /dev/pts/ptmx from devpts.

When a container is launched via machinectl/machined/systemd-nspawn, the
container manager prepares a root filesystem so that the container can live
in an appropriate namespace (this is similar to what initramfs is doing on
x86 desktops). During these preparations, systemd-nspawn mounts a devpts
instance using a correct ptmxmode=0666 within the container-to-be's
/dev/pts, and it adds a compatibility symlink at /dev/ptmx. However, once
systemd takes over as an init in the container,
/lib/systemd/systemd-remount-fs applies mount options from /etc/fstab to
all fileystems. Because the buildroot's template used to not include the
ptmxmode=... option, a default value of 0000 was taking an effect which in
turn led to not being able to allocate any pseudo-terminals.

The relevant kernel option was introduced upstream in commit 1f8f1e29 back
in 2009. The oldest linux-headers referenced from buildroot's config is
3.0, and that version definitely has that commit. Mount options that are
not understood by the system are anyway ignored, so backward
compatibility is preserved.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: fix commit title, adjust commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>