summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libmodulemd
Commit message (Collapse)AuthorAgeFilesLines
* libmodulemd: upgrade 2.15.1 -> 2.15.2Wang Mingyu2025-07-031-2/+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>
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | 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>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* libmodulemd: add manpagesRoss Burton2025-06-091-2/+5
| | | | | | | | | | 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>
* libmodulemd: remove libmagic optionRoss Burton2025-06-091-1/+1
| | | | | | | | | | | | | | | | 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>
* libmodulemd: put version in recipe filenameRoss Burton2025-06-091-1/+0
| | | | | | | | | | | | 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>
* libmodulemd: upgrade 2.15.0 -> 2.15.1Wang Mingyu2025-06-051-2/+2
| | | | | | | | (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>
* libmodulemd: upgrade 2.14.0 -> 2.15.0Alexander Kanavin2023-06-161-2/+2
| | | | | | | (From OE-Core rev: dd40fd96b4d28890ac75639ff23d8267aca18e3c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.13.0 -> 2.14.0wangmy2022-02-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* recipes: Add missing pkgconfig inheritRichard Purdie2021-09-211-1/+1
| | | | | | | | | | | | 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>
* libmodulemd: update 2.12.1 -> 2.13.0Alexander Kanavin2021-07-162-38/+6
| | | | | | | | | | | | | 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>
* libmodulemd: upgrade 2.12.0 -> 2.12.1Richard Purdie2021-05-311-2/+2
| | | | | | (From OE-Core rev: 446c90ceb71e3cdad0f3d0a1ea5bf9cf92018fc8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-261-0/+2
| | | | | | | | | | | 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>
* libmodulemd: upgrade 2.11.2 -> 2.12.0zhengruoqin2021-01-271-3/+3
| | | | | | | (From OE-Core rev: 2e25bea34fb144108cb020284a53369666318479) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.11.1 -> 2.11.2Wang Mingyu2021-01-161-2/+2
| | | | | | | (From OE-Core rev: 5d0b0a0038648f4b5b20b68ff1fbfd2963bfcaef) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.9.4 -> 2.11.1Alexander Kanavin2020-12-301-2/+2
| | | | | | | (From OE-Core rev: 719aa85ecb70d85d258fffc17ef9cadf9b01f3a8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: switch branch master -> mainHongxu Jia2020-06-241-1/+1
| | | | | | | | | 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>
* libmodulemd: update 2.9.2 -> 2.9.4Alexander Kanavin2020-06-042-28/+6
| | | | | | | | | | 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>
* libmodulemd: move from 1.x to 2.x versionAlexander Kanavin2020-05-024-28/+57
| | | | | | | | | | 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>
* libmodulemd-v1: update to 1.8.16Alexander Kanavin2019-10-312-64/+3
| | | | | | | | | | | | | 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>
* libmodulemd: remove the recipeAlexander Kanavin2019-10-154-147/+0
| | | | | | | | | | | 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>
* libmodulemd-v1: introduce the recipeAlexander Kanavin2019-10-153-0/+108
| | | | | | | | | | | | 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>
* libmodulemd: depend on target python at build timeAlexander Kanavin2019-08-221-1/+1
| | | | | | | | | | | 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>
* libmodulemd: update to 2.6.0Alexander Kanavin2019-07-312-13/+17
| | | | | | | (From OE-Core rev: 93e52d2d8985f7bba6a03a7a56fdc22087a62469) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.4.0 -> 2.5.0Alexander Kanavin2019-06-211-2/+2
| | | | | | | (From OE-Core rev: fcd695060c93f9c9124ac19a8499383cd5f438c2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: fix erroneous linking against v2 library when v1 was requestedAlexander Kanavin2019-05-222-0/+29
| | | | | | | (From OE-Core rev: f754a9bd0c0b53e449f66d792b5387de6a822865) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.2.3 -> 2.4.0Alexander Kanavin2019-05-221-3/+3
| | | | | | | (From OE-Core rev: 23361e76e3c22aff62b2d61fe09858981b19424c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: update to 2.2.3Alexander Kanavin2019-04-161-2/+2
| | | | | | | (From OE-Core rev: aab2d48359ae15b851992f26d03248334478cace) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-8/+3
| | | | | | | (From OE-Core rev: 7ebe0cfccb5ec5643da3154cc4d6537493ad496e) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: update to 2.1.0Alexander Kanavin2019-02-203-45/+57
| | | | | | | | | | | | | | | 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>
* libmodulemd: Extend to nativesdkRichard Purdie2018-12-011-1/+1
| | | | | | | | | | | | | | 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>
* libmodulemd: add a new recipeAlexander Kanavin2018-11-213-0/+107
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>