buildroot.git
6 years agoqt5charts: bump hash for 5.11.0
Gaël PORTAY [Mon, 18 Jun 2018 22:49:07 +0000 (18:49 -0400)]
qt5charts: bump hash for 5.11.0

The hash bump was missing commit 4fbb2d143d (qt5: bump latest version to
5.11.0).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5charts: allow to build with qt5.6
Gaël PORTAY [Mon, 18 Jun 2018 22:49:06 +0000 (18:49 -0400)]
qt5charts: allow to build with qt5.6

This module is available for Qt 5.6 since version 5.6.3 under the
version number 2.1.3.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: ARC version is based on GDB 8.0, needs C++11 support
Thomas Petazzoni [Mon, 25 Jun 2018 19:54:43 +0000 (21:54 +0200)]
gdb: ARC version is based on GDB 8.0, needs C++11 support

The special gdb version used for ARC is based on GDB 8.0, so it needs
C++11 support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain: bump ARC tools to arc-2018.03 release
Evgeniy Didin [Mon, 25 Jun 2018 15:45:35 +0000 (18:45 +0300)]
toolchain: bump ARC tools to arc-2018.03 release

This commit finally bumps ARC tools to the most recent arc-2018.03
release version.

ARC GNU tools of version arc-2018.03 bring some quite significant
changes like:
* Binutils v2.29.51 with additional ARC patches
* GCC 7.3.1 with additional ARC patches
* GDB 8.0.50 with ARC patches

More information on this release could be found here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.03-release

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: add patch to fix noMMU build issue
Thomas Petazzoni [Mon, 25 Jun 2018 08:07:38 +0000 (10:07 +0200)]
gdb: add patch to fix noMMU build issue

This commit adds a patch to fix a build issue encountered on noMMU
architectures when building gdbserver, due to the use of fork()
instead of vfork().

The patch has been submitted upstream:

  https://sourceware.org/ml/gdb-patches/2018-06/msg00569.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-libconfig: fix build with boost 1.67
Fabrice Fontaine [Sun, 24 Jun 2018 17:50:45 +0000 (19:50 +0200)]
python-libconfig: fix build with boost 1.67

Since boost 1.67, python3 boost library is boost_python36.so instead of
boost_python3.so so update first patch

Fixes:
 - http://autobuild.buildroot.net/results/6f973f2945727b302409405288ef0b9808c7317b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/solidrun_clearfog: bump kernel and bootloader
Baruch Siach [Mon, 25 Jun 2018 16:20:17 +0000 (19:20 +0300)]
configs/solidrun_clearfog: bump kernel and bootloader

Update the kernel version to 4.17.2.

Update U-Boot version to 2018.05.

Migrate to U-Boot generic distro configuration which is easier than the
hand written boot script.

Improve the 'dd' command example in readme.txt.

Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: add option for contract library
Fabrice Fontaine [Sun, 24 Jun 2018 18:24:43 +0000 (20:24 +0200)]
boost: add option for contract library

Contract library has been added in boost 1.67 and depends on NPTL

Fixes:
 - http://autobuild.buildroot.net/results/a3dd35cfa50a1862c585a648298351c0aba257db

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodomoticz: remove boost hack for powerpc64le
Fabrice Fontaine [Sun, 24 Jun 2018 14:15:05 +0000 (16:15 +0200)]
domoticz: remove boost hack for powerpc64le

Since boost 1.67, seed_rng.hpp has been removed:
https://github.com/boostorg/uuid/commit/a8a1ec3d826b04d2c842e79ecd18cff6a991fd29

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognuradio: bump to version 3.7.13.3
Fabrice Fontaine [Sun, 24 Jun 2018 20:12:34 +0000 (22:12 +0200)]
gnuradio: bump to version 3.7.13.3

- This bump to 3.7.13.x fixes build with boost 1.67
- Remove patch (not needed as boost unit_test_framework has been
  removed since
  https://github.com/gnuradio/volk/commit/6dda1a1e9545d24a1c6f0b2a5d4b5d018fdcbff9)
- Add host-python-mako and host-python-six dependencies
- Add hash for license file

Fixes:
 - http://autobuild.buildroot.net/results/ca3b01a13cb0c580266aae5f3673b2c0a19ac6a4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: remove 7.11
Romain Naour [Sun, 24 Jun 2018 13:53:10 +0000 (15:53 +0200)]
package/gdb: remove 7.11

Now that 8.1 has been added and 8.0 is the default version, let's
remove the old 7.11 release.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: remove 7.10
Romain Naour [Sun, 24 Jun 2018 13:53:09 +0000 (15:53 +0200)]
package/gdb: remove 7.10

Now that 8.1 has been added and 8.0 is the default version, let's
remove the old 7.10 release.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: switch to 8.0 as the default version
Romain Naour [Sun, 24 Jun 2018 13:53:08 +0000 (15:53 +0200)]
package/gdb: switch to 8.0 as the default version

8.1 is around, 8.0 has already seen a point release, so it's time to
make 8.0 the default version for gdb.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: add version 8.1
Romain Naour [Sun, 24 Jun 2018 13:53:07 +0000 (15:53 +0200)]
package/gdb: add version 8.1

https://sourceware.org/ml/gdb-announce/2018/msg00001.html

gdb 8.1 has a new optional dependency on mpfr, which according to the
NEWS file:

   GDB now uses the GNU MPFR library, if available, to emulate target
   floating-point arithmetic during expression evaluation when the
   target uses different floating-point formats than the host.  At
   least version 3.1 of GNU MPFR is required.

So for the target gdb, this is unnecessary, and therefore we
forcefully disable mpfr support by passing --without-mpfr.

For the host gdb, it would potentially be useful, but since it's a new
feature that isn't essential, we for now keep it disabled as well. An
option may be added later if needed.

To avoid gnulib issues with uClibc/musl, we need to pass additional
configure/make variables, like is done in OpenEmbedded [1].

[1] http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gdb/gdb_8.1.bb?id=02664a8dcd1ebb6cd77248e1b97a78390ea06033#n9

We re-add the same patches as the ones present for gdb 8.0.1, except
0004-nat-linux-ptrace.c-add-missing-gdb_byte-cast.patch, which was
merged upstream.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: change mpfr handling.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: rework dependency for C++11
Thomas Petazzoni [Sun, 24 Jun 2018 13:53:06 +0000 (15:53 +0200)]
package/gdb: rework dependency for C++11

As we are about to switch to 8.0 as the default gdb version, we
need to adjust how the gdb dependencies are handled. Indeed, from 8.0
onwards, gdb needs a C++11 capable compiler, i.e at least gcc 4.8.

Until now, Config.in.host was making sure that gdb 8.0 was not
selectable if the cross-compilation toolchain did not have C++ support
with gcc >= 4.8. This worked fine because the default version of gdb,
used as the target gdb version when no host gdb is built, was 7.11,
and did not require C++11.

With the switch to 8.0 as the default version, when target gdb is
enabled but not host gdb, 8.0 is used, which means we need a C++11
capable compiler. The dependencies in Config.in.host are no longer
sufficient.

So instead, we remove the target-related dependencies from
Config.in.host and move them properly to Config.in. The overall logic
is the following:

 - In Config.in.host, BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS ensures that
   we have at least host gcc 4.8 if we're on ARC, because the ARC gdb
   needs C++11. We remove the target toolchain related dependencies
   from here.

 - In Config.in.host, the version selection ensures that 8.0 cannot be
   selected if the host toolchain does not have at least gcc 4.8. We
   remove the target toolchain related dependencies from here.

 - In Config.in.host, we introduce a BR2_PACKAGE_GDB_NEEDS_CXX11
   option, that indicates whether the currently selected version of
   gdb requires C++11 support in the toolchain to build the target
   variant. Even though this option is more related to the target
   variant of gdb, we keep it in Config.in.host so that it appears
   next to the definition of BR2_GDB_VERSION, to make sure they are
   kept in sync.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agouboot: don't override HOSTCC/HOSTLDFLAGS for kconfig
Peter Korsgaard [Sun, 24 Jun 2018 14:12:42 +0000 (16:12 +0200)]
uboot: don't override HOSTCC/HOSTLDFLAGS for kconfig

So the host ncurses includes and library are used instead of a mix of both,
causing corrupted characters.  Similar to the linux fix in commit
6d3d09e23213e8 (linux: don't override HOSTCC for kconfig), except that we
pass the linker flags in HOSTLDFLAGS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodos2unix: fix static build
Baruch Siach [Sun, 24 Jun 2018 18:15:00 +0000 (21:15 +0300)]
dos2unix: fix static build

Pass the -static flag to the final link command. Otherwise, the
generated executables are not static when the external toolchain
provides both shared and static libraries.

Should also fix:
http://autobuild.buildroot.net/results/a5a/a5a64bc3ff5a91a8680ac52f3505362491923b26/
http://autobuild.buildroot.net/results/ebf/ebfe81e65751d7a5ca3aa4e20cc708a24ba65204/

Cc: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocollectd: use --disable-werror
Fabrice Fontaine [Sun, 24 Jun 2018 15:44:52 +0000 (17:44 +0200)]
collectd: use --disable-werror

Since version 5.6.0, --disable-werror is available:
https://github.com/collectd/collectd/pull/1222

So use this option, instead of adding a hook to remove it from
Makefile.in

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-tornado: bump to version 5.0.2
Jan Dohl [Wed, 13 Jun 2018 14:28:16 +0000 (16:28 +0200)]
python-tornado: bump to version 5.0.2

Tornado got a requirement on the SSL module in version 5.0.2
which is also checked in the setup.py script before installing.
Since the check in buildroot runs against the host-python which
is built without SSL support, these checks fail.

Adding OpenSSL support to host-python does not make sense since the
Python on the target will be a different one. Instead, remove the
checks (which, according to the source code comments essentially check
for Python >= 2.7.9 / Python3 >= 3.4 which is true for current
Buildroot) and select the SSL option of Python/Python3 when Tornado is
selected.

Signed-off-by: Jan Dohl <polygon@wh2.tu-dresden.de>
[Thomas: adjust commit title, convert patch to a Git formatted one.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: bump to version 1.67.0
Fabrice Fontaine [Sun, 24 Jun 2018 10:03:37 +0000 (12:03 +0200)]
boost: bump to version 1.67.0

Remove fifth patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodomoticz: bump to version 4.9700
Fabrice Fontaine [Sun, 24 Jun 2018 09:56:37 +0000 (11:56 +0200)]
domoticz: bump to version 4.9700

Remove patch (not needed anymore)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocollectd: fix license
Fabrice Fontaine [Sun, 24 Jun 2018 12:03:23 +0000 (14:03 +0200)]
collectd: fix license

- Since version 5.5, daemon is licensed under MIT:
  https://github.com/collectd/collectd/commit/889e5e6bd51d38d490289332053a238a4f1c70b3
- Plugins are licensed under MIT, GPL-2.0 or LGPL-2.1
- Add libltdl/COPYING.LIB to license files to have a copy of LGPL-2.1 as
  it is not in COPYING
- Add hash for both license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohost-protobuf-c: fix build with gcc 4.8
Fabrice Fontaine [Sun, 24 Jun 2018 08:52:19 +0000 (10:52 +0200)]
host-protobuf-c: fix build with gcc 4.8

protobuf requires C++11 so add -std=c++11 for host-protobuf-c as it is
experimental in gcc 4.8

Fixes:
 - http://autobuild.buildroot.net/results/7fe12457ccac7e8c95b1d4c1fa20d6753599742d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodavfs2: new package
Roman Gorbenkov [Fri, 22 Jun 2018 13:33:25 +0000 (15:33 +0200)]
davfs2: new package

davfs2 is a Linux file system driver that allows to
mount a WebDAV resource. WebDAV is an extension to HTTP/1.1
that allows remote collaborative authoring of Web resources.

[Peter: Add patch to drop -fstack-protector-strong and update dependencies,
Not available on musl and nommu, fixup .hash file comments,
Fix _SITE and drop autoreconf, update DEVELOPERS]
Signed-off-by: Roman Gorbenkov <roman.gorbenkov@ens2m.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf: add dependency on gcc >= 4.8
Fabrice Fontaine [Sat, 23 Jun 2018 15:32:32 +0000 (17:32 +0200)]
protobuf: add dependency on gcc >= 4.8

Since version 3.6.0, protobuf requires C++11

Fixes:
 - http://autobuild.buildroot.net/results/bb299008423edf4c65ade6c159e33c4216428bf1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomosh: fix build with protobuf 3.6.0
Fabrice Fontaine [Sat, 23 Jun 2018 19:59:45 +0000 (21:59 +0200)]
mosh: fix build with protobuf 3.6.0

protobuf now requires C++11

Fixes:
 - http://autobuild.buildroot.net/results/6e4550e080a9d558b441dcc735b6be14f39fb03f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocmake: fix build with libuv 1.21.0
Fabrice Fontaine [Sat, 23 Jun 2018 20:24:56 +0000 (22:24 +0200)]
cmake: fix build with libuv 1.21.0

Retrieve patch from
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229255#c1

Fixes:
 - http://autobuild.buildroot.net/results/86d67e5d30f7e3ba9a4932c06640a7924202d3f9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf-c: fix build with protobuf 3.6
Fabrice Fontaine [Sat, 23 Jun 2018 16:40:18 +0000 (18:40 +0200)]
protobuf-c: fix build with protobuf 3.6

Add two patches retrieved from upstream

Fixes:
 - http://autobuild.buildroot.net/results/26b84f2614f75ac101078a59afeb63bc4c0d28b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiproute2: fix rdma build
Fabrice Fontaine [Sat, 23 Jun 2018 19:25:06 +0000 (21:25 +0200)]
iproute2: fix rdma build

Retrieve upstream patch

Fixes:
 - http://autobuild.buildroot.net/results/63229f485f58be32238916cd997cbe92ac3ca953

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pcre2: bump version to 10.31
Bernd Kuhls [Sat, 23 Jun 2018 18:57:52 +0000 (20:57 +0200)]
package/pcre2: bump version to 10.31

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pcre: bump version to 8.42
Bernd Kuhls [Sat, 23 Jun 2018 18:56:44 +0000 (20:56 +0200)]
package/pcre: bump version to 8.42

Updated license hash after upstream commit
https://vcs.pcre.org/pcre/code/tags/pcre-8.42/LICENCE?r1=1674&r2=1726

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro ARMeb toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:36 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro ARMeb toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro ARM toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:35 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro ARM toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro AArch64 toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:34 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro AArch64 toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/erlang: fix host build with host-pcre package
Bernd Kuhls [Sat, 23 Jun 2018 13:34:10 +0000 (15:34 +0200)]
package/erlang: fix host build with host-pcre package

https://git.buildroot.net/buildroot/commit/?id=bd12cd7d4633200ce01663df6528fd061d64b784
added an incompletely rebased patch to fix host-erlang when pcre is
available on the host.

Fixes
http://autobuild.buildroot.net/results/484/484a54b005764958073674bf07f6a760bfedb071/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add a trailing slash for libuv
Peter Korsgaard [Sat, 23 Jun 2018 15:17:36 +0000 (17:17 +0200)]
DEVELOPERS: add a trailing slash for libuv

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: fix gdbserver build for m68k
Romain Naour [Fri, 22 Jun 2018 21:09:49 +0000 (23:09 +0200)]
package/gdb: fix gdbserver build for m68k

As for strace [1], when <sys/reg.h> is included after <linux/ptrace.h>,
the build fails on m68k with the following diagnostics:

In file included from ./../nat/linux-ptrace.h:28:0,
                 from linux-low.h:27,
                 from linux-m68k-low.c:20:
[...]/usr/include/sys/reg.h:26:3: error: expected identifier before numeric constant
   PT_D1 = 0,
   ^
[...]usr/include/sys/reg.h:26:3: error: expected « } » before numeric constant
[...]usr/include/sys/reg.h:26:3: error: expected unqualified-id before numeric constant
In file included from linux-m68k-low.c:27:0:
[...]usr/include/sys/reg.h:99:1: error: expected declaration before « } » token
 };
 ^

Fix this by moving <sys/reg.h> on top of "linux-low.h".

Fixes:
https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006385

[1] https://github.com/strace/strace/commit/6ebf6c4f9e5ebca123a5b5f24afe67cf0473cf92

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add myself to package/libuv
Asaf Kahlon [Sat, 23 Jun 2018 09:11:07 +0000 (12:11 +0300)]
DEVELOPERS: add myself to package/libuv

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowiringpi: bump version to 2.46
Atanas Palavrov Updating wiringPi to add support for RPi3B+ [Fri, 22 Jun 2018 07:33:33 +0000 (10:33 +0300)]
wiringpi: bump version to 2.46

Signed-off-by: Atanas Palavrov <palavrov@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibuv: bump to version 1.21.0
Asaf Kahlon [Sat, 23 Jun 2018 05:49:56 +0000 (08:49 +0300)]
libuv: bump to version 1.21.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agostrongswan: bump to version 5.6.3
Paresh Chaudhary [Wed, 20 Jun 2018 21:04:33 +0000 (16:04 -0500)]
strongswan: bump to version 5.6.3

Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibxml2: bump to version 2.9.8
Fabrice Fontaine [Fri, 22 Jun 2018 21:12:18 +0000 (23:12 +0200)]
libxml2: bump to version 2.9.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibnss: bump to version 3.38
Fabrice Fontaine [Fri, 22 Jun 2018 21:25:26 +0000 (23:25 +0200)]
libnss: bump to version 3.38

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoapache: add systemd init script
Fabrice Fontaine [Fri, 22 Jun 2018 21:08:58 +0000 (23:08 +0200)]
apache: add systemd init script

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-raven: bump to version 6.9.0
Joseph Kogut [Fri, 22 Jun 2018 20:01:21 +0000 (13:01 -0700)]
python-raven: bump to version 6.9.0

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf: bump to 3.6.0
Matt Weber [Wed, 20 Jun 2018 21:41:19 +0000 (16:41 -0500)]
protobuf: bump to 3.6.0

(also bumps protobuf-python)

Fixes the following issue and brauto builds
https://github.com/google/protobuf/issues/3937
http://autobuild.buildroot.net/results/982f727495c1d3524685015c34b1cbb1e0bbb4b0
http://autobuild.buildroot.net/results/adbd3088e24d7e681c995f8c3d1db0e14ac500ba

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoapache: add reload target to sysv init script
Fabrice Fontaine [Fri, 22 Jun 2018 16:36:28 +0000 (18:36 +0200)]
apache: add reload target to sysv init script

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoimx-usb-loader: make the byte swap macro more robust
Baruch Siach [Fri, 22 Jun 2018 11:44:05 +0000 (14:44 +0300)]
imx-usb-loader: make the byte swap macro more robust

The local 16-bit byte swap implementation that was introduced in commit
b05f8f439681 (imx-usb-loader: fix build with older gcc) is not robust
enough. It suffers from double evaluation, and operators precedence
breakage. Use a better implementation suggested by Arnout Vandecappelle.

Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{14, 16}.x series
Fabio Estevam [Wed, 20 Jun 2018 21:29:32 +0000 (18:29 -0300)]
linux-headers: bump 4.{14, 16}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognutls: drop wchar dependency
Baruch Siach [Fri, 22 Jun 2018 05:38:41 +0000 (08:38 +0300)]
gnutls: drop wchar dependency

Commit 19448f40a0 (gnutls: use included unistring unless libunistring is
selected) made libunistring an optional dependency.  So now gnutls no longer
depend on wchar.

Drop wchar dependency of libmicrohttpd and libsoup, which are gnutls
reverse dependencies that do not depend themselves on wchar.

Update the comments in libsoup and taskd; the wchar dependency is now
not due to gnutls.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiproute2: bump to version 4.17.0
Baruch Siach [Fri, 22 Jun 2018 04:48:32 +0000 (07:48 +0300)]
iproute2: bump to version 4.17.0

Drop upstream patch.

Cc: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agostrace: bump to version 4.23
Baruch Siach [Fri, 22 Jun 2018 03:57:53 +0000 (06:57 +0300)]
strace: bump to version 4.23

Add reference to tarball signature verification key.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoedid-decode: update upstream locations
Baruch Siach [Fri, 22 Jun 2018 03:19:28 +0000 (06:19 +0300)]
edid-decode: update upstream locations

edid-decode moved to linuxtv.org. Update homepage link and download
site.

https://www.spinics.net/lists/linux-media/msg136517.html

Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopulseaudio: remove autoreconf
Baruch Siach [Thu, 21 Jun 2018 20:11:18 +0000 (23:11 +0300)]
pulseaudio: remove autoreconf

Commit 08c7b77803285 (package/pulseaudio: bump version to 12.0) removed
configure.ac patch, but forgot to drop autoreconf. Fix that.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pulseaudio: bump version to 12.0
Bernd Kuhls [Thu, 21 Jun 2018 18:59:29 +0000 (20:59 +0200)]
package/pulseaudio: bump version to 12.0

Release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/12.0/

Added license hashes, removed all patches after being applied upstream:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=66885ad633db0f371693475c72133e91f1e09ee5
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=dfb0460fb4743aec047cdf755a660a9ac2d0f3fb

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoapache: add init sysv script
Fabrice Fontaine [Wed, 20 Jun 2018 21:00:21 +0000 (23:00 +0200)]
apache: add init sysv script

sysv init script is just a wrapper to apachectl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump version to 0.0.20180613
Peter Korsgaard [Wed, 20 Jun 2018 13:08:06 +0000 (15:08 +0200)]
wireguard: bump version to 0.0.20180613

Contains a fix for a crash when forwarding packets from devices that use
flow offloading and a x86 FPU issue on -rt kernels.

Also add a post-release upstream patch fixing a compilation issue related to
memcpy().

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/erlang: bump version to 21.0
Bernd Kuhls [Wed, 20 Jun 2018 20:33:43 +0000 (22:33 +0200)]
package/erlang: bump version to 21.0

Release notes: http://www.erlang.org/news/123

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/berkeleydb: fix build error with gcc8
Bernd Kuhls [Wed, 20 Jun 2018 19:58:04 +0000 (21:58 +0200)]
package/berkeleydb: fix build error with gcc8

Fixes

../src/dbinc/atomic.h:179:19: error: definition of 'int __atomic_compare_exchange(db_atomic_t*,
 atomic_value_t, atomic_value_t)' ambiguates built-in declaration 'bool
 __atomic_compare_exchange(unsigned int, volatile void*, void*, void*, int, int)'
 static inline int __atomic_compare_exchange(
                   ^~~~~~~~~~~~~~~~~~~~~~~~~

To reproduce the build error use this defconfig

BR2_GCC_VERSION_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_BERKELEYDB=y
BR2_PACKAGE_BERKELEYDB_COMPAT185=y
BR2_PACKAGE_BERKELEYDB_TOOLS=y

Please note that to trigger the error BR2_TOOLCHAIN_BUILDROOT_CXX=y
is needed although berkeleydb does not depend on c++.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/mx51evk: Bump U-Boot and kernel
Fabio Estevam [Tue, 19 Jun 2018 23:32:00 +0000 (20:32 -0300)]
configs/mx51evk: Bump U-Boot and kernel

Bump U-Boot to 2018.05 and kernel to 4.17.2 versions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogcc: fix uclibc runtime issue with gcc-8 for xtensa
Max Filippov [Tue, 19 Jun 2018 20:27:06 +0000 (13:27 -0700)]
gcc: fix uclibc runtime issue with gcc-8 for xtensa

gcc-8.1 for xtensa miscompiles uClibc dynamic linker due to gcc PR
target/65416. The build completes successfully, but the binary is
non-functional because the following fragment in the _dl_get_ready_to_run
in ld-uClibc.so overwrites register spill area on stack causing register
corruption in the previous call frame and a subsequent crash:

    419f:       f0c1b2          addi    a11, a1, -16
    41a2:       1ba9            s32i.n  a10, a11, 4
    41a4:       0bc9            s32i.n  a12, a11, 0
    41a6:       5127f2          l32i    a15, a7, 0x144
    41a9:       1765b2          s32i    a11, a5, 92
    41ac:       4e2782          l32i    a8, a7, 0x138
    41af:       146af2          s32i    a15, a10, 80
    41b2:       001b10          movsp   a1, a11

The crash terminates the init process and causes kernel panic.
The fix prevents reordering of movsp opcode and any access to the stack
frame memory and is applicable to all existing gcc versions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoimx-usb-loader: fix build with older gcc
Baruch Siach [Tue, 19 Jun 2018 14:44:41 +0000 (17:44 +0300)]
imx-usb-loader: fix build with older gcc

Since the last version bump imx-usb-loader uses __builtin_bswap16 which
is not universally available in gcc older than version 4.8. Add a patch
switching to a local 16-bit bytes swap implementation.

Should fix:
http://autobuild.buildroot.net/results/a63/a63b593b7ef3b6d32e755afe42b77d47dbf0276e/
http://autobuild.buildroot.net/results/48c/48c95cfc65f99fa02be81a11303ba8999f57091a/
http://autobuild.buildroot.net/results/c9d/c9d4f99b49ddb9b2ce08fce7672dd7c70cf62912/

Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobluez5_utils: bump to version 5.50
Jörg Krause [Tue, 19 Jun 2018 19:57:19 +0000 (21:57 +0200)]
bluez5_utils: bump to version 5.50

Drop upstream patch and remove `AUTORECONF = YES`.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocargo-bin: add hash for powerpc64le
Fabrice Fontaine [Tue, 19 Jun 2018 18:19:38 +0000 (20:19 +0200)]
cargo-bin: add hash for powerpc64le

Fixes:
 - http://autobuild.buildroot.net/results/1e790bd13745cc0b3f03e6182e700c07d3b8a21c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/powerpc-utils: Add sha256 hash for the COPYING file
Vasant Hegde [Tue, 19 Jun 2018 17:42:35 +0000 (23:12 +0530)]
package/powerpc-utils: Add sha256 hash for the COPYING file

Suggested-by: Peter Korsgaard <peter@korsgaard.com>
CC: Joel Stanley <joel@jms.id.au>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomosquitto: fix build with some glibc
Fabrice Fontaine [Mon, 18 Jun 2018 18:06:40 +0000 (20:06 +0200)]
mosquitto: fix build with some glibc

Add patch to define _GNU_SOURCE before using S_IF{DIR,REG}

Fixes:
 - http://autobuild.buildroot.net/results/7dcfb6ca9d14a5cd6872590065549356f1ab42a0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/freeswitch: enable mod_timerfd
Bernd Kuhls [Mon, 18 Jun 2018 20:14:00 +0000 (22:14 +0200)]
package/freeswitch: enable mod_timerfd

Mod_timerfd uses the Linux kernel timerfd API to create and use a kernel
timer that delivers timer expire notifications via a file descriptor,
for details read

https://freeswitch.org/confluence/display/FREESWITCH/mod_timerfd
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/waylandpp: bump version to 0.2.3
Bernd Kuhls [Mon, 18 Jun 2018 20:21:08 +0000 (22:21 +0200)]
package/waylandpp: bump version to 0.2.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopowerpc-utils: Bump version to 1.3.5
Vasant Hegde [Tue, 19 Jun 2018 06:00:28 +0000 (11:30 +0530)]
powerpc-utils: Bump version to 1.3.5

CC: Joel Stanley <joel@jms.id.au>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosynopsys/axs10x: Update /etc/inittab by post-build
Evgeniy Didin [Tue, 19 Jun 2018 11:30:52 +0000 (14:30 +0300)]
synopsys/axs10x: Update /etc/inittab by post-build

To not maintain custom copy of inittab file lets adopt approach
used in raspberrypi adding post-build script for synopsys/axs10x
boards.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website/download.html: fix latest LTS version number
Peter Korsgaard [Tue, 19 Jun 2018 11:45:20 +0000 (13:45 +0200)]
docs/website/download.html: fix latest LTS version number

Latest is naturally .3, not .1

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agojpeg-turbo: bump to version 1.5.3
Fabrice Fontaine [Mon, 18 Jun 2018 18:18:45 +0000 (20:18 +0200)]
jpeg-turbo: bump to version 1.5.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agojson-for-modern-cpp: bump to version 3.1.2
Fabrice Fontaine [Mon, 18 Jun 2018 18:16:24 +0000 (20:16 +0200)]
json-for-modern-cpp: bump to version 3.1.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add myself to some packages
Fabrice Fontaine [Mon, 18 Jun 2018 18:14:36 +0000 (20:14 +0200)]
DEVELOPERS: add myself to some packages

Add my entry to json-c, libsoup, libsoxr, libxslt and tinymembench

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolvm2: add license hashes
Peter Korsgaard [Mon, 18 Jun 2018 08:43:27 +0000 (10:43 +0200)]
lvm2: add license hashes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-decorator: add license file and hash
Peter Korsgaard [Mon, 18 Jun 2018 08:38:50 +0000 (10:38 +0200)]
python-decorator: add license file and hash

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2018.02.3
Peter Korsgaard [Mon, 18 Jun 2018 18:19:39 +0000 (20:19 +0200)]
docs/website: update for 2018.02.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.02.3
Peter Korsgaard [Mon, 18 Jun 2018 17:43:04 +0000 (19:43 +0200)]
Update for 2018.02.3

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f44524f61ad304e5db7cb933704bb4951ab031d3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.02.2
Peter Korsgaard [Fri, 4 May 2018 16:24:30 +0000 (18:24 +0200)]
Update for 2018.02.2

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 4acca318b1630b6aa0e1113948e7678dd902b8a3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqt5: bump latest version to 5.11.0
Gaël PORTAY [Wed, 13 Jun 2018 23:44:11 +0000 (19:44 -0400)]
qt5: bump latest version to 5.11.0

qtwayland:

Remove 0001-Fix-compilation-for-Renesas-R-Car-M3.patch (upstream
since [1]).

qtwebengine:

New 3rd-part 0001-Fix-build-with-GCC-8.1.0.patch (upstream in
chromium [2]).

[1]: https://github.com/qt/qtwayland/commit/8b204b2c56be5e7c1fd21144ae140c9b865dd86b
[2]: https://codereview.qt-project.org/#/c/229160/

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopinentry: link with libatomic when needed
Fabrice Fontaine [Thu, 14 Jun 2018 18:02:04 +0000 (20:02 +0200)]
pinentry: link with libatomic when needed

On some architectures, atomic binutils are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is often for example the case on sparcv8 32 bit.

Fixes:

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: use LIBS instead of LDFLAGS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotor: link with libatomic when needed
Fabrice Fontaine [Thu, 14 Jun 2018 18:23:19 +0000 (20:23 +0200)]
tor: link with libatomic when needed

The following error occurs on architectures required to use gcc
libatomic for atomic intrinsics:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is for example the case on sparcv8 32 bit.

Fixes:

 http://autobuild.buildroot.net/results/0f7107d0b703223f567c6749722bc82c81a04d54

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: use LIBS instead of LDFLAGS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ti-sgx-km: properly handle legacy for renamed options
Yann E. MORIN [Tue, 29 May 2018 17:31:46 +0000 (19:31 +0200)]
package/ti-sgx-km: properly handle legacy for renamed options

Commit b54c5464cc (ti-sgx-km: rename options to have proper prefix)
forgot to add defaults from legacy options, and notices in
Config.in.legacy that legacy options are still referenced in the
package itself.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibtirpc: fix musl build
Fabrice Fontaine [Sun, 10 Jun 2018 18:05:32 +0000 (20:05 +0200)]
libtirpc: fix musl build

Don't redefine existing typedef (u_char, u_long, ...) on musl

Fixes:
 - http://autobuild.buildroot.net/results/dbc07e383605a84eb19a2fd1899668612212518a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/docker: use the distro-provided flake8
Yann E. MORIN [Sun, 10 Jun 2018 15:44:58 +0000 (17:44 +0200)]
support/docker: use the distro-provided flake8

Currently, we install flake8 and its dependencies via pip. We
tried to be reproducible by pinning the version of those python
packages, but we did forget quite a few of them, and thus some
dependencies for flake8 are installed as uncontrolled versions.

Furthermore, before we install flake8 and its dependencies, we
forcibly update pip, setuptools, and wheels packages to their
latest versions. This explicitly breaks reproducibility.

While we could enforce a specific version of all those packages
and still grab them from PyPI, we can simply grab them from the
distribution-provided packages instead.

Since we're using a pinned version of stretch, this already
guarantees we'll reproducibly get the same versions over and
over again. Besides, we just need to list flake8 as a package to
install to automatically get all its dependencies (again, in a
reproducible way).

This has the slight unfortunate drawback of downgrading flake8
to version 3.2.1, from version 3.5.0, as well as downgrading a
few of flake8's dependencies, as noticed by Ricardo:
    http://lists.busybox.net/pipermail/buildroot/2018-May/222376.html

However, as Ricardo said, there isn't "any serious limitation of
this old version, the release notes for a version in the between
mentions 'Dramatically improve the performance' but we have a
limited number of scripts and running on Gitlab for all of them
still takes less than 5 minutes".

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/docker: sort the list of installed packages
Yann E. MORIN [Sun, 10 Jun 2018 15:44:57 +0000 (17:44 +0200)]
support/docker: sort the list of installed packages

As suggested in the docker best practices [0], order the package list
alphabetically, and list only one package per line.

This will be much usefull later, we need to update the list of installed
packages, like adding new ones for example.

[0] https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#sort-multi-line-arguments

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoshadowsocks-libev: add dependency on sync builtins
Min Xu [Mon, 11 Jun 2018 18:18:23 +0000 (11:18 -0700)]
shadowsocks-libev: add dependency on sync builtins

libcork (bundled inside shadowsocks-libev) uses the __sync builtins
for atomic operations: the 4-byte variant on 32 bits platforms and the
8-byte variant on 64-bits platform.

Fixes:

  http://autobuild.buildroot.net/results/552b09ffe951c429422529c895f4c3ec723cf5ab

Signed-off-by: Min Xu <xuminready@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-libwww-perl: bump to version 6.34
Francois Perrad [Sun, 17 Jun 2018 16:26:20 +0000 (18:26 +0200)]
perl-libwww-perl: bump to version 6.34

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoshadowsocks-libev: add dependency on thread support
Min Xu [Mon, 11 Jun 2018 18:18:22 +0000 (11:18 -0700)]
shadowsocks-libev: add dependency on thread support

shadowsocks-libev needs thread support, otherwise the configure script
fails with:

configure: error: Can not find pthreads.  This is required.

Signed-off-by: Min Xu <xuminready@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoshadowsocks-libev: drop the useless hash
Min Xu [Mon, 11 Jun 2018 18:18:21 +0000 (11:18 -0700)]
shadowsocks-libev: drop the useless hash

In commit f8d44394777fb9b45befaee3333d974dfe5e745d
("shadowsocks-libev: new package"), when this package was introduced,
the hash for a license file that isn't available in upstream's tarball
was added to the license file. Obviously, this hash serves no purpose,
so drop it.

Signed-off-by: Min Xu <xuminready@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agokernel-module-imx-gpu-viv: bump to version 6.2.4.p1.2
Gary Bisson [Tue, 12 Jun 2018 15:02:21 +0000 (17:02 +0200)]
kernel-module-imx-gpu-viv: bump to version 6.2.4.p1.2

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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-gpu-g2d: bump to version 6.2.4.p1.2
Gary Bisson [Tue, 12 Jun 2018 15:02:20 +0000 (17:02 +0200)]
imx-gpu-g2d: bump to version 6.2.4.p1.2

Same as imx-gpu-viv, no changelog was provided by NXP.

Tested with the following commands:
 # /usr/share/examples/g2d_samples/g2d_multiblit_test
 # /usr/share/examples/g2d_samples/g2d_overlay_test
 # /usr/share/examples/g2d_samples/g2d_test
 # gst-launch-1.0 videotestsrc ! imxg2dvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-gpu-viv: enable package for 64-bit i.MX processors
Gary Bisson [Tue, 12 Jun 2018 15:02:19 +0000 (17:02 +0200)]
imx-gpu-viv: enable package for 64-bit i.MX processors

Basically enabling the package for aarch64. One difference with 32-bit
i.MX platforms resides in the fact that Wayland is the only back-end
supported. Therefore X11 and Framebuffer options are masked.

This was tested on i.MX8MQ Nitrogen8M platform (with weston-imx):
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: drop BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU_WAYLAND_ONLY and
use BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M directly.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-gpu-viv: bump to version 6.2.4.p1.2
Gary Bisson [Tue, 12 Jun 2018 15:02:18 +0000 (17:02 +0200)]
imx-gpu-viv: bump to version 6.2.4.p1.2

No changelog was provided by NXP but we can assume it's the latest and
therefore the greatest.

What is known, is that that same version worked both ARM and ARM64.
The support for the latter will be added in a follow-up patch.

This package has been tested with X11, Framebuffer and Wayland
back-ends:
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7
 # gmem_info
 ... display memory use per PID ...

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibusb: add an option to compile examples
Gaël PORTAY [Mon, 11 Jun 2018 13:47:50 +0000 (09:47 -0400)]
libusb: add an option to compile examples

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
[Thomas:
 - use make loop instead of shell loop
 - use $(INSTALL) instead of cp.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt53d: fix install issue with qt5.6
Gaël PORTAY [Mon, 11 Jun 2018 13:56:55 +0000 (09:56 -0400)]
qt53d: fix install issue with qt5.6

Both plugins `geometryloaders' and `renderplugins' are available since
Qt 5.9.

Fixes:

>>> qt53d 5.6.3 Installing to target
cp -dpf /home/gportay/src/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libQt53D*.so.*
/home/gportay/src/buildroot/output/target/usr/lib
cp -dpfr /home/gportay/src/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/qt/plugins/geometryloaders
/home/gportay/src/buildroot/output/target/usr/lib/qt/plugins
cp: cannot stat '/home/gportay/src/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/qt/plugins/geometryloaders': No such file or directory
package/pkg-generic.mk:310: recipe for target '/home/gportay/src/buildroot/output/build/qt53d-5.6.3/.stamp_target_installed' failed
make[2]: *** [/home/gportay/src/buildroot/output/build/qt53d-5.6.3/.stamp_target_installed] Error 1

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Gaël PORTAY &lt;<a href="mailto:gael.portay@savoirfairelinux.com" target="_blank" rel="noreferrer">gael.portay@savoirfairelinux.com</a>&gt;<br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5script: fix build issue with 32-bits armv8-a
Gaël PORTAY [Mon, 11 Jun 2018 13:54:17 +0000 (09:54 -0400)]
qt5script: fix build issue with 32-bits armv8-a

Adds WTF platform support for the 32-bits armv8-a architectures.

Fixes:

In file included from ../3rdparty/javascriptcore/JavaScriptCore/config.h:26,
                from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:44:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:370:6: error: #error "Not supported ARM architecture"
#    error "Not supported ARM architecture"
     ^~~~~

The patch is based on two upstream fixes in WebKit[1][2].

See also commit cea7aa873a.

[1]: https://github.com/WebKit/webkit/commit/313d9fc4bdd2f020a5d0cf834c3c61982f161ebb
[2]: https://github.com/WebKit/webkit/commit/98f0de0709786f5d9b09dfd5908266990eb909d6

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5sensors: install examples to target
Gaël PORTAY [Tue, 12 Jun 2018 12:32:06 +0000 (08:32 -0400)]
qt5sensors: install examples to target

When BR2_PACKAGE_QT5BASE_EXAMPLES is set, the examples for this module
are installed in the staging directory but they are not shipped to the
target.

This commit copies the examples `sensors' from the staging directory
to the target.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialport: install examples to target
Gaël PORTAY [Tue, 12 Jun 2018 12:32:05 +0000 (08:32 -0400)]
qt5serialport: install examples to target

When BR2_PACKAGE_QT5BASE_EXAMPLES is set, the examples for this module
are installed in the staging directory but they are not shipped to the
target.

This commit copies the examples `serialport' from the staging directory
to the target.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialbus: install examples to target
Gaël PORTAY [Tue, 12 Jun 2018 12:32:04 +0000 (08:32 -0400)]
qt5serialbus: install examples to target

When BR2_PACKAGE_QT5BASE_EXAMPLES is set, the examples for this module
are installed in the staging directory but they are not shipped to the
target.

This commit copies the examples `serialbus' from the staging directory
to the target.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>