ReleaseNotes: https://github.com/rpm-software-management/libdnf/blob/0.76.0/docs/release_notes.rst
License-Update: Update LGPL-2.1 text to current FSF's wording - Add `/usr/share/dnf5/repos.d` reposdir - [context] do not fail on rolling releases with no VERSION_ID - keyring: Also search /usr/share/pki/rpm-gpg for GPG keys - fix rpmlog callback truncate corrupts multi-byte UTF-8 sequence - advisory: filter non-modular collections by module_excludes - [context] automatically setup $arch variable - Fix formatting error messages when importing subkeys - Fix dnf_keyring_add_public_key() to add keys from all ASCII-armored blocks - Fix dnf_keyring_add_public_key() to add all keys from an ASCII-armored block - Log identifiers of keys imported by dnf_keyring_add_public_key() - Add support for E2K architecture - Clearer error for protected package broken dependencies - Describe all problems even when there are protected removals - fix: compare RPMItem in transaction with rpmvercmp - Add `filterUnneededExtraUserinstalled` and Python version to the API - Mark all protected packages as user installed for all transactions - Enable implicitobsoleteusescolors flag. - Refresh the existing patches Signed-off-by: Jaipaul Cheernam <[email protected]> --- ...ameters-for-both-libsolv-and-libsolvext-libdn.patch | 6 +++--- ...o-Define-FNM_EXTMATCH-if-not-already-like-und.patch | 7 ++----- .../libdnf/0001-drop-FindPythonInstDir.cmake.patch | 2 +- ...001-utils-utils.cpp-fix-compilation-with-musl.patch | 7 ++----- ...solv-variables-with-pkg-config-cmake-s-own-mo.patch | 6 +++--- meta/recipes-devtools/libdnf/libdnf/armarch.patch | 10 +++++----- .../libdnf/{libdnf_0.75.0.bb => libdnf_0.76.0.bb} | 4 ++-- 7 files changed, 18 insertions(+), 24 deletions(-) rename meta/recipes-devtools/libdnf/{libdnf_0.75.0.bb => libdnf_0.76.0.bb} (92%) diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch b/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch index 54b1262672..f56e3ecdf9 100644 --- a/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch +++ b/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch @@ -1,4 +1,4 @@ -From cd8a24156cefab80b673af233f66ff44c1b7c458 Mon Sep 17 00:00:00 2001 +From cd297017bc4013764915dfc1e47d23fe193bc062 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Tue, 7 Feb 2017 12:16:03 +0200 Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is @@ -12,10 +12,10 @@ Signed-off-by: Alexander Kanavin <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index a6f14318..60c66e94 100644 +index 6c866111..c56b6bab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -51,7 +51,7 @@ endif() +@@ -58,7 +58,7 @@ endif() # build dependencies diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-dnf-repo-Define-FNM_EXTMATCH-if-not-already-like-und.patch b/meta/recipes-devtools/libdnf/libdnf/0001-dnf-repo-Define-FNM_EXTMATCH-if-not-already-like-und.patch index 14ef362ccd..2b64176317 100644 --- a/meta/recipes-devtools/libdnf/libdnf/0001-dnf-repo-Define-FNM_EXTMATCH-if-not-already-like-und.patch +++ b/meta/recipes-devtools/libdnf/libdnf/0001-dnf-repo-Define-FNM_EXTMATCH-if-not-already-like-und.patch @@ -1,4 +1,4 @@ -From 486d1c7826efb9e42bbb18b6537fd23a0a33b324 Mon Sep 17 00:00:00 2001 +From 09c7188880ca62248e7c1e8e907df66545bbc3df Mon Sep 17 00:00:00 2001 From: Wang Mingyu <[email protected]> Date: Sun, 16 Nov 2025 23:29:18 +0000 Subject: [PATCH] dnf-repo: Define FNM_EXTMATCH if not already (like under @@ -20,7 +20,7 @@ Signed-off-by: Wang Mingyu <[email protected]> 1 file changed, 4 insertions(+) diff --git a/libdnf/dnf-repo.cpp b/libdnf/dnf-repo.cpp -index 44c0f8758..d53959414 100644 +index 21d23e0c..dd91b816 100644 --- a/libdnf/dnf-repo.cpp +++ b/libdnf/dnf-repo.cpp @@ -69,6 +69,10 @@ @@ -34,6 +34,3 @@ index 44c0f8758..d53959414 100644 typedef struct { DnfRepoEnabled enabled; --- -2.43.0 - diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch b/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch index 850a862979..d3a7583eac 100644 --- a/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch +++ b/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch @@ -1,4 +1,4 @@ -From 5150fd9be924d2e9e74b2db664229423a4a00238 Mon Sep 17 00:00:00 2001 +From 178a1358aac59f0b06184bd60a32fcfebbff9aba Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Tue, 1 Jun 2021 10:23:59 +0800 Subject: [PATCH] drop FindPythonInstDir.cmake diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-utils-utils.cpp-fix-compilation-with-musl.patch b/meta/recipes-devtools/libdnf/libdnf/0001-utils-utils.cpp-fix-compilation-with-musl.patch index 061e7dffbd..0a6744db9a 100644 --- a/meta/recipes-devtools/libdnf/libdnf/0001-utils-utils.cpp-fix-compilation-with-musl.patch +++ b/meta/recipes-devtools/libdnf/libdnf/0001-utils-utils.cpp-fix-compilation-with-musl.patch @@ -1,4 +1,4 @@ -From 699608a4c03ebbf64c1d7b6f56d9811492175daa Mon Sep 17 00:00:00 2001 +From 899a524ff896d7c400e3b48f8c19feac695a7875 Mon Sep 17 00:00:00 2001 From: Wang Mingyu <[email protected]> Date: Mon, 17 Nov 2025 00:05:14 +0000 Subject: [PATCH] utils/utils.cpp: fix compilation with musl @@ -17,7 +17,7 @@ Signed-off-by: Wang Mingyu <[email protected]> 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libdnf/utils/utils.cpp b/libdnf/utils/utils.cpp -index f5d200b8a..501bc0ed2 100644 +index f5d200b8..40866360 100644 --- a/libdnf/utils/utils.cpp +++ b/libdnf/utils/utils.cpp @@ -9,6 +9,7 @@ @@ -46,6 +46,3 @@ index f5d200b8a..501bc0ed2 100644 }); return paths; --- -2.43.0 - diff --git a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch index f55870802f..ff4db81d98 100644 --- a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch +++ b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch @@ -1,4 +1,4 @@ -From a921a92f334a2a30741b906c206e041cef2d904d Mon Sep 17 00:00:00 2001 +From 514b377d6c37ede0db0e3947f2870b22c1f8cf4c Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Fri, 30 Dec 2016 18:24:50 +0200 Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module @@ -12,10 +12,10 @@ Signed-off-by: Alexander Kanavin <[email protected]> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index c6bd46a6..a6f14318 100644 +index 63e69888..6c866111 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -51,7 +51,8 @@ endif() +@@ -58,7 +58,8 @@ endif() # build dependencies diff --git a/meta/recipes-devtools/libdnf/libdnf/armarch.patch b/meta/recipes-devtools/libdnf/libdnf/armarch.patch index 8a36f87227..9080024bf5 100644 --- a/meta/recipes-devtools/libdnf/libdnf/armarch.patch +++ b/meta/recipes-devtools/libdnf/libdnf/armarch.patch @@ -1,4 +1,4 @@ -From baf4fc9f157e4c08c67d1a577b0f1e10f213a642 Mon Sep 17 00:00:00 2001 +From ec69d285812fc442ee04fe37144e7de4fecd24f1 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Thu, 9 Nov 2023 10:29:31 +0000 Subject: [PATCH] libdnf: Fix arm arch mapping issues for qemuarmv5 @@ -15,7 +15,7 @@ Upstream-Status: Inappropriate [Relies on OE rpm config] 1 file changed, 23 deletions(-) diff --git a/libdnf/hy-util.cpp b/libdnf/hy-util.cpp -index 9978c8e9..aa1369b6 100644 +index 82f24edd..43cdea69 100644 --- a/libdnf/hy-util.cpp +++ b/libdnf/hy-util.cpp @@ -117,29 +117,6 @@ hy_detect_arch(char **arch) @@ -45,6 +45,6 @@ index 9978c8e9..aa1369b6 100644 - else if (!strcmp(un.machine, "mips64")) - strcpy(un.machine, "mips64el"); -#endif - *arch = g_strdup(un.machine); - return 0; - } + #if defined(__e2k__) + if (__builtin_cpu_is("elbrus-v4") || __builtin_cpu_is("elbrus-8c") || __builtin_cpu_is("elbrus-1c+")) + strcpy(un.machine, "e2kv4"); diff --git a/meta/recipes-devtools/libdnf/libdnf_0.75.0.bb b/meta/recipes-devtools/libdnf/libdnf_0.76.0.bb similarity index 92% rename from meta/recipes-devtools/libdnf/libdnf_0.75.0.bb rename to meta/recipes-devtools/libdnf/libdnf_0.76.0.bb index a757257abd..e8a2dca4d8 100644 --- a/meta/recipes-devtools/libdnf/libdnf_0.75.0.bb +++ b/meta/recipes-devtools/libdnf/libdnf_0.76.0.bb @@ -2,7 +2,7 @@ SUMMARY = "Library providing simplified C and Python API to libsolv" HOMEPAGE = "https://github.com/rpm-software-management/libdnf" DESCRIPTION = "This library provides a high level package-manager. It's core library of dnf, PackageKit and rpm-ostree. It's replacement for deprecated hawkey library which it contains inside and uses librepo under the hood." LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +LIC_FILES_CHKSUM = "file://COPYING;md5=4bf661c1e3793e55c8d1051bc5e0ae21" SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;protocol=https;tag=${PV} \ file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \ @@ -13,7 +13,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p file://0001-utils-utils.cpp-fix-compilation-with-musl.patch \ " -SRCREV = "d39573195e24b43687587a8d83b9f6ac274e2412" +SRCREV = "56370b044f6efdfd14240e3dccac62b833dbe027" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)" DEPENDS = "glib-2.0 libsolv librepo rpm libmodulemd json-c swig-native util-linux"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#246198): https://lists.openembedded.org/g/openembedded-core/message/246198 Mute This Topic: https://lists.openembedded.org/mt/121311334/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
