From c63cde2c2486e64ac6f05fce2d612afb46e2de79 Mon Sep 17 00:00:00 2001 From: Eric Turgeon Date: Sun, 31 May 2026 16:23:54 -0300 Subject: [PATCH] deskutils/mate-utils: switch to GitHub release asset Minor versions of 1.28.x are no longer published to the MATE mirror and are only available on GitHub. Use USE_GITHUB=nodefault with a release tarball instead of the auto-generated one, as recommended by the porter's handbook. Remove autoreconf, gtkdocize, autoconf-archive, yelp-tools, and GH_TUPLE submodules, not needed with release tarballs. Add libudisks2 dependency and enable the disk image mounter. Patch mate-dictionary/Makefile.in to skip installing pre-built API docs. --- deskutils/mate-utils/Makefile | 24 ++++++++----------- deskutils/mate-utils/distinfo | 8 +++---- .../files/patch-mate-dictionary_Makefile.in | 11 +++++++++ deskutils/mate-utils/pkg-plist | 2 ++ 4 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 deskutils/mate-utils/files/patch-mate-dictionary_Makefile.in diff --git a/deskutils/mate-utils/Makefile b/deskutils/mate-utils/Makefile index 8d770a35398e..eecb87fc6793 100644 --- a/deskutils/mate-utils/Makefile +++ b/deskutils/mate-utils/Makefile @@ -1,7 +1,9 @@ PORTNAME= mate-utils -DISTVERSIONPREFIX= v DISTVERSION= 1.28.0 +PORTREVISION= 1 CATEGORIES= deskutils mate +MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= gnome@FreeBSD.org COMMENT= MATE support utilities @@ -13,21 +15,16 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.docs LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.libs -BUILD_DEPENDS= itstool:textproc/itstool \ - gtkdocize:textproc/gtk-doc \ - autoconf-archive>=0:devel/autoconf-archive \ - yelp-tools>=0:textproc/yelp-tools +BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgtop-2.0.so:devel/libgtop \ - libcanberra-gtk3.so:audio/libcanberra-gtk3 + libcanberra-gtk3.so:audio/libcanberra-gtk3 \ + libudisks2.so:sysutils/libudisks -PORTSCOUT= limitw:1,even - -USE_GITHUB= yes +USES= gettext gmake gnome libtool localbase mate \ + pkgconfig tar:xz xorg +USE_GITHUB= nodefault GH_ACCOUNT= mate-desktop -GH_TUPLE= mate-desktop:mate-submodules:54fff1b:submodules/gsearchtool/mate-submodules -USES= autoreconf gettext gmake gnome libtool localbase mate \ - pkgconfig xorg USE_MATE= panel common:build USE_XORG= ice sm x11 xext USE_GNOME= cairo gnomeprefix gtk30 intltool @@ -36,8 +33,7 @@ GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip -CONFIGURE_ARGS= --disable-disk-image-mounter \ - --disable-gtk-doc +PORTSCOUT= limitw:1,even GLIB_SCHEMAS= org.mate.dictionary.gschema.xml \ org.mate.disk-usage-analyzer.gschema.xml \ diff --git a/deskutils/mate-utils/distinfo b/deskutils/mate-utils/distinfo index 5142c29b9abd..d1987833e09e 100644 --- a/deskutils/mate-utils/distinfo +++ b/deskutils/mate-utils/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1779795940 -SHA256 (mate-desktop-mate-utils-v1.28.0_GH0.tar.gz) = 17e36b6df50f58286d35cd0742623427e5d7b99923b861f9d400341d49a96a7d -SIZE (mate-desktop-mate-utils-v1.28.0_GH0.tar.gz) = 10258702 -SHA256 (mate-desktop-mate-submodules-54fff1b_GH0.tar.gz) = 66cde56dacbd15b7134f51c0f80e6567ee7af05157711ce3ef49973718433b7b -SIZE (mate-desktop-mate-submodules-54fff1b_GH0.tar.gz) = 33344 +TIMESTAMP = 1780225731 +SHA256 (mate-utils-1.28.0.tar.xz) = 58449d7a0d1d900ff03b78ca9f7e98c21e97f47fc26bee7ff1c61834f22f88d3 +SIZE (mate-utils-1.28.0.tar.xz) = 7986440 diff --git a/deskutils/mate-utils/files/patch-mate-dictionary_Makefile.in b/deskutils/mate-utils/files/patch-mate-dictionary_Makefile.in new file mode 100644 index 000000000000..5ab9e5434e86 --- /dev/null +++ b/deskutils/mate-utils/files/patch-mate-dictionary_Makefile.in @@ -0,0 +1,11 @@ +--- mate-dictionary/Makefile.in.orig 2026-05-31 11:26:40 UTC ++++ mate-dictionary/Makefile.in +@@ -413,7 +413,7 @@ top_srcdir = @top_srcdir@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = libgdict src data docs help ++SUBDIRS = libgdict src data help + EXTRA_DIST = TODO README.md AUTHORS + all: all-recursive + diff --git a/deskutils/mate-utils/pkg-plist b/deskutils/mate-utils/pkg-plist index 83aa86ded217..eb65a14149af 100644 --- a/deskutils/mate-utils/pkg-plist +++ b/deskutils/mate-utils/pkg-plist @@ -1,4 +1,5 @@ bin/mate-dictionary +bin/mate-disk-image-mounter bin/mate-disk-usage-analyzer bin/mate-panel-screenshot bin/mate-screenshot @@ -24,6 +25,7 @@ lib/libmatedict.so.6.0.7 libdata/pkgconfig/mate-dict.pc libexec/mate-dictionary-applet share/applications/mate-dictionary.desktop +share/applications/mate-disk-image-mounter.desktop share/applications/mate-disk-usage-analyzer.desktop share/applications/mate-screenshot.desktop share/applications/mate-search-tool.desktop