From 5c996938de1da941dfce5c9a1272c5658cb7caaa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 4 May 2025 21:15:18 -0700 Subject: libsolv: Upgrade to 0.7.32 release Brings these changes - build both static and dynamic libraries on new suse distros - require cmake >= 3.5 - new features: * support the apk package and repository format (both v2 and v3) * new dataiterator_final_{repo,solvable} functions - Enable static libs for OE as well, this fixes a crash/signsegv seen in stringpool_strn2id () especially when multithreading is in play, this is brought forward with clang merge patchset when using ipk backend (From OE-Core rev: 50d5ac2199af7b35e18c0015fcc14078e4d1fd2a) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/libsolv/libsolv_0.7.31.bb | 33 ------------------------- meta/recipes-extended/libsolv/libsolv_0.7.32.bb | 33 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta/recipes-extended/libsolv/libsolv_0.7.31.bb create mode 100644 meta/recipes-extended/libsolv/libsolv_0.7.32.bb diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.31.bb b/meta/recipes-extended/libsolv/libsolv_0.7.31.bb deleted file mode 100644 index b395ff972d..0000000000 --- a/meta/recipes-extended/libsolv/libsolv_0.7.31.bb +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "Library for solving packages and reading repositories" -DESCRIPTION = "This is libsolv, a free package dependency solver using a satisfiability algorithm for solving packages and reading repositories" -HOMEPAGE = "https://github.com/openSUSE/libsolv" -BUGTRACKER = "https://github.com/openSUSE/libsolv/issues" -SECTION = "devel" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" - -DEPENDS = "expat zlib zstd" - -SRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master;protocol=https \ - file://0001-utils-Conside-musl-when-wrapping-qsort_r.patch \ -" - -SRCREV = "95aef5cc57d0f51782e55b6903b30ec93afbfa15" - -UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" - -S = "${WORKDIR}/git" - -inherit cmake - -PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}" -PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" - -EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON -DENABLE_ZSTD_COMPRESSION=ON" - -PACKAGES =+ "${PN}-tools ${PN}ext" - -FILES:${PN}-tools = "${bindir}/*" -FILES:${PN}ext = "${libdir}/${PN}ext.so.*" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.32.bb b/meta/recipes-extended/libsolv/libsolv_0.7.32.bb new file mode 100644 index 0000000000..71786e40dc --- /dev/null +++ b/meta/recipes-extended/libsolv/libsolv_0.7.32.bb @@ -0,0 +1,33 @@ +SUMMARY = "Library for solving packages and reading repositories" +DESCRIPTION = "This is libsolv, a free package dependency solver using a satisfiability algorithm for solving packages and reading repositories" +HOMEPAGE = "https://github.com/openSUSE/libsolv" +BUGTRACKER = "https://github.com/openSUSE/libsolv/issues" +SECTION = "devel" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" + +DEPENDS = "expat zlib zstd" + +SRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master;protocol=https \ + file://0001-utils-Conside-musl-when-wrapping-qsort_r.patch \ +" + +SRCREV = "95f64952e3270deb6be30ae4b786cae5c114c807" + +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" + +S = "${WORKDIR}/git" + +inherit cmake + +PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}" +PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" + +EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON -DENABLE_ZSTD_COMPRESSION=ON -DENABLE_STATIC=ON" + +PACKAGES =+ "${PN}-tools ${PN}ext" + +FILES:${PN}-tools = "${bindir}/*" +FILES:${PN}ext = "${libdir}/${PN}ext.so.*" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf