summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-09-17 11:38:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-18 08:53:10 +0100
commit1d3dcc5d7186be5a05af0299c44fb480028f5eac (patch)
tree12be6f953e564765e613796be19dbaeb952c53da /meta/recipes-devtools/libdnf/libdnf
parentefddfa97a2b0ba5ec1c3f24b895097f6355ee4b4 (diff)
downloadpoky-1d3dcc5d7186be5a05af0299c44fb480028f5eac.tar.gz
libdnf: update 0.70.1 -> 0.71.0
(From OE-Core rev: 45a698ec64b4f60bf99cc466f1f325f7aa49db3d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch10
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch8
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch14
3 files changed, 20 insertions, 12 deletions
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 c7b2af89d1..08d0859953 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 @@
1From 9294cd19e5e3121fb8d37b44ee82dd7c4b3ab2c7 Mon Sep 17 00:00:00 2001 1From b87ae6860ea44996b677ad1c4a9793720b77c67c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 7 Feb 2017 12:16:03 +0200 3Date: Tue, 7 Feb 2017 12:16:03 +0200
4Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is 4Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is
@@ -13,15 +13,15 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/CMakeLists.txt b/CMakeLists.txt 15diff --git a/CMakeLists.txt b/CMakeLists.txt
16index b722d4fb..ce88b9e3 100644 16index e99b28d0..548a9137 100644
17--- a/CMakeLists.txt 17--- a/CMakeLists.txt
18+++ b/CMakeLists.txt 18+++ b/CMakeLists.txt
19@@ -52,7 +52,7 @@ endif() 19@@ -51,7 +51,7 @@ endif()
20
20 21
21 # build dependencies 22 # build dependencies
22 find_package(Gpgme REQUIRED)
23-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) 23-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
24+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext) 24+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext)
25 set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) 25 set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
26 26
27 27
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 643a5f37b6..32f2bb6ad0 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 @@
1From fbb181d25ad85778add7ed45b6aaf114e02d0f79 Mon Sep 17 00:00:00 2001 1From 0b8eceb9161711003cd25ab400cadde7c1601733 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:24:50 +0200 3Date: Fri, 30 Dec 2016 18:24:50 +0200
4Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module 4Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module
@@ -13,13 +13,13 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 1 file changed, 2 insertions(+), 1 deletion(-) 13 1 file changed, 2 insertions(+), 1 deletion(-)
14 14
15diff --git a/CMakeLists.txt b/CMakeLists.txt 15diff --git a/CMakeLists.txt b/CMakeLists.txt
16index 405dc4e8..53837448 100644 16index 6444c374..e99b28d0 100644
17--- a/CMakeLists.txt 17--- a/CMakeLists.txt
18+++ b/CMakeLists.txt 18+++ b/CMakeLists.txt
19@@ -52,7 +52,8 @@ endif() 19@@ -51,7 +51,8 @@ endif()
20
20 21
21 # build dependencies 22 # build dependencies
22 find_package(Gpgme REQUIRED)
23-find_package(LibSolv 0.7.21 REQUIRED COMPONENTS ext) 23-find_package(LibSolv 0.7.21 REQUIRED COMPONENTS ext)
24+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) 24+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
25+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) 25+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
diff --git a/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch b/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
index e3784cc9e4..8b1a597200 100644
--- a/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
@@ -1,4 +1,7 @@
1libdnf: allow reproducible binary builds 1From dc83a79053597546b2b42fcf578f3a7727b13f3b Mon Sep 17 00:00:00 2001
2From: Joe Slater <joe.slater@windriver.com>
3Date: Wed, 22 Jul 2020 13:31:11 -0700
4Subject: [PATCH] libdnf: allow reproducible binary builds
2 5
3Use a dummy directory for test data if not built WITH_TESTS. Allow for overriding 6Use a dummy directory for test data if not built WITH_TESTS. Allow for overriding
4TESTDATADIR, since the default is guaranteed to be wrong for target builds. 7TESTDATADIR, since the default is guaranteed to be wrong for target builds.
@@ -7,11 +10,16 @@ Upstream-Status: Pending
7 10
8Signed-off-by: Joe Slater <joe.slater@windriver.com> 11Signed-off-by: Joe Slater <joe.slater@windriver.com>
9 12
13---
14 CMakeLists.txt | 7 ++++++-
15 1 file changed, 6 insertions(+), 1 deletion(-)
10 16
17diff --git a/CMakeLists.txt b/CMakeLists.txt
18index 548a9137..c378e7d9 100644
11--- a/CMakeLists.txt 19--- a/CMakeLists.txt
12+++ b/CMakeLists.txt 20+++ b/CMakeLists.txt
13@@ -133,7 +133,12 @@ add_definitions(-DG_LOG_DOMAIN=\\"libdnf 21@@ -132,7 +132,12 @@ add_definitions(-DGETTEXT_DOMAIN=\\"libdnf\\")
14 add_definitions(-D_FILE_OFFSET_BITS=64) 22 add_definitions(-DG_LOG_DOMAIN=\\"libdnf\\")
15 23
16 # tests 24 # tests
17-add_definitions(-DTESTDATADIR=\\"${CMAKE_SOURCE_DIR}/data/tests\\") 25-add_definitions(-DTESTDATADIR=\\"${CMAKE_SOURCE_DIR}/data/tests\\")