From 1ed73b79de3dca64d6d68dc0c57e6b7b76efb869 Mon Sep 17 00:00:00 2001 From: Peter Marko Date: Fri, 27 Dec 2024 11:56:09 +0100 Subject: libwmf; switched to unofficial fork 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 Signed-off-by: Khem Raj --- meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'meta-oe/recipes-extended/libwmf') 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\d+(\.\d+)+)" +S = "${WORKDIR}/git" do_install:append() { sed -i -e 's@${RECIPE_SYSROOT}@@g' ${D}${bindir}/libwmf-config -- cgit v1.2.3-54-g00ecf