git: 47f2b5488a5d - main - misc/gimp-help-en: Update to 3.0.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 31 May 2025 10:37:01 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47f2b5488a5d56413ea198e9f47aabf2ee457664

commit 47f2b5488a5d56413ea198e9f47aabf2ee457664
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-05-31 09:49:48 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-05-31 10:36:02 +0000

    misc/gimp-help-en: Update to 3.0.0
    
    Instead of building with deprecated interfaces such as
    textproc/py-libxml2 fetch Fedora's package instead. This also
    significantly reduces download size and building times.
    Unfortunately upstream only provides pre-packaged versions for
    Windows and a non Linux/Unix-friendly installer.
---
 misc/gimp-help-en/Makefile | 57 +++++++++++++++-------------------------------
 misc/gimp-help-en/distinfo |  6 ++---
 2 files changed, 21 insertions(+), 42 deletions(-)

diff --git a/misc/gimp-help-en/Makefile b/misc/gimp-help-en/Makefile
index aa2e655c7350..9c3c258819a0 100644
--- a/misc/gimp-help-en/Makefile
+++ b/misc/gimp-help-en/Makefile
@@ -1,50 +1,29 @@
 PORTNAME=	gimp-help
-DISTVERSION=	2.10.34
-PORTREVISION?=	0
-CATEGORIES?=	misc graphics
-MASTER_SITES=	https://download.gimp.org/pub/%SUBDIR%/ \
-		https://ftp.gwdg.de/pub/misc/grafik/%SUBDIR%/ \
-		https://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/
-MASTER_SITE_SUBDIR=	gimp/help
-PKGNAMEPREFIX?=	${DOCLANG}-
-PKGNAMESUFFIX=	-html
-
-MAINTAINER?=	ports@FreeBSD.org
-COMMENT?=	GIMP User Manual in English
+DISTVERSION=	3.0.0
+CATEGORIES=	misc graphics
+MASTER_SITES=	https://kojipkgs.fedoraproject.org/packages/gimp-help/${DISTVERSION}/1.fc43/noarch/
+PKGNAMESUFFIX=	-en
+DISTNAME=	${PORTNAME}-${DISTVERSION}-1.fc43.noarch
+EXTRACT_SUFX=	.rpm
+
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	GIMP User Manual in English
 WWW=		https://docs.gimp.org/
 
 LICENSE=	GFDL
 
-BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR} \
-		${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
-
-USES=		gettext-tools gmake gnome perl5 pkgconfig python:3.9+,build shebangfix \
-		tar:bzip2
-USE_GNOME=	intltool:build libxslt:build
-USE_PERL5=	build
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--without-gimp
-CONFIGURE_ENV=	ALL_LINGUAS="${DOCLANG}" QUICKREFERENCE_ALL_LINGUAS="${DOCLANG}"
+EXTRACT_AFTER_ARGS=	--strip-components 7 \
+			--no-same-owner --no-same-permissions
 
-DOCLANG?=	en
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
 
+DATADIR=	${DOCSDIR}
 PORTDATA=	*
-DATADIR=	${PREFIX}/share/gimp
-
-MAKE_JOBS_UNSAFE=	yes
-
-SHEBANG_FILES=	tools/xml2po.py
-
-OPTIONS_DEFINE=		QUICKREFERENCE
-OPTIONS_DEFAULT=	QUICKREFERENCE
-
-QUICKREFERENCE_DESC=		Generate GIMP Quickreference PDF (keys bindings)
-QUICKREFERENCE_USE=		gnome=librsvg2:build
-QUICKREFERENCE_CONFIGURE_OFF=	ac_cv_path_SVG2PDF=
 
-post-patch:
-# Install to the same directory as when configuring --with-gimp
-	${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \
-		${WRKSRC}/configure
+do-install:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/en
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/en)
 
 .include <bsd.port.mk>
diff --git a/misc/gimp-help-en/distinfo b/misc/gimp-help-en/distinfo
index cf44abd3f4a1..fd8f459131eb 100644
--- a/misc/gimp-help-en/distinfo
+++ b/misc/gimp-help-en/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1714953538
-SHA256 (gimp-help-2.10.34.tar.bz2) = cae0adea6ffe47776f42dfc3a38f35d28e31893004e01812117af6f7fc897dc8
-SIZE (gimp-help-2.10.34.tar.bz2) = 165540436
+TIMESTAMP = 1748684993
+SHA256 (gimp-help-3.0.0-1.fc43.noarch.rpm) = 8881b2f3115e2ed06e81c44701ec7bcf69855de406bcfd88cb5347ddbba054ba
+SIZE (gimp-help-3.0.0-1.fc43.noarch.rpm) = 50657359