Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2024 12:44:07 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fef38981aafb - main - archivers/xarchiver: Update to 0.5.4.22
Message-ID:  <202401041244.404Ci7GG048287@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit fef38981aafb0a601c780936b3cb6f5d4ef77357
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-01-04 12:37:14 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-01-04 12:43:55 +0000

    archivers/xarchiver: Update to 0.5.4.22
    
    - Don't use autoreconf as it is not needed for build
    - Pet stage-qa (lib_depends and build_depends)
    - Pet portclippy and portfmt
    
    ChangeLog: https://github.com/ib/xarchiver/releases/tag/0.5.4.22
---
 archivers/xarchiver/Makefile  | 50 +++++++++++++++++++++----------------------
 archivers/xarchiver/distinfo  |  8 ++++---
 archivers/xarchiver/pkg-plist |  2 --
 3 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile
index fe05b539fc64..50e4524be091 100644
--- a/archivers/xarchiver/Makefile
+++ b/archivers/xarchiver/Makefile
@@ -1,8 +1,10 @@
 PORTNAME=	xarchiver
-DISTVERSION=	0.5.4.21
-PORTREVISION=	1
+DISTVERSION=	0.5.4.22
 CATEGORIES=	archivers
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	5c49e86ffe16cc8a98018ff2f4d2e0ea2b9c0b6c.patch:-p1 # (bsd)sed fix: https://github.com/ib/xarchiver/issues/186
+
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Desktop-agnostic GTK frontend to various archiving tools
 WWW=		https://github.com/ib/xarchiver
@@ -10,17 +12,15 @@ WWW=		https://github.com/ib/xarchiver
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
-		libfreetype.so:print/freetype2 \
-		libharfbuzz.so:print/harfbuzz
-RUN_DEPENDS=	7zz:archivers/7-zip \
-		gtar:archivers/gtar \
-		${LOCALBASE}/bin/gzip:archivers/gzip \
+LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
+RUN_DEPENDS=	${LOCALBASE}/bin/gzip:archivers/gzip \
 		${LOCALBASE}/bin/unzip:archivers/unzip \
+		7zz:archivers/7-zip \
+		gtar:archivers/gtar \
 		xdg-open:devel/xdg-utils \
 		zip:archivers/zip
 
-USES=		autoreconf desktop-file-utils gmake gnome libtool:build pkgconfig
+USES=		desktop-file-utils gmake gnome libtool:build pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	ib
 USE_GNOME=	cairo gdkpixbuf2 glib20 intltool
@@ -29,42 +29,42 @@ GNU_CONFIGURE=	yes
 
 PORTSCOUT=	limit:^\d\.\d\.\d\.\d+$ # avoid tags like identical_to_xfce_git_content
 
-OPTIONS_DEFINE=	DOCS NLS
-OPTIONS_GROUP=	FORMATS
+OPTIONS_DEFINE=		DOCS NLS
+OPTIONS_DEFAULT=	GTK3
+OPTIONS_GROUP=		FORMATS
 OPTIONS_GROUP_FORMATS=	ARJ LZO RAR
 OPTIONS_SINGLE=		GTK
 OPTIONS_SINGLE_GTK=	GTK2 GTK3
-OPTIONS_DEFAULT=	GTK3
-OPTIONS_SUB=	yes
+OPTIONS_SUB=		yes
 
-FORMATS_DESC=	Additional compression formats support
 ARJ_DESC=	ARJ compression support
+FORMATS_DESC=	Additional compression formats support
 RAR_DESC=	RAR compression support
 
 ARJ_RUN_DEPENDS=	arj:archivers/arj
 LZO_RUN_DEPENDS=	lzop:archivers/lzop
-RAR_RUN_DEPENDS=	unrar:archivers/unrar \
-			rar:archivers/rar
+RAR_RUN_DEPENDS=	rar:archivers/rar \
+			unrar:archivers/unrar
 
-DOCS_USE=		GNOME=libxslt
+DOCS_BUILD_DEPENDS=	xsltproc:textproc/libxslt
 DOCS_CONFIGURE_ENABLE=	doc
 
-GTK2_CONFIGURE_ENABLE=	gtk2
+GTK2_LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+			libfreetype.so:print/freetype2
 GTK2_USE=		GNOME=gtk20
-GTK3_USE=		GNOME=gtk30
+GTK2_CONFIGURE_ENABLE=	gtk2
 
-NLS_USES=	gettext localbase
-NLS_USES_OFF=	gettext-tools
+GTK3_USE=	GNOME=gtk30
+
+NLS_USES=		gettext localbase
+NLS_USES_OFF=		gettext-tools
 NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
 		${WRKSRC}/src/main.c
 
-post-patch-DOCS-off:
-	@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
-
 post-patch-NLS-off:
-	@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/^SUBDIRS /s| po||' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>
diff --git a/archivers/xarchiver/distinfo b/archivers/xarchiver/distinfo
index 6a7937a32d15..d6d1a38ee227 100644
--- a/archivers/xarchiver/distinfo
+++ b/archivers/xarchiver/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1683228738
-SHA256 (ib-xarchiver-0.5.4.21_GH0.tar.gz) = 65329bff7e901452f3f927d913c47ffca759a36e83e8b82d04fe6945e7393fd4
-SIZE (ib-xarchiver-0.5.4.21_GH0.tar.gz) = 1132417
+TIMESTAMP = 1704355004
+SHA256 (ib-xarchiver-0.5.4.22_GH0.tar.gz) = 425b203f59a5e3d0747e80cbbe0af0beb0f9b77bbe29a9b233e85c54a4ff6193
+SIZE (ib-xarchiver-0.5.4.22_GH0.tar.gz) = 1125943
+SHA256 (5c49e86ffe16cc8a98018ff2f4d2e0ea2b9c0b6c.patch) = f573eb0411705e3e82e3efccace2fe0d32bf436e52378f107daaffec916d0e7b
+SIZE (5c49e86ffe16cc8a98018ff2f4d2e0ea2b9c0b6c.patch) = 1835
diff --git a/archivers/xarchiver/pkg-plist b/archivers/xarchiver/pkg-plist
index 8b90c462004f..cb38ac95413a 100644
--- a/archivers/xarchiver/pkg-plist
+++ b/archivers/xarchiver/pkg-plist
@@ -2,10 +2,8 @@ bin/xarchiver
 libexec/thunar-archive-plugin/xarchiver.tap
 man/man1/xarchiver.1.gz
 share/applications/xarchiver.desktop
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/ch01.html
 %%PORTDOCS%%%%DOCSDIR%%/ch01s01.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401041244.404Ci7GG048287>