]> Git Repo - buildroot-mgba.git/log
buildroot-mgba.git
6 months agoconfigs/beagleboardx15: remove defconfig
Romain Naour [Sat, 13 Jul 2024 09:37:44 +0000 (11:37 +0200)]
configs/beagleboardx15: remove defconfig

The beagleboardx15 boards files should be moved to
board/beagleboard directory but doing so we noticed that
beagleboardx15_defconfig was failing to build on Buildroot's
Gitlab-Ci [1] due too old BSP (uboot 2016.11 and kernel 4.9)
built with the internal toolchain.

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/7314633702

Signed-off-by: Romain Naour <[email protected]>
Cc: Theo Debrouwere <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/cdrkit: fix build with gcc 14.x
Thomas Petazzoni [Sat, 13 Jul 2024 09:38:24 +0000 (11:38 +0200)]
package/cdrkit: fix build with gcc 14.x

This commit adds a patch, which is already in Debian, fixing the build
with gcc 14.x:

/home/autobuild/autobuild/instance-7/output-1/build/host-cdrkit-1.1.11/genisoimage/genisoimage.c:1509:17: error: implicit declaration of function 'parse_checksum_algo' [-Wimplicit-function-declaration]
 1509 |             if (parse_checksum_algo(optarg, &checksum_algo_iso))
      |                 ^~~~~~~~~~~~~~~~~~~
make[3]: *** [genisoimage/CMakeFiles/genisoimage.dir/build.make:76: genisoimage/CMakeFiles/genisoimage.dir/genisoimage.o] Error 1

Fixes:

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

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/cdrkit: convert first patch to Git formatted one
Thomas Petazzoni [Sat, 13 Jul 2024 09:00:00 +0000 (11:00 +0200)]
package/cdrkit: convert first patch to Git formatted one

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/cdrkit: replace URL in Config.in
Thomas Petazzoni [Sat, 13 Jul 2024 08:57:09 +0000 (10:57 +0200)]
package/cdrkit: replace URL in Config.in

cdrkit.org no longer works, and there is no obvious homepage for this
dead project. Use the Wikipedia page as a replacement.

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/boost: Boost.Atomic needs atomic intrinsics
Michael Nosthoff [Fri, 23 Dec 2022 13:34:00 +0000 (14:34 +0100)]
package/boost: Boost.Atomic needs atomic intrinsics

similar to previous problems with nios2 and not-available atomic ints
the build for Boost.Atomics also fails for ARC Targets which don't
have the ATOMICS_EXT flag set.

according to [0] "Boost.Atomic has a hard requirement of the native
atomic operations on bytes". The same tests mentioned there fail for
ARC without the atomic extension.

Disable BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS for BR2_arc
without BR2_ARC_ATOMIC_EXT.

Fixes:
  http://autobuild.buildroot.net/results/4ca54a85672d7b9328b1909b457e548c6032a493

[0] https://github.com/boostorg/atomic/issues/42#issuecomment-734130348

Signed-off-by: Michael Nosthoff <[email protected]>
[Arnout: add to BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
         instead of updating all packages]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/qemu: reenable Qemu user-land emulation for musl toolchains
Joseph Burt [Thu, 12 Jan 2023 07:55:08 +0000 (07:55 +0000)]
package/qemu: reenable Qemu user-land emulation for musl toolchains

Compatible "struct sigevent" added upstream in musl 1.2.2 [1].

[1] https://git.musl-libc.org/cgit/musl/commit/?id=7c71792e87691451f2a6b76348e83ad1889f1dcb

Signed-off-by: Joseph Burt <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agoconfigs/beaglev_fire: add support for BeagleV Fire
Jamie Gibbons [Tue, 18 Jun 2024 08:05:04 +0000 (09:05 +0100)]
configs/beaglev_fire: add support for BeagleV Fire

Add support for the BeagleV Fire, the Beagleboard SBC powered by
Microchip's PolarFire SoC.

The configuration file is beaglev_fire_defconfig. It builds a
bootable kernel image with an embedded root file system. The image
built can be flashed to the board using the eMMC.

The yaml configuration file is used by the hss payload generator. It
maps the ELF binaries or binary blobs to the application hart.

The image generator script sets the partitions of the image.

The image tree souce file creates a FIT image.

The post image script creates the payload using the payload generator
host package and finally, creates the FIT image using the ITS after the
kernel build. It also creates the BMAP file for use with the BMAP
command line tool to transfer the image to the board.

The U-Boot script and additional U-Boot configurations ensure that
U-Boot behaves as expected for the BeagleV-Fire and boots the FIT image.

The rootfs-overlay contains script for updating the BeagleV-Fire
gateware.

The README.txt documents how to build and boot the Beagle-V Fire with
this configuration. It also explains how to program a custom bitstream.

Signed-off-by: Jamie Gibbons <[email protected]>
Reviewed-by: Valentina Fernandez <[email protected]>
[Romain:
  - move board files to board/beagleboard directory
  - enable BR2_DOWNLOAD_FORCE_CHECK_HASHES and add hashes files
  - enable BR2_KERNEL_HEADERS_AS_KERNEL for linux-headers to avoid specify
    BR2_DEFAULT_KERNEL_VERSION
  - add BR2_PACKAGE_HOST_DOSFSTOOLS for mkdosfs (host variant)
]
Signed-off-by: Romain Naour <[email protected]>
6 months agotoolchain/toolchain-wrapper: make gcc --help -v work correctly
Sagi Mor [Sat, 7 Jan 2023 18:09:43 +0000 (20:09 +0200)]
toolchain/toolchain-wrapper: make gcc --help -v work correctly

make "gcc --help -v" display all the options, some packages depend on this
https://bugs.busybox.net/show_bug.cgi?id=15231

Signed-off-by: Sagi Mor <[email protected]>
[Arnout: move the handling to the beginning and directly call execv]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/x265: fix runtime issue on ARMv6, ensure correctness on ARMv7
Thomas Petazzoni [Sat, 13 Jul 2024 08:28:40 +0000 (10:28 +0200)]
package/x265: fix runtime issue on ARMv6, ensure correctness on ARMv7

The build logic in source/cmake/FindNeon.cmake caused the x265 build
system to always think that the CPU supports neon: it was looking in
/proc/cpuinfo, which of course is wrong when cross-compilation, but
then the sequence of grep was interacting badly with CMake, causing
the build system to always conclude that the CPU supports NEON.

This causes runtime issues on ARMv6.

Setting -DCROSS_COMPILE_ARM=1 fixes this, as it tells the x265 build
system we are cross-compiling and it skips its bogus NEON check. So
for ARMv6, we pass -DCROSS_COMPILE_ARM=1.

But then, we still want NEON for ARMv7 processors with NEON, so this
commit adds a patch that allows to explicitly specify whether the CPU
supports NEON, in the -DCROSS_COMPILE_ARM=1 case, and we use this
option when BR2_ARM_CPU_HAS_NEON.

For those wondering why -DCROSS_COMPILE_ARM=1 is not passed for all
ARM platforms: it's because from the perspective of x265, only ARM >=
v6 is ARM: it has assembly code that needs at least ARMv6. Earlier ARM
platforms are not detected as ARM by the x265 build logic, and
therefore fallback on generic code.

This has been build-tested on:
- ARMv5: generic code is used, no assembly
- ARMv6: assembly code is used, but not with NEON support
- ARMv7 with NEON: assembly code is used, with NEON support

Reported-by: David Barbion <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/x265: replace patch fixing gcc option
Thomas Petazzoni [Sat, 13 Jul 2024 08:27:06 +0000 (10:27 +0200)]
package/x265: replace patch fixing gcc option

As we're about to do some other fixes in x265 ARM build, let's replace
the patch fixing gcc option by:

- A patch generated by git format-patch now that x265 upstream uses
  Git

- Is re-submitted upstream

- Only drops the flags, and does not add bogus ARM architecture
  aliases that don't exist in the CMake world.

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/go: disable cgo support with static libs
Anisse Astier [Sun, 27 Nov 2022 16:45:33 +0000 (17:45 +0100)]
package/go: disable cgo support with static libs

The go stdlib "plugin" package relies on dlfcn.h which isn't available
when we have BR2_STATIC_LIBS=y.

Concentrate all cgo decision (including the existing threads part)
under the config option BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
that has the proper depends.

This should fix this build error from autobuilders:

/buildroot/build/host-go-1.19.3/src/plugin/plugin_dlopen.go:11:10: fatal error: dlfcn.h: No such file or directory
   11 | #include <dlfcn.h>

Fixes:
  http://autobuild.buildroot.net/results/1f4/1f4b9882986b9df723a1446493d270c29287b505
  http://autobuild.buildroot.net/results/a9d/a9de62374c948f773634c694a47abcaa2bc266d0

Signed-off-by: Anisse Astier <[email protected]>
Reviewed-by: Christian Stewart <[email protected]>
[Arnout: revert parts to v2, keeping most of the overall logic as it
was]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/opengl/libegl: remove BR2_PACKAGE_HAS_LIBEGL_WAYLAND
Thomas Petazzoni [Sat, 24 Sep 2022 21:02:20 +0000 (23:02 +0200)]
package/opengl/libegl: remove BR2_PACKAGE_HAS_LIBEGL_WAYLAND

Since wayland 1.15 (upstream commit
549a5ea710f4da1a5749587176d39fef1ded4077), libwayland-egl.so is
provided by the wayland package, so there is no longer a question of
whether libwayland-egl.so is provided by the particular EGL
implementation. See the Wayland commit log:

    wayland-egl: import libwayland-egl.so frontend library from Mesa

    Currently the client-facing libwayland-egl API is defined by a header
    file shipped by Wayland, but the implementation is left to each vendor.

    This can cause collisions when multiple implementations are installed on
    the same system. Importing the implementation into Wayland with a stable
    and versioned driver-facing ABI allows multiple drivers to coexist on
    the same system.

    Pull the sample implementation from Mesa commit 677edff5cfd
    ("wayland-egl: rework and simplify wl_egl_window initialization")
    It has been used by the Mesa open source drivers, NVIDIA and others[1].

    v2: Reword commit message, rebase on top of newer Mesa.

    [1] https://github.com/thayama/wayland-egl

Consequently, we remove the BR2_PACKAGE_HAS_LIBEGL_WAYLAND
option. Packages that rely on BR2_PACKAGE_HAS_LIBGLES and
BR2_PACKAGE_WAYLAND are guaranteed to have libwayland-egl.so.

Note that this doesn't solve the problem that libwayland-egl.so will be
provided both by wayland itself and by by the implementation
(rockchip-mali, sunxi-mali-utgard, ...). Still, there is a dependency
from the implementation on wayland so at least it is predictable which
one will end up on the target.

Signed-off-by: Thomas Petazzoni <[email protected]>
[Arnout: remove remaining references in sway and sunxi-mali-utgard]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/esp-hosted: bump version to 2024-07-12
Giulio Benetti [Fri, 12 Jul 2024 11:59:36 +0000 (13:59 +0200)]
package/esp-hosted: bump version to 2024-07-12

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/docker-cli-buildx: new package
Christian Stewart [Mon, 24 Jul 2023 01:09:07 +0000 (18:09 -0700)]
package/docker-cli-buildx: new package

buildx is a docker CLI plugin implementing extended build features.

buildx is the default builder as of Docker v23.x, and if the plugin is not
present, the CLI will output an error warning that it is using the deprecated
built-in builder instead of the buildx builder.

However, buildx is a separate repository from docker-cli: it is a plugin that
needs to be installed at /usr/lib/docker/cli-plugins on the target.

https://github.com/docker/buildx

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/erofs-utils: add config option for LZMA compression
Jan Čermák [Wed, 3 Jul 2024 08:28:48 +0000 (10:28 +0200)]
package/erofs-utils: add config option for LZMA compression

* Enabled LZMA compression for host build.
 * Added option for LZMA support on target.

Signed-off-by: Jan Čermák <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/erofs-utils: bump to 1.7.1
Jan Čermák [Wed, 3 Jul 2024 08:28:47 +0000 (10:28 +0200)]
package/erofs-utils: bump to 1.7.1

Signed-off-by: Jan Čermák <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/Makefile.in: add PARALLEL_JOBS to post-build/post-image scripts
Brandon Maier [Sat, 18 Nov 2023 18:13:08 +0000 (18:13 +0000)]
package/Makefile.in: add PARALLEL_JOBS to post-build/post-image scripts

Post-build, post-image, and other build scripts may run some commands in
parallel, for example to parallelize xargs, Makefiles, etc. Export
PARALLEL_JOBS to these scripts so they can enforce the same job limits
that other Buildroot packages use.

Signed-off-by: Brandon Maier <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/sunxi-tools: sunxi-fel needs dynamic library
Fabrice Fontaine [Mon, 2 Oct 2023 16:52:35 +0000 (18:52 +0200)]
package/sunxi-tools: sunxi-fel needs dynamic library

Fix the following build failure raised since bump to version
1.4.2-168-ged3039c in commit 2e330dff6a7ce7965ceb0dccdc9dcbcb329167bb:

/home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `libfdt/libfdt-1.6.1.so'

Fixes:
 - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/octave: add optional libsndfile support
Julien Olivain [Fri, 12 Jul 2024 21:48:38 +0000 (23:48 +0200)]
package/octave: add optional libsndfile support

GNU Octave supports the --with-sndfile configure option since v4.0.0.

For reference, commit 40ea68b4b2 "package/octave: new package"
introduced the package at v7.1.0.

This commits adds this optional support.

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/btrfs-progs: update Kconfig package homepage URL
Julien Olivain [Fri, 12 Jul 2024 22:04:31 +0000 (00:04 +0200)]
package/btrfs-progs: update Kconfig package homepage URL

The btrfs-progs homepage [1] show a banner:

    OBSOLETE CONTENT
    This wiki has been archived and the content is no longer updated.

    NOTE: this wiki is archived and not updated anymore (02/2023).
    Contents will be migrated to https://btrfs.readthedocs.io

This commit updates the URL to the new one at [2].

[1] https://btrfs.wiki.kernel.org/index.php/Main_Page
[2] https://btrfs.readthedocs.io

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/webkitgtk: bump to 2.44.2
Thomas Devoogdt [Sun, 19 May 2024 09:16:04 +0000 (11:16 +0200)]
package/webkitgtk: bump to 2.44.2

A lot has been changed in 2.44.0, please consult the announcement [1], what's new [2],
and the security advisory [3] for more details.

Specific to this bump:

 - Libegl is now mandatory [4] and the USE_OPENGL_OR_ES flag has been dropped.
   While at it, also explicitly add the libepoxy dependency which is now selected
   by libgtk3.

 - The WPE renderer has been dropped [2], so drop the wpebackend-fdo dependency.

 - JPEG2000 has been dropped [2], so drop the OpenJPEG dependency.

 - GTK4 is now the default, so turn it off, since buildroot has no GTK4 support
   yet [2].

 - USE_LIBBACKTRACE has been added [5], so select it properly.

 - Support for ENABLE_WEB_CODECS has been added, which will now be enabled
   together with audio and video support.

 - ENABLE_WEBASSEMBLY is forbidden when ENABLE_C_LOOP [6], so disable it when
   compiling for MIPS r6, ARMv5, and ARMv6.

In the meantime, a follow-up 2.44.1 and 2.44.2 release has been announced [7][8],
which contains a bunch of patches that were accepted upstream. Including build
fixes for 32-bit devices, and disabling video.

[1]: https://webkitgtk.org/2024/03/16/webkitgtk2.44.0-released.html
[2]: https://webkitgtk.org/2024/03/27/webkigit-2.44.html
[3]: https://webkitgtk.org/security/WSA-2024-0002.html
[4]: https://commits.webkit.org/271345@main
[5]: https://commits.webkit.org/268579@main
[6]: https://commits.webkit.org/271347@main
[7]: https://webkitgtk.org/2024/04/09/webkitgtk2.44.1-released.html
[8]: https://webkitgtk.org/2024/05/16/webkitgtk2.44.2-released.html

Signed-off-by: Thomas Devoogdt <[email protected]>
Acked-by: Adrian Perez de Castro <[email protected]>
Tested-by: Adrian Perez de Castro <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoconfigs/uevm5432_defconfig: bump Linux and U-Boot
Vincent Stehlé [Fri, 24 May 2024 15:56:17 +0000 (17:56 +0200)]
configs/uevm5432_defconfig: bump Linux and U-Boot

- Bump Linux kernel to v6.8.10.
  The Devicetree has moved; update our config accordingly.

- Bump U-Boot to 2023.04.
  This is the most recent version we can use as U-Boot 2023.07 dropped
  support for the uevm.
  OpenSSL is now required for the build.
  The default boot method has changed; switch to booting with an extlinux
  configuration to overcome this.

Signed-off-by: Vincent Stehlé <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/uvw: bump to 3.4.0
Thomas Petazzoni [Fri, 12 Jul 2024 21:59:14 +0000 (23:59 +0200)]
package/uvw: bump to 3.4.0

This allows uvw to be again in sync with the libuv package, following
the bump of libuv to v1.48 in commit
bd2f99246c253739a3d44d8345f2fbb5362b3fb5 ("package/libuv: security
bump to version 1.48")

The hash of the license file has changed due to a copyright year
update.

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/petitboot: run UI as non-root user
Reza Arbab [Wed, 7 Feb 2024 17:51:35 +0000 (11:51 -0600)]
package/petitboot: run UI as non-root user

Though the petitboot UI is a user application, it is currently being
run by root only because we use getty to display it on the console.

Create an unprivileged user to run the UI instead. The unix socket the
pb-discover daemon sets up is accessible to "petitgroup", so that should
be the gid, with arbitrary uid "petituser" to match.

This is currently the chain of processes leading to the UI:

1. /etc/init.d/pb-console start console
2. /usr/libexec/petitboot/pb-console --getty --detach -- -n -i 0 console linux
3. /sbin/getty -l/usr/libexec/petitboot/pb-console -n -i 0 console linux
4. /usr/libexec/petitboot/pb-console
5. /usr/sbin/petitboot-nc

Instead of (3) running the pb-console helper directly with "getty -l",
we can use "agetty -a" to autologin petituser, and run pb-console via
petituser's login shell:

1. /etc/init.d/pb-console start console
2. /usr/libexec/petitboot/pb-console --getty=/sbin/agetty --detach -- -a petituser -n -i console linux
3. /sbin/agetty -a petituser -n -i console linux
4. /home/petituser/.profile
5. /usr/libexec/petitboot/pb-console
6. /usr/sbin/petiboot-nc

Here, everything from (4) down is running as petituser. In (4), use
$PPID to determine if we're logging in via getty, so that logging in by
other means will give a normal shell. Otherwise we would recurse when
trying to get a shell from the menu.

Signed-off-by: Reza Arbab <[email protected]>
[Arnout: explicitly select util-linux, even though it comes indirectly
through other dependencies]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/petitboot: run script when exiting to shell
Reza Arbab [Wed, 7 Feb 2024 17:51:34 +0000 (11:51 -0600)]
package/petitboot: run script when exiting to shell

When the user selects the shell escape option from the petitboot menu,
reset the terminal so output is raw rather than being confined to the
ncurses window set up for the petitboot menu, and print some helpful
text before running the shell.

To do this, override the default HOST_PROG_SH (/bin/sh) with a small
script. Doing so also enables someone to customize this behavior by
overlaying a different script.

Signed-off-by: Reza Arbab <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/petitboot: properly shut down before kexec
Reza Arbab [Wed, 7 Feb 2024 17:51:33 +0000 (11:51 -0600)]
package/petitboot: properly shut down before kexec

It's good practice to unmount filesystems and gracefully terminate
running services before running "kexec -e". So when a boot option has
been chosen from the petitboot menu, poke init to shut the system down
and kexec the new kernel.

One benefit to us in particular is that when pb-console is killed, it
notifies the user that we're booting:

  trap 'reset; echo "SIGTERM received, booting..."; sleep 2' SIGTERM

This terminal reset is also useful, exiting the ncurses visual mode so
subsequent boot output is raw rather than being confined to the window
set up for the petitboot menu.

Currently we assume busybox init (using the bb-kexec-reboot script
included with petitboot), but do not add an accompanying entry
in the inittab to run kexec, so things aren't working.

Add a new script kexec-restart that does the right thing for all init
systems that Buildroot supports (busybox, sysv, openrc, systemd). OpenRC
and systemd have an upstream way to do a kexec-shutdown. For busybox and
sysv, we add a line to inittab that does kexec -f -e (after the shutdown
scripts have run). Finally, for other cases (where there is no
recognized init system) directly use kexec -f -e.

Signed-off-by: Reza Arbab <[email protected]>
[Arnout:
 - install kexec-restart in /usr/libexec/petitboot, where it was before;
 - determine init system statically based on config instead of dynamically.
]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/harfbuzz: bump to version 9.0.0
Giulio Benetti [Wed, 3 Jul 2024 10:42:33 +0000 (12:42 +0200)]
package/harfbuzz: bump to version 9.0.0

Since the major release changed all the packages that have direct
dependency to harfbuzz have been succesfully built:
- efl
- libass
- mupdf
- pango
- qt5base
- qt5webengine
- qt6base
- sdl2_ttf
- supertuxkart
- vlc
- webkitgtk
- wpewebkit

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/go: security bump version to go1.22.5
Christian Stewart [Wed, 3 Jul 2024 19:33:29 +0000 (12:33 -0700)]
package/go: security bump version to go1.22.5

Fixes CVE:

CVE-2024-24791: net/http: denial of service due to improper 100-continue handling

https://go.dev/doc/devel/release#go1.22.5

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/wpewebkit: use libavif if enabled
Adrian Perez de Castro [Wed, 22 May 2024 09:16:07 +0000 (12:16 +0300)]
package/wpewebkit: use libavif if enabled

Make wpewebkit pick a value for the USE_AVIF option depending
on BR2_PACKAGE_LIBAVIF.

Signed-off-by: Adrian Perez de Castro <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/libavif: new package
Adrian Perez de Castro [Wed, 22 May 2024 09:16:06 +0000 (12:16 +0300)]
package/libavif: new package

libavif is an implementation of the AV1F image format, which may be a
frontend for different encoders and decoders. At the moment only dav1d
is packaged so that is the one configured.

Signed-off-by: Adrian Perez de Castro <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/tig: new package
Julien Olivain [Mon, 20 May 2024 15:27:48 +0000 (17:27 +0200)]
package/tig: new package

Tig is an ncurses-based text-mode interface for git. It
functions mainly as a Git repository browser, but can also
assist in staging changes for commit at chunk level and act
as a pager for output from various Git commands.

https://jonas.github.io/tig/

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/prelink-cross: bump to version ff2561c02ade96c5d4d56ddd4e27ff064840a176
James Hilliard [Fri, 12 Jul 2024 20:19:43 +0000 (14:19 -0600)]
package/prelink-cross: bump to version ff2561c02ade96c5d4d56ddd4e27ff064840a176

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/mxt-app: new package
Saeed Kazemi [Tue, 19 Sep 2023 19:35:14 +0000 (21:35 +0200)]
package/mxt-app: new package

mxt-app is a utility for managing Atmel maXTouch touch controllers
and other devices that support Atmel Object Based Protocol.

Signed-off-by: Saeed Kazemi <[email protected]>
[Arnout:
 - drop BR2_PACKAGE_MXT_APP_DEBUG option, instead use
   BR2_ENABLE_RUNTIME_DEBUG;
 - also explicitly disable debug;
 - add comment to explain AUTORECONF.
]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/ima-evm-utils: bump version to 1.6
Petr Vorel [Fri, 12 Jul 2024 18:42:41 +0000 (20:42 +0200)]
package/ima-evm-utils: bump version to 1.6

Upstream moved git repository.

The COPYING file has been dropped in favor of a LICENSES.txt file that
clarifies the licensing. We take this opportunity to update the
IMA_EVM_UTILS_LICENSE variable according to what LICENSES.txt
indicates.

Signed-off-by: Petr Vorel <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoconfigs/spike_riscv64: bump kernel to 6.6.35 and add hashes
Julien Olivain [Fri, 12 Jul 2024 18:39:31 +0000 (20:39 +0200)]
configs/spike_riscv64: bump kernel to 6.6.35 and add hashes

Commit [1] introduced a new spike_riscv32_defconfig with Kernel
at v6.6.35.

This commit bumps the Kernel of spike_riscv64_defconfig to have it
aligned with its 32bit counterpart.

This commit also adds custom hashes. Therefore, it adds
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y in the defconfig, adds a global
patch directory, and removes the entry in ".checkpackageignore".

Finally, to completely align with the spike_riscv32_defconfig, the
config directive BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM is moved by few
lines.

With this commit, the maintenance of the two spike_riscv{32,64}
defconfigs will be easier.

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/a83ab3f4c8621dec58dc78a8dcb48e519377ac3d

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoboard/spike/riscv64/readme.txt: remove obsolete comment
Julien Olivain [Fri, 12 Jul 2024 18:33:18 +0000 (20:33 +0200)]
board/spike/riscv64/readme.txt: remove obsolete comment

At the time the spike_riscv64_defconfig was introduced in commit [1], it
was not possible to have a console input using Spike and OpenSBI for
RISC-V 32 bits. This limitation no longer applies, as upstream
components now implements support for this.

Buildroot commit [2] updated riscv-isa-sim (Spike), which now includes a
NS16550 uart emulation. This can be used by RV32 Linux Kernel. Finally,
a spike_riscv32_defconfig was added in [3].

This commit removes the comment about this limitation, since it no
longer applies.

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/24d07fdc1404901fb1872ac55f875fe1d555cbb3
[2] https://gitlab.com/buildroot.org/buildroot/-/commit/853b7661bf5ddca5d4b81964ef1a19a133beac85
[3] https://gitlab.com/buildroot.org/buildroot/-/commit/a83ab3f4c8621dec58dc78a8dcb48e519377ac3d

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/fwts: fix build with host make >= 4.4
Julien Olivain [Mon, 20 May 2024 09:52:05 +0000 (11:52 +0200)]
package/fwts: fix build with host make >= 4.4

When build host has a many CPUs (more that 20) and GNU Make 4.4
(included for example in Fedora 40), fwts can randomly fail to build.

This commit adds a package patch to fix the issue.

Fixes:

    mv: cannot stat 'dtcompilerparser.tab.c': No such file or directory
    mv: cannot stat 'prparser.tab.c': No such file or directory

See also:
https://github.com/fwts/fwts/issues/7

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/systemd: enable required oomd kernel options
James Hilliard [Fri, 5 Jul 2024 01:11:14 +0000 (19:11 -0600)]
package/systemd: enable required oomd kernel options

In order for systemd-oomd to run CONFIG_PSI and CONFIG_MEMCG must be
enabled in the kernel config.

See:
https://github.com/systemd/systemd/commit/e7b3f1a6c358dd3eaf0b50547bd52130ad4126ae
https://github.com/systemd/systemd/commit/aa329b89223a79793cde8288b1bc6e93db174938

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/mokutil: bump to version 0.7.2
Julien Olivain [Mon, 20 May 2024 09:07:39 +0000 (11:07 +0200)]
package/mokutil: bump to version 0.7.2

For release note, see:
https://github.com/lcp/mokutil/releases/tag/0.7.2

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoDEVELOPERS: re-add entries for imx8mmpico_defconfig
Thomas Petazzoni [Fri, 12 Jul 2024 20:24:36 +0000 (22:24 +0200)]
DEVELOPERS: re-add entries for imx8mmpico_defconfig

These entries should not have been removed by commit
61d04a0a738dd10bb2dd96a2e28ff3fd15e03476 ("configs/imx8mpico: remove
defconfig").

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoconfigs/imx8mpico: remove defconfig
Julien Olivain [Mon, 20 May 2024 08:49:31 +0000 (10:49 +0200)]
configs/imx8mpico: remove defconfig

This defconfig fail to build since commit dc0f721
"package/gcc: switch to 13.x as default".

This board is no longer listed in the supported platforms in the
latest BSPs from TechNexion:
https://developer.technexion.com/docs/release-notes-yp42-2024q2#supported-platforms-in-this-release

This commit removes this defconfig.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6865597285

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoRevert "package/check: disable static build"
Thomas Petazzoni [Fri, 12 Jul 2024 20:19:54 +0000 (22:19 +0200)]
Revert "package/check: disable static build"

This reverts commit 77e945b003e1b401c0def36db403c937e4d604bb.

The static linking issue was fixed by commit
526b89b981cb3fa3da7644482d1f140f1fb25e27 ("package/check: don't build
shared lib when disabled")

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/check: fix build on noMMU configurations
Thomas Petazzoni [Fri, 12 Jul 2024 20:17:30 +0000 (22:17 +0200)]
package/check: fix build on noMMU configurations

check was failing to build on noMMU configurations due to mistake in
the build conditionals of the code around the HAVE_FORK macro. This
commit brings a patch, submitted upstream, that fixes those issues.

Fixes:

  http://autobuild.buildroot.net/results/1509108aa111da706d544eb67e1ae2c2b34bd4e4/

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/check: don't build shared lib when disabled
Thomas Petazzoni [Fri, 12 Jul 2024 20:16:08 +0000 (22:16 +0200)]
package/check: don't build shared lib when disabled

The build system of check was unconditionally building a shared
library, even when BUILD_SHARED_LIBS=OFF. This commit brings a patch,
submitted upstream, which fixes this issue, and allows to fix the
build in BR2_STATIC_LIBS=y configurations.

Fixes:

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

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/libarchive: add bsdunzip option
Fabrice Fontaine [Sat, 16 Sep 2023 15:10:15 +0000 (17:10 +0200)]
package/libarchive: add bsdunzip option

Add bsdunzip option to avoid the following build failure raised since
bump to version 3.7.1 in commit 7991d2c48a859f9c0333ade8192868c21b1a8a31 and
https://github.com/libarchive/libarchive/commit/c157e4ce8eb170a92945cc2d292fd7106bdfcce1:

  CCLD     bsdunzip
/home/autobuild/autobuild/instance-4/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/12.3.0/../../../../powerpc-buildroot-linux-musl/bin/ld: cannot find -lz: No such file or directory

By handling it explicitly, we can specify whether the dynamic or static
library should be used, according to what we actually have available.

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

Signed-off-by: Fabrice Fontaine <[email protected]>
Tested-by: Bernd Kuhls <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/check: disable static build
Fabrice Fontaine [Sat, 16 Sep 2023 14:22:56 +0000 (16:22 +0200)]
package/check: disable static build

check can't be built statically since switch to cmake in commit
6dfc789f4f21367bc5f4b5454db0922821a765bc:

/home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/mipsel-buildroot-linux-uclibc/12.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: libcheck.so.0.15.2: hidden symbol `__fini_array_end' isn't defined

Fixes:
 - http://autobuild.buildroot.org/results/0d6/0d6fcbedef29bf0d6a1d9ecb8e4d82b4ad06cfa8

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/mediastreamer: fix patch fuzz
Dario Binacchi [Sun, 7 Jul 2024 16:46:02 +0000 (18:46 +0200)]
package/mediastreamer: fix patch fuzz

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, mediastreamer fails to build with output:

    Applying 0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch using patch:
    patching file src/utils/ffmpeg-priv.h
    Hunk #1 FAILED at 102.
    1 out of 1 hunk FAILED -- saving rejects to file src/utils/ffmpeg-priv.h.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/x11r7/xdriver_xf86-video-mach64: fix patch fuzz
Dario Binacchi [Sun, 7 Jul 2024 16:33:29 +0000 (18:33 +0200)]
package/x11r7/xdriver_xf86-video-mach64: fix patch fuzz

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, xdriver_xf86-video-mach64 fails to build with output:

    Applying 0001-cross-compile.patch using patch:
    patching file configure.ac
    Hunk #1 FAILED at 85.
    1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/x11r7/xdriver_xf86-video-tdfx: fix patch fuzz
Dario Binacchi [Sun, 7 Jul 2024 16:21:49 +0000 (18:21 +0200)]
package/x11r7/xdriver_xf86-video-tdfx: fix patch fuzz

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, xdriver_xf86-video-tdfx fails to build with output:

    Applying 0001-cross.patch using patch:
    patching file configure.ac
    Hunk #1 FAILED at 67.
    1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/libsvgtiny: update the patches to be applied with fuzz 0
Dario Binacchi [Fri, 5 Jul 2024 19:52:31 +0000 (21:52 +0200)]
package/libsvgtiny: update the patches to be applied with fuzz 0

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, libsvgtiny fails to build with output:

    Applying 0004-Build-Include-gperf-generated-code-directly.patch using patch:
    patching file src/Makefile
    Hunk #1 FAILED at 1.
    1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/pkg-generic.mk: remove double colon in .stamp_built
Bernd Kuhls [Fri, 18 Aug 2023 15:16:08 +0000 (17:16 +0200)]
package/pkg-generic.mk: remove double colon in .stamp_built

This issue was introduced back in 2009 with commit
e11fe847b2f545446fc3300dd2ba88fd5da05756 that created the generic
package infrastructure.

Signed-off-by: Bernd Kuhls <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/tcf-agent: fix uClibc-ng compile on ARM
Waldemar Brodkorb [Thu, 17 Aug 2023 14:51:38 +0000 (16:51 +0200)]
package/tcf-agent: fix uClibc-ng compile on ARM

When a shared build is used, we can use getauxval and no ARM only
instuctions are in use.

When a static build is used, we need to override CFLAGS to use
arm instructions, as uClibc-ng only supports getauxval for shared case.

Fixes:
 - http://autobuild.buildroot.net/results/3b5/3b5c5519a3e5ee490308bc1a1b9579ce13417235

Signed-off-by: Waldemar Brodkorb <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/ntpsec: fix compile issue for some toolchains
Waldemar Brodkorb [Sun, 13 Aug 2023 17:43:58 +0000 (19:43 +0200)]
package/ntpsec: fix compile issue for some toolchains

Ntpsec unconditionally uses PIE to compile code.
This breaks compilation for at least microblaze-uclibc and
m68k-uclibc toolchains.

Also in Buildroot context, PIE should anyway be governed by BR2_PIC_PIE.

It would be better to add a configure option to allow to disable pie
support, but this is something for a waf expert.

Fixes:
 - http://autobuild.buildroot.net/results/77f/77f4e4065874d022a2ae98d82508242f551e224c
 - http://autobuild.buildroot.net/results/e45/e45b65f2aa323df075d54ff43b0401b5ac7c6eb5

Signed-off-by: Waldemar Brodkorb <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/xvisor: fix RISC-V hang when BR2_SHARED_LIBS=y
Julien Olivain [Tue, 8 Aug 2023 20:05:46 +0000 (22:05 +0200)]
package/xvisor: fix RISC-V hang when BR2_SHARED_LIBS=y

When BR2_SHARED_LIBS=y (shared libraries only) and BR2_PIC_PIE=y
(Build code with PIC/PIE), the toolchain-wrapper will try to enable
position-independent code/executables. See [1]. This configuration
is a common default.

Xvisor was likely tested only with RISC-V gcc from [2], which will
not enable PIE by default. Since Xvisor is a Type 1 hypervisor, it
needs the same kind of special treatment as U-Boot or Kernel.

This commit adds a patch to explicitly force static linking and
disable PIE for RISC-V architecture.

[1] https://git.buildroot.org/buildroot/tree/toolchain/toolchain-wrapper.c?h=2023.05.1#n392
[2] https://github.com/riscv-collab/riscv-gnu-toolchain

Signed-off-by: Julien Olivain <[email protected]>
[Arnout: renumber patch]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/kexec: fix link error when BR2_OPTIMIZE_0=y
Julien Olivain [Tue, 22 Aug 2023 19:23:14 +0000 (21:23 +0200)]
package/kexec: fix link error when BR2_OPTIMIZE_0=y

When BR2_OPTIMIZE_0, -O0 is passed in compiler CFLAGS. This means no
code optimization will be performed.

kexec code uses a trick to detect unaligned accesses at link time
which needs at least dead-code-removal to work. See
put/get_unaligned() macros in kexec/kexec.h. This code was re-enabled
in upstream commit [1].

This commit sets at least -O1 (which include the sufficient
dead-code-removal) when BR2_OPTIMIZE_0=y, to fix those issues.

Fixes:
- http://autobuild.buildroot.org/results/8f8/8f8532f1dfbd71e52c51c00118934af9fa45e7cb
- http://autobuild.buildroot.org/results/528/528fd7baf9b0ad5549d22ec8e0623c5fa1f2d117
- http://autobuild.buildroot.org/results/499/499115439680adfb4b40042468e5bbb65d91ce6c
- ...and many others

[1] https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=0723defb5308ac7fce296f8b596bff4df6803f01

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/rdesktop: update the patches to be applied with fuzz 0
Julien Olivain [Thu, 4 Jul 2024 09:45:49 +0000 (11:45 +0200)]
package/rdesktop: update the patches to be applied with fuzz 0

Commit 8f88a644ed "support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0" reduced the fuzz factor.

Due to this change, rdesktop fails to build with output:

    Applying 0001-8bit-colors.patch using patch:
    patching file xwin.c
    Hunk #1 succeeded at 1801 (offset 340 lines).
    Hunk #2 FAILED at 1568.
    1 out of 2 hunks FAILED -- saving rejects to file xwin.c.rej

This commit refreshes the package patches on the current package
version. The original patch was not generated with "git format-patch",
and had no information (no commit log, no author, no date, ...). Since
it was introduced in commit [1], the author and date is set to this
commit. The "Upstream:" tag is also added to the patch, mentioning
the upstream project is reported as unmaintained on its homepage (at
the time of this commit). Finally, the ".checkpackageignore" entry is
removed, since it is no longer needed.

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/e2dde9c7cdc2f9ed851acfb7daa858ffa1744246

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/libglfw: update the patches to be applied with fuzz 0
Dario Binacchi [Thu, 4 Jul 2024 06:37:22 +0000 (08:37 +0200)]
package/libglfw: update the patches to be applied with fuzz 0

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, libglfw fails to build with output:

    Applying 0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch using patch:
    patching file src/CMakeLists.txt
    Hunk #1 FAILED at 75.
    1 out of 1 hunk FAILED -- saving rejects to file src/CMakeLists.txt.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/udpcast: update the patches to be applied with fuzz 0
Dario Binacchi [Fri, 5 Jul 2024 10:22:25 +0000 (12:22 +0200)]
package/udpcast: update the patches to be applied with fuzz 0

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, udpcast fails to build with output:

    Applying 0001-fix-musl-build.patch using patch:
    patching file receivedata.c
    Hunk #1 FAILED at 1.
    1 out of 1 hunk FAILED -- saving rejects to file receivedata.c.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/pppd: add patch fixing build issue on SPARC/SPARC64
Thomas Petazzoni [Fri, 12 Jul 2024 19:07:14 +0000 (21:07 +0200)]
package/pppd: add patch fixing build issue on SPARC/SPARC64

Integrate a patch, which was submitted upstream, to work-around an
issue with the SPARC kernel headers. The kernel headers have been
fixed in the upstream kernel (in the to-be-released 6.10 kernel), but
we need a workaround for the older toolchains, until we believe 6.10
is "old" enough to be able to drop the workaround.

Fixes:

  http://autobuild.buildroot.net/results/272c464ed4f9392535fa3b7613218dbd03acf901/

Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agodocs/manual: normalize delimiters of listing blocks
Arnout Vandecappelle [Fri, 12 Jul 2024 18:23:24 +0000 (20:23 +0200)]
docs/manual: normalize delimiters of listing blocks

Although the asciidoc toolchain accepts any number of ~ to delimit a
listing block (i.e. a code block), it is actually specified to be
exactly four, i.e. ~~~~. Currently, a mix of diffrent numbers of ~ are
being used - sometimes even a different number at the beginning and at
the end of the block.

Normalize this to always use exactly four ~ for the delimiter.

Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agodocs/manual: standardize references to the generic infra
Ricardo Martincoski [Sun, 1 Jan 2023 23:36:53 +0000 (20:36 -0300)]
docs/manual: standardize references to the generic infra

Currently the text for each package infra that mentions the usage of
variables already provided by the generic infra diverge from each other:
- some (golang, kconfig, python) add a cross-referece to the generic
  infra chapter;
- kconfig does not list any example;
- some mention _LICENSE as an example, others don't;
- some (cargo, golang, python) add an 'etc.' at the end of the examples,
  giving the idea that can be more symbols provided by the generic
  infra than the ones listed;
- most have the text 'works by defining a number of variables before
  calling the +<macro-name>+ macro', except golang and kconfig;
- some actually list 'A few additional variables' but keep using some
  old reference as 'An additional variable';
- some say 'First, all the package metadata' and other only 'All the
  package metadata';
- most mention _SUBDIR as an example of variable supported by the
  generic infra, even the generic infra manual not mentioning it.

Improve the correctness for the manual by standardizing the text among
the package infras:
- use the same text "All the package metadata information variables that
  exist in the generic package infrastructure also exist in the
  <name> infrastructure:" for all of them;
- add the cross-reference for all of them;
- remove the examples of variables inherited from the generic infra -
  this also solves the _SUBDIR problem, there no longer is any reference
  to _SUBDIR;
- wrap the modified text at 80 columns;
- add "macro" to golang and luarocks infra;
- use "A few additional variables" for qmake and waf.

At same time, add a missing format on golang manual for
BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS.

Cc: Eric Le Bihan <[email protected]>
Cc: Thomas De Schampheleire <[email protected]>
Signed-off-by: Ricardo Martincoski <[email protected]>
[Arnout:
 - remove the examples;
 - add "the" where "macro" was added;
 - rewrite the preceding paragraphs for kconfig to make it more
   consistent.
]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agoutils/check-package: check linux-tools
Ricardo Martincoski [Sun, 1 Jan 2023 23:36:50 +0000 (20:36 -0300)]
utils/check-package: check linux-tools

Each linux tool uses a fragment of a .mk file, named, for instance:
package/linux-tools/linux-tool-cpupower.mk.in
So currently check-package does not check these files.

Add the support in check-package script.
At the same time, factor out a function to derive package prefix from
the filename being checked, so the fix (calling os.path.splitext twice)
can be applied in a single place.

Signed-off-by: Ricardo Martincoski <[email protected]>
[Arnout: add docstring and explain double splitext to
         get_package_prefix_from_filename]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agoutils/check-package: fix check for <pkg>_REDISTRIBUTE
Ricardo Martincoski [Sun, 1 Jan 2023 23:36:49 +0000 (20:36 -0300)]
utils/check-package: fix check for <pkg>_REDISTRIBUTE

Commit "8e87d76c12 check-package: check *.mk files" added a typo that
prevents check-package from checking <PKG>_REDISTRIBUTE default value.

Fix the typo: _INSTALL_REDISTRIBUTE -> _REDISTRIBUTE

Signed-off-by: Ricardo Martincoski <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/sysprof: update to version 46.0
Adrian Perez de Castro [Thu, 27 Jun 2024 22:02:19 +0000 (01:02 +0300)]
package/sysprof: update to version 46.0

Bring Sysprof twelve years into the future by updating it to the most
recent release. The GUI now uses GTK4, for which there is not yet a
package, so for now the option is removed.

Obviously, many things changed:

- Build system moved to meson
- License moved from GPLv2 to GPLv3
- Many new dependencies

Signed-off-by: Adrian Perez de Castro <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/libdex: new package
Adrian Perez de Castro [Thu, 27 Jun 2024 22:02:18 +0000 (01:02 +0300)]
package/libdex: new package

This package provides utilities for asynchronous programming in C
using a futures/promises model. Newer versions of sysprof require
this library.

https://gitlab.gnome.org/GNOME/libdex

Signed-off-by: Adrian Perez de Castro <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoboot/ti-k3-r5-loader: share download files with uboot
Yann E. MORIN [Fri, 7 Jun 2024 09:37:12 +0000 (11:37 +0200)]
boot/ti-k3-r5-loader: share download files with uboot

ti-k3-r5-loader is just a U-Boot SPL running on the R5 core on TI's K3
processors, so it makes sense to just share the downloads with U-Boot.

With commit ebe238f2b595 (package/pkg-download: use _DL_SUBDIR as root
dir of generated archives), the root of the generated archive will also
be based on _DL_SUBDIR, but the name of the archive, _SOURCE, is still
based on the current package unless explicitly set. For ti-k3-r5-loader,
that would create an archive which fiename does not match its root
directory; although Buildroot does not care (we --strip-components=1
when extracting), this would be a bit surprising to anyone manually
extrating the archive, as it diverges from the usual expectations.

Do like we do for linux-headers, and force the ti-k3-r4-loader archive
filename to be u-boot-VERSION.tar.gz

Signed-off-by: Yann E. MORIN <[email protected]>
Cc: Anand Gadiyar <[email protected]>
Cc: Bryan Brattlof <[email protected]>
Cc: Xuanhao Shi <[email protected]>
Cc: Paresh Bhagat <[email protected]>
Reviewed-by: Bryan Brattlof <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
6 months agopackage/frotz: fix build with gcc 14
Thomas Huth [Fri, 17 May 2024 08:20:07 +0000 (10:20 +0200)]
package/frotz: fix build with gcc 14

Change -std=c99 into -std=gnu99 in the CFLAGS to avoid the following
build failure with gcc 14:

fastmem.c: In function 'z_restore':
fastmem.c:842:36: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
  842 |                 f_setup.aux_name = strdup(default_name);
      |                                    ^~~~~~
      |                                    strcmp

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

Reported-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/gpm: fix musl build with gcc 14
Fabrice Fontaine [Sat, 18 May 2024 09:17:07 +0000 (11:17 +0200)]
package/gpm: fix musl build with gcc 14

Fix the following musl build failure with gcc 14:

daemon/old_main.c: In function 'old_main':
daemon/old_main.c:56:11: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   56 |       if(!strcmp((which_mouse->opt_dev),"-")) fd=0; /* use stdin */
      |           ^~~~~~
daemon/old_main.c:35:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   34 | #include "headers/gpmInt.h"         /* daemon internals */
  +++ |+#include <string.h>
   35 |

While at it, add Upstream tags to other patches

Fixes:
 - http://autobuild.buildroot.org/results/3192740863d57e72e90e622683e7b9fcc057fa8b

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/uclibc-ng-test: bump to the latest git version
Dmitry Chestnykh [Sun, 19 May 2024 04:50:03 +0000 (07:50 +0300)]
package/uclibc-ng-test: bump to the latest git version

Upstream contains new tests and refactoring of the existing
functionality.

Signed-off-by: Dmitry Chestnykh <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/prelink-cross: bump to version 440c0059a21f06b5577499a80b55482cb99d6d1c
James Hilliard [Mon, 1 Jul 2024 16:56:16 +0000 (10:56 -0600)]
package/prelink-cross: bump to version 440c0059a21f06b5577499a80b55482cb99d6d1c

Drop no longer relevant patch.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoboard/zynqmp: cleanup
Neal Frager [Tue, 18 Jun 2024 03:38:49 +0000 (04:38 +0100)]
board/zynqmp: cleanup

Now that all zynqmp defconfigs have been bumped to xilinx-v2024.1, this patch
cleans up the board/zynqmp dir by removing files that are no longer necessary.

Signed-off-by: Neal Frager <[email protected]>
Reviewed-by: Luca Ceresoli <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoconfigs/zynqmp_kria_kd240_defconfig: bump to xilinx-v2024.1
Neal Frager [Tue, 18 Jun 2024 03:38:48 +0000 (04:38 +0100)]
configs/zynqmp_kria_kd240_defconfig: bump to xilinx-v2024.1

This patch bumps the zynqmp_kria_kd240_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01
- ATF v2.10
- PMUFW xilinx-v2024.1

Migrated u-boot to xilinx_zynqmp_kria_defconfig, so uboot.fragment no longer
needed.

With u-boot 2024.1, CONFIG_SYS_SPI_U_BOOT_OFFS has a new meaning. It is now
the offset between the base address of the boot.bin and u-boot.itb instead of
a raw base address of u-boot.itb. This allows for A/B firmware updates since
the u-boot.itb is set by default to a 0x80000 offset of the boot.bin.

Thus, Kria SOMs come with the following QSPI address table.

Partition A:
0x200000 - boot.bin
0x280000 - u-boot.itb

Partition B:
0xF80000 - boot.bin
0x1000000 - u-boot.itb

In addition, the kd240 still requires a board specific patch for the usb to sd
card bridge device.  Without the board specific patch in the
./board/zynqmp/kria/kd240/patches directory, the usb will not come up correctly
and u-boot will not be able to find the sd card containing the Linux kernel and
file system.

Upstream: https://patchwork.ozlabs.org/project/uboot/patch/20240604083854.2033917[email protected]/

Signed-off-by: Neal Frager <[email protected]>
Reviewed-by: Luca Ceresoli <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/oatpp: update the patches to be applied with fuzz 0
Dario Binacchi [Fri, 5 Jul 2024 07:35:27 +0000 (09:35 +0200)]
package/oatpp: update the patches to be applied with fuzz 0

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, oatpp fails to build with output:

    Applying 0001-src-oatpp-core-base-Environment.hpp-include-cstdarg.patch using patch:
    patching file src/oatpp/core/base/Environment.hpp
    Hunk #1 FAILED at 29.
    1 out of 1 hunk FAILED -- saving rejects to file src/oatpp/core/base/Environment.hpp.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/pulseview: update the patches to be applied with fuzz 0
Dario Binacchi [Fri, 5 Jul 2024 06:51:21 +0000 (08:51 +0200)]
package/pulseview: update the patches to be applied with fuzz 0

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, pulseview fails to build with output:

    Applying 0001-Replace-obsolete-deprecated-Qt-methods.patch using patch:
    patching file pv/util.cpp
    Hunk #2 succeeded at 175 (offset 4 lines).
    Hunk #3 succeeded at 285 (offset 4 lines).
    patching file pv/util.hpp
    Hunk #2 succeeded at 139 (offset 1 line).
    patching file pv/views/trace/decodetrace.cpp
    Hunk #1 FAILED at 103.
    1 out of 1 hunk FAILED -- saving rejects to file pv/views/trace/decodetrace.cpp.rej

    Applying 0003-Support-glibmm-2.68.patch using patch:
    patching file CMakeLists.txt
    Hunk #3 FAILED at 231.
    Hunk #4 FAILED at 492.
    2 out of 4 hunks FAILED -- saving rejects to file CMakeLists.txt.rej

This commit refreshes the package patches on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/nodejs: bump to 20.12.0
Marcus Hoffmann [Thu, 28 Mar 2024 11:00:58 +0000 (12:00 +0100)]
package/nodejs: bump to 20.12.0

Release Notes: https://nodejs.org/en/blog/release/v20.12.0

LICENSE hash changed due to changes in vendored components:

* copyright year updates [1][2]
* version name update [3]
* change from "Unicode, Inc. License - Data Files and Software"
  to the "Unicode License v3" [4]. This is in the icu vendored
  dependency which is unused in buildroot.
* new build tooling script [5] under BSD style license

NodeJS tests are passing:

$ ./utils/docker-run ./support/testing/run-tests -o ./outputs/ -k tests.package.test_nodejs
13:40:05 TestNodeJSModuleHostSrc                  Starting
13:40:06 TestNodeJSModuleHostSrc                  Building
14:05:52 TestNodeJSModuleHostSrc                  Building done
14:06:02 TestNodeJSModuleHostSrc                  Cleaning up
.14:06:02 TestNodeJSModuleHostBin                  Starting
14:06:03 TestNodeJSModuleHostBin                  Building
14:24:25 TestNodeJSModuleHostBin                  Building done
14:24:31 TestNodeJSModuleHostBin                  Cleaning up
.14:24:31 TestNodeJSBasic                          Starting
14:24:32 TestNodeJSBasic                          Building
14:42:53 TestNodeJSBasic                          Building done
14:43:02 TestNodeJSBasic                          Cleaning up
.
----------------------------------------------------------------------
Ran 3 tests in 3776.679s

OK

[1] https://github.com/nodejs/node/commit/347e1dd06a5f927d9fd64ce72d776c56d5101910
[2] https://github.com/nodejs/node/commit/b88170d602791fa62fc45ac80ca9953bc1bdd25b
[3] https://github.com/nodejs/node/commit/c8233912e9fd7464898b549d6762130722bf0bf4
[4] https://github.com/nodejs/node/commit/625fd69b76b5a8f59152f803b31941c8986d924b
[5] https://github.com/nodejs/node/commit/b5bc597871ca701bab750c46d31ed626decd7f89

Signed-off-by: Marcus Hoffmann <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/rpi-firmware: bump version to 5476720
Gaël PORTAY [Fri, 7 Jun 2024 07:13:59 +0000 (09:13 +0200)]
package/rpi-firmware: bump version to 5476720

Version 5476720 match the with kernel 6.6.28.

Signed-off-by: Gaël PORTAY <[email protected]>
Reviewed-by: Brandon Maier <[email protected]>
Tested-by: Brandon Maier <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoconfigs/raspberrypi*: bump kernel version to 17f135b (6.6.28)
Gaël PORTAY [Fri, 7 Jun 2024 07:13:58 +0000 (09:13 +0200)]
configs/raspberrypi*: bump kernel version to 17f135b (6.6.28)

Now based on 6.6.28 (from 6.1.61).

Signed-off-by: Gaël PORTAY <[email protected]>
Reviewed-by: Brandon Maier <[email protected]>
Tested-by: Brandon Maier <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agosupport/testing: add bcc runtime test
Julien Olivain [Sat, 1 Jun 2024 21:01:04 +0000 (23:01 +0200)]
support/testing: add bcc runtime test

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agosupport/testing: add mosquitto runtime test
Julien Olivain [Sat, 1 Jun 2024 23:03:40 +0000 (01:03 +0200)]
support/testing: add mosquitto runtime test

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/python-bcrypt: bump to version 4.1.3
James Hilliard [Sun, 2 Jun 2024 21:33:33 +0000 (15:33 -0600)]
package/python-bcrypt: bump to version 4.1.3

Migrate from generic setuptools infrastructure to setuptools-rust
infrastructure.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/qt5: bump packages to latest kde submodule versions
Roy Kollen Svendsen [Tue, 11 Jun 2024 14:12:16 +0000 (16:12 +0200)]
package/qt5: bump packages to latest kde submodule versions

Bump qt5 packages to latest submodule versions from:
https://invent.kde.org/qt/qt/qt5/-/tree/kde/5.15

Signed-off-by: Roy Kollen Svendsen <[email protected]>
[Thomas: update the hash of qt5webengine]
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/fail2ban: bump version to 1.1.0
Fiona Klute (WIWA) [Tue, 9 Jul 2024 10:18:40 +0000 (12:18 +0200)]
package/fail2ban: bump version to 1.1.0

Fail2ban 1.1.0 brings Python 3.12 compatibility, and removes support
for 2.x. This means 2to3 handling can be dropped.

Unfortunately fail2ban 1.1.0 still relies on asynchat and asyncore,
which have been removed from the Python standard library in
3.12. Depend on the compatibility package python-pyasynchat (which
pulls in python-pyasyncore) and remove copies bundled in upstream
code.

Signed-off-by: Fiona Klute (WIWA) <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/fail2ban: fix sshd filter with OpenSSH 9.8
Fiona Klute (WIWA) [Tue, 9 Jul 2024 10:18:41 +0000 (12:18 +0200)]
package/fail2ban: fix sshd filter with OpenSSH 9.8

The filter needs to consider the new sshd-session binary, patches
already merged upstream.

Signed-off-by: Fiona Klute (WIWA) <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months ago.checkpackageignore: remove chromebook check-hash exceptions
Arnout Vandecappelle [Fri, 12 Jul 2024 13:37:19 +0000 (15:37 +0200)]
.checkpackageignore: remove chromebook check-hash exceptions

Commits 3988f2d9238bc027b5d16219867e8d3c701c0c06 and
0d91281d7bdfa09be28237bab694e6ac22466541 added hashes for the chromebook
defconfigs, but forgot to remove the exception from .checkpackageignore.

Regenerate .checkpackageignore, which removes those exceptions.

Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/fail2ban: fix data_files installation path
Angelo Compagnucci [Fri, 19 Apr 2024 21:32:15 +0000 (23:32 +0200)]
package/fail2ban: fix data_files installation path

When packaging data_files in a wheel, those files shall have the destination
path expressed as relative to the wheel installation.
The reason for that is the wheel installation shall be contained inside a
specific folder and/or in site-packages.
When building the wheel file by the bdist_wheel command, python will package
files with absolute paths as python files ending up installing them in
site-packages.

Fixes:
http://autobuild.buildroot.net/results/36ac5278d19195a21c3d02d087965e08f49228ef

Signed-off-by: Angelo Compagnucci <[email protected]>
Tested-by: Fiona Klute <[email protected]>
[Arnout: add Upstream tag to the patch]
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/pkg-python: fix pep517 data files installation
Angelo Compagnucci [Fri, 19 Apr 2024 21:32:16 +0000 (23:32 +0200)]
package/pkg-python: fix pep517 data files installation

When installing a wheel in pep517 compatibility mode, the pyinstaller.py is
invoked with the --data parameter which point to the directory in which data
files should be installed.
Actually the --data parameter points to the /usr subdirectory which is indeed
wrong cause it shall point to the root directory where the wheel will be
installed.
This fixes the problem of having configuration files installed in /usr/etc
instead of /etc.

Signed-off-by: Angelo Compagnucci <[email protected]>
Tested-by: Fiona Klute <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
6 months agopackage/bcc: add missing dependencies to comment
Yann E. MORIN [Sun, 9 Jun 2024 19:55:19 +0000 (21:55 +0200)]
package/bcc: add missing dependencies to comment

Since its inception in 146498d13c48 (package/bcc: new package), not all
the dependencies of bcc are mirrored in the comment to be displayed when
those dependencies are not met.

Fix that by adding the missing pieces:
  - wchar,
  - threads
  - dynamic libs,

Signed-off-by: Yann E. MORIN <[email protected]>
Cc: Jugurtha BELKALEM <[email protected]>
Cc: Romain Naour <[email protected]>
Cc: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/dump1090: fix build with GCC 14
Peter Korsgaard [Thu, 27 Jun 2024 08:02:04 +0000 (10:02 +0200)]
package/dump1090: fix build with GCC 14

Fixes http://autobuild.buildroot.net/results/1d5804974153f96e80f5200793ec8cd12c9fa18a/

GCC 14 complains if the arguments to calloc (nmemb, size) are swapped
around, causing a build failure as dump1090 builds with -Werror:

net_io.c:107:34: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
  107 |     if (!(service = calloc(sizeof(*service), 1))) {

Add a patch from an upstream pull request to fix that.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoconfigs/spike_riscv32: new defconfig
Julien Olivain [Sat, 22 Jun 2024 11:46:21 +0000 (13:46 +0200)]
configs/spike_riscv32: new defconfig

Buildroot commit [1] updated riscv-isa-sim (Spike), which now includes
a NS16550 uart emulation. This can be used by RV32 Linux Kernel. This
commit introduce a defconfig for running Linux on Spike RISC-V 32-bit
ISA simulator.

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/853b7661bf5ddca5d4b81964ef1a19a133beac85

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agoconfigs/stm32mp157a_dk1: add hashes
Dario Binacchi [Sat, 22 Jun 2024 18:04:32 +0000 (20:04 +0200)]
configs/stm32mp157a_dk1: add hashes

The patch adds .hash files for Arm trusted firmware, Linux, Linux headers
and U-Boot and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we
can now drop the defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/qt5/qt5webkit: fix WebCore compatibility issue with updated libxml2
Alexis Lothoré [Wed, 13 Mar 2024 22:46:10 +0000 (23:46 +0100)]
package/qt5/qt5webkit: fix WebCore compatibility issue with updated libxml2

qt5webkit build currently breaks on the following error:

XSLStyleSheetLibxslt.cpp:148:129: error: invalid conversion from ‘void (*)(void*, xmlError*)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
  148 |     XMLDocumentParserScope scope(cachedResourceLoader(), XSLTProcessor::genericErrorFunc, XSLTProcessor::parseErrorFunc, console);
      |                                                                                                                                 ^
      |                                                                                                                                 |
      |                                                                                                                                 void (*)(void*, xmlError*) {aka void (*)(void*, _xmlError*)}

This error is due to an API update in libxml2, enforcing const on more
struct in version 2.12.0 (see [1]). Buildroot now tracks v2.12.5.
Upstream Webkit project has already issued the corresponding fix ([2]),
which updates corresponding internal prototypes depending on libxml2
version, but the qt5webkit version tracked in buildroot does not integrate
the corresponding Webkit version.

Fix this build issue by bringing the upstream patch "as is" from Webkit

No autobuilder references because this build error was hidden by
another build error fixed in a previous patch.

[1] https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.0
[2] https://github.com/WebKit/WebKit/commit/1bad176b2496579d760852c80cff3ad9fb7c3a4b

Signed-off-by: Alexis Lothoré <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/qt5/qt5webkit: fix JavaScriptCore parser error
Alexis Lothoré [Wed, 13 Mar 2024 22:46:09 +0000 (23:46 +0100)]
package/qt5/qt5webkit: fix JavaScriptCore parser error

qt5webkit build currently fails with the following error:

[...] parser.rb:587:in `block in parseSequence': undefined method `=~' for an instance of Annotation (NoMethodError)
  from <internal:kernel>:187:in `loop'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:654:in `block in parseSequence'
  from <internal:kernel>:187:in `loop'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:814:in `parseData'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:818:in `parse'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:780:in `block in parseSequence'
  from <internal:kernel>:187:in `loop'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:625:in `block in parseSequence'
  from <internal:kernel>:187:in `loop'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:814:in `parseData'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:818:in `parse'
  from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb:68:in `<main>'

This issue is due to =~ being marked as deprecated since a few Ruby
versions, and finally removed in 3.2.0 [1]. This now breaks the build since
buildroot has moved to Ruby v3.3.0.
The corresponding fix has already been issued in upstream Webkit project
[2], but qt5webkit version tracked in buildroot does not have the
corresponding webkit version pulled. Fix this build error by bringing the upstream
patch. The patch is slightly modified (exclude part about Changelog file,
which is absent from qt5webkit)

Fixes:

  http://autobuild.buildroot.net/results/21397b110fe02e5711ecb1d35be2108221751b0a/

[1] https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
[2] https://github.com/WebKit/WebKit/commit/c7d19a492d97f9282a546831beb918e03315f6ef

Signed-off-by: Alexis Lothoré <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/qt5/qt5webkit: fix patch fuzz
Dario Binacchi [Sun, 7 Jul 2024 19:44:39 +0000 (21:44 +0200)]
package/qt5/qt5webkit: fix patch fuzz

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, qt5webkit fails to build with output:

    Applying 0004-Remove-invalid-g_object-declarations-to-fix-build-wi.patch using patch:
    patching file Source/WTF/wtf/glib/GRefPtr.h
    Hunk #1 FAILED at 29.
    1 out of 1 hunk FAILED -- saving rejects to file Source/WTF/wtf/glib/GRefPtr.h.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/zoxide: new package
Saeed Kazemi [Sat, 2 Mar 2024 19:12:15 +0000 (20:12 +0100)]
package/zoxide: new package

A smarter cd command. Supports all major shells.

https://github.com/ajeetdsouza/zoxide.git

Signed-off-by: Saeed Kazemi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/python-ruamel-yaml: bump to version 0.18.5
James Hilliard [Wed, 7 Feb 2024 17:09:56 +0000 (18:09 +0100)]
package/python-ruamel-yaml: bump to version 0.18.5

License hash changed due to year update:
https://sourceforge.net/p/ruamel-yaml/code/ci/56b3e2666fb275deab3eec99193c103e4edf93bb/

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Marcus Hoffmann <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/python-ruamel-yaml-clib: new package
Marcus Hoffmann [Wed, 7 Feb 2024 17:09:55 +0000 (18:09 +0100)]
package/python-ruamel-yaml-clib: new package

Add optional c extension for python-ruamel-yaml which can speed up yaml
loading/parsing.

Extend the ruamel-yaml runtime test to check if the c extension works
correctly.

Signed-off-by: Marcus Hoffmann <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agosupport/testing: add new python-ruamel-yaml runtime test
Marcus Hoffmann [Wed, 7 Feb 2024 17:09:54 +0000 (18:09 +0100)]
support/testing: add new python-ruamel-yaml runtime test

Signed-off-by: Marcus Hoffmann <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/python-ruamel-yaml: fix comment in hash file
Marcus Hoffmann [Wed, 7 Feb 2024 17:09:53 +0000 (18:09 +0100)]
package/python-ruamel-yaml: fix comment in hash file

Signed-off-by: Marcus Hoffmann <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/jack2: fix build with python 3.12
Fabrice Fontaine [Sun, 11 Feb 2024 22:02:22 +0000 (23:02 +0100)]
package/jack2: fix build with python 3.12

Fix the following build failure with python 3.12 (which removed imp
module):

Traceback (most recent call last):
  File "/home/autobuild/autobuild/instance-7/output-1/build/jack2-1.9.22/./waf", line 166, in <module>
    from waflib import Scripting
  File "/home/autobuild/autobuild/instance-7/output-1/build/jack2-1.9.22/waflib/Scripting.py", line 10, in <module>
    from waflib import Utils, Configure, Logs, Options, ConfigSet, Context, Errors, Build, Node
  File "/home/autobuild/autobuild/instance-7/output-1/build/jack2-1.9.22/waflib/Configure.py", line 16, in <module>
    from waflib import ConfigSet, Utils, Options, Logs, Context, Build, Errors
  File "/home/autobuild/autobuild/instance-7/output-1/build/jack2-1.9.22/waflib/Options.py", line 14, in <module>
    from waflib import Logs, Utils, Context, Errors
  File "/home/autobuild/autobuild/instance-7/output-1/build/jack2-1.9.22/waflib/Context.py", line 9, in <module>
    import os, re, imp, sys
ModuleNotFoundError: No module named 'imp'

Fixes: 36e635d2d5c0166476858aa239ccbe78e8f2af14
 - http://autobuild.buildroot.org/results/1bfe34e10ffdab80647ac01863165e93bcc9b0d8

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
6 months agopackage/rtl8188eu: bump to 2024-02-06 version on v5.2.2.4 branch
Giulio Benetti [Wed, 7 Feb 2024 21:47:29 +0000 (22:47 +0100)]
package/rtl8188eu: bump to 2024-02-06 version on v5.2.2.4 branch

This version allows to build with Linux 6.8

Fixes:

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

Signed-off-by: Giulio Benetti <[email protected]>
Reviewed-by: Luca Ceresoli <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
This page took 0.099106 seconds and 4 git commands to generate.