summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-02-28 16:36:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-10 10:30:39 +0000
commitbc177f47c512eace971d62ea91587626fff1224b (patch)
treeedbe477eb0eacb1d26eb84ae9e131f697dae0e03 /meta
parent43c40ea7e0970fffa0b9037d02a47830535e44f8 (diff)
downloadpoky-bc177f47c512eace971d62ea91587626fff1224b.tar.gz
librepo: update 1.12.1 -> 1.13.0
(From OE-Core rev: 3ce40697d0b5942f7c69f73b7b7f7cdf72b897fa) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch38
-rw-r--r--meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch8
-rw-r--r--meta/recipes-devtools/librepo/librepo_1.13.0.bb (renamed from meta/recipes-devtools/librepo/librepo_1.12.1.bb)2
3 files changed, 15 insertions, 33 deletions
diff --git a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
index b61f0c9324..46ab9a1132 100644
--- a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
+++ b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
@@ -1,4 +1,4 @@
1From b08a3b71e716dd0485ef51036d32e4c304fb4e67 Mon Sep 17 00:00:00 2001 1From 82bd6d196a0453657cbacaaedd75b2d2fe0bf9ba 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:05:36 +0200 3Date: Fri, 30 Dec 2016 18:05:36 +0200
4Subject: [PATCH] Do not try to obtain PYTHON_INSTALL_DIR by running python. 4Subject: [PATCH] Do not try to obtain PYTHON_INSTALL_DIR by running python.
@@ -7,35 +7,17 @@ Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8 8
9--- 9---
10 librepo/python/python2/CMakeLists.txt | 12 ++++++------ 10 librepo/python/CMakeLists.txt | 12 ++++++------
11 librepo/python/python3/CMakeLists.txt | 12 ++++++------ 11 1 file changed, 6 insertions(+), 6 deletions(-)
12 2 files changed, 12 insertions(+), 12 deletions(-)
13 12
14diff --git a/librepo/python/python2/CMakeLists.txt b/librepo/python/python2/CMakeLists.txt 13diff --git a/librepo/python/CMakeLists.txt b/librepo/python/CMakeLists.txt
15index a0f1f9a..1665079 100644 14index 52fc39e..2024407 100644
16--- a/librepo/python/python2/CMakeLists.txt 15--- a/librepo/python/CMakeLists.txt
17+++ b/librepo/python/python2/CMakeLists.txt 16+++ b/librepo/python/CMakeLists.txt
18@@ -1,9 +1,9 @@ 17@@ -16,12 +16,12 @@ SET (librepomodule_SRCS
19-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c " 18
20-from sys import stdout 19 MESSAGE("Building python bindings")
21-from distutils import sysconfig
22-path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
23-stdout.write(path)"
24-OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
25+#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
26+#from sys import stdout
27+#from distutils import sysconfig
28+#path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
29+#stdout.write(path)"
30+#OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
31 INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
32 20
33 MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
34diff --git a/librepo/python/python3/CMakeLists.txt b/librepo/python/python3/CMakeLists.txt
35index 52ba44e..da51e10 100644
36--- a/librepo/python/python3/CMakeLists.txt
37+++ b/librepo/python/python3/CMakeLists.txt
38@@ -1,9 +1,9 @@
39-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c " 21-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
40-from sys import stdout 22-from sys import stdout
41-from distutils import sysconfig 23-from distutils import sysconfig
diff --git a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
index 73902e5f58..d61d8fbf85 100644
--- a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
+++ b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
@@ -1,4 +1,4 @@
1From f5a1dfe4c87c228165bc25e7fe464120d8139a3d Mon Sep 17 00:00:00 2001 1From 25113b34bc1aae377d7bf447e69528783e2c177e 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:23:27 +0200 3Date: Fri, 30 Dec 2016 18:23:27 +0200
4Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module 4Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module
@@ -12,13 +12,13 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12 1 file changed, 2 insertions(+), 1 deletion(-) 12 1 file changed, 2 insertions(+), 1 deletion(-)
13 13
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index e949dbe..c954b2e 100644 15index a45d5c4..40249e6 100644
16--- a/CMakeLists.txt 16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
18@@ -31,7 +31,8 @@ PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED) 18@@ -32,7 +32,8 @@ PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED)
19 PKG_SEARCH_MODULE(LIBCRYPTO REQUIRED libcrypto openssl) 19 PKG_SEARCH_MODULE(LIBCRYPTO REQUIRED libcrypto openssl)
20 PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED) 20 PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
21 FIND_PACKAGE(CURL REQUIRED) 21 FIND_PACKAGE(CURL 7.52.0 REQUIRED)
22-FIND_PACKAGE(Gpgme REQUIRED) 22-FIND_PACKAGE(Gpgme REQUIRED)
23+PKG_CHECK_MODULES(GPGME gpgme REQUIRED) 23+PKG_CHECK_MODULES(GPGME gpgme REQUIRED)
24+set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES}) 24+set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES})
diff --git a/meta/recipes-devtools/librepo/librepo_1.12.1.bb b/meta/recipes-devtools/librepo/librepo_1.13.0.bb
index e90928d2ed..0a68e0ac4f 100644
--- a/meta/recipes-devtools/librepo/librepo_1.12.1.bb
+++ b/meta/recipes-devtools/librepo/librepo_1.13.0.bb
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/rpm-software-management/librepo.git \
10 file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \ 10 file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
11 " 11 "
12 12
13SRCREV = "d4ad350291f2937c0b6a3eea9e1d0c8e1051fc32" 13SRCREV = "a244d78bab11510408fb9413f1c78c2f56c69fa5"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16