diff options
-rw-r--r-- | meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch | 10 | ||||
-rw-r--r-- | meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch | 14 | ||||
-rw-r--r-- | meta/recipes-devtools/libdnf/libdnf_0.71.0.bb (renamed from meta/recipes-devtools/libdnf/libdnf_0.70.1.bb) | 2 |
4 files changed, 21 insertions, 13 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 @@ | |||
1 | From 9294cd19e5e3121fb8d37b44ee82dd7c4b3ab2c7 Mon Sep 17 00:00:00 2001 | 1 | From b87ae6860ea44996b677ad1c4a9793720b77c67c Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 7 Feb 2017 12:16:03 +0200 | 3 | Date: Tue, 7 Feb 2017 12:16:03 +0200 |
4 | Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is | 4 | Subject: [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 | ||
15 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 15 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
16 | index b722d4fb..ce88b9e3 100644 | 16 | index 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 @@ | |||
1 | From fbb181d25ad85778add7ed45b6aaf114e02d0f79 Mon Sep 17 00:00:00 2001 | 1 | From 0b8eceb9161711003cd25ab400cadde7c1601733 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 30 Dec 2016 18:24:50 +0200 | 3 | Date: Fri, 30 Dec 2016 18:24:50 +0200 |
4 | Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module | 4 | Subject: [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 | ||
15 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 15 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
16 | index 405dc4e8..53837448 100644 | 16 | index 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 @@ | |||
1 | libdnf: allow reproducible binary builds | 1 | From dc83a79053597546b2b42fcf578f3a7727b13f3b Mon Sep 17 00:00:00 2001 |
2 | From: Joe Slater <joe.slater@windriver.com> | ||
3 | Date: Wed, 22 Jul 2020 13:31:11 -0700 | ||
4 | Subject: [PATCH] libdnf: allow reproducible binary builds | ||
2 | 5 | ||
3 | Use a dummy directory for test data if not built WITH_TESTS. Allow for overriding | 6 | Use a dummy directory for test data if not built WITH_TESTS. Allow for overriding |
4 | TESTDATADIR, since the default is guaranteed to be wrong for target builds. | 7 | TESTDATADIR, since the default is guaranteed to be wrong for target builds. |
@@ -7,11 +10,16 @@ Upstream-Status: Pending | |||
7 | 10 | ||
8 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | 11 | Signed-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 | ||
17 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
18 | index 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\\") |
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.70.1.bb b/meta/recipes-devtools/libdnf/libdnf_0.71.0.bb index c44ae2729b..396a6664bc 100644 --- a/meta/recipes-devtools/libdnf/libdnf_0.70.1.bb +++ b/meta/recipes-devtools/libdnf/libdnf_0.71.0.bb | |||
@@ -12,7 +12,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p | |||
12 | file://0001-drop-FindPythonInstDir.cmake.patch \ | 12 | file://0001-drop-FindPythonInstDir.cmake.patch \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRCREV = "3b8e59ad8ed3a3eb736d8a2e16b4fc04313d1f12" | 15 | SRCREV = "39098f39806becdc87cf93e03a49ae89a33e7ede" |
16 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)" | 16 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |