From 8c110b69f9f1cdc15349b2b8b373fd8f9fa3a00c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 15 Sep 2022 08:42:50 +0000 Subject: librepo: upgrade 1.14.4 -> 1.14.5 (From OE-Core rev: 4291f53127f0740a1004f0b6fb823b9823562c58) Signed-off-by: Richard Purdie --- ...ata_downloader-Include-unistd.h-for-lseek.patch | 34 ---------------------- meta/recipes-devtools/librepo/librepo_1.14.4.bb | 30 ------------------- meta/recipes-devtools/librepo/librepo_1.14.5.bb | 29 ++++++++++++++++++ 3 files changed, 29 insertions(+), 64 deletions(-) delete mode 100644 meta/recipes-devtools/librepo/librepo/0001-metadata_downloader-Include-unistd.h-for-lseek.patch delete mode 100644 meta/recipes-devtools/librepo/librepo_1.14.4.bb create mode 100644 meta/recipes-devtools/librepo/librepo_1.14.5.bb (limited to 'meta/recipes-devtools/librepo') diff --git a/meta/recipes-devtools/librepo/librepo/0001-metadata_downloader-Include-unistd.h-for-lseek.patch b/meta/recipes-devtools/librepo/librepo/0001-metadata_downloader-Include-unistd.h-for-lseek.patch deleted file mode 100644 index 22b3110a61..0000000000 --- a/meta/recipes-devtools/librepo/librepo/0001-metadata_downloader-Include-unistd.h-for-lseek.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 5c63ec2e2d4726268ace85e5c61727cbd811d982 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 27 Aug 2022 09:00:24 -0700 -Subject: [PATCH] metadata_downloader: Include unistd.h for lseek() - -This is found when compiling on musl systems - -Fixes - -metadata_downloader.c:331:9: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - lseek(fd_value, SEEK_SET, 0); - ^ - -Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/263] -Signed-off-by: Khem Raj ---- - librepo/metadata_downloader.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/librepo/metadata_downloader.c b/librepo/metadata_downloader.c -index 123c77b..6604255 100644 ---- a/librepo/metadata_downloader.c -+++ b/librepo/metadata_downloader.c -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - #include - - #include "librepo/librepo.h" --- -2.37.2 - diff --git a/meta/recipes-devtools/librepo/librepo_1.14.4.bb b/meta/recipes-devtools/librepo/librepo_1.14.4.bb deleted file mode 100644 index 2b8bd132f3..0000000000 --- a/meta/recipes-devtools/librepo/librepo_1.14.4.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "A library providing C and Python (libcURL like) API \ - for downloading linux repository metadata and packages." -HOMEPAGE = "https://github.com/rpm-software-management/librepo" -DESCRIPTION = "${SUMMARY}" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \ - file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \ - file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \ - file://0001-metadata_downloader-Include-unistd.h-for-lseek.patch \ - " - -SRCREV = "2bd1041c741c85bc196ca01dcca1eae6099eb742" - -S = "${WORKDIR}/git" - -DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" - -inherit cmake setuptools3-base pkgconfig - -EXTRA_OECMAKE = " \ - -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \ - -DPYTHON_DESIRED=3 \ - -DENABLE_TESTS=OFF \ - -DENABLE_DOCS=OFF \ - -DWITH_ZCHUNK=OFF \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/librepo/librepo_1.14.5.bb b/meta/recipes-devtools/librepo/librepo_1.14.5.bb new file mode 100644 index 0000000000..46cfce53ff --- /dev/null +++ b/meta/recipes-devtools/librepo/librepo_1.14.5.bb @@ -0,0 +1,29 @@ +SUMMARY = "A library providing C and Python (libcURL like) API \ + for downloading linux repository metadata and packages." +HOMEPAGE = "https://github.com/rpm-software-management/librepo" +DESCRIPTION = "${SUMMARY}" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \ + file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \ + file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \ + " + +SRCREV = "f4b915be5e04e88263097f65addfcac5919fef41" + +S = "${WORKDIR}/git" + +DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" + +inherit cmake setuptools3-base pkgconfig + +EXTRA_OECMAKE = " \ + -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \ + -DPYTHON_DESIRED=3 \ + -DENABLE_TESTS=OFF \ + -DENABLE_DOCS=OFF \ + -DWITH_ZCHUNK=OFF \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf