Commit Graph

14032 Commits

Author SHA1 Message Date
Jayanth Othayoth 77397ccbb9 ipmitool: srcrev bump ab5ce5baff..bf774149ae
Added version bump to fix the ipmitool build issue.

Build failure details available as part of this commit.
https://codeberg.org/IPMITool/ipmitool/commit/bf774149ae7f74c12164a5b021b23520c5ca4016

Additional commit included in this version bump are below.

Alexander Amelkin (1):
      man: Remove duplicate description for -b and -B

Alexander Filippov (3):
      Remove trailing spaces
      replace HAS_PRAGMA_PACK macros
      imb: refix structure packing

Howitzer105mm (4):
      Establish a uniform structure packing syntax
      ipmievd: Eliminate a possible command line overrun (#27)
      open: Eliminate buffer overrun (#24)
      lan: Clean compile time warning from LAN authentication (#22)

István Donkó (1):
      doc: fix a small typo in `print_user_usage`

Johnathan Mantey (1):
      fru: Fix a typo causing compilation to fail (#37)

Miao Wang (1):
      lan: fix lan print fails on unsupported parameters

bbradley (1):
      chassis:  Partial revert of 6e037d6bfbb (#19)

Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-06 14:53:13 -08:00
Arash Partow a90a83ed1c exprtk: upgrade 0.0.2 -> 0.0.3 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-06 14:53:13 -08:00
Christian Eggers ef427675a0 abseil-cpp: append to PACKAGES_DYNAMIC
PACKAGES_DYNAMIC may already contain entries (e.g. set by bitbake.conf
or the distro configuration files).

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-06 07:15:01 -08:00
Zhang Peng 577b9758cf parallel: Add recipe for GNU Parallel
This recipe adds the parallel package, a shell tool for executing jobs
in parallel using one or more computers.

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-06 07:15:01 -08:00
Wang Mingyu 8e4f3552b7 ttf-abyssinica: upgrade 2.201 -> 2.300
License-Update:
 Copyright url changed
 FAQ url changed

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:23 -08:00
Wang Mingyu 8d62a3110a sanlock: upgrade 3.9.4 -> 3.9.5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:22 -08:00
Wang Mingyu 51e2d260b9 poppler: upgrade 24.09.0 -> 24.11.0
Changelog:
============
core:
* Fix rendering of some buttons
* Fix selecting fonts in TTC font collections
* CairoOutputDev: prevent infinite loop in functionShadedFill()
* Fix some unstable headers not being usable on their own
* Fix some headers not being usable on their own
* Add support for SubmitForms Links
* Internal code improvements
* Fix crash in malformed documents

glib:
* Fix some headers not being usable on their own
* add INSTALL_GLIB_DEMO option to install poppler-glib-demo
* Fix Launch action with unicode encoded filenames
* add auto_cleanup functions so that consumers can use g_auto*
* fix closure GI annotation

qt6:
* Fix memory handling issue on signature creation
* Fix Launch action with unicode encoded filenames
* Add support for SubmitForms Links
* Add API for creating signature field without signing immediately

qt5:
* Fix Launch action with unicode encoded filenames
* Add support for SubmitForms Links

build system:
* Remove duplicate definitions
* cmake: Set CMAKE_C_STANDARD to 17
* Use the boosts own cmake file as suggested by cmake itself

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:18 -08:00
Wang Mingyu 8edfb199e4 osinfo-db-tools: upgrade 1.11.0 -> 1.12.0
0001-Make-xmlError-structs-constant.patch
removed since it's included in 1.12.0

Changelog:
==========
- Fix some memory leaks
- Fix runtime warnings on osinfo-db-export
- Adapt to libxml2 changes
- Several CI improvements
- Several translation improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:18 -08:00
Wang Mingyu 426cacacea nvme-cli: upgrade 2.10.2 -> 2.11
Changelog:
 https://github.com/linux-nvme/nvme-cli/releases/tag/v2.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
Wang Mingyu bcca616683 libzip: upgrade 1.11.1 -> 1.11.2
Changelog:
 Fix performance regression in `zip_stat` introduced in 1.11.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
Wang Mingyu ea3363dcc0 libvpx: upgrade 1.14.1 -> 1.15.0
libvpx-configure-support-blank-prefix.patch
refreshed for 1.15.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
Wang Mingyu 4d7202b296 libnvme: upgrade 1.10 -> 1.11
Changelog:
 https://github.com/linux-nvme/libnvme/releases/tag/v1.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
Wang Mingyu 97dcc71885 libjcat: upgrade 0.2.1 -> 0.2.2
Changelog:
 - Add bt-logindex blob kind

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
Wang Mingyu c7bc49c229 leptonica: upgrade 1.84.1 -> 1.85.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:16 -08:00
Wang Mingyu b78a7db6a8 fastfloat: upgrade 5.2.0 -> 6.1.6
Changelog:
 doctest: if SYSTEM_DOCTEST add a find_package(doctest REQUIRED)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:16 -08:00
Wang Mingyu 4b8d5db7ab ctags: upgrade 6.1.20241006.0 -> 6.1.20241103.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:16 -08:00
J. S. d2f631c763 Drop unnecessary SRC_URI md5sum from the recipes in meta-oe.
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 19:19:22 -08:00
Khem Raj 01dd622533 postgresql: Disable tcl support by default
It needs tcl8 and defaults have moved to using tcl9
and postgres has to be ported to work with tcl9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 17:14:22 -08:00
Robert Yang 367d850a58 gnulib: Add do_deploy_archives back
The gnulib has sources, so we can't delete do_deploy_archives, the commit which
deleted it said:

"""
commit 32d2981427
Author: leimaohui <leimaohui@cn.fujitsu.com>
Date:   Fri Aug 3 16:32:33 2018 +0800

    Fix bug when inherit archiver.
"""

I tried the following build:
ARCHIVER_MODE[src] = "original"
ARCHIVER_MODE[src] = "patched"
ARCHIVER_MODE[src] = "configured"
ARCHIVER_MODE[src] = "mirror"

The bug should be fixed during the past years.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 13:06:27 -08:00
Khem Raj 33f00322cb gtkwave: Add packageconfig knob for tcl support
TCL 9.x is not supported and its coming to core, therefore make way
for disabling it by adding the knob and keep is off by default.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:51 -08:00
Khem Raj 127e672ddf fluentbit: Add IPO option as a packageconfig knob
LTO seems to fail when using clang compiler, therefore disable it for now.

| arm-yoe-linux-musleabi-ld.lld: error: undefined hidden symbol: co_swap_function.llvm.232435740610378447
| >>> referenced by arm.c:76 (lib/monkey/deps/flb_libco/arm.c:76)
| >>>               library/fluent-bit.lto.libfluent-bit.a(flb_input_thread.c.o at 1278594).o:(input_thread)
| >>> referenced by flb_input_thread.c:0 (src/flb_input_thread.c:0)
| >>>               library/fluent-bit.lto.libfluent-bit.a(flb_input_thread.c.o at 1278594).o:(input_thread)
| >>> referenced by arm.c:76 (lib/monkey/deps/flb_libco/arm.c:76)
| >>>               library/fluent-bit.lto.libfluent-bit.a(flb_output.c.o at 1447274).o:(.Lflb_output_task_flush$local)
| >>> referenced 88 more times

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:51 -08:00
Khem Raj fd57ac6162 postgresql: Add tclsh 9 support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:50 -08:00
Christian Eggers 7e0b56f3c6 glibmm: use ${bindir_native}
With the current ${bindir} the build fails if BBCLASSEXTEND'ing to
nativesdk and enabling maintainer-mode.

Fixes: 3d0279c187 ("glibmm: fix reproducibility issues")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:50 -08:00
Martin Jansa 140a339592 xmlrpc-c: improve the fix for parallel build a bit
* still needs some improvements, but should work a bit better
  I've rebuilt it 30 times without triggering the issue now
  with previous version it failed on 5th iteration already

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:50 -08:00
Markus Volk 962e6c302f snapper: use nonarch_libdir in FILES
This avoids an 'installed vs.shipped' issue for multilib

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:49 -08:00
Hiago De Franco 98c18177fd drm-info: add recipe
This recipe provides information about DRM devices, useful for debugging
and checking information about DRM.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:49 -08:00
Markus Volk 8c9e65e262 iwd: update 2.20 -> 3.0
ver 3.0:
	Fix issue with handling alpha2 code for United Kingdom.
	Fix issue with handling empty TX/RX bitrate attributes.
	Fix issue with handling RSSI polling fallback workaround.
	Fix issue with handling harmless cloned information elements.
	Add experimental support for External Authentication feature.
ver 2.22:
	Fix issue with handling the Affinities property.
	Fix issue with handling ConnectedAccessPoint signal when roaming.
ver 2.21:
	Fix issue with pending scan requests after regdom update.
	Fix issue with handling the rearming of the roaming timeout.
	Fix issue with survey request and externally triggered scans.
	Fix issue with RSSI fallback when setting CQM threshold fails.
	Fix issue with FT-over-Air without offchannel support.
	Add support for per station Affinities property.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:48 -08:00
J. S. 6652b031d7 nodejs: upgrade 20.18.0 -> 22.11.0
This moves us from the previous Long Term Support version codenamed 'Iron' to the newly
released Long Term Support version 22.11.0  Codename 'Jod'

Changelog: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V22.md#22.11.0

License-Update:

    Add amaro dependency under MIT License.
    Add swc dependency under Aapche License Version 2.0.
    Add simdjson dependency under Apache License Version 2.0.
    Add on-exit-leak-free under MIT License.
    Remove ESLint.
    Remove base64 dependency.

Removed patchs:

    182d9c05e78.patch - This was a backport to 20.x it is now integrated in 22.x

Added patches:

  Two small patches here to use Bourne Shell instad of BASH.
    0001-custom-env.patch
    0001-positional-args.patch

  This patch from https://github.com/nodejs/node/commit/686da19abb that addressed CVE-2024-22017
    0001-deps-disable-io_uring-support-in-libuv.patch

  Other patches were refreshed.

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-01 15:53:46 -07:00
Leonard Göhrs 1d47796fcf bcu: add nxp board control utilities version 1.1.100
The bcu command can be used to communicate with board control hardware on
NXP EVK development boards to:

  - reset / power cycle the board into a specified boot mode.
  - monitor the power consumption.
  - read / write the eeprom content.
  - measure temperatures.
  - etc.

Supported boards are e.g.:

  - i.MX8MP-EVK
  - i.MX8DXL-EVK
  - i.MX8ULP-EVK
  - i.MX93-EVK

The tool can either be built for the target architecture to control a
board from a system running Yocto (less common) or for the host
architecture to run it via `oe-run-native bcu-native bcu`.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-01 06:43:16 -07:00
Leonard Göhrs 08934d75ae panel-mipi-dbi.bbclass: initial addition of the firmware blob class
The `panel-mipi-dbi.bbclass` can be used to build a firmware file for use
with the `panel-mipi-dbi` Linux driver.

The class uses the `mipi-dbi-cmd` from `panel-mipi-dbi-native` to
assemble a human readable list of init commands into a firmware file
for use with the `panel-mipi-dbi` Linux driver.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-01 06:43:16 -07:00
Leonard Göhrs 6cf665bde8 panel-mipi-dbi: initial addition of the firmware blob assembler
This python script assembles a list of human readable commands into
a firmware blob.

The firmware blob is interpreted by the `panel-mipi-dbi` Linux driver
to initialize a MIPI DBI display panel and its controller.

MIPI DBI is not to be confused with MIPI DSI.
The former is usually used to drive small displays that are attached
via SPI, while the latter is a fast communication standard using
differential signaling, that is also suitable for larger displays.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-01 06:43:16 -07:00
Johannes Schneider 4a05d9a185 signing.bbclass: add label length check
Add a (more helpful) error message in case the Package-Name exceeds a
certain length which would have the softhsm tools error out.

The $PN is used as 'label' in the softhsm, which is a
"CK_UTF8CHAR paddedLabel[32]" in softhsm2-util.cpp,
so it must not be longer.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-01 06:43:15 -07:00
Johannes Schneider a825b85363 signing.bbclass: add certificate ca-chain handling
Add handling of ca-chains which can consist of more than one
certificate in a .pem file, which need to be split off, processed and
stored separately in the softhsm - as the tool-chain
signing.bbclass::signing_import_cert* -> softhsm -> 'extract-cert'
only supports one-per-file, due to using/expecting "plain" x509
in-/output.

The added signing_import_cert_chain_from_pem function takes a <role>
basename, and iterates through the input .pem file, creating numbered
<role>_1, _2, ... roles as needed.

Afterwards the certificates can be used or extracted one-by-one from
the softhsm, using the numbered roles; the only precondition - or
limitation - is that the PKI structure has to be known beforhand;
e.g. how many certificates are between leaf and root.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-01 06:43:15 -07:00
Markus Volk 52c7dc2a2b mpv: cleanup and improvements
- add PACKAGECONFIG for lcms2
- fix dependencies for vulkan and vdpau
- replace leftover from autotools EXTRA_OECONF -> EXTRA_OEMESON
- vaapi-x-egl option has been removed
- gl-wayland option has been renamed to egl-wayland
- explicitly disable shaderc which is only required for windows builds

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 12:04:02 -07:00
Martin Jansa 77cf4b81ee colord-native: rename directory and drop unnecessary FILESEXTRAPATHS
* ${BPN}-native is weird work around for ${P} and ${PN} being dropped
  from default FILESPATH in 2012 with:
  https://git.openembedded.org/openembedded-core/commit/?h=dylan&id=fb359583b659cda643973fa285002aaffb729a51

  better to just rename directory to something which is included
  in the default value (like BPN) the filename are different in
  target and native colord build so they don't need to be in
  separate directories.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
Martin Jansa b7a096064b perfetto: drop unnecessary FILESEXTRAPATHS
* we already have a common directory in default FILESPATH called 'files'

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:24 -07:00
Martin Jansa 8a676c670c libgpiod: improve FILESEXTRAPATHS
* I thought that PN in FILESEXTRAPATHS worked as everywhere else and
  as described in:
  https://lore.kernel.org/all/2261745fc01a4e3887ee98f98a425e88@vivavis.com/T/

* but surprisingly (to me)
  FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:"
  ends with effectively ${BPN}-2.x in bitbake -e (and the build doesn't fail
  to fetch file://gpio-manager.init in lib32-libgpiod build

* I've tried with kirkstone and dunfell as well and it ends with
  "libgpiod-2.x" for all 3 PNs:
  dunfell $ grep ^FILESEXTRAPATHS= env.* | sed 's@/OE.*dunfell/@@g'
  env.lib32-libgpiod:FILESEXTRAPATHS="meta-oe/meta-oe/recipes-support/libgpiod/libgpiod-2.x:__default:"
  env.libgpiod:FILESEXTRAPATHS="meta-oe/meta-oe/recipes-support/libgpiod/libgpiod-2.x:__default:"
  env.libgpiod-native:FILESEXTRAPATHS="meta-oe/meta-oe/recipes-support/libgpiod/libgpiod-2.x:__default:"

  dunfell $ grep ^PN= env.*
  env.lib32-libgpiod:PN="lib32-libgpiod"
  env.libgpiod:PN="libgpiod"
  env.libgpiod-native:PN="libgpiod-native"

  There is the QA check for PN in SRC_URI, maybe I took it a bit
  further and updated all FILESEXTRAPATHS references as well in our
  layers (in 2023) even when it wasn't causing build failures, e.g.:
  https://github.com/webosose/meta-webosose/commit/38d3cbf010a5e4e112d82ee473eecc718d9cc687

* so it's not so important to use BPN, but it's a bit clearer as that's
  what it ends evaluated into and what default FILESPATH is using as well:

  meta/classes-global/base.bbclass:FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"
  meta/conf/bitbake.conf:#FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/${BP}:${FILE_DIRNAME}/${BPN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"

  BPN was added in denzil 2009 (and FILESPATH moved to base.bbclass,
  bitbake.conf has commented-out value since then):
  https://git.openembedded.org/openembedded-core/commit/?h=denzil&id=94c895aad5ad286f172b04bc33ba670220d5eba8

  PF was dropped in dylan 2012:
  https://git.openembedded.org/openembedded-core/commit/?h=dylan&id=3efa13cd76bbd5611805021945fc9def88d9fd93

  P and PN were dropped shortly after in dylan 2012:
  https://git.openembedded.org/openembedded-core/commit/?h=dylan&id=fb359583b659cda643973fa285002aaffb729a51

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:24 -07:00
Andrea Ricchi 06ac0733cc asyncmqtt: add recipe
async_mqtt is an C++ library for asynchronous MQTT communication.
The library is header-only using C++17 and Boost libraries; the main
features are client and server support, MQTT v3.1.1 and v5.0 support,
continuous packet sending and auto acquiring/mapping topic alias is
supported.

Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 06:24:13 -07:00
Bartosz Golaszewski ec67268d5e libgpiod: selectively enable GObject introspection
The oe-core bbclass for GObject introspection sets GI_DATA_ENABLED if
the relevant distro feature is enabled. That means that it's up to the
inheriting recipe to disable it if needed.

For libgpiod: we only want to enable it if any of the GLib based
packages is being generated (GLib bindings, D-Bus daemon or ptest).

This also effectively reverts commit 78a332939f (libgpiod_2.2: depend
on glib-2.0) which indiscriminately pulls in GLib for all packages
generated by this recipe which feels like shooting a fly with a cannon.

Fixes: 9626e8a2c8 ("libgpiod: update to v2.2")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 15:57:12 -07:00
Martin Jansa 40396e20b3 libgpiod: drop wrong S assignment
* the default from bitbake.conf:
  S = "${WORKDIR}/${BP}"
  works better, because it points to correct directory even with e.g. when
  building lib32-libgpiod with multilib

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 09:37:22 -07:00
Hieu Van Nguyen 0e2ed14c7a libmtp: enable stack memory protection
Add 0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch:
Use "return 0" instead of "exit(0)" to let the program exit normally
by returning from the main function. This allows the compiler to
perform necessary cleanup operations, including stack canary checks.

Signed-off-by: Hieu Van Nguyen <hieu2.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 08:24:31 -07:00
Max Krummenacher 78a332939f libgpiod_2.2: depend on glib-2.0
In my setup a build fails with

| checking for gobject-introspection... configure: error: gobject-introspection-1.0 is not installed
| NOTE: The following config.log files may provide further information.
| NOTE: /var/home/krm/build/oe-core_master/build/tmp/work/cortexa55-tdx-linux/libgpiod/2.2/build/config.log
| ERROR: configure failed

From config.log this seems to be related to glib-2.0 not found:

| configure:22484: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0"
| Package glib-2.0 was not found in the pkg-config search path.
| Perhaps you should add the directory containing `glib-2.0.pc'
| to the PKG_CONFIG_PATH environment variable
| Package 'glib-2.0', required by 'gobject-introspection-1.0', not found
| configure:22487: $? = 1
| configure:22491: error: gobject-introspection-1.0 is not installed

Note that glib-2.0.pc is present in recipes-sysroot-native but not
in recipes-sysroot.

Adding glib-2.0 to depends allows successful build of libgpiod 2.

Fixes: 117d09ce43c7 ("libgpiod: update to v2.2")
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-29 18:13:41 -07:00
Khem Raj 7f9699e730 xmlrpc-c: Fix race condition triggered during symlink creation
This should fix race condition sometime seen in highly parallell builds

   | rm -f libxmlrpc_util.so.4
   | rm -f libxmlrpc_util.so.4
   | ln -s libxmlrpc_util.so.4.60 libxmlrpc_util.so.4
   | ln -s libxmlrpc_util.so.4.60 libxmlrpc_util.so.4
   | rm -f libxmlrpc_util.so
   | ln: failed to create symbolic link 'libxmlrpc_util.so.4': File exists
   | make[2]: *** [/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/xmlrpc-c/1.60.03/git/stable/unix-common.mk:72: libxmlrpc_util.so.4] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2024-10-27 18:08:38 -07:00
Khem Raj 1431cf1289 graphviz: Disable perl support
It ends up peeking into build host's perl installation under /usr/include
for perl.h which infact is incorrect. Its better to either fix it to
know cross-compiling or disable it, for now chose the latter.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-27 18:08:26 -07:00
Chen Qi e05c3507c0 graphviz: remove obsolete and problematic patch
Remove 0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch.

This patch is obsolete and not needed because the current graphviz
configure.ac has correct logic of checking use_tcl. This use_tcl
variable needs to be set when '--disable-tcl' is set, otherwise,
things will behave as if no option is supplied and the configure
process will check tcl automatically.

This patch is problematic because its logic against the current version
is wrong. The recipe has already explicitly set '--disable-tcl', so
the configure process should not do automatic checking for tcl at do_configure.

This patch fixes do_configure error when host has tcl8.6-dev installed. The
error is like below:

  QA Issue: This autoconf log indicates errors, it looked at host include and/or
  library paths while determining system capabilities.
  Rerun configure task after fixing this. [configure-unsafe]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-25 07:40:01 -07:00
Ross Burton 3c1228e793 tk: set AUTOTOOLS_SCRIPT_PATH instead of having to mess with S/../
We want to run the configure script in ${S}/unix, so instead of setting
S to BP/unix and then having to use ../ to reach up a level constantly
(including some deep changes to DEBUG_PREFIX_MAP and PSEUDO_IGNORE_PATHS)
we can set S to the top of the source tree as usual and tell autotools
where the configure script is.

This both makes the recipe clearer, and enables tk-src to be generated
correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 14:02:39 -07:00
Bartosz Golaszewski 9626e8a2c8 libgpiod: update to v2.2
This is a big update for libgpiod bringing in the D-Bus daemon and its
command-line client. This is why the patch is pretty hefty. The majority
of the line count comes from the removed patch that is now upstream but
the v2.2 recipe also now contains a lot of bits and pieces that make the
D-Bus daemon work both with system as well as sysvinit.

The project now packages the systemd service and udev rules that allow
the manager to run under its own user in a well sandboxed environment
but the sysvsinit script is carried in the recipe as I don't want to
put support for legacy systems in libgpiod repo.

The patch also updates the ptests for libgpiod to run three new
test-suites: one for GLib bindings, one for the command-line D-Bus
client and finally one testing some daemon corner-cases not supported by
the client.

Build tested with various config options with systemd and sysvinit (the
latter with glibc and musl) on 32- and 64-bit architectures.

The complete changelog since v2.1 (taken verbatim from the NEWS file) is
below:

libgpiod v2.2
=============

New features:
- add GObject bindings with introspection
- add a D-Bus interface to libgpiod together with a daemon implementing it and
  a command-line client
- split out the common shell test code for gpio-tools into a reusable test
  harness for GPIO command-line tools
- add minutes as a new supported time unit for tools and allow longer periods
  for timeouts, line holding, etc.
- add a script for generating sdist and wheels for python bindings
- migrate C++ tests to using Catch2 v3

Improvements:
- relicense C++ bindings under LGPL-2.1-or-later in order to make the project
  more attractive to users with GPL-3.0 restrictions
- remove dependency on grep from tools' tests
- make shell scripts pass shellcheck treewide
- use ppoll() in tools to actually achieve the advertised microsecond
  granularity of timeouts
- documentation improvements
- improve typing info in python bindings
- improve __repr__() implementations in python bindings
- make reconfiguring lines more flexible in python bindings by relaxing the
  requirement to carry the ordering of the config entries from the request
- support casting of line.Value to bool in python bindings
- various new test-cases for improved coverage treewide
- align the test cases with the current kernel requirement for specifying
  direction explicitly when reconfiguring lines

Bug fixes:
- fix C++ bindings build using slibtool
- accept the new style automatic GPIO chip labels from gpio-sim in bash tests
- fix C++ tests with recent kernels which introduced stricter reconfigure
  behavior
- fix a use-after-free bug in python bindings
- fix passing the event clock property to line requests in python bindings
- fix a memory leak in tools
- make sure the string buffers in line-info and chip-info are big enough to not
  truncate the strings they hold below the size accepted by the kernel
- remove buggy and unnecessary flags sanitization from line-config
- fix python bindings installation with Makefile build
- sanitize the return values of GPIO ioctl()s which in some cases may be
  erroneously positive
- fix requesting lines by name with multiple entries in python bindings

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 07:06:31 -07:00
Changqing Li 38b7821838 postgresql.inc: fix do_package_qa error
Replacing P with BP to fix following do_package_qa error for lib32-postgresql:
ERROR: QA Issue: File /usr/src/debug/lib32-postgresql/16.4/src/pl/plperl/SPI.c in package lib32-postgresql-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 05:52:20 -07:00
Sergei Zhmylev 753e28c1a8 multipath-tools: set etc_prefix to sysconfdir
Makefile of multipath-tools uses $prefix as a destination prefix.
As soon as we added usrmerge feature, multipath default configuration
placed under /usr/etc/ resulting into problems locating them via a
hard-coded path inside the tools.
This change explicitly sets etc_prefix to ${sysconfdir} in order to
recover default behaviour.

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-22 21:03:03 -07:00
Patrick Wicki 9ec4514267 fluentbit: fix building with wasm support
Patch the cmake config of the wasm micro runtime dependency. This fixes
the build for x86 by avoiding the cmake try_run() which cannot be
invoked in cross-compiling mode.

Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-21 20:54:48 -07:00