buildroot.git
4 years agopackage/libostree: enable introspection
Yann E. MORIN [Sun, 22 Mar 2020 09:28:54 +0000 (10:28 +0100)]
package/libostree: enable introspection

libostree build fails when introspection is enabled:

    ./.libs/libostree-1.so: error adding symbols: File in wrong format
    collect2: error: ld returned 1 exit status
    src/libostree/ostree-repo-deprecated.h:28: Warning: OSTree: symbol='G_GNUC_DEPRECATED_FOR': Skipping foreign symbol from namespace Gio
    linking of temporary binary failed: Command '['/bin/bash', './libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', [...] ]' returned non-zero exit status 1.

This is because the build system for libostree hard-codes CC=gcc when
calling the GOI scanner, which obviously causes build failures when in
cross-compilation.

In d264351cfcca (package/libostree: disable introspection), we just
papered over the problem by forcibly disabling introspection altogether.

Turns out the fix is realatively simple: we can just override the
INTROSPECTION_SCANNER_ENV variable when calling make, which will revert
to the behaviour we expect: to use the cross-compiler in the GOI scanner
wrapper.

Thanks to Adam for pointing out at INTROSPECTION_SCANNER_ENV in the
first place. :-)

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Marcus Folkesson <marcus.folkesson@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-mediasdk: bump version to 19.4.0
Louis-Paul CORDIER [Fri, 14 Feb 2020 14:28:24 +0000 (15:28 +0100)]
package/intel-mediasdk: bump version to 19.4.0

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-mediadriver: bump version to 19.4.0r
Louis-Paul CORDIER [Fri, 14 Feb 2020 14:28:23 +0000 (15:28 +0100)]
package/intel-mediadriver: bump version to 19.4.0r

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-gmmlib: bump version to 19.4.1
Louis-Paul CORDIER [Fri, 14 Feb 2020 14:28:22 +0000 (15:28 +0100)]
package/intel-gmmlib: bump version to 19.4.1

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pigz: add host package support
Louis-Paul Cordier [Tue, 10 Mar 2020 09:58:16 +0000 (10:58 +0100)]
package/pigz: add host package support

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-meson.mk: add FOO_MESON_EXTRA_PROPERTIES
John Keeping [Wed, 11 Mar 2020 11:22:55 +0000 (11:22 +0000)]
package/pkg-meson.mk: add FOO_MESON_EXTRA_PROPERTIES

With autoconf packages, we often specify ac_cv_func_... cached values to
avoid runtime checks during configure.  With meson the equivalent is
setting properties in cross-compilation.conf which we cannot do in
Buildroot at the moment.

For example, libglib2 used to set ac_cv_func_printf_unix98 and
ac_cv_func_vsnprintf_c99 so that the system printf could be used, but
with the conversion to meson these checks fail and the gnulib fallback
is used.

Add infrastructure in the same way as FOO_MESON_EXTRA_BINARIES to allow
per-package modification to the cross-compilation properties.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Adam Duskett <aduskett@gmail.com>
[yann.morin.1998@free.fr: do a single substitution as in a1e3c7b693]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libevdev: fix static compile
Peter Seiderer [Tue, 10 Mar 2020 08:45:40 +0000 (09:45 +0100)]
package/libevdev: fix static compile

Add patch to enable meson static library build (use meson
library() instead of shared_library()).

Fixes:

  - http://autobuild.buildroot.net/results/b920ef5a250e7d23223352367ded50bf32bb5688

  .../host/bin/arm-linux-gcc  -o libevdev.so.2.3.0 'evdev@sha/libevdev_libevdev-uinput.c.o' 'evdev@sha/libevdev_libevdev.c.o' 'evdev@sha/libevdev_libevdev-names.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libevdev.so.2 -Wl,--end-group -Wl,-elf2flt -static -Wl,--version-script,.../build/libevdev-1.9.0/libevdev/libevdev.sym
  ld (ld-elf2flt): -shared used without passing a shared library ID

  - http://autobuild.buildroot.net/results/dc52a705c7490b722380af7b00ff7c6e172450cf

  .../host/bin/x86_64-linux-gcc  -o libevdev.so.2.3.0 'evdev@sha/libevdev_libevdev-uinput.c.o' 'evdev@sha/libevdev_libevdev.c.o' 'evdev@sha/libevdev_libevdev-names.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libevdev.so.2 -Wl,--end-group -static -Wl,--version-script,.../build/libevdev-1.9.0/libevdev/libevdev.sym
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/crtend.o: relocation R_X86_64_32 against `.ctors' can not be used when making a shared object; recompile with -fPIC
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: final link failed: nonrepresentable section on output

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/php: fix aarch64 uclibc-ng compile
Peter Seiderer [Mon, 9 Mar 2020 14:50:38 +0000 (15:50 +0100)]
package/php: fix aarch64 uclibc-ng compile

The aarch64 compile uses the sys/auxv.h header which is not
provided by ulcibc-ng. Add configure.ac patch to check for
the header before using it in ext/standard/crc32.c.

Fixes:

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

  build/php-7.4.3/ext/standard/crc32.c:26:12: schwerwiegender Fehler: sys/auxv.h: Datei oder Verzeichnis nicht gefunden

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: rename Realtek rtw88 option
Yann E. MORIN [Sun, 22 Mar 2020 21:24:42 +0000 (22:24 +0100)]
package/linux-firmware: rename Realtek rtw88 option

The newly introduced option does not follow the naming scheme of other
Realtek firmwares, in part because the model is not named rtl-something,
but rtw-something.

Rename the option to match the VENDOR_DEVICE scheme. We do not add a
legacy entry for this: we've had no release and it was pushed minutes
ago...

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcc: remove stray or1k-musl-5.4.0-20170218 patches
Romain Naour [Sun, 22 Mar 2020 21:15:39 +0000 (22:15 +0100)]
package/gcc: remove stray or1k-musl-5.4.0-20170218 patches

gcc or1k-musl-5.4.0-20170218 was removed in commit
f424b8afa22f767dc46cde915efc9a01c86f12c8 but the patch directory was
forgotten.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: Add an option for Realtek rtw88 firmwares
Clément Péron [Sun, 22 Mar 2020 18:14:16 +0000 (19:14 +0100)]
package/linux-firmware: Add an option for Realtek rtw88 firmwares

Linux-firmware repo have dedicated firmware images supported
by Realtek's wireless driver rtw88.

Add an option to install them.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mesa3d: fix musl related compile failures
Peter Seiderer [Sun, 22 Mar 2020 12:15:20 +0000 (13:15 +0100)]
package/mesa3d: fix musl related compile failures

Fixes:

  http://autobuild.buildroot.net/results/1881daae69992e30a9c1fff1f639d57f82e6ee19

  ../src/gallium/drivers/vc4/vc4_bufmgr.c:110:57: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Werror=format=]

  ../src/gallium/drivers/panfrost/pan_bo.h:93:9: error: unknown type name ‘time_t’

  ../src/gallium/drivers/v3d/v3d_bufmgr.c:83:57: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘time_t’ {aka ‘long long int’} [-Werror=format=]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/domoticz: bump to version 2020.1
Fabrice Fontaine [Sun, 22 Mar 2020 16:21:23 +0000 (17:21 +0100)]
package/domoticz: bump to version 2020.1

- Remove first patch (not needed anymore)
- Update second patch
- Remove third to fifth patches (already in version)
- Add a mandatory jsoncpp dependency instead of using builtin jsoncpp:
  https://github.com/domoticz/domoticz/commit/301fcfbd80e254282bbb4664c53f5f70467ae827
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/avahi: fix build without C++
Fabrice Fontaine [Tue, 10 Mar 2020 20:13:05 +0000 (21:13 +0100)]
package/avahi: fix build without C++

Commit 02bd5eb59ff113203ea60ffee68bfdbacc4c9245 wrongly removed
avahi_cv_sys_cxx_works=yes as a result, build fails without C++

Fixes:
 - http://autobuild.buildroot.org/results/3d3596ad386144609549693c0a1aa9b704ba748c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rcw : bump to LSDK-19.09
Laurent Hartanerot [Sun, 22 Mar 2020 16:24:44 +0000 (17:24 +0100)]
package/rcw : bump to LSDK-19.09

The new rcw.py script is python3-only, but we can use either the
system-provided python3, or the one we build with host-python3 if
the system does not have it already.

It turns out, also, that rcw.py is using #!/usr/bin/env python3,
so it will easily find it from $PATH, so we export it in the
environment.

Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
[yann.morin.1998@free.fr:
  - set the proper PATH in the envioronment
  - do not explicitly call python3, defer to /usr/bin/env in the script
  - add an accompagnying comment
  - rewrite commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/bearssl: needs -fPIC
Fabrice Fontaine [Tue, 10 Mar 2020 19:45:46 +0000 (20:45 +0100)]
package/bearssl: needs -fPIC

Fixes:
 - http://autobuild.buildroot.org/results/e677519c7536447062bf15fb7aa73eded19a6cf6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rtty: add optional SSL support
Thomas Petazzoni [Sun, 22 Mar 2020 20:42:49 +0000 (21:42 +0100)]
package/rtty: add optional SSL support

This commit adds optional dependencies on mbedtls, openssl or wolfssl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rtty: new package
Jianhui Zhao [Tue, 10 Mar 2020 15:06:06 +0000 (23:06 +0800)]
package/rtty: new package

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
[Thomas:
 - add entry in DEVELOPERS file
 - add -DRTTY_SSL_SUPPORT=OFF to explicitly disable SSL support
 - fix license file name in the hash file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/busybox: fix build with glibc 2.31
Carlos Santos [Sun, 22 Mar 2020 17:13:01 +0000 (14:13 -0300)]
package/busybox: fix build with glibc 2.31

Busybox 1.31.1 fails to build with glibc 2.31 due to the removal of
stime() from glibc. Pull a patch already applied upstream to fix the
problem.

The patch was rebased on version 1.31.1 to minimize the change, since
the original one depended on a previous commit which is not worthwhile
to pick.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN. <yann.morin.1998@free.fr>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/busybox: fix build with musl 1.2.0
Carlos Santos [Sun, 22 Mar 2020 17:13:00 +0000 (14:13 -0300)]
package/busybox: fix build with musl 1.2.0

Busybox 1.31.1 fails to build with musl 1.2.0 due to the direct use of
__NR_clock_gettime. Pull four patches already applied upstream to fix
the problem.

The patches were rebased to version 1.31.1 to minimize the change, since
the original ones depended on a previous commit which is not worthwhile
to pick.

Fixes:
  http://autobuild.buildroot.net/results/f45f91aea6deee6699eabdfa618ac44873b8da51/

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN. <yann.morin.1998@free.fr>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/collectd: keep postgresql_default.conf when needed
Pascal de Bruijn [Wed, 11 Mar 2020 14:13:11 +0000 (15:13 +0100)]
package/collectd: keep postgresql_default.conf when needed

$(TARGET_DIR)/usr/share/collectd/postgresql_default.conf
should not be removed when postgresql support is enabled,
as that module tries to load that file by default.

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/collectd: make network crypto support discoverable
Pascal de Bruijn [Wed, 11 Mar 2020 13:35:04 +0000 (14:35 +0100)]
package/collectd: make network crypto support discoverable

before it was completely non-obvious how to get crypto support
in collectd's network module

this introduces a collectd config option which makes sure
gcrypt is built, and can't be accidentally unselected
resulting in an accidental non-crypto build of collectd

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tslib: fix build with headers >= 4.16
Fabrice Fontaine [Wed, 11 Mar 2020 20:17:49 +0000 (21:17 +0100)]
package/tslib: fix build with headers >= 4.16

Fixes:
 - http://autobuild.buildroot.org/results/bc8bc3f1d88f3b64765025fee7f941d30a81ee46

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uacme: mention openssl crypto backend in description
Baruch Siach [Sun, 22 Mar 2020 14:39:33 +0000 (16:39 +0200)]
package/uacme: mention openssl crypto backend in description

uacme supports OpenSSL as crypto backend since version 1.0.8.

Cc: Nicola Di Lieto <nicola.dilieto@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mesa3d: disable v3d support for arm if neon is not supported
Peter Seiderer [Mon, 9 Mar 2020 12:34:32 +0000 (13:34 +0100)]
package/mesa3d: disable v3d support for arm if neon is not supported

The v3d driver for arm uses neon instructions unconditionally, so
depend on BR2_ARM_CPU_HAS_NEON.

Fixes:

  http://autobuild.buildroot.net/results/66c4df4ee84b73160dde5fe4437b5abdbd2b50d2

  [1050/1079] Compiling C object 'src/gallium/drivers/v3d/99241e4@@v3d_neon@sta/v3d_tiling.c.o'.
  {standard input}: Assembler messages:
  {standard input}:417: Error: selected processor does not support `vldm r6,{q0,q1,q2,q3}' in ARM mode
  {standard input}:418: Error: selected processor does not support `vst1.8 d0,[r4],r5' in ARM mode
  {standard input}:419: Error: selected processor does not support `vst1.8 d1,[r4],r5' in ARM mode
  {standard input}:420: Error: selected processor does not support `vst1.8 d2,[r4],r5' in ARM mode
  {standard input}:421: Error: selected processor does not support `vst1.8 d3,[r4],r5' in ARM mode
  {standard input}:422: Error: selected processor does not support `vst1.8 d4,[r4],r5' in ARM mode
  {standard input}:423: Error: selected processor does not support `vst1.8 d5,[r4],r5' in ARM mode
  {standard input}:424: Error: selected processor does not support `vst1.8 d6,[r4],r5' in ARM mode

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mesa3d: fix vc4 neon related compile failure
Peter Seiderer [Mon, 9 Mar 2020 12:34:31 +0000 (13:34 +0100)]
package/mesa3d: fix vc4 neon related compile failure

Add mesa3d patch to add a vc4 option to disable
the optional neon support and set it dependent
on BR2_ARM_CPU_HAS_NEON.

Fixes:

  http://autobuild.buildroot.net/results/6387b0a99e1a0922811919623d9a10b0943988df

  [1086/1254] Compiling C object 'src/gallium/drivers/vc4/691f666@@vc4_neon@sta/vc4_tiling_lt_neon.c.o'.
  {standard input}: Assembler messages:
  {standard input}:334: Error: selected processor does not support `vldm r4,{q0,q1,q2,q3}' in ARM mode
  {standard input}:335: Error: selected processor does not support `vst1.8 d0,[r3],r2' in ARM mode
  {standard input}:336: Error: selected processor does not support `vst1.8 d1,[r3],r2' in ARM mode
  {standard input}:337: Error: selected processor does not support `vst1.8 d2,[r3],r2' in ARM mode
  {standard input}:338: Error: selected processor does not support `vst1.8 d3,[r3],r2' in ARM mode
  {standard input}:339: Error: selected processor does not support `vst1.8 d4,[r3],r2' in ARM mode
  {standard input}:340: Error: selected processor does not support `vst1.8 d5,[r3],r2' in ARM mode
  {standard input}:341: Error: selected processor does not support `vst1.8 d6,[r3],r2' in ARM mode

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wine: bump to version 5.0
André Hentschel [Mon, 9 Mar 2020 21:31:49 +0000 (22:31 +0100)]
package/wine: bump to version 5.0

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/libxcb: bump version to 1.14
Bernd Kuhls [Mon, 9 Mar 2020 19:35:23 +0000 (20:35 +0100)]
package/x11r7/libxcb: bump version to 1.14

Follow upstream switch to xz tarball:
https://gitlab.freedesktop.org/xorg/lib/libxcb/-/commit/78c492deaa7ae3aad0b0eeb4b126bb291cc637a7

Removed dependency to libpthread-stubs, not needed anymore due to
upstream commit:
https://gitlab.freedesktop.org/xorg/lib/libxcb/-/commit/8f7e4c4e9fc6ee6b5b5498a7d8af79150be0d26a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xcb-proto: bump version to 1.14
Bernd Kuhls [Mon, 9 Mar 2020 19:35:22 +0000 (20:35 +0100)]
package/x11r7/xcb-proto: bump version to 1.14

Follow upstream switch to xz tarball:
https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/6d846028718206769d6b70c96239b926e782b4aa

Removed XCB_PROTO_POST_INSTALL_STAGING_HOOKS, not needed anymore due
to upstream fix:
https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/bd7a481a3bee9283277badda95730f52185127bc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xapp_xkbcomp: bump version to 1.4.3
Bernd Kuhls [Mon, 9 Mar 2020 19:35:21 +0000 (20:35 +0100)]
package/x11r7/xapp_xkbcomp: bump version to 1.4.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: bump 9.x series to version 9.3.0
Romain Naour [Sun, 15 Mar 2020 16:18:46 +0000 (17:18 +0100)]
package/gcc: bump 9.x series to version 9.3.0

Remove upstream patch [1]
Rebase and rename 0002-xtensa-fix-PR-target-91880.patch
and 0003-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch

Tested using gitlab with Qemu runtime testing series [2] [3].

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=2e1e7ad18e121663082525a872f0d6fb32db4535
[2] https://gitlab.com/kubu93/buildroot/pipelines/125828238
[3] http://patchwork.ozlabs.org/project/buildroot/list/?series=159088

See:
https://gcc.gnu.org/pipermail/gcc-announce/2020/000161.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: bump 8.x series to version 8.4.0
Romain Naour [Mon, 9 Mar 2020 23:50:30 +0000 (00:50 +0100)]
package/gcc: bump 8.x series to version 8.4.0

Remove upstream patch [1].
Rebase and rename 0002-xtensa-fix-PR-target-91880.patch

Tested using gitlab w/ Qemu runtime testing series [2] [3].

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=fba5d9b4c0f4488281efbeef56c100bb52e55165
[2] https://gitlab.com/kubu93/buildroot/pipelines/124684030
[3] http://patchwork.ozlabs.org/project/buildroot/list/?series=159088

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/: change python-gobject to use prebuilt kernel
Adam Duskett [Mon, 16 Mar 2020 15:34:59 +0000 (08:34 -0700)]
support/testing/: change python-gobject to use prebuilt kernel

Currently, we build a complete AArch64 system, including a kernel. This
can take quite some time.

Switch to an armv7 system, which allows us to use one a prebuilt kernel,
thus significantly reducing the test time.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - use a standalone config; don't inherit from TestPythonPackageBase
  - use the default external toolchain (ARM, not Linaro)
  - rewrite commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/testing: add gst1-python test case
Adam Duskett [Sun, 15 Mar 2020 20:10:33 +0000 (13:10 -0700)]
support/testing: add gst1-python test case

This test case runs a simple pipeline for 100 frames to ensure that
gst1-python works properly.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-python: new package
Adam Duskett [Sun, 15 Mar 2020 20:10:32 +0000 (13:10 -0700)]
package/gstreamer1/gst1-python: new package

GStreamer Python binding overrides.

This package also includes a simple upstream patch that fixes building against
python-3.8.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - fix libpython-dir as noticed by Adam
  - rewrap a comment
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-rtsp-server: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:31 +0000 (13:10 -0700)]
package/gstreamer1/gst1-rtsp-server: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-plugins-bad: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:30 +0000 (13:10 -0700)]
package/gstreamer1/gst1-plugins-bad: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-plugins-base: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:29 +0000 (13:10 -0700)]
package/gstreamer1/gst1-plugins-base: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gstreamer1: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:28 +0000 (13:10 -0700)]
package/gstreamer1/gstreamer1: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gupnp-av: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:58 +0000 (10:24 -0700)]
package/gupnp-av: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set --enable-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gupnp: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:56 +0000 (10:24 -0700)]
package/gupnp: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set --enable-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gssdp: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:55 +0000 (10:24 -0700)]
package/gssdp: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set -Dintrospection=true in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libsoup: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:54 +0000 (10:24 -0700)]
package/libsoup: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set --with-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/iwd: bump version to 1.5
Peter Seiderer [Sun, 22 Mar 2020 09:39:43 +0000 (10:39 +0100)]
package/iwd: bump version to 1.5

Fixes incompatibility because of recent version bump to ell-0.28 ([1]):

  http://autobuild.buildroot.net/results/32899d7e1f7d5abc528e5627f8f66ae5c9733342
  http://autobuild.buildroot.net/results/a0a4387e5319d792658f6d82a63fb17a06848d10
  http://autobuild.buildroot.net/results/7d02c966518e44d798b83ac36b9083a8041b09ec
  http://autobuild.buildroot.net/results/f7b27ab243e6b35445d9cb28e4747514fa7d98d6
  http://autobuild.buildroot.net/results/f5d71af640812a58374374e178cb7ff225e69c19

    CC       src/main.o
  src/main.c: In function 'request_name_callback':
  src/main.c:167:7: error: too few arguments to function 'l_dbus_object_manager_enable'
    if (!l_dbus_object_manager_enable(dbus))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /nvmedata/autobuild/instance-4/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/ell/ell.h:55,
                   from src/main.c:32:
  /nvmedata/autobuild/instance-4/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/ell/dbus.h:245:6: note: declared here
   bool l_dbus_object_manager_enable(struct l_dbus *dbus, const char *root);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

[1] https://git.buildroot.net/buildroot/commit/?id=faa592179d9fe46b97289bde5a1b0f0da6052b06

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/civetweb: bump to version 1.12
Fabrice Fontaine [Sat, 21 Mar 2020 16:20:29 +0000 (17:20 +0100)]
package/civetweb: bump to version 1.12

- Drop patch (already in version)
- Drop -fPIC (not needed since
  https://github.com/civetweb/civetweb/commit/9518b502470d8be2d092266085056d6be4214b54)
- Update hash of license file (update in year and LuaXML):
  https://github.com/civetweb/civetweb/commit/e14dff167a790d3de39087d820f45bcb07f26a4f
  https://github.com/civetweb/civetweb/commit/6d87359d6c4db5b209a3a521701427b62c1c7a5d
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/xapian: bump to version 1.4.15
Gilles Talis [Sun, 22 Mar 2020 06:17:10 +0000 (07:17 +0100)]
package/xapian: bump to version 1.4.15

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/restclient-cpp: bump to version 0.5.2
Gilles Talis [Sun, 22 Mar 2020 06:17:09 +0000 (07:17 +0100)]
package/restclient-cpp: bump to version 0.5.2

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/perl: fix README hash
Fabrice Fontaine [Sat, 21 Mar 2020 20:16:22 +0000 (21:16 +0100)]
package/perl: fix README hash

Commit d5c7c9dabb94d64855b8c0383e77d01b890f85c3 forgot to update README
hash (year, github issue tracker):
https://github.com/Perl/perl5/commit/9802995490251df92faf7a0dd5c7114ad8146bd3
https://github.com/Perl/perl5/commit/b9e2183386fadc0979b46e024365ceab56a369aa

Also update indentation (two spaces)

Fixes:
 - http://autobuild.buildroot.org/results/3b124aca123207460a9d025f5afd23f5f67fbf18

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libostree: disable introspection
Fabrice Fontaine [Fri, 20 Mar 2020 17:29:48 +0000 (18:29 +0100)]
package/libostree: disable introspection

Build fails if gobject-introspection is built before libostree:

./.libs/libostree-1.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
src/libostree/ostree-repo-deprecated.h:28: Warning: OSTree: symbol='G_GNUC_DEPRECATED_FOR': Skipping foreign symbol from namespace Gio
linking of temporary binary failed: Command '['/bin/bash', './libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/buildroot/autobuild/instance-2/output-1/build/libostree-2019.6/tmp-introspectvtkql2xj/OSTree-1.0', '-export-dynamic', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '/home/buildroot/autobuild/instance-2/output-1/build/libostree-2019.6/tmp-introspectvtkql2xj/OSTree-1.0.o', '-L.', 'libostree-1.la', '-L/home/buildroot/autobuild/instance-2/output-1/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lglib-2.0']' returned non-zero exit status 1.
/home/buildroot/autobuild/instance-2/output-1/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/../share/gobject-introspection-1.0/Makefile.introspection:155: recipe for target 'OSTree-1.0.gir' failed

Fixes:
 - http://autobuild.buildroot.org/results/f8a14307e6feff61acd963d6cd2aac289e6d1647

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/x11r7/xkeyboard-config: needs a host python3
Fabrice Fontaine [Sat, 21 Mar 2020 09:55:33 +0000 (10:55 +0100)]
package/x11r7/xkeyboard-config: needs a host python3

A host python3 is needed to run map-variants.py since version 2.29 and
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/57c745a9a373b4c9d272d00ff4f16dbcc6d3c48b

The script (with a backported patch) does not have stringent requirements
on python, so we may use a system python3 if present.

Fixes:
 - http://autobuild.buildroot.org/results/7c3cdecc2feed62d7e0bad0e790a8bacaaa34cb7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agolinux: Allow modprobe for out-of-tre modules
Carlos Santos [Fri, 20 Mar 2020 23:35:44 +0000 (20:35 -0300)]
linux: Allow modprobe for out-of-tre modules

When a package installs a kernel module, it is currently not possible to
have it loaded with modprobe or when the kernel requests an alias for
it, as the module is not listed in /lib/modules/<kernel-version>/modules.dep
and the associated files.

So, we need to run depmod after all packages are installed, to register
any such out-of-tree module.

This means we should be able to let go of calling depmod at the time the
kernel is installed, but if we pass an invalid command, the kernel
whines:

      DEPMOD  5.4.27
    ./scripts/depmod.sh: 46: /dev/null: Permission denied
    make[2]: *** [Makefile:1326: _modinst_post] Error 126

This is because the kernel does not directly call to depmod, but uses a
wrapper that is not happy if depmod is not depmod.

Since the call to depmod does not cost much, we just keep it.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
[yann.morin.1998@free.fr:
  - keep calling depmod when installing kernel
  - expand commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/screen: add linux-pam optional dependency
Fabrice Fontaine [Sat, 21 Mar 2020 17:45:46 +0000 (18:45 +0100)]
package/screen: add linux-pam optional dependency

linux-pam is an optional dependency for more than 5 years:
https://git.savannah.gnu.org/cgit/screen.git/commit/src/configure.ac?h=screen-v4&id=a8dc1fb5b47ee52c79884fc5270805a3a39cda4a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freescale-imx/imx-sc-firmware: fix hashes for license files
Julien Olivain [Sat, 21 Mar 2020 16:50:55 +0000 (17:50 +0100)]
package/freescale-imx/imx-sc-firmware: fix hashes for license files

Commit f85c4a41701472a005ae17e67910290e08383b6f updated package
version but did not updated hashes for EULA and COPYING license files.
The patch fixes "make legal-info" for imx-sc-firmware package.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freescale-imx/firmware-imx: fix hashes for license files
Julien Olivain [Sat, 21 Mar 2020 16:50:54 +0000 (17:50 +0100)]
package/freescale-imx/firmware-imx: fix hashes for license files

Commit 8cc27a292e3433a0993b0e28573fa876a87b0a7a updated package
version but did not updated hashes for EULA and COPYING license files.
The patch fixes "make legal-info" for firmware-imx package. Also
adopt new spacing convention in .hash files (two spaces).

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dav1d: needs dynamic library
Fabrice Fontaine [Sat, 21 Mar 2020 16:33:16 +0000 (17:33 +0100)]
package/dav1d: needs dynamic library

dav1d needs dynamic library since version 0.6.0 and
https://github.com/videolan/dav1d/commit/6b611d36acab8ce1afdd528599322bb6b2d28727

Fixes:
 - http://autobuild.buildroot.org/results/c82b6e3c1cf968c644f3dee376b16760fb4593bb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/boinc: drop comment about server having no versioning
Fabrice Fontaine [Sat, 21 Mar 2020 10:08:20 +0000 (11:08 +0100)]
package/boinc: drop comment about server having no versioning

The package only ever builds the client; it builds neither the server
nor the manager.

Drop the comment altogether.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: drop the comment altogether]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/localedef: add missing dependeny on host-gawk
Romain Naour [Tue, 17 Mar 2020 22:02:04 +0000 (23:02 +0100)]
package/localedef: add missing dependeny on host-gawk

While reviewing the patch [1], we noticed that host-gawk dependency
was missing. It may trigger an issue if gawk is missing on the host
since it's a "critical tool" [2].

Indeed, localedef package is actually glibc sources that check gawk
host binary.

host-gawk is listed in glibc package dependency [3], so add it to
localedef too.

[1] af90a104c06542a1bf5545eaf9b9c7beb7176e80
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=configure.ac;h=49b900c1ed68fa4dd1dadca809ceb6e8b237a89c;hb=9ea3686266dca3f004ba874745a4087a89682617#l1021
[3] https://git.buildroot.net/buildroot/tree/package/glibc/glibc.mk?h=2020.02#n38

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/bluez5_utils: enable support for external ell
Jörg Krause [Mon, 16 Mar 2020 16:52:53 +0000 (17:52 +0100)]
package/bluez5_utils: enable support for external ell

Bluez5' support for the mesh profile needs ell, the Embedded Linux
Library, at least version 0.28.

Although Bluez5 bundles an internal copy of ell version 0.28, we prefer
building with external libraries.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ell: bump to version 0.28
Jörg Krause [Mon, 16 Mar 2020 16:52:52 +0000 (17:52 +0100)]
package/ell: bump to version 0.28

Changes since version 0.24:

0.28:
  Fix issue with NULL check of D-Bus proxy for method calls.
  Add support for emitting D-Bus property changes on demand.
  Add support for reporting file attribute changes.

0.27:
  Fix issue with data overflow and multiple PEMs.
  Fix issue with handling DHCP lease expiration.

0.26:
  Fix issue with memory leak and TLS certificates.
  Fix issue with buffer size and TLS PRF handling.
  Add support for D-Bus non-root ObjectManager.

0.25:
  Fix issue with stopping DHCP client and owner notification.
  Fix issue with time calculation overflow and DHCP.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/bluez5_utils: add mesh support
Jörg Krause [Mon, 16 Mar 2020 16:52:51 +0000 (17:52 +0100)]
package/bluez5_utils: add mesh support

Mesh support was already added in version 5.47.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54
Jörg Krause [Mon, 16 Mar 2020 16:52:50 +0000 (17:52 +0100)]
package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54

Changes since version 5.52:

5.54:
  Fix issue with HOGP to accept data only from bonded devices.
  Fix issue with A2DP sessions being connected at the same time.
  Fix issue with class UUID matches before connecting profile.
  Add support for handling MTU auto-tuning option for AVDTP.
  Add support for new policy for Just-Works repairing.
  Add support for Enhanced ATT bearer (EATT).

5.53:
  Fix issue with handling unregistration for advertisment.
  Fix issue with A2DP and handling recovering process.
  Fix issue with udpating input device information.
  Add support for loading blocked keys.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/config-fragments: update Buildroot toolchains to 2020.02
Thomas Petazzoni [Sat, 21 Mar 2020 14:15:30 +0000 (15:15 +0100)]
support/config-fragments: update Buildroot toolchains to 2020.02

This commit updates all our toolchain configuration fragments for
pre-built Buildroot toolchains to use toolchains built with Buildroot
2020.02.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/civetweb: add zlib optional dependency
Fabrice Fontaine [Tue, 17 Mar 2020 21:14:57 +0000 (22:14 +0100)]
package/civetweb: add zlib optional dependency

zlib is an optional dependency since version 1.11 and
https://github.com/civetweb/civetweb/commit/6b8b15935378f71323ff95f907fa0d33841deac0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rcw: add missing host-python dependency
Laurent Hartanerot [Thu, 19 Mar 2020 09:30:57 +0000 (10:30 +0100)]
package/rcw: add missing host-python dependency

The rcw tool that compiles RCW sources file need host-python

Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libinput: bump version to 1.15.4
Peter Seiderer [Wed, 18 Mar 2020 20:40:18 +0000 (21:40 +0100)]
package/libinput: bump version to 1.15.4

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2020-March/041332.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl: bump to version 5.30.2
Francois Perrad [Sat, 21 Mar 2020 13:02:40 +0000 (14:02 +0100)]
package/perl: bump to version 5.30.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.4.x series
Peter Korsgaard [Sat, 21 Mar 2020 14:30:53 +0000 (15:30 +0100)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.4.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx8q{m, xp}mek: bump BSP components to 4.19.35_1.1.0
Maeva Manuel [Fri, 20 Mar 2020 16:31:58 +0000 (17:31 +0100)]
configs/freescale_imx8q{m, xp}mek: bump BSP components to 4.19.35_1.1.0

The package imx-seco has been added in the defconfigs.

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/imx-mkimage: bump to version rel_imx_4.19.35_1.1.0
Maeva Manuel [Fri, 20 Mar 2020 16:31:57 +0000 (17:31 +0100)]
package/imx-mkimage: bump to version rel_imx_4.19.35_1.1.0

This package needed to be updated to be aligned with NXP BSP
4.19.35_1.1.0
The package patches have also been rebased on top of rel_imx_4.19.35_1.1.0

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-sc-firmware: bump to version 1.2.7.1
Maeva Manuel [Fri, 20 Mar 2020 16:31:56 +0000 (17:31 +0100)]
package/freescale-imx/imx-sc-firmware: bump to version 1.2.7.1

This package needed to be updated to be aligned with NXP BSP
4.19.35_1.1.0

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/firmware-imx: bump version to 8.5
Maeva Manuel [Fri, 20 Mar 2020 16:31:55 +0000 (17:31 +0100)]
package/freescale-imx/firmware-imx: bump version to 8.5

This package needed to be updated to be aligned with NXP
BSP 4.19.35_1.1.0

This newer 8.5 version no longer include ahab-container images.
Those images are now in a separate imx-seco package.

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-seco: new package
Maeva Manuel [Fri, 20 Mar 2020 16:31:54 +0000 (17:31 +0100)]
package/freescale-imx/imx-seco: new package

This package is needed with Freescale i.MX8/i.MX8X defconfigs
version equal to 4.19.35_1.0.0
It is also subject to multi-version support.

The package version aligned with NXP BSP 4.19.35_1.1.0 is 2.3.1

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/scripts/check-kernel-headers.sh: do not print error for loose checks
Thomas Petazzoni [Sat, 21 Mar 2020 13:52:19 +0000 (14:52 +0100)]
support/scripts/check-kernel-headers.sh: do not print error for loose checks

The C program inside check-kernel-headers.sh has two checking mode: a
strict and a loose one.

In strict mode, we want the kernel headers version declared by the
user to match exactly the one of the toolchain.

In loose mode, we want the kernel headers version of the toolchain to
be greater than or equal to the one declared by the user: this is used
when we have a toolchain that has newer headers than the latest
version known by Buildroot.

However, in loose mode, we continue to show the "Incorrect kernel
headers version" message, even though we then return a zero error
code. This is very confusing: you see an error displayed on the
terminal, but the build goes on.

We fix that by first doing the loose check first, and returning 0 if
it succeeds. And then we move on with the strict check where we want
the version to be identical.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-*: mass update of license files
Bernd Kuhls [Sat, 21 Mar 2020 09:35:02 +0000 (10:35 +0100)]
package/kodi-*: mass update of license files

Switch _LICENSE_FILES to debian/copyright instead of using a source
code file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-rsxs: switch license to GPL-2.0+
Bernd Kuhls [Sat, 21 Mar 2020 09:35:01 +0000 (10:35 +0100)]
package/kodi-screensaver-rsxs: switch license to GPL-2.0+

Upstream commit
https://github.com/xbmc/screensavers.rsxs/commit/dbb88536964dc0ca4144016eb12f7307b60cb1fa

removed lib/rsxs-1.0 which was licensed as GPL-3.0.

During the latest version bump
https://git.buildroot.net/buildroot/commit/package/kodi-screensaver-rsxs?id=e68bcc985fbb17e50cfa2944807090b6cd57c871

KODI_SCREENSAVER_RSXS_LICENSE_FILES = lib/rsxs-1.0/COPYING

was removed but the corresponding license change was forgotton.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-asterwave: add license information
Bernd Kuhls [Sat, 21 Mar 2020 09:35:00 +0000 (10:35 +0100)]
package/kodi-screensaver-asterwave: add license information

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-external: fix call to check_kernel_headers_version
Thomas Petazzoni [Sat, 21 Mar 2020 13:52:18 +0000 (14:52 +0100)]
toolchain/toolchain-external: fix call to check_kernel_headers_version

The external toolchain configure step calls the
check_kernel_headers_version make function to compare the kernel
headers version declared in the configuration with the actual kernel
headers of the toolchain.

This function takes 4 arguments, but due to a missing comma what
should be the first two arguments are both passed into the first
argument. Due to this, when check_kernel_headers_version does:

if ! support/scripts/check-kernel-headers.sh $(1) $(2) $(3) \
$(if $(BR2_TOOLCHAIN_HEADERS_LATEST),$(4),strict); \

Then:

  $(1) contains "$(BUILD_DIR) $$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC))"
  $(2) contains "$$(call qstrip,$$(BR2_TOOLCHAIN_HEADERS_AT_LEAST))"
  $(3) contains "$$(if $$(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),loose,strict))"

So from the point of view of check-kernel-headers.sh, it already has
four arguments, and therefore the additional argument passed by:

   $(if $(BR2_TOOLCHAIN_HEADERS_LATEST),$(4),strict); \

is ignored, defeating the $(BR2_TOOLCHAIN_HEADERS_LATEST) test.

The practical consequence is that a toolchain that has 5.4 kernel
headers but declared as using 5.3 kernel headers does not abort the
build, because the check is considered "loose" while it should be
"strict".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/stmicroelectronics/stm32f4xx: move post-build script into common directory
Bartosz Bilas [Sat, 21 Mar 2020 13:32:22 +0000 (14:32 +0100)]
board/stmicroelectronics/stm32f4xx: move post-build script into common directory

Let's clean up "boards/stmicroelectronics" directory a bit
to have everything in particular directories.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157c_dk2: bump U-Boot to 2020.01
Bartosz Bilas [Sat, 21 Mar 2020 13:32:21 +0000 (14:32 +0100)]
configs/stm32mp157c_dk2: bump U-Boot to 2020.01

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157c_dk2: bump Linux to 5.4.26
Bartosz Bilas [Sat, 21 Mar 2020 13:32:20 +0000 (14:32 +0100)]
configs/stm32mp157c_dk2: bump Linux to 5.4.26

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157a_dk1: new defconfig
Bartosz Bilas [Sat, 21 Mar 2020 13:32:19 +0000 (14:32 +0100)]
configs/stm32mp157a_dk1: new defconfig

The board support package includes the following components:
 - U-Boot 2020.01
 - Linux 5.4.26
 - Buildroot default packages

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157: use common genimage config file for stm32mp157 boards
Bartosz Bilas [Sat, 21 Mar 2020 13:32:18 +0000 (14:32 +0100)]
configs/stm32mp157: use common genimage config file for stm32mp157 boards

It will be useful for the upcoming introducing stm32mp157a dk2 board.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/stm32mp157c-dk2/genimage.cfg: drop hardcoded rootfs partition size
Bartosz Bilas [Sat, 21 Mar 2020 13:32:17 +0000 (14:32 +0100)]
board/stm32mp157c-dk2/genimage.cfg: drop hardcoded rootfs partition size

Let genimage to match the size of the rootfs image instead.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/barebox: bump version to 2020.03.0
Bartosz Bilas [Thu, 19 Mar 2020 12:52:31 +0000 (13:52 +0100)]
boot/barebox: bump version to 2020.03.0

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-cheetah: bump to version 3.2.4
Yegor Yefremov [Thu, 19 Mar 2020 10:53:34 +0000 (11:53 +0100)]
package/python-cheetah: bump to version 3.2.4

The original python-cheetah project was abandoned and a new
fork was created as a drop-in replacement. Though the name of the
fork is Cheetah3, we do not rename the package name to avoid
dependency renaming.

The new fork supports both Python2 and Python3.

python-markdown is now an optional dependency.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agogitlab-ci: regenerate after new tests were added
Yann E. MORIN [Sat, 21 Mar 2020 12:17:13 +0000 (13:17 +0100)]
gitlab-ci: regenerate after new tests were added

The recent perl-crypt-ssleay, perl-lwp-protocol-https, and
perl-html-parser packages aditions came with associated new
runtime tests, which is good, but forgot to regenerate the
gitlab-ci.yml file with the updated list of tests.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/lua-lyaml: new package
Francois Perrad [Wed, 11 Mar 2020 07:09:31 +0000 (08:09 +0100)]
package/lua-lyaml: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/moarvm: bump to version 2020.02.1
Francois Perrad [Wed, 11 Mar 2020 10:36:01 +0000 (11:36 +0100)]
package/moarvm: bump to version 2020.02.1

since version 2020.02, moarvm depends on libtommath 1.2.0

the patch is useless since the bump of the embedded dyncall:
https://github.com/MoarVM/dyncall/commit/4b85baf44b9cf079d55cf74d26dc749659151e11

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtommath: bump to version 1.2.0
Francois Perrad [Wed, 11 Mar 2020 10:36:00 +0000 (11:36 +0100)]
package/libtommath: bump to version 1.2.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/chiliboard: bump U-Boot to 2020.01
Marcin Niestroj [Fri, 20 Mar 2020 15:35:05 +0000 (16:35 +0100)]
board/chiliboard: bump U-Boot to 2020.01

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/chiliboard: bump Linux to 5.4.26
Marcin Niestroj [Fri, 20 Mar 2020 15:35:04 +0000 (16:35 +0100)]
board/chiliboard: bump Linux to 5.4.26

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/chiliboard: drop custom post-image script
Marcin Niestroj [Fri, 20 Mar 2020 15:35:03 +0000 (16:35 +0100)]
board/chiliboard: drop custom post-image script

Instead use generic genimage.sh script.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/liteboard: bump U-Boot to 2020.01
Marcin Niestroj [Fri, 20 Mar 2020 15:45:38 +0000 (16:45 +0100)]
board/liteboard: bump U-Boot to 2020.01

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Tested-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/liteboard: drop custom post-image script
Marcin Niestroj [Fri, 20 Mar 2020 15:45:37 +0000 (16:45 +0100)]
board/liteboard: drop custom post-image script

Instead use generic genimage.sh script.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Tested-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: assemble package file lists before calling post-build scripts
Thomas De Schampheleire [Wed, 18 Mar 2020 15:58:13 +0000 (16:58 +0100)]
Makefile: assemble package file lists before calling post-build scripts

Post-build scripts may want to do something based on the list of files
installed by a package. However, since commit
0e2be4db8ab01d479177a3a187c22525752195ae the final packages-file-lists.txt
file is only created _after_ the post-build scripts.

Move the assembly of the file lists upwards, before the post-build scripts.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: fix package file list if FOO_SUBDIR is set
Thomas De Schampheleire [Wed, 18 Mar 2020 15:58:12 +0000 (16:58 +0100)]
Makefile: fix package file list if FOO_SUBDIR is set

If a package sets a FOO_SUBDIR (meaning its sources are not under
output/build/foo-123 but under output/build/foo-123/$(FOO_SUBDIR)), the
.files-list.txt file were also created under FOO_SUBDIR, due to which the
logic in the Makefile would not find it.

Change the instrumentation steps so that the file list is directly under the
package dir, ignoring the subdir.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: don't hang the build if there are no file lists
Thomas Petazzoni [Wed, 18 Mar 2020 15:58:11 +0000 (16:58 +0100)]
Makefile: don't hang the build if there are no file lists

In very limited configurations, it is possible to have a case where no
.files-list-staging.txt files are created. In this case:

    cat $(sort $(wildcard $(BUILD_DIR)/*/.files-list-staging.txt)) > \
        $(BUILD_DIR)/packages-file-list-staging.txt

becomes:

    cat > \
        $(BUILD_DIR)/packages-file-list-staging.txt

which of course makes the build hang.. forever.

So we fix this by checking the list is not empty. To keep the code
readable, we introduce an intermediate variable to store the list of
these files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[yann.morin.1998@free.fr: always create the file, even if empty]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/radvd: drop dependency on flex runtime library
Alexander Mukhin [Fri, 20 Mar 2020 10:07:20 +0000 (13:07 +0300)]
package/radvd: drop dependency on flex runtime library

Radvd has its own main(), and does not use yywrap() from libfl.so,
because scanner.l module contains noyywrap option. So, none of the
functions exported by libfl.so are used, and there's no need to have
the flex runtime on target.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/samba4: bump version to 4.11.7
Bernd Kuhls [Fri, 20 Mar 2020 07:11:48 +0000 (08:11 +0100)]
package/samba4: bump version to 4.11.7

Release notes: https://www.samba.org/samba/history/samba-4.11.7.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/x11r7/xkeyboard-config: bump version to 2.29
Bernd Kuhls [Fri, 20 Mar 2020 06:56:52 +0000 (07:56 +0100)]
package/x11r7/xkeyboard-config: bump version to 2.29

Switch _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>