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 <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Marko authored and Khem Raj committed 2024-12-27 09:21:43 -08:00
1 parent 2308c8b5a2
commit 1ed73b79de
1 file changed
+5 -7
@@ -1,5 +1,6 @@
SUMMARY = "Library for converting WMF files" 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" SECTION = "libs"
LICENSE = "GPL-2.0-only" LICENSE = "GPL-2.0-only"
@@ -15,17 +16,14 @@ inherit features_check autotools pkgconfig
REQUIRED_DISTRO_FEATURES = "x11" 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-intoverflow.patch \
file://libwmf-0.2.8.4-useafterfree.patch \ file://libwmf-0.2.8.4-useafterfree.patch \
file://0001-configure-use-pkg-config-for-freetype.patch \ file://0001-configure-use-pkg-config-for-freetype.patch \
" "
SRCREV = "27b4aaf8cf653b4cd2ebe14717ffa9e76560485e"
SRC_URI[tarball.md5sum] = "d1177739bf1ceb07f57421f0cee191e0" S = "${WORKDIR}/git"
SRC_URI[tarball.sha256sum] = "5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8"
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/wvware/files/libwmf/"
UPSTREAM_CHECK_REGEX = "${BPN}/(?P<pver>\d+(\.\d+)+)"
do_install:append() { do_install:append() {
sed -i -e 's@${RECIPE_SYSROOT}@@g' ${D}${bindir}/libwmf-config sed -i -e 's@${RECIPE_SYSROOT}@@g' ${D}${bindir}/libwmf-config