diff mbox series

[meta-oe,09/15] libwmf; switched to unofficial fork

Message ID 20241227105615.3303193-10-peter.marko@siemens.com
State Under Review
Headers show
Series 4th series for meta-openembedded master | expand

Commit Message

Peter Marko Dec. 27, 2024, 10:56 a.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Debian has switched to this fork in Bookworm.
If contains dozens of CVE fixes and other bugfixes.
This should make the maintenance of this package easier.

The sources are identical to those abandoned in 2002:
Only in .../tmp/work/core2-64-poky-linux/libwmf/0.2.8.4/libwmf-0.2.8.4/: autom4te.cache
Only in /tmp/caolanm/libwmf/: .git

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb b/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb
index 58bfd1f25b..5e530b35de 100644
--- a/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb
+++ b/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "Library for converting WMF files"
-HOMEPAGE = "http://wvware.sourceforge.net/libwmf.html"
+#HOMEPAGE = "http://wvware.sourceforge.net/libwmf.html"
+HOMEPAGE = "https://github.com/caolanm/libwmf"
 SECTION = "libs"
 
 LICENSE = "GPL-2.0-only"
@@ -15,17 +16,14 @@  inherit features_check autotools pkgconfig
 
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/${BPN}/${PV}/${BPN}-${PV}.tar.gz;name=tarball \
+SRC_URI = "git://github.com/caolanm/libwmf.git;protocol=https;branch=master \
            file://libwmf-0.2.8.4-intoverflow.patch \
            file://libwmf-0.2.8.4-useafterfree.patch \
            file://0001-configure-use-pkg-config-for-freetype.patch \
           "
+SRCREV = "27b4aaf8cf653b4cd2ebe14717ffa9e76560485e"
 
-SRC_URI[tarball.md5sum] = "d1177739bf1ceb07f57421f0cee191e0"
-SRC_URI[tarball.sha256sum] = "5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8"
-
-UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/wvware/files/libwmf/"
-UPSTREAM_CHECK_REGEX = "${BPN}/(?P<pver>\d+(\.\d+)+)"
+S = "${WORKDIR}/git"
 
 do_install:append() {
     sed -i -e 's@${RECIPE_SYSROOT}@@g' ${D}${bindir}/libwmf-config