Commit Graph

32 Commits

Author SHA1 Message Date
Wang Mingyu
9ad3bf5ed6 libmodulemd: upgrade 2.15.1 -> 2.15.2
Fixes:
-----------
module_index test now passes if RPM library is built without bzip2 or xz
compression support and libmodulemd is configured to support decompression
using the RPM library.

(From OE-Core rev: e5b3a65b88bd0546d6082d59d1c41505c4efc32d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Alexander Kanavin
dc9faa3cdc meta: remove consecutive blank lines
Some of them were introduced by mass-removal of S = WORKDIR/git assignments;
rather than try to fix up (or redo) just these, I've run this sed command over
the whole tree:

sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc`

The rationale is that more than one empty line is wasting vertical screen space, and
does nothing for readability.

(From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:27 +01:00
Alexander Kanavin
f59a7df3fe meta: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX
Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).

A few recipes are setting S to a sub-directory of the git tree and need
to be adjusted accordingly.

bzip2 recipe is fetching a tarball and separately cloning tests;
adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'.

devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly.

Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack
destination.

Adjust kernel-yocto.bbclass to use the git unpack variable instead
of hardcoding 'git' (there's also removal of repetition of
string constants and a correction of workdir/unpackdir mismatch in
one of the if-else branches).

Ensure build-appliance-image recipe does not use 'git' as checkout directory for
poky repo, but rather explicitly name it 'poky'.

Ensure reproducible.py code that looks for git repositories does not
hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX.

Ensure recipetool does not write out unneeded S settings into newly
created recipes that fetch from git.

Adjust selftest to not hardcode 'git' as unpack directory.

(From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Ross Burton
d79324557c libmodulemd: add manpages
Inherit manpages and optionally enable the manpages. They're in the
repository so don't need more tools to build.

(From OE-Core rev: 44ef85ac2b41e78888411cf4577b1128eced6909)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
789d8d0df1 libmodulemd: remove libmagic option
Meson shows this warning in do_configure:

  WARNING: libmagic option is obsolete. libmodulemd can detect
  compression formats without a magic library now. Please stop using
  this option. It will be removed in the future and will cause a meson
  failure.

Remove the option as it's now redundant.

(From OE-Core rev: c053dd1f2143e10d970db849d13df447e736169f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
f1181e56b0 libmodulemd: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, and drop the explicit PV.

(From OE-Core rev: d3d2a8158b81920c51d366a5d38614bf7681e5b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Wang Mingyu
fd4b22bf6b libmodulemd: upgrade 2.15.0 -> 2.15.1
(From OE-Core rev: b9f5b4d09a3d088841687a156799ba22c87657a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Alexander Kanavin
0f17022a75 libmodulemd: upgrade 2.14.0 -> 2.15.0
(From OE-Core rev: dd40fd96b4d28890ac75639ff23d8267aca18e3c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-16 15:40:10 +01:00
wangmy
7e2d184140 libmodulemd: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
Enhancements:
-------------
New functions for stripping XMD from an index
(modulemd_module_index_clear_xmds()), from a module
(modulemd_module_clear_xmds()), and from a version 2 module stream
(modulemd_module_stream_v2_clear_xmd()). This enables you to prevent from leaking
private build options to output modulemd-v2 documents.
Interpret an invalid buildorder 18446744073709551615 as -1 if the library
is built with a new build boolean accept_overflowed_buildorder set to true.
Document module version, buildorder, and epoch limits in the specifications.
Also clarify that an epoch number at RPM artifacts is mandatory.
Document that modulemd_module_get_defaults can return NULL
Improve a documentation for modulemd_module_set_defaults() and
modulemd_module_index_upgrade_defaults() functions.
Improve modulemd-validator(1) manual page.
Drop a build dependency on help2man tool.

Fixes:
------
Fix a crash when updating an index with an invalid subdocument and a NULL
error parameter.
Fix clobbering module defaults on a modulemd_module_set_defaults() error.
Fix modulemd_module_index_upgrade_defaults() to actually use the requested
version.
Reject duplicate contexts in modulemd-packager-v3 documents.
Report an error if modulemd-validator tool is invoked with both --version
option and an unknown option.
Fix an undefined behaviour when comparing integers of different signs.
Fix DNF examples in a documentation.
Actually execute modulemd-obsoletes Python tests.
Fix deprecation warnings in tests with glib2-2.69.0.
Fix deprecation warnings in Python tests and make the test compatible with

(From OE-Core rev: 6b2697be1d595a080cffb1d32a4ac385b8a9a63f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Richard Purdie
596cbbf615 recipes: Add missing pkgconfig inherit
Various recipes were missing a pkgconfig inherit or pkgconfig-native
dependency despite using pkgconfig.

Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle
shaderc/iputils/wpebackend-fdo/lttng-ust/cargo.

(From OE-Core rev: 777d9744570c2dc119dc5d04985896bbb1da5885)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Alexander Kanavin
8508a47580 libmodulemd: update 2.12.1 -> 2.13.0
Delete patch, as the issue is fixed upstream.

Disable python bindings as they're not used anywhere,
and require functional gobject introspection.

(From OE-Core rev: abe4b9be9fc5e6a37be18b6e9d14b863f6fac3c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Richard Purdie
4a599203d9 libmodulemd: upgrade 2.12.0 -> 2.12.1
(From OE-Core rev: 446c90ceb71e3cdad0f3d0a1ea5bf9cf92018fc8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Dorinda
8e4567bd5f meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
zhengruoqin
9f01875a9e libmodulemd: upgrade 2.11.2 -> 2.12.0
(From OE-Core rev: 2e25bea34fb144108cb020284a53369666318479)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Wang Mingyu
7ab694e168 libmodulemd: upgrade 2.11.1 -> 2.11.2
(From OE-Core rev: 5d0b0a0038648f4b5b20b68ff1fbfd2963bfcaef)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Alexander Kanavin
51168f2a05 libmodulemd: upgrade 2.9.4 -> 2.11.1
(From OE-Core rev: 719aa85ecb70d85d258fffc17ef9cadf9b01f3a8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Hongxu Jia
172022d8db libmodulemd: switch branch master -> main
Upstream delete branch master, and convert it to main

(From OE-Core rev: 9b0970412f51150732a1df8727174e51d6b84427)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Alexander Kanavin
3ec2330acf libmodulemd: update 2.9.2 -> 2.9.4
Replace 0002-meson.build-do-not-install-python-gi-bindings.patch
with an explicitly set meson option.

(From OE-Core rev: 5e87c1e89fa1311c0bbb44c45f419e5f302a1e0d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
e1ab20ea5a libmodulemd: move from 1.x to 2.x version
New libdnf requires 2.x and is the only consumer in oe-core
(or elsewhere).

(From OE-Core rev: 2c518de672d8876ff96e49b498feb898a497e6a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Alexander Kanavin
b245171a00 libmodulemd-v1: update to 1.8.16
Upstream added support for optional docs, so
0001-Do-not-generate-gtkdoc-or-python-bindings.patch is replaced
with an option to disable gtk-doc (as the modulemd feature is not used
in oe-core anyway).

(From OE-Core rev: cb5bb2b9635ebf709f1eb0b154f28419d548ad70)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-31 16:09:34 +00:00
Alexander Kanavin
62c5b16d46 libmodulemd: remove the recipe
Version 2 of the recipe is not actually required by anything; the
lidmodulemd dependency in createrepo-c is optional, and the
libmodulemd feature is not used in YP.

(From OE-Core rev: e5bf0814f565458c1c13d305dfc80a70a060555e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-15 14:16:11 +01:00
Alexander Kanavin
a0cf9a307a libmodulemd-v1: introduce the recipe
Upstream has split version 1 of the libmodulemd recipe into
its own branch and removed version 1 from the master
branch and 2.x releases; as libdnf requires v1 of libmodulemd,
this commit introduces a v1-specific revipe.

(From OE-Core rev: e0678765b1fb66df6ec37da1d32836bee2237af1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-15 14:16:11 +01:00
Alexander Kanavin
793640e07b libmodulemd: depend on target python at build time
meson build system is importing sysconfig, which requires
having a target confiuguration available.

(From OE-Core rev: 6763c89611f7cc4a1ba9098222069a58148d44d9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-22 22:48:27 +01:00
Alexander Kanavin
b7bc14c397 libmodulemd: update to 2.6.0
(From OE-Core rev: 93e52d2d8985f7bba6a03a7a56fdc22087a62469)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-31 23:03:01 +01:00
Alexander Kanavin
318cdf9d4a libmodulemd: upgrade 2.4.0 -> 2.5.0
(From OE-Core rev: fcd695060c93f9c9124ac19a8499383cd5f438c2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Alexander Kanavin
9ddfe40619 libmodulemd: fix erroneous linking against v2 library when v1 was requested
(From OE-Core rev: f754a9bd0c0b53e449f66d792b5387de6a822865)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Alexander Kanavin
6e013c83bc libmodulemd: upgrade 2.2.3 -> 2.4.0
(From OE-Core rev: 23361e76e3c22aff62b2d61fe09858981b19424c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Alexander Kanavin
fa909d4fef libmodulemd: update to 2.2.3
(From OE-Core rev: aab2d48359ae15b851992f26d03248334478cace)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Andreas Müller
5082d15eda libmodulemd: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 7ebe0cfccb5ec5643da3154cc4d6537493ad496e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Alexander Kanavin
67dc812011 libmodulemd: update to 2.1.0
Add support for gobject-introspection.

Add v2 API fixes to the gtkdoc/gi disabling patch.
Add a dependency on glib-native to allow use of glib-mkenums.

Disable v2 API/library for now as libdnf is not compatible with it,
yet is erroneously linked against it (if it's enabled).

(From OE-Core rev: 3db1883a109b520909b12e91028ce8a79923e8f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-20 11:30:35 +00:00
Richard Purdie
d0e43bb3f0 libmodulemd: Extend to nativesdk
Avoids universe fetch warnings:

WARNING: Nothing PROVIDES 'nativesdk-libmodulemd' (but virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-devtools/libdnf/libdnf_0.22.3.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing RPROVIDES 'nativesdk-libdnf-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-devtools/libdnf/libdnf_0.22.3.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-libdnf' (but virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-devtools/libdnf/libdnf_0.22.3.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-dnf' (but virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-devtools/dnf/dnf_4.0.9.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-dnf-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-devtools/dnf/dnf_4.0.9.bb RDEPENDS on or otherwise requires it)

(From OE-Core rev: 3d89f6a8337b6dc3867b5472713ac2c482b9f260)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-01 11:38:37 +00:00
Alexander Kanavin
f06d14b296 libmodulemd: add a new recipe
This is a hard requirement of the new libdnf versions.

(From OE-Core rev: 4b53d713523f56994beb4a7b5dbb3347c8713e42)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-21 11:54:14 +00:00