12441 Commits

Author SHA1 Message Date
Ross Burton
5dc5d8c73c hplip: build against libusb1
Build against the maintained libusb1 instead of the obsolete
libusb-compat.  Update the patch to use pkg-config so that it does the
correct linkage too.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
ricoheller
b9366915d9 mbpoll: add recipe
mbpoll is a command line utility to communicate with ModBus slave (RTU or TCP).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin
b818cc6084 hiredis: add ptest
Use internal test from hiredis project as ptest. If ptest
is in DISTRO_FEATURES tests are enabled default
but can be handled individually through PACKAGECONFIG.
Test config 'testssl' requires 'ssl' option but is not
enabled default as the redis recipe does not build it
with ssl support.

Tested on qemux86_64 and qemuarm64.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin
e1c579be28 hiredis: change dependency to redis
hiredis package builds fine without the dependency to
redis. Using hiredis on target without redis is quite
useless and instead adding redis as a run-time dependency.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin
61c7db7e8b hiredis: uprev to 1.1.0
Upgrade to revision 1.1.0. Make use of PACKAGECONFIG to
configure ssl support.

In version 1.1.0 the library is built as both dynamic and
static.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin
df6d91cfc4 redis-plus-plus: uprev to 1.3.8
Removed patch now applied upstream.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin
48297a8f75 redis-plus-plus: introduce fix for library detection
When building static library a substitution for library name
was bad. Reported in https://github.com/sewenew/redis-plus-plus/issues/486
and detected when building new version of hiredis that also builds
a static library.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin
ea516e9563 redis-plus-plus: clean up recipe and make use of packageconfig
Remove unneeded statements in the code.
Align with style guide.
Introduce PACKAGECONFIG for ssl and test.
Remove QA warning.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Khem Raj
d9fb985b87 openct: Fix buildpaths being emitted into generated types.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Khem Raj
a1d047bae7 uml-utilities: Fix references to TMPDIR
Pass CFLAGS from environment

Fixes
WARNING: uml-utilities-20040406-r1 do_package_qa: QA Issue: File /usr/lib/uml/.debug/port-helper in package uml-utilities-dbg contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Khem Raj
fcdb991b80 fftw: Check for TOOLCHAIN_OPTIONS to be non-empty before sed ops
Ensures that we do not apply empty sed expression which might happen
when building native recipe

Cc: jan vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
e34fa43eec libnice: Remove buildpaths from binaries
Fixes
WARNING: libnice-0.1.21-r0 do_package_qa: QA Issue: File /usr/src/debug/libnice/0.1.21-r0/agent/agent-enum-types.h in package libnice-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
55d92033a2 mpv: Remove references to builddir from mpv binary
Fixes
WARNING: mpv-0.35.1-r0 do_package_qa: QA Issue: File /usr/bin/mpv in package mpv contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
f3913710b8 lockfile-progs: Pass DEBUG_PREFIX_MAP options
This recipe overrides normal CFLAGS which loses the prefix rewrite
options, add them manually.

Fixes
File /usr/bin/.debug/mail-lock in package lockfile-progs-dbg contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
e92623076b meta-oe-ptests: Add mcelog to PTESTS_FAST_META_OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Xiangyu Chen
29404066e5 libbpf: installing uapi headers for native package
using libbpf-native provided headers for pahole-native or other application.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Xiangyu Chen
98c3dc8817 Revert "pahole: fix native package build error"
This reverts commit b9df3387002195ad365735bd15a3b70b1355d70f.

The pahole-native package should use the header from libbpf instead of linux-libc-headers,
the b9df33870 would cause compile error, so revert it.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Mingli Yu
c7fb7b8dee php: Link with libatomic on rv64
Fixes:
  | /usr/src/debug/php/8.2.6-r0/Zend/zend_atomic.h:105: undefined reference to `__atomic_exchange_1'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:17 -07:00
Khem Raj
5a1942ebb8 libtraceevent: Delete
Recipe is moved to oe-core layer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Khem Raj
7552a26887 mce-test: Pass CFLAGS to make
Fixes QA errors like below
File /opt/mce-test/cases/function/erst-inject/erst-inject.o in package mce-test contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Khem Raj
63c9747a32 mce-test: Update to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Khem Raj
31a6d8d88b xrdb: Pass target CPP location to configure
CPP is encoded into xrdb binary and it ends up encoding the cpp from
HOSTTOOLS location which obviously wont be where cpp will live at
runtime

Fixes
WARNING: xrdb-1.2.1-r0 do_package_qa: QA Issue: File /usr/bin/xrdb in package xrdb contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Ross Burton
a1f805e23e libpeas: depend on gobject-introspection-data
peas uses the G-I repository to load plugins.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Ross Burton
35987e0a8a graphviz: no longer needs intltool-native
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Ross Burton
046bb5b798 gnome-common: add autoconf-archive RDEPENDS
If we're using autoconf-archive, add it to the RDEPENDS too.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Ross Burton
5fca30d672 libgxim: add autoconf-archive-native DEPENDS
This can be satisfied via transitive dependencies, but make it an
explicit DEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Ross Burton
438542a008 vte9: add missing dependency on glib-2.0-native
This can be satisfied via transitive dependencies, but make it an
explicit DEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Ross Burton
dbbafeceb4 glade: add autoconf-archive-native DEPENDS
This can be satisfied via transitive dependencies, but make it an
explicit DEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Ross Burton
f14663746b libblockdev: clean up DEPENDS
If you try to build libblockdev with an empty PACKAGECONFIG then the
configure fails.

Add autoconf-archive, glib-2.0, and udev; these were implicitly pulled
in via other dependencies.  Move kmod to DEPENDS as it's a hard
requirement.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Ross Burton
6482b7e1d7 libblockdev: add PACKAGECONFIG for tools
Add another PACKAGECONFIG for the tools option. As this builds a binary
in what is primarily a library package, also inherit lib_package so the
tools are packaged in libblockdev-bin.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Khem Raj
29e6c4928c mcelog: Upgrade to 194
Drop unneeded autotools-brokensep class inherit, this package has
traditional makefile build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Khem Raj
9f1f22f95b mce-inject: Pass CFLAGS to make
This ensures right debug directory remapping options are passed to
compiler

Fixes
 WARNING: mce-inject-git-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/mce-inject in package mce-inject-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Khem Raj
317ee5bb13 libwebsockets: Fix reference to TMPDIR
.cmake files encoded absolute paths, fixed thusly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-19 17:11:37 -07:00
Khem Raj
d112323521 lirc: Define SH_PATH=/bin/sh
It points to sh provided by HOSTTOOLS in the build systems path

Fixes
WARNING: lirc-0.10.2-r0 do_package_qa: QA Issue: File /usr/include/lirc/config.h in package lirc-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-19 10:12:51 -07:00
Sanjay Chitroda
9edbe7033c gnulib: Update recipe name to 2018-12-18
As per gnulib_2018-03-07 recipe information,
SRCREV = "0d6e3307bbdb8df4d56043d5f373eeeffe4cbef3"
This revision was committed on "2018-12-18".

There is a discrepancy between SRCREV and the recipe version.
Which reports "CVE-2018-17942" as unpatched.

To report "CVE-2018-17942" as patched,
We need to align a recipe name with SRCREV commit date.

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-19 10:12:51 -07:00
Khem Raj
4921a6df05 libpeas: Fix reference to TMPDIR in tests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-19 10:12:51 -07:00
Khem Raj
d68491eca0 ptest-packagelists-meta-oe: Remove nodejs ptests for rv32/rv64
Nodejs in OE not yet ported to RISCV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-18 17:15:01 -07:00
Marek Vasut
ffb3c1108a lvgl: lvgl-demo-fb: Switch to CMake and add DRM and SDL support
Switch the build of this recipe to CMake from the horrible Makefile
which is still part of the source tree and which blatantly encodes
various CFLAGS and co.

Add support for use of DRM and SDL backends and make this configurable.
The FBDEV is deprecated for close to two decades, so provide modern
alternatives -- DRM and SDL.

The DRM uses modern DRM API, but there is no GPU acceleration.
The SDL provides GPU support abstracted via the libSDL2 API and
can use multiple backends, DRM and WL included.

Default to the DRM backend, because FBDEV is just bad for any modern system.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-18 17:09:30 -07:00
Joe Slater
1cc72c41af bats: use baselib
Use sed to change scripts to reference ${baselib}.  The
former set of scripts modified was incomplete.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-18 11:33:02 -07:00
Wang Mingyu
da0a748ac0 spdlog: fix build error for master fmt
error message:
include/spdlog/common.h:168:111: error: 'basic_runtime' is not a member of 'fmt'

Add fix-build-for-master-fmt.patch:
* update fmt_runtime_string macro
* fix build of updated macro

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:24 -07:00
Wang Mingyu
7b55d7ef83 fmt: upgrade 9.1.0 -> 10.0.0
License-Update:
 Add " and {fmt} contributors" to Copyright

Changelog:
 https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:24 -07:00
Martin Siegumfeldt
998219d2e8 libiio: update to version 0.24
- drop 0001-CMake-Move-include-CheckCSourceCompiles-before-its-m.patch
   (integrated upstream)

 - updated CMakeLists.txt requires pkgconfig

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:11 -07:00
Khem Raj
0474e0b870 libmad: Add a patch to pass cflags to build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-16 22:31:14 -07:00
Khem Raj
b6850eab88 uw-imap: Pass CFLAGS from environment
This ensures that -ffile-prefix-map passed to compiler

Fixes
WARNING: uw-imap-2007f-r0 do_package_qa: QA Issue: File /usr/lib/libc-client.a in package uw-imap-staticdev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-16 22:31:14 -07:00
Ming Liu
2a4532c29c libusbgx: check scripts in /etc/usbgx.d
Sometimes an end user might want to change some values in
/sys/kernel/config/usb_gadget/ at runtime, for instance, a product id
or serial number must be read from /proc/device-tree, and so on.

Support that by letting gadget-start run all scripts in /etc/usbgx.d
after importing the schemas.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-16 22:31:14 -07:00
Ming Liu
00cae16967 libusbgx: drop hard-coded /usr/bin,/etc
Drop hard-coded /usr/bin,/etc from gadget-start.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-16 22:31:14 -07:00
Wang Mingyu
4a28c6452f wavpack: upgrade 4.60.1 -> 5.1.0
Changelog:

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-16 22:31:14 -07:00
Khem Raj
439239ca9c php: Remove buildpaths from scripts and generated headers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 22:51:10 -07:00
Mingli Yu
d477cbb526 minicoredumper: correct the sysvinit service file attribute
Add the execute attribute for sysvinit service file to fix the
below error:
  $ service minicoredumper status
  minicoredumper: unrecognized service

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 19:44:46 -07:00
Khem Raj
2efc81182a libiio: Do not generate lineinfo in lex/yacc generated files
This avoid buildpaths being in target packages. These are emitted into
generated lexer.c and parser.c, therefore ensure that lex and yacc are
directled to not include lines in their output.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 17:43:32 -07:00