1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

editors/pluma: 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, autoconf-archive,
yelp-tools, and mate-submodules, not needed with release tarballs.
Patch Makefile.in to drop API docs from SUBDIRS. Fix sh_CMD to use
${SH}.
This commit is contained in:
Eric Turgeon
2026-06-02 07:57:04 -03:00
parent 08bb5d2cfe
commit 3a606b8bdf
5 changed files with 32 additions and 35 deletions
+9 -12
View File
@@ -1,7 +1,8 @@
PORTNAME= pluma PORTNAME= pluma
DISTVERSIONPREFIX= v
DISTVERSION= 1.28.1 DISTVERSION= 1.28.1
CATEGORIES= editors mate CATEGORIES= editors mate
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= gnome@FreeBSD.org MAINTAINER= gnome@FreeBSD.org
COMMENT= Small but powerful text editor for MATE Desktop Environment COMMENT= Small but powerful text editor for MATE Desktop Environment
@@ -11,29 +12,25 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool \ BUILD_DEPENDS= itstool:textproc/itstool \
iso-codes>=0:misc/iso-codes \ iso-codes>=0:misc/iso-codes
autoconf-archive>=0:devel/autoconf-archive \
yelp-tools>=0:textproc/yelp-tools
LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \
libpeas-gtk-1.0.so:devel/libpeas1 libpeas-gtk-1.0.so:devel/libpeas1
RUN_DEPENDS= iso-codes>=0:misc/iso-codes RUN_DEPENDS= iso-codes>=0:misc/iso-codes
PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome libtool localbase \
mate pathfix pkgconfig python shebangfix tar:xz xorg
USE_GITHUB= yes USE_GITHUB= nodefault
GH_ACCOUNT= mate-desktop GH_ACCOUNT= mate-desktop
GH_TUPLE= mate-desktop:mate-submodules:54fff1b:submodules/pluma/mate-submodules
USES= autoreconf compiler:c11 desktop-file-utils gettext-tools gmake gnome libtool localbase \
pathfix pkgconfig python shebangfix xorg mate
USE_XORG= ice sm x11 USE_XORG= ice sm x11
USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 gtksourceview4 \ USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 gtksourceview4 \
intltool introspection libxml2 intltool introspection libxml2
USE_MATE= desktop common:build USE_MATE= desktop common:build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
PORTSCOUT= limitw:1,even
SHEBANG_FILES= \ SHEBANG_FILES= \
${WRKSRC}/data/pluma-bugreport.sh.in \ ${WRKSRC}/data/pluma-bugreport.sh.in \
${WRKSRC}/plugins/externaltools/data/build.tool.in \ ${WRKSRC}/plugins/externaltools/data/build.tool.in \
@@ -43,7 +40,7 @@ SHEBANG_FILES= \
${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \ ${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \
${WRKSRC}/plugins/externaltools/data/switch-c.tool.in ${WRKSRC}/plugins/externaltools/data/switch-c.tool.in
SHEBANG_LANG= sh SHEBANG_LANG= sh
sh_CMD= /bin/sh sh_CMD= ${SH}
GLIB_SCHEMAS= org.mate.pluma.gschema.xml \ GLIB_SCHEMAS= org.mate.pluma.gschema.xml \
org.mate.pluma.plugins.filebrowser.gschema.xml \ org.mate.pluma.plugins.filebrowser.gschema.xml \
+3 -5
View File
@@ -1,5 +1,3 @@
TIMESTAMP = 1779843238 TIMESTAMP = 1780310017
SHA256 (mate-desktop-pluma-v1.28.1_GH0.tar.gz) = e769739a278cc136acd88653b68b90ee3dae5b6162632608a3fbf6093245c4a0 SHA256 (pluma-1.28.1.tar.xz) = 27137ff1bb1c53a90d2308b8a6b203e5d07f13a644a0d950f3ead7bb9cf1e241
SIZE (mate-desktop-pluma-v1.28.1_GH0.tar.gz) = 7484468 SIZE (pluma-1.28.1.tar.xz) = 4053608
SHA256 (mate-desktop-mate-submodules-54fff1b_GH0.tar.gz) = 66cde56dacbd15b7134f51c0f80e6567ee7af05157711ce3ef49973718433b7b
SIZE (mate-desktop-mate-submodules-54fff1b_GH0.tar.gz) = 33344
+20
View File
@@ -0,0 +1,20 @@
--- Makefile.in.orig 2026-06-01 10:42:34 UTC
+++ Makefile.in
@@ -165,7 +165,7 @@ am__define_uniq_tagged_files = \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
-DIST_SUBDIRS = po pluma pixmaps data plugins docs help tests
+DIST_SUBDIRS = po pluma pixmaps data plugins help tests
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README.md compile \
config.guess config.rpath config.sub install-sh ltmain.sh \
@@ -419,7 +419,7 @@ top_srcdir = @top_srcdir@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = po pluma pixmaps data plugins docs help $(am__append_1)
+SUBDIRS = po pluma pixmaps data plugins help $(am__append_1)
distuninstallcheck_listfiles = find . -type f -print
EXTRA_DIST = \
autogen.sh \
-8
View File
@@ -1,8 +0,0 @@
--- configure.ac.orig
+++ configure.ac
@@ -42,8 +42,6 @@ LT_PREREQ([2.2.6])
LT_INIT(disable-static)
-GTK_DOC_CHECK([1.0],[--flavour=no-tmpl])
-
AC_CHECK_LIB(m, floor)
@@ -1,10 +0,0 @@
--- docs/reference/Makefile.am.orig
+++ docs/reference/Makefile.am
@@ -80,7 +80,6 @@ GTKDOC_LIBS= \
$(PLUMA_LIBS)
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
+# gtk-doc disabled
# Other files to distribute