summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-09-11 10:51:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-15 17:57:23 +0100
commit692f0670534ee074da2eb0ab8142c6b473869986 (patch)
tree0446927c77d4da8538b4afaa2ec18edcec4c6f8b /meta/recipes-devtools
parent7474ec79bd36457e94bbeb754f932fcd7f7e79d7 (diff)
downloadpoky-692f0670534ee074da2eb0ab8142c6b473869986.tar.gz
librepo: update 1.19.0 -> 1.20.0
Drop 0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch as upstream added pkg-config support at last. (From OE-Core rev: 45e7bf27e746b12a9de1435bdb2a77196d725373) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch2
-rw-r--r--meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch26
-rw-r--r--meta/recipes-devtools/librepo/librepo_1.20.0.bb (renamed from meta/recipes-devtools/librepo/librepo_1.19.0.bb)5
3 files changed, 3 insertions, 30 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 1425041dad..ac5373f2e7 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 e86f562d3cc6cea3e19c4bab77ffa2902f634615 Mon Sep 17 00:00:00 2001 1From 0062f49b62ce014dc81485c6ae101d49399d22cf 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.
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
deleted file mode 100644
index edee8698d8..0000000000
--- a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 93d3c49dbdf348eec9900d53a152457f6d1cb816 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:23:27 +0200
4Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module
5 (which doesn't work properly)
6
7Upstream-Status: Inappropriate [gpgme upstream does not have pkg-config support and is not interested in it]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9---
10 CMakeLists.txt | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index 68ce953..04f83b9 100644
15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt
17@@ -39,7 +39,8 @@ PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
18 FIND_PACKAGE(CURL 7.52.0 REQUIRED)
19
20 IF (USE_GPGME)
21- FIND_PACKAGE(Gpgme REQUIRED)
22+ PKG_CHECK_MODULES(GPGME gpgme REQUIRED)
23+ set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES})
24 IF (ENABLE_SELINUX)
25 PKG_CHECK_MODULES(SELINUX REQUIRED libselinux)
26 ENDIF(ENABLE_SELINUX)
diff --git a/meta/recipes-devtools/librepo/librepo_1.19.0.bb b/meta/recipes-devtools/librepo/librepo_1.20.0.bb
index ba66c8ef68..6557dda43a 100644
--- a/meta/recipes-devtools/librepo/librepo_1.19.0.bb
+++ b/meta/recipes-devtools/librepo/librepo_1.20.0.bb
@@ -5,12 +5,11 @@ DESCRIPTION = "${SUMMARY}"
5LICENSE = "LGPL-2.1-only" 5LICENSE = "LGPL-2.1-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
7 7
8SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \ 8SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https;tag=${PV} \
9 file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \ 9 file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
10 file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
11 " 10 "
12 11
13SRCREV = "7955987e33ba98dddb3fc2c63bb6dc892e3505fa" 12SRCREV = "363cb70c6548be900832bc9b18ced3e7569da15a"
14 13
15DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" 14DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2"
16 15