]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
6 years agopackage/mono: bump to version 5.2.0.224
Angelo Compagnucci [Tue, 26 Sep 2017 13:59:09 +0000 (15:59 +0200)]
package/mono: bump to version 5.2.0.224

This patch bumps mono to version 5.2.0.224 and the required monolite
dependency to 1050200001.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoedid-decode: bump to latest version
Baruch Siach [Tue, 26 Sep 2017 15:46:13 +0000 (18:46 +0300)]
edid-decode: bump to latest version

This version brings bug fixes and improvements.

http://www.spinics.net/lists/linux-media/msg122284.html

Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodash: bump to version 0.5.9.1
Carlos Santos [Wed, 27 Sep 2017 16:41:53 +0000 (13:41 -0300)]
dash: bump to version 0.5.9.1

Use the maintainer's repository, update the package description, based
on the official one, and drop an obsolete patch.

Change-Id: I2170aa4c1cc57de2a25ef04e89a216b254f2a859
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux: bump default to version 4.13.4
Bernd Kuhls [Wed, 27 Sep 2017 16:27:36 +0000 (18:27 +0200)]
linux: bump default to version 4.13.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 4.{4, 9, 13}.x series
Bernd Kuhls [Wed, 27 Sep 2017 16:27:35 +0000 (18:27 +0200)]
linux-headers: bump 4.{4, 9, 13}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agowsapi: fix broken patch
Francois Perrad [Wed, 27 Sep 2017 12:54:44 +0000 (14:54 +0200)]
wsapi: fix broken patch

Fixes:

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

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/opencore-amr: bump version to 0.1.5
Bernd Kuhls [Sat, 16 Sep 2017 13:22:03 +0000 (15:22 +0200)]
package/opencore-amr: bump version to 0.1.5

Added md5 & sha1 hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx6-sabresd/readme: Add an entry for glmark benchmark
Fabio Estevam [Mon, 25 Sep 2017 11:59:48 +0000 (08:59 -0300)]
imx6-sabresd/readme: Add an entry for glmark benchmark

Add an entry to explain how to run the glmark benchmark.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/imx6-sabresd_qt5: Bump kernel to 4.13.3
Fabio Estevam [Mon, 25 Sep 2017 11:59:47 +0000 (08:59 -0300)]
configs/imx6-sabresd_qt5: Bump kernel to 4.13.3

Bump the kernel version to 4.13.3.

Kernel 4.13.3 uses the /dev/dri/card0 device as rendering node, so
adjust it accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/imx6q-sabresd_qt5: Switch to SPL
Fabio Estevam [Mon, 25 Sep 2017 11:59:46 +0000 (08:59 -0300)]
configs/imx6q-sabresd_qt5: Switch to SPL

U-Boot 2017.09 uses SPL, so bump to this version so that we can
have a single qt5 image that supports the different imx6 sabresd
boards: imx6q, imx6dl and imx6qp.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/imx6q-sabresd-qt5: Increase the rootfs size
Fabio Estevam [Mon, 25 Sep 2017 11:59:45 +0000 (08:59 -0300)]
configs/imx6q-sabresd-qt5: Increase the rootfs size

The QT5 rootfs requires more space, so adjust it a larger size.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/imx6-sabresd: Bump kernel and U-Boot versions
Fabio Estevam [Mon, 25 Sep 2017 11:59:44 +0000 (08:59 -0300)]
configs/imx6-sabresd: Bump kernel and U-Boot versions

Bump U-Boot to 2017.09 and kernel to 4.13.3 versions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/imx6q-sabresd: Drop the 'quad' notation
Fabio Estevam [Mon, 25 Sep 2017 11:59:43 +0000 (08:59 -0300)]
configs/imx6q-sabresd: Drop the 'quad' notation

Now that SPL is supported a single image can run on the different
variants of imx6 sabresd boards: imx6q, imx6dl and imx6qp.

So drop the 'quad' prefix from defconfig, directory and readme file
to make it generic.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/poco: needs NPTL
Bernd Kuhls [Mon, 25 Sep 2017 08:30:01 +0000 (10:30 +0200)]
package/poco: needs NPTL

Fixes
http://autobuild.buildroot.net/results/609/6090f5a0f4bf96b9dc2b3e48eb2e33c83d2ba7d2/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/dfu-util: allow to build it for the target as well
Wolfgang Grandegger [Mon, 25 Sep 2017 06:12:48 +0000 (08:12 +0200)]
package/dfu-util: allow to build it for the target as well

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/asterisk: fix host build
Yann E. MORIN [Sun, 24 Sep 2017 16:33:01 +0000 (18:33 +0200)]
package/asterisk: fix host build

The host menuselect tool is linked to our host libxml2 library, but it
is missing an RPATH to the host directory.

This is because menuselect does not use automake, so does not inherit
the LDFLAGS from the configure run.

We fix that by simply passing $(HOST_CONFIGURE_OPTS) in the make
environment.

At the same time, we also install the tool in the host directory, even
if not used from there, so that the sanity checks we run are properly
passed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agosupport/check-rpath: recognise PIE
Yann E. MORIN [Sun, 24 Sep 2017 16:22:44 +0000 (18:22 +0200)]
support/check-rpath: recognise PIE

We sanity-check the host executables that they have a correct RPATH
pointing to the host libraries.

This is currently done by looking for all files in $(HOST_DIR) that
match the 'ELF executable' pattern (a bit more complex, but that's
idea).

However, when an executable is built with -fPIE of -fpie, it no longer
appears to be an 'ELF executable', but it rather looks like an 'ELF
sheard object' (like if it were an library.

So, we miss those files.

It turns out that the problem is a real one, because quite a few
mainline distros, expecially those based on Debian for example, have
already switched to generating PIE code by default, and thus we miss on
a whole class of systems..

We fix that by simply looking if we can find an ELF interpreter in each
file. If we there is one, this is an ELF executable; if not, it may be
anything else: we don't care (not even about ELF libraries).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agonginx (S50nginx): Fix stop, reload, restart. Add force-reload.
Thomas Claveirole [Mon, 25 Sep 2017 13:20:29 +0000 (15:20 +0200)]
nginx (S50nginx): Fix stop, reload, restart. Add force-reload.

Fix package/nginx/S50nginx:

* On stop, use start-stop-daemon -R 1 to wait for the nginx processes
  to actually stop.  This fixes a race condition with restart, where
  nginx fails to restart because start is called too early
  w.r.t. stop.  (This only works with Debian's start-stop-daemon,
  however BusyBox's start-stop-daemon does not fail when given -R; it
  just ignores the argument silently).

* Implement reload with an actual reload instead of a restart.

* Add force-reload.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/wandboard: Bump U-Boot and kernel versions
Fabio Estevam [Thu, 21 Sep 2017 13:59:39 +0000 (10:59 -0300)]
configs/wandboard: Bump U-Boot and kernel versions

Bump U-Boot to 2017.09 version and kernel to 4.13.3.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agowandboard: genimage: Pass an offset for the rootfs
Fabio Estevam [Thu, 21 Sep 2017 13:59:38 +0000 (10:59 -0300)]
wandboard: genimage: Pass an offset for the rootfs

Pass an offset of 1MB for the start of the rootfs.

Otherwise we get rootfs corruption when the bootloader is manually
written to the SD card.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs: Add qemu_ppc64le_pseries
Joel Stanley [Wed, 20 Sep 2017 02:48:45 +0000 (12:18 +0930)]
configs: Add qemu_ppc64le_pseries

This is similar to the ppc64_pseries config, except we build for little
endian instead of big endian.

The default architecture is set to Power8 as this was the first fully
enabled LE machine.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs: qemu_ppc64_pseries: Update to kernel 4.13.1
Joel Stanley [Wed, 20 Sep 2017 02:48:44 +0000 (12:18 +0930)]
configs: qemu_ppc64_pseries: Update to kernel 4.13.1

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/efl: bump to 1.20.4
Romain Naour [Sat, 23 Sep 2017 20:53:44 +0000 (22:53 +0200)]
package/efl: bump to 1.20.4

https://www.enlightenment.org/news/efl-1.20.4

Remove upstream patch.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/kodi-skin-confluence: bump version to 3.1.4
Bernd Kuhls [Sat, 23 Sep 2017 12:02:43 +0000 (14:02 +0200)]
package/kodi-skin-confluence: bump version to 3.1.4

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/kodi-pvr-hts: bump version to 3.4.28
Bernd Kuhls [Sat, 23 Sep 2017 12:02:42 +0000 (14:02 +0200)]
package/kodi-pvr-hts: bump version to 3.4.28

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/kodi-inputstream-rtmp: bump version to 1.0.6
Bernd Kuhls [Sat, 23 Sep 2017 12:02:41 +0000 (14:02 +0200)]
package/kodi-inputstream-rtmp: bump version to 1.0.6

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/kodi-inputstream-adaptive: bump version to 2.0.18
Bernd Kuhls [Sat, 23 Sep 2017 12:02:40 +0000 (14:02 +0200)]
package/kodi-inputstream-adaptive: bump version to 2.0.18

Fixes https://bugs.busybox.net/show_bug.cgi?id=10256

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/x11r7/xserver_xorg-server: glamor support needs egl
Bernd Kuhls [Sat, 23 Sep 2017 11:30:18 +0000 (13:30 +0200)]
package/x11r7/xserver_xorg-server: glamor support needs egl

Glamor support in xserver_xorg-server depends on gbm:
https://cgit.freedesktop.org/xorg/xserver/tree/configure.ac#n2100

Gbm is provided by mesa3d only if egl is enabled:
https://git.buildroot.net/buildroot/tree/package/mesa3d/mesa3d.mk#n167

This patch adds libegl as additional prerequisite for enabling glamor
support in xserver_xorg-server.

Fixes
http://autobuild.buildroot.net/results/04d/04d93745d63fcfbea070c0126862b49f1b6f473e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/poppler: include ctype.h to fix build error
Bernd Kuhls [Sat, 23 Sep 2017 09:44:07 +0000 (11:44 +0200)]
package/poppler: include ctype.h to fix build error

Fixes
http://autobuild.buildroot.net/results/a6a/a6a336f8b6a0136b204a34091e33dc4598178125/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/libshout: enable optional dependency for libressl
Bernd Kuhls [Sat, 23 Sep 2017 09:19:49 +0000 (11:19 +0200)]
package/libshout: enable optional dependency for libressl

libshout uses pkgconfig currently only to check for openssl paths, to
fix the build error we pass our STAGING_DIR as parameter to
--with-openssl

Fixes
http://autobuild.buildroot.net/results/72a/72aa07d48d6b1d7dea046b88ee4aa943534ffad4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years ago.gitlab-ci.yml: update after adding raspberrypi3_qt5we_defconfig
Arnout Vandecappelle (Essensium/Mind) [Tue, 26 Sep 2017 21:49:01 +0000 (23:49 +0200)]
.gitlab-ci.yml: update after adding raspberrypi3_qt5we_defconfig

Commit 21234ce8 introduced raspberrypi3_qt5we_defconfig but didn't
update .gitlab-ci.yml. Do that now.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/tor: add optional support for lzma
Bernd Kuhls [Sat, 23 Sep 2017 08:46:28 +0000 (10:46 +0200)]
package/tor: add optional support for lzma

According to https://blog.torproject.org/tor-0317-now-released
we also need host-pkgconf for lzma support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/tor: security bump to version 0.3.1.7
Bernd Kuhls [Sat, 23 Sep 2017 08:46:27 +0000 (10:46 +0200)]
package/tor: security bump to version 0.3.1.7

Quoted from release notes:
https://blog.torproject.org/tor-0317-now-released
"Tor 0.3.1.7 is the first stable release in the 0.3.1 series."

Fixes CVE-2017-0380:
https://trac.torproject.org/projects/tor/ticket/23490

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopython-numpy: Ensure `_npy_scaled_cexp{, f, l}` is defined when needed
Alexey Brodkin [Fri, 22 Sep 2017 22:30:53 +0000 (01:30 +0300)]
python-numpy: Ensure `_npy_scaled_cexp{, f, l}` is defined when needed

With update of Numpy to the latest version we've got one change which
breaks Numpy compilcation in some cases.

This change back-ports upstream fix from:
https://github.com/numpy/numpy/pull/9740

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agolibkcapi: bump version to 0.14.0
Marcin Nowakowski [Fri, 22 Sep 2017 06:20:20 +0000 (08:20 +0200)]
libkcapi: bump version to 0.14.0

Switch from github hash to an official release.

Several upstream patches are required to build the code correctly
on all platforms supported by buildroot.

The test application now uses fork().

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
[Arnout: Squash the two patches, MMU dependency was introduced with the
         version bump.
         Wrap assignments in libkcapi.mk differently.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/ngircd: fix pam support
Bernd Kuhls [Sun, 24 Sep 2017 15:46:41 +0000 (17:46 +0200)]
package/ngircd: fix pam support

Fix type introduced by
https://git.buildroot.net/buildroot/commit/?id=13755ca3056e4793e483c2ec634c06ac017088d2

Fixes
http://autobuild.buildroot.net/results/461/461fa08ef11dc4ae8074a2d634138e4fcfaa8d16/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2017.02.6
Peter Korsgaard [Sun, 24 Sep 2017 20:17:59 +0000 (22:17 +0200)]
Update for 2017.02.6

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8ee6c1d60ebe1285e7f07afa0f8f9107ce0b3506)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2017.02.6
Peter Korsgaard [Sun, 24 Sep 2017 20:47:01 +0000 (22:47 +0200)]
docs/website: update for 2017.02.6

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibidn: fix build without makeinfo
Baruch Siach [Sat, 23 Sep 2017 19:47:54 +0000 (22:47 +0300)]
libidn: fix build without makeinfo

Build fails when the makeinfo utility is not installed on the host.

Fixes:
http://autobuild.buildroot.net/results/dfd/dfdfb34ed81ba3a4b7a7271be482e75eca849dbf/
http://autobuild.buildroot.net/results/b33/b33c0b0e6b1033ab1d1294a91b869ee6adcd391a/
http://autobuild.buildroot.net/results/940/9401cc10f6da6a2e3453ebc65ce573c370733fb5/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolua-markdown: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:32 +0000 (09:59 +0200)]
lua-markdown: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: name the files lua-markdown instead of lua-mardown]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agolua-sailor: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:28 +0000 (09:59 +0200)]
lua-sailor: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: rewrap help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agolua-valua: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:27 +0000 (09:59 +0200)]
lua-valua: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: rewrap help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agolua-datafile: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:26 +0000 (09:59 +0200)]
lua-datafile: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agolua-curl: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:25 +0000 (09:59 +0200)]
lua-curl: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoluaposix: bump to version 34.0.1
Francois Perrad [Sun, 24 Sep 2017 07:59:24 +0000 (09:59 +0200)]
luaposix: bump to version 34.0.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/imx6q-sabresd_defconfig: Switch to SPL boot
Fabio Estevam [Sat, 16 Sep 2017 13:12:12 +0000 (10:12 -0300)]
configs/imx6q-sabresd_defconfig: Switch to SPL boot

U-Boot 2017.07 has switched to SPL boot, which allows the same binary to
boot on imx6dl, imx6q and imx6qp sabresd boards.

Switch to the SPL mechanism.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoimx: Introduce an SPL genimage template
Fabio Estevam [Sat, 16 Sep 2017 13:12:11 +0000 (10:12 -0300)]
imx: Introduce an SPL genimage template

Introduce a genimage template for booting SPL + u-boot.img U-Boot
binaries.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/mpfr: bump to version 3.1.6
Bernd Kuhls [Thu, 21 Sep 2017 16:45:36 +0000 (18:45 +0200)]
package/mpfr: bump to version 3.1.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopython-lxml: bump to version 4.0.0
Yegor Yefremov [Thu, 21 Sep 2017 05:40:26 +0000 (07:40 +0200)]
python-lxml: bump to version 4.0.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/sysklogd: add systemd services
Petr Kulhavy [Wed, 20 Sep 2017 10:21:30 +0000 (12:21 +0200)]
package/sysklogd: add systemd services

Sysklogd had only SYSV init scripts. Add systemd service files to start
klogd and syslogd.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/rsyslog: fix wrong symlink for systemd service
Petr Kulhavy [Wed, 20 Sep 2017 10:10:34 +0000 (12:10 +0200)]
package/rsyslog: fix wrong symlink for systemd service

The symlink to /etc/systemd/system/syslog.service was pointing 4 levels up
to /usr/lib instead of 3 levels up.

This wasn't an issue on the actual system (/../ equals to / ) but was causing a
deadlink in the TARGET directory.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/pulseaudio: bump version to 11.1
Bernd Kuhls [Tue, 19 Sep 2017 17:35:42 +0000 (19:35 +0200)]
package/pulseaudio: bump version to 11.1

Dependency to json-c was dropped, updated reverse dependencies as well
and added optional dependency to libatomic_ops
https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/configure.ac#n250
when __sync_bool_compare_and_swap is not available.

Removed patch applied upstream:
0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/protobuf-c: bump version to 1.3.0
Bernd Kuhls [Sun, 17 Sep 2017 18:47:09 +0000 (20:47 +0200)]
package/protobuf-c: bump version to 1.3.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoprotobuf, python-protobuf: bump to v3.4.1
Bernd Kuhls [Sun, 17 Sep 2017 18:47:08 +0000 (20:47 +0200)]
protobuf, python-protobuf: bump to v3.4.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/poco: Update check for uclibc toolchain
Bernd Kuhls [Sun, 17 Sep 2017 17:58:18 +0000 (19:58 +0200)]
package/poco: Update check for uclibc toolchain

LIBC is really only used to construct the target tuple. To check if we
are using a uClibc toolchain, we use BR2_TOOLCHAIN_USES_UCLIBC.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/poco: bump version to 1.7.9
Bernd Kuhls [Sun, 17 Sep 2017 17:58:17 +0000 (19:58 +0200)]
package/poco: bump version to 1.7.9

Removed patch applied upstream:
https://github.com/pocoproject/poco/commit/30159aea4b3f6421da9d74a8bf22aad6d3bf26b4

Renumbered remaining patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/pinentry: added optional support for qt5
Bernd Kuhls [Sun, 17 Sep 2017 17:09:58 +0000 (19:09 +0200)]
package/pinentry: added optional support for qt5

Upstream added support for qt5:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=commit;h=abb59f50abf698ff1e56490fb39bcc98c26ab44b

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: completely separate qt4 and qt5 in the .mk file instead of
 making a complicated mix.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agobash: fix static build
Baruch Siach [Mon, 18 Sep 2017 18:30:27 +0000 (21:30 +0300)]
bash: fix static build

When building bash statically, configure does not initialize the
SHOBJ_STATUS variable. The SHOBJ_STATUS make variable in
examples/loadables/Makefile.in must resolve to either 'supported' or
'unsupported'. Otherwise, the install-$(SHOBJ_STATUS) target does not
exist.

This leads to the following build failure:

make[2]: Entering directory '.../output/build/bash-4.4/examples/loadables'
make[2]: *** No rule to make target 'install-', needed by 'install'.  Stop.
make[2]: Leaving directory '.../output/build/bash-4.4/examples/loadables'
Makefile:793: recipe for target 'install' failed

with the following defconfig:

BR2_arm=y
BR2_STATIC_LIBS=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BASH=y

Note that this doesn't terminate the build so it's not detected as an
error by the autobuilders.

Set SHOBJ_STATUS in the configure environment as a workaround.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/openobex: bump version to 1.7.2
Bernd Kuhls [Sat, 16 Sep 2017 15:15:35 +0000 (17:15 +0200)]
package/openobex: bump version to 1.7.2

Package switched to cmake without providing most of the autoconf
options previously available. Therefore we move all suboptions to
Config.in.legacy.

All patches are removed, the files to be patched do not exist anymore.

OPENOBEX_EXTRACT_CMDS is not needed anymore, upstream provides the
source as .tar.gz now.

Version 1.6 added support for libusb-1.x and udev. The current version
also supports bluez5_utils, not only bluez_utils.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: add help text to legacy options]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/openmpi: bump version to 1.10.7
Bernd Kuhls [Sat, 16 Sep 2017 14:20:22 +0000 (16:20 +0200)]
package/openmpi: bump version to 1.10.7

Added sha256 hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/opencv3: bump version to 3.3.0
Bernd Kuhls [Sat, 16 Sep 2017 13:56:06 +0000 (15:56 +0200)]
package/opencv3: bump version to 3.3.0

Removed patch applied upstream:
https://github.com/opencv/opencv/commit/e16227b53cabab1caa4b7aba8ff59a630528348f

In-source-builds are not allowed anymore:
https://github.com/opencv/opencv/commit/a07d8a89b6b38b1a1f35ac808955dab97985becb

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agompv: bump version to 0.27.0
Mahyar Koshkouei [Thu, 14 Sep 2017 15:02:37 +0000 (16:02 +0100)]
mpv: bump version to 0.27.0

Includes some fixes for the Raspberry Pi, amongst many others.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoffmpeg: Add support for hardware accelaration on RPi
Mahyar Koshkouei [Thu, 14 Sep 2017 15:01:56 +0000 (16:01 +0100)]
ffmpeg: Add support for hardware accelaration on RPi

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
[Arnout: wrap the long line]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agorpi-userland: bump to latest version
Mahyar Koshkouei [Thu, 14 Sep 2017 15:00:27 +0000 (16:00 +0100)]
rpi-userland: bump to latest version

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agodocs: clarify <packagename>_PATCH behaviour
Alexander Mukhin [Thu, 14 Sep 2017 14:47:42 +0000 (17:47 +0300)]
docs: clarify <packagename>_PATCH behaviour

Reiterate once more that <packagename>_PATCH variable can point
to an arbitrary URL, not just to a path relative to <packagename>_SITE.

While we're at it, also explain that the patch should be added to the
.hash file.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
[Arnout: add sentence about .hash file.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/tslib: update to 1.13
Martin Kepplinger [Thu, 14 Sep 2017 07:20:33 +0000 (09:20 +0200)]
package/tslib: update to 1.13

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

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/lvm2: add missing host-pkgconf dependency
Romain Naour [Wed, 13 Sep 2017 20:17:55 +0000 (22:17 +0200)]
package/lvm2: add missing host-pkgconf dependency

configure.ac use PKG_CHECK_MODULES macro to find some libraries dependencies.
So add host-pkgconf in LVM2_DEPENDENCIES.

Fixes:
checking pkg-config is at least version 0.9.0... ./configure: line 9875: [...]/host/bin/pkg-config: No such file or directory

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/nvidia-driver: bump version to 384.69
Bernd Kuhls [Wed, 13 Sep 2017 18:45:44 +0000 (20:45 +0200)]
package/nvidia-driver: bump version to 384.69

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/nvidia-driver: depends on xlib_libX11 & xlib_libXext
Bernd Kuhls [Wed, 13 Sep 2017 18:45:43 +0000 (20:45 +0200)]
package/nvidia-driver: depends on xlib_libX11 & xlib_libXext

Fix libglu build error

  CXXLD    libGLU.la
/home/buildroot/br4/output/host/lib/gcc/i586-buildroot-linux-gnu/6.4.0/../../../../i586-buildroot-linux-gnu/bin/ld: cannot find -lXext
/home/buildroot/br4/output/host/lib/gcc/i586-buildroot-linux-gnu/6.4.0/../../../../i586-buildroot-linux-gnu/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_NVIDIA_DRIVER=y
BR2_PACKAGE_LIBGLU=y

The nvidia binary blob is linked to libX11.so & libEext.so

$ output/host/bin/i586-buildroot-linux-gnu-readelf -a output/target/usr/lib/libGL.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libnvidia-tls.so.381.09]
 0x00000001 (NEEDED)                     Shared library: [libnvidia-glcore.so.381.09]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]

which is also reflected by Libs-section of package/nvidia-driver/gl.pc.

To allow other packages linking to libGL.so provided by this package we
need to reflect the fact that xlib_libX11 & xlib_libXext are not
runtime-only dependencies.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/libglu: needs host-pkgconf
Bernd Kuhls [Wed, 13 Sep 2017 18:45:42 +0000 (20:45 +0200)]
package/libglu: needs host-pkgconf

Fix build error

>>> libglu 9.0.0 Autoreconfiguring
configure.ac:50: error: Could not locate the pkg-config autoconf macros.
  These are usually located in /usr/share/aclocal/pkg.m4. If your macros
  are in a different location, try setting the environment variable
  ACLOCAL="aclocal -I/other/macro/dir" before running autoreconf.
configure.ac:50: the top level
autom4te: /home/buildroot/br4/output/host/bin/m4 failed with exit status: 1

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_NVIDIA_DRIVER=y
BR2_PACKAGE_LIBGLU=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agowebkitgtk: Allow toggling WebDriver support
Adrian Perez de Castro [Wed, 13 Sep 2017 16:51:21 +0000 (19:51 +0300)]
webkitgtk: Allow toggling WebDriver support

Version 2.18.x includes support for remotely controlling WebKitGTK+
based browsers using the standard WebDriver API. Typically this is used
by Web developers, and in most cases it will be desirable to disable it
from builds.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agowebkitgtk: update to version 2.18.0
Adrian Perez de Castro [Wed, 13 Sep 2017 16:51:20 +0000 (19:51 +0300)]
webkitgtk: update to version 2.18.0

Release notes:
    https://webkitgtk.org/2017/09/11/webkitgtk2.18.0-released.html

No corresponding WebKit Security Advisory (WSA) has been published.

All patches have been applied upstream.

This also bumps the required target GCC version, due to the WebKit code
now using more modern C++ features which were introduced in version
5.x of the compiler.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Arnout:
 - propagate dependency to midori;
 - mention in commit message why patches were removed.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/nodejs: bump version to 8.5.0
Bernd Kuhls [Wed, 13 Sep 2017 14:17:33 +0000 (16:17 +0200)]
package/nodejs: bump version to 8.5.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/libuv: bump version to 1.14.1
Bernd Kuhls [Wed, 13 Sep 2017 14:17:32 +0000 (16:17 +0200)]
package/libuv: bump version to 1.14.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopython-six: add host variant
Julien Floret [Wed, 13 Sep 2017 13:20:55 +0000 (15:20 +0200)]
python-six: add host variant

While currently there is no in-tree Buildroot package which depends on
host-python-six, it can be needed to build external packages.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Tested-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/nmap: bump version to 7.60
Bernd Kuhls [Wed, 13 Sep 2017 13:13:15 +0000 (15:13 +0200)]
package/nmap: bump version to 7.60

Version 7.60 added optional support for libssh2:
http://seclists.org/nmap-announce/2017/4

Switched _SITE to https

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/ngircd: add optional support for linux-pam
Bernd Kuhls [Wed, 13 Sep 2017 12:29:58 +0000 (14:29 +0200)]
package/ngircd: add optional support for linux-pam

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/ngircd: make zlib an optional dependency
Bernd Kuhls [Wed, 13 Sep 2017 12:29:57 +0000 (14:29 +0200)]
package/ngircd: make zlib an optional dependency

zlib is not a hard dependency:
https://github.com/ngircd/ngircd/blob/master/configure.ng#L256

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/ngircd: add optional support for gnutls
Bernd Kuhls [Wed, 13 Sep 2017 12:29:56 +0000 (14:29 +0200)]
package/ngircd: add optional support for gnutls

openssl and gnutls can not be enabled at the same time:
https://github.com/ngircd/ngircd/blob/master/configure.ng#L449

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/ngircd: add optional dependency to openssl
Bernd Kuhls [Wed, 13 Sep 2017 12:29:55 +0000 (14:29 +0200)]
package/ngircd: add optional dependency to openssl

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/ngircd: bump version to 24
Bernd Kuhls [Wed, 13 Sep 2017 12:29:54 +0000 (14:29 +0200)]
package/ngircd: bump version to 24

Switched _SITE to https, added patch to fix compile error.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/slang: bump version to 2.3.1a
Bernd Kuhls [Wed, 13 Sep 2017 11:38:04 +0000 (13:38 +0200)]
package/slang: bump version to 2.3.1a

Switched to bz2 tarball, upstream does not provide a gz tarball anymore.

Rebased 0001-slsh-libs.patch according to
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/slang/files/slang-2.3.1-slsh-libs.patch

Removed patches applied upstream:
0002-Enable-a-statically-linked-version-of-slsh.patch
0003-Disable-module-support-in-the-statically-linked-version-of-slsh.patch
0005-make-install-static-do-install-pkgconfig-as-install-.patch

Removed 0004-Rename-posix_close-function-to-posix_close_slfile.patch
after upstream committed a different solution, Alpine Linux did the
same when bumping to 2.3.1:
https://git.alpinelinux.org/cgit/aports/commit/main/slang?id=d4d252e4dea77c868259b0ef1f3d9cfbe6dc2152

Added sha256 hash and license file hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: Added sha256 hash and license file hash.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/neard: bump version to 0.16
Bernd Kuhls [Wed, 13 Sep 2017 10:41:51 +0000 (12:41 +0200)]
package/neard: bump version to 0.16

Added systemd support needed after upstream commit
https://git.kernel.org/pub/scm/network/nfc/neard.git/commit/?id=ffc849bc1c83f0c9f31cbdf9bf843cf245496183

Fixed broken link in Config.in help section.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agorpi-firmware: bump to latest version
Mahyar Koshkouei [Wed, 13 Sep 2017 10:19:09 +0000 (11:19 +0100)]
rpi-firmware: bump to latest version

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/librsync: not available in static builds
Bernd Kuhls [Wed, 13 Sep 2017 10:18:23 +0000 (12:18 +0200)]
package/librsync: not available in static builds

Upstream only supports shared builds:
https://github.com/librsync/librsync/blob/master/CMakeLists.txt#L319

Fixes
http://autobuild.buildroot.net/results/4b8/4b8db2d520373d0c9127e0d7695b5aeda6925dc5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopkg-download: remove explicit PKG_VERSION from github helper
Marcin Nowakowski [Thu, 7 Sep 2017 06:31:06 +0000 (08:31 +0200)]
pkg-download: remove explicit PKG_VERSION from github helper

Currently it is always required to add package version as an argument to
the github helper. Since the version is always defined as PKG_VERSION,
drop this argument and generate it automatically inside the helper
routine.

The github helper function is extended to support both 2 and 3 argument
variants (ie. either use the provided package version argument or
automatically substitute with PKG_VERSION if not available), which can
make the transition of the package files easier as well allows using the
3-argument variant outside of package definitions.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoshairport-sync: fix static link with mbedtls
Baruch Siach [Tue, 5 Sep 2017 19:05:25 +0000 (22:05 +0300)]
shairport-sync: fix static link with mbedtls

mbedtls provided libraries are interdependent. libmbedtls depends on
libmbedx509. Both depend on libmbedcrypto. When compression is enabled
libz is also needed.

Fixes:
http://autobuild.buildroot.net/results/79d/79d9aff5edb6a767c38efb54256a4f20fc36a6ee/

Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agowsapi: fix Lua 5.3 compatibility
Francois Perrad [Sun, 24 Sep 2017 07:59:31 +0000 (09:59 +0200)]
wsapi: fix Lua 5.3 compatibility

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: use git-formatted patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoorbit: mark as only with Lua 5.1
Francois Perrad [Sun, 24 Sep 2017 07:59:30 +0000 (09:59 +0200)]
orbit: mark as only with Lua 5.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agolbase64: build as generic-package instead of luarocks
Francois Perrad [Sun, 24 Sep 2017 07:59:29 +0000 (09:59 +0200)]
lbase64: build as generic-package instead of luarocks

The author of lbase64 maintains 3 separate versions of the package for
the 3 Lua versions. Only the 5.1 version is uploaded to luarocks, so
that is the one we currently support in Buildroot.

However, the three versions are nearly identical. With a small patch,
this allows us to support all Lua versions from a single tarball.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agogst1-plugins-bad: fix build against openjpeg 2.2
Peter Seiderer [Fri, 8 Sep 2017 13:31:56 +0000 (15:31 +0200)]
gst1-plugins-bad: fix build against openjpeg 2.2

Add upstream patch to fix build against openjpeg 2.2.

Fixes [1]:

  gstopenjpeg.h:42:37: fatal error: openjpeg-2.1/openjpeg.h: No such file or directory

[1] http://autobuild.buildroot.net/results/90f1f7838f08e3a557be27470406d4d84dbcc828

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmbim: fix build with musl libc
Aleksander Morgado [Mon, 11 Sep 2017 08:55:33 +0000 (10:55 +0200)]
libmbim: fix build with musl libc

Patch applied upstream:
  https://cgit.freedesktop.org/libmbim/libmbim/commit/?id=417b0b80023dc30d61c111ec0a54da2884d3a541

Fixes:
http://autobuild.buildroot.net/results/dc1/dc11a3dfd18bb7f5078de00412de82de3cce3c48

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
[Arnout: rework commit message]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/mdadm: not available in static builds
Bernd Kuhls [Mon, 4 Sep 2017 04:49:54 +0000 (06:49 +0200)]
package/mdadm: not available in static builds

http://git.neil.brown.name/?p=mdadm.git;a=commitdiff;h=7716570e6d906e7326f83d466f6ba73009649d03#patch9
added code to include dlfcn.h.

Fixes
http://autobuild.buildroot.net/results/163/163ad5a9f976662be8ca8664f91254f90fca8439/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs: new raspberrypi3 qt5we config
Gaël PORTAY [Tue, 15 Aug 2017 20:38:54 +0000 (16:38 -0400)]
configs: new raspberrypi3 qt5we config

This config sets Qt5 WebEngine for raspberrypi 3.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoqt5webengine: new package
Gaël PORTAY [Tue, 15 Aug 2017 20:38:53 +0000 (16:38 -0400)]
qt5webengine: new package

This patch is based on works [1] and [2].

With this patch, one can run the Qt5 WebEngine quicknanobrowser sample
with the following options.

BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" and
BR2_TOOLCHAIN_BUILDROOT_CXX (Qt 5 needs a toolchain w/ wchar, NPTL, C++,
dynamic library; for now it builds only with glibc)
BR2_PACKAGE_LIBERATION (Qt needs at least one font)
BR2_PACKAGE_QT5BASE_EXAMPLES (to install quicknanobrowser sample)
BR2_PACKAGE_QT5BASE_GIF (do display gif)
BR2_PACKAGE_QT5BASE_JPEG (do display jpeg)
BR2_PACKAGE_QT5BASE_PNG (do display png)
BR2_PACKAGE_QT5QUICKCONTROLS (needed by webengine)
BR2_PACKAGE_QT5QUICKCONTROLS2 (needed by webengine)
BR2_PACKAGE_QT5WEBENGINE (because it is what we want)

Qt WebEngine requires an Open(E)GL-capable backend. As an example, the
package rpi-userland must be enabled to build for a rpi.

BR2_PACKAGE_RPI_USERLAND (to enable OpenGL ES backend)

To browse for HTTPS websites, please consider adding the following
options as well for SSL/TLS.

BR2_PACKAGE_CA_CERT (for certificates)
BR2_PACKAGE_NTPD (to sync date for certificates)

Since version 5.9, chromium requires udev at runtime (see note 4).

BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV (input backend)

To run quicknanobrowser

# cd /usr/lib/qt/examples/webengine/quicknanobrowser/
# ./quicknanobrowser https://www.buildroot.org/

Note: The chromium.inc has been generated using the following command.

( echo 'CHROMIUM_LICENSE_FILES = \' &&
  cd output/build/qt5webengine-5.9.1/ && \
  find "src/3rdparty/chromium/" -type f -iname "*LICENSE*" -o -iname "*COPYING*" -o -iname "*GPL*" | \
  sed -e '/\.asm$/d' \
      -e '/\.h$/d' \
      -e '/\.c$/d' \
      -e '/\.cc$/d' \
      -e '/\.cpp$/d' \
      -e '/\.pyc\?$/d' \
      -e '/\.pl$/d' \
      -e '/\.sha1$/d' \
      -e '/\.patch$/d' \
      -e '/licensecheck/d' \
      -e 's,^,\t,' \
      -e 's,$, \\,' | \
  sort && \
  echo '' ) >package/qt5/qt5webengine/chromium.inc

Note 2: Since 5.9.1, the chromium's copy of opus fails with neon [3].
Qt WebEngine can uses buildroot ffmpeg copy which compiles fine (using
qmake flag WEBENGINE_CONFIG+=use_system_ffmpeg). It implies selecting
the following options.

BR2_PACKAGE_FFMPEG
BR2_PACKAGE_OPUS
BR2_PACKAGE_LIBVPX
BR2_PACKAGE_WEBP
BR2_PACKAGE_WEBP_DEMUX

In file included from ../../3rdparty/chromium/third_party/opus/src/silk/arm/NSQ_neon.c:31:0:
/home/gportay/src/buildroot/output-rpi3-qt5.9/host/lib/gcc/arm-buildroot-linux-gnueabihf/6.4.0/include/arm_neon.h:8997:1: error: inlining failed in call to always_inline ‘vld1q_s32’: target specific option mismatch
 vld1q_s32 (const int32_t * __a)
 ^~~~~~~~~
../../3rdparty/chromium/third_party/opus/src/silk/arm/NSQ_neon.c:40:15: note: called from here
     int32x4_t coef0 = vld1q_s32(coef32);
       ^~~~~
../../3rdparty/chromium/third_party/opus/src/silk/arm/NSQ_neon.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-#pragma-messages’

Note 3: Version 5.6.2 causes a build issue while building chromium. The
build against this version is disabled until the release 5.6.3 is out.

Note 4: Here is trace when udev does not run

# cd /usr/lib/qt/examples/webengine/quicknanobrowser
# ./quicknanobrowser
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
[0101/000248.161973:WARNING:resource_bundle_qt.cpp(114)] locale_file_path.empty() for locale
[0101/000248.384693:WARNING:resource_bundle_qt.cpp(114)] locale_file_path.empty() for locale
[202:223:0101/000248.484954:FATAL:udev_loader.cc(38)] Check failed: false.
#0 0x0000742b93de <unknown>
#1 0x0000742c3c38 <unknown>
#2 0x000073e1e1aa <unknown>
#3 0x000073e1d96e <unknown>
#4 0x000073e1defa <unknown>
#5 0x000074af6364 <unknown>
#6 0x000074302878 <unknown>
#7 0x0000742c8fee <unknown>
#8 0x0000742c9f44 <unknown>
#9 0x0000742ca21e <unknown>
#10 0x0000742cac4c <unknown>
#11 0x0000742c87b2 <unknown>
#12 0x0000742da4f6 <unknown>
#13 0x000073ed9d38 <unknown>
#14 0x000073eda03c <unknown>
#15 0x0000742e9aec <unknown>
#16 0x0000742e71dc <unknown>

Aborted

Note 5: On rpi and depending on what is insinde the .config, more GPU
memory should be allocated to run properly qt samples.

#0 0x0000742c63de <unknown>
#1 0x0000742d0c38 <unknown>
#2 0x0000749d7bde <unknown>
#3 0x0000749e3c70 <unknown>
#4 0x00007530227c <unknown>
#5 0x000075302480 <unknown>
#6 0x0000752fb1e4 <unknown>
#7 0x00007430f878 <unknown>
#8 0x0000742d5fee <unknown>
#9 0x0000742d6f44 <unknown>
#10 0x0000742d721e <unknown>
#11 0x0000742d7ad6 <unknown>
#12 0x0000742d57b2 <unknown>
#13 0x0000742e74f6 <unknown>
#14 0x0000742f6a74 <unknown>
#15 0x0000742f41dc <unknown>

Received signal 6
#0 0x0000742c63de <unknown>
#1 0x0000742c66a0 <unknown>
#2 0x0000725b5d10 <unknown>
[end of stack trace]
qml: Render process exited with code 256 (abnormal exit)

# mount /dev/mmcblk0p1 /mnt
# sed '/^gpu_mem_/s,=.*,=200,' -i /mnt/config.txt
# umount /mnt

Note 6: The first patch fixes a build issue when samples are compiled
without the support of printing [4]. This patch is already merged in
branch 5.9 [5] and concerns only 5.9.1.

085c2c52 Always compile QWebEnginePage::print

It fixes the error below.

.obj/browsermainwindow.o: In function `BrowserMainWindow::printRequested(QWebEnginePage*)': browsermainwindow.cpp:(.text+0x2cc0): undefined reference to `QWebEnginePage::print(QPrinter*, QWebEngineCallback<bool> const&)'

The second patch loads both libEGL and libGLESv2 symbols implicitly
instead of loading them with explicitly using hard-coded locations. It
fixes a bug when providers of lib*GL does not create libraries named
libEGL.so.1 and libGLESv2.s2 [6]. This patch is already merged in branch
5.9 [7].

d4c621f6 Load libEGL and libGLES2 symbols implicitly

It fixes the error below.

[327:347:1221/085837:ERROR:surface_factory_qt.cpp(68)] Failed to load /usr/lib/libGLESv2.so.2: /usr/lib/libGLESv2.so.2: cannot open shared object file: No such file or directory

[1]: http://lists.busybox.net/pipermail/buildroot/2015-July/132010.html
[2]: https://patchwork.ozlabs.org/patch/640633/
[3]: https://patchwork.ozlabs.org/patch/791332/
[4]: https://bugreports.qt.io/browse/QTBUG-61510
[5]: https://codereview.qt-project.org/#/c/198041/
[6]: https://bugreports.qt.io/browse/QTBUG-57761
[7]: https://codereview.qt-project.org/#/c/199554/

Cc: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
[Arnout:
 - move more dependencies to _ARCH_DEPENDS;
 - mention all toolchain dependencies in the comments]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agomtd-utils: add mtd test tools
Miquel Raynal [Mon, 14 Aug 2017 20:21:50 +0000 (22:21 +0200)]
mtd-utils: add mtd test tools

Add the possibility to choose more test tools than only integck
from the MTD utils test-suite.

Move the hidden BR2_PACKAGE_MTD_TESTS configuration to the bottom
of the page and make it visible. When checked, a new list of available
binaries is displayed and may be selected and compiled into the image
with the --enable-install-tests configure script option:
- flash_torture
- flash_stress
- flash_speed
- nandbiterrs
- flash_readtest
- nandpagetest
- nandsubpagetest

Most of these tests may be performed by inserting kernel modules
which are almost legacy so having the userspace tools available
might become useful.

Legacy handling for users who had BR2_PACKAGE_MTD_INTEGCK selected is
not needed: they also have the BR2_PACKAGE_MTD_TESTS option enabled in
their .config. That option has now become a selectable option so it is
not removed any more by oldconfig.

Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
[Arnout:
 - fix threads and MMU dependency;
 - order Config.in options and mtd.mk lines alphabetically;
 - add note on legacy handling to commit message.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
fixup

6 years ago.gitlab-ci.yml: update after adding bananapi_m2_plus_defconfig
Arnout Vandecappelle (Essensium/Mind) [Sat, 23 Sep 2017 18:51:46 +0000 (20:51 +0200)]
.gitlab-ci.yml: update after adding bananapi_m2_plus_defconfig

Commit cef57c964284f9b545a2347dd6eb1654e03dfd6e added
bananapi_m2_plus_defconfig but forgot to update .gitlab-ci.yml. Do it
now.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoboot/grub: remove
Yann E. MORIN [Fri, 11 Aug 2017 16:05:08 +0000 (18:05 +0200)]
boot/grub: remove

grub is no longer maintained: it is stuck at version 0.97 with huge
patches that have no opportunity to be applied upstream, as upstream
has even renamed it grub-legacy.

Besides, it no longer builds correctly with recent binutils versions,
and even the huge patches we could grab from Debian do not help the
slightest.

Since upstream really considers it dead, and there are at least two
alternatives (grub2 and syslinux), just remove grub.

Add a legacy entry.

Remove the test cases as well.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agofs/iso9660: remove support for grub
Yann E. MORIN [Fri, 11 Aug 2017 16:10:15 +0000 (18:10 +0200)]
fs/iso9660: remove support for grub

grub will be removed soon.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoopenjpeg: fix build without C++ support
Peter Korsgaard [Sat, 23 Sep 2017 17:18:12 +0000 (19:18 +0200)]
openjpeg: fix build without C++ support

Fixes:
http://autobuild.buildroot.net/results/e2f/e2ff0a7fa2b911157edf6c43a8eed797b22edd46/
http://autobuild.buildroot.net/results/670/6706339e7df2f2e7d0d7a15663bed185ca55c2a1/

Openjpeg is written in C, but with the move to CMake the build system now
errors out if a C++ compiler isn't available.  Fix it by patching the
CMakeLists.txt to not require C++ support.

Patch submitted upstream:
https://github.com/uclouvain/openjpeg/pull/1027

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>