summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-04-21 15:39:56 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-16 14:08:30 +0100
commit528abed7b1f64b99a3fe2382d18978895ed4e79a (patch)
treec70e3a599998caee82481012f32d846ca437a566 /meta/recipes-devtools/libdnf
parentc132ac3d15e8cb60f37f4dc4299ef523c9c257a1 (diff)
downloadpoky-528abed7b1f64b99a3fe2382d18978895ed4e79a.tar.gz
libdnf: update to 0.8.1
Rebase the patches. (From OE-Core rev: de098813f3c94a96d69ea393e711eb682e29948e) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libdnf')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch13
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch15
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_git.bb4
3 files changed, 17 insertions, 15 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 954add6e73..77b20c2734 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,28 +1,29 @@
1From 5958b151a4dbb89114e90c971a34b74f873b7beb Mon Sep 17 00:00:00 2001 1From 3012a93745223751cc979e3770207a09a075bec6 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 5/5] Get parameters for both libsolv and libsolvext (libdnf is
5 using both) 5 using both)
6 6
7Upstream-Status: Pending [depends on whether https://github.com/openSUSE/libsolv/pull/177 is accepted] 7Upstream-Status: Pending [depends on whether https://github.com/openSUSE/libsolv/pull/177 is accepted]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9
9--- 10---
10 CMakeLists.txt | 2 +- 11 CMakeLists.txt | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
12 13
13diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
14index b531da1..e512da0 100644 15index 8b2ab9a..e2d33d7 100644
15--- a/CMakeLists.txt 16--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
17@@ -28,7 +28,7 @@ find_package (PkgConfig REQUIRED) 18@@ -29,7 +29,7 @@ find_package (PkgConfig REQUIRED)
18 SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) 19 SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
19 PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.44.0 REQUIRED) 20 PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.44.0 REQUIRED)
20 FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb) 21 FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb)
21-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) 22-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
22+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext) 23+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext)
23 set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) 24 set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
24 pkg_check_modules (CHECK REQUIRED check) 25 if (ENABLE_RHSM_SUPPORT)
25 pkg_check_modules (REPO REQUIRED librepo) 26 pkg_check_modules (RHSM REQUIRED librhsm)
26-- 27--
272.11.0 282.11.0
28 29
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 931959b5f3..fc3b048b7d 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,29 +1,30 @@
1From 6d2718b925453f9a6915001f489606eb8e4086c8 Mon Sep 17 00:00:00 2001 1From 55cbe6f40fe0836385e1a7241ec811cbe99e5840 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 4/4] Set libsolv variables with pkg-config (cmake's own module 4Subject: [PATCH 4/5] Set libsolv variables with pkg-config (cmake's own module
5 doesn't work properly). 5 doesn't work properly).
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9
9--- 10---
10 CMakeLists.txt | 3 ++- 11 CMakeLists.txt | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-) 12 1 file changed, 2 insertions(+), 1 deletion(-)
12 13
13diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
14index 8edb627..b531da1 100644 15index a75df04..8b2ab9a 100644
15--- a/CMakeLists.txt 16--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
17@@ -28,7 +28,8 @@ find_package (PkgConfig REQUIRED) 18@@ -29,7 +29,8 @@ find_package (PkgConfig REQUIRED)
18 SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) 19 SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
19 PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.44.0 REQUIRED) 20 PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.44.0 REQUIRED)
20 FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb) 21 FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb)
21-find_package (LibSolv 0.6.21 REQUIRED COMPONENTS ext) 22-find_package (LibSolv 0.6.21 REQUIRED COMPONENTS ext)
22+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) 23+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
23+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) 24+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
24 pkg_check_modules (CHECK REQUIRED check) 25 if (ENABLE_RHSM_SUPPORT)
25 pkg_check_modules (REPO REQUIRED librepo) 26 pkg_check_modules (RHSM REQUIRED librhsm)
26 FIND_PROGRAM (VALGRIND_PROGRAM NAMES valgrind PATH /usr/bin /usr/local/bin) 27 include_directories (${RHSM_INCLUDE_DIRS})
27-- 28--
282.11.0 292.11.0
29 30
diff --git a/meta/recipes-devtools/libdnf/libdnf_git.bb b/meta/recipes-devtools/libdnf/libdnf_git.bb
index ef28611f8a..2acbd89659 100644
--- a/meta/recipes-devtools/libdnf/libdnf_git.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_git.bb
@@ -10,8 +10,8 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf \
10 file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \ 10 file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
11 " 11 "
12 12
13PV = "0.2.3+git${SRCPV}" 13PV = "0.8.1"
14SRCREV = "367545629cc01a8e622890d89bd13d062ce60d7b" 14SRCREV = "233287f4f80e24a917d5f6a26967f54080ffa255"
15 15
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17 17