git: 1ea15e50f620 - 2026Q4 - sysutils/rmlint: Update 2.10.1 => 2.11.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Nov 2026 10:16:11 UTC
The branch 2026Q4 has been updated by nxjoseph:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ea15e50f620e394e69634937f33af09be26db87
commit 1ea15e50f620e394e69634937f33af09be26db87
Author: Joachim Werner <jockl@pianojockl.org>
AuthorDate: 2026-11-04 10:14:13 +0000
Commit: Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-11-04 10:16:05 +0000
sysutils/rmlint: Update 2.10.1 => 2.11.0
Changelog:
https://github.com/sahib/rmlint/blob/v2.11.0/CHANGELOG.md
PR: 300443
Approved by: osa, vvd (mentors, implicit)
MFH: 2026Q4
(cherry picked from commit dc8bdde0ac382a848d7586d4890d331f7ba3611b)
---
sysutils/rmlint/Makefile | 25 +++++++++++++------------
sysutils/rmlint/distinfo | 6 +++---
sysutils/rmlint/files/patch-lib_utilities.h | 13 -------------
sysutils/rmlint/files/patch-lib_xattr.c | 28 ----------------------------
sysutils/rmlint/files/patch-po_SConscript | 11 +++++++++++
sysutils/rmlint/pkg-plist | 8 ++++++++
6 files changed, 35 insertions(+), 56 deletions(-)
diff --git a/sysutils/rmlint/Makefile b/sysutils/rmlint/Makefile
index 1e2af09f5db5..def0029821b6 100644
--- a/sysutils/rmlint/Makefile
+++ b/sysutils/rmlint/Makefile
@@ -1,8 +1,6 @@
PORTNAME= rmlint
DISTVERSIONPREFIX= v
-DISTVERSION= 2.10.1-11
-DISTVERSIONSUFFIX= -ga726d0cb
-PORTREVISION= 1
+DISTVERSION= 2.11.0
CATEGORIES= sysutils
MAINTAINER= jockl@pianojockl.org
@@ -11,24 +9,27 @@ WWW= https://rmlint.readthedocs.io/en/latest/
LICENSE= GPLv3
-BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
+BUILD_DEPENDS= sphinx-build-${PYTHON_VER}:textproc/py-sphinx@${PY_FLAVOR}
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib
-USES= gnome pkgconfig python:build scons
+USES= gettext-runtime gnome pkgconfig python:build scons
USE_GITHUB= yes
GH_ACCOUNT= sahib
USE_GNOME= glib20
-MAKE_ARGS= --actual-prefix=${PREFIX} \
- --prefix=${STAGEDIR}${PREFIX} \
+# blkid is only used to map partitions to their whole disk through Linux sysfs,
+# which is of no use on FreeBSD: auto-detection would also add an undeclared
+# runtime dependency on filesystems/libblkid.
+MAKE_ARGS= --without-blkid \
--without-gui
-PLIST_FILES= bin/rmlint \
- share/man/man1/rmlint.1.gz
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-OPTIONS_DEFINE= NLS
+NLS_USES= gettext-tools
+NLS_MAKE_ARGS_OFF= --without-gettext
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_WITH= gettext
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rmlint
.include <bsd.port.mk>
diff --git a/sysutils/rmlint/distinfo b/sysutils/rmlint/distinfo
index fc4e9ffa8703..97db86428594 100644
--- a/sysutils/rmlint/distinfo
+++ b/sysutils/rmlint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612969612
-SHA256 (sahib-rmlint-v2.10.1-11-ga726d0cb_GH0.tar.gz) = 4751cc401640ad7f02025a430e77c93d57ac76ea1e6c4f25e2b3b2e759fb81a7
-SIZE (sahib-rmlint-v2.10.1-11-ga726d0cb_GH0.tar.gz) = 2495392
+TIMESTAMP = 1793606478
+SHA256 (sahib-rmlint-v2.11.0_GH0.tar.gz) = e7a20caf7f0162791f947a89931de76750daadd72be7719477278f3e949f00df
+SIZE (sahib-rmlint-v2.11.0_GH0.tar.gz) = 2702392
diff --git a/sysutils/rmlint/files/patch-lib_utilities.h b/sysutils/rmlint/files/patch-lib_utilities.h
deleted file mode 100644
index 1f64031407c8..000000000000
--- a/sysutils/rmlint/files/patch-lib_utilities.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- lib/utilities.h.orig 2021-02-09 17:20:43 UTC
-+++ lib/utilities.h
-@@ -127,6 +127,10 @@ static inline void rm_sys_close(int fd) {
- }
- }
-
-+#ifndef HAVE_LSEEK64
-+#define lseek64 lseek
-+#endif
-+
- static inline gint64 rm_sys_preadv(int fd, const struct iovec *iov, int iovcnt,
- RmOff offset) {
- #if RM_IS_APPLE || RM_IS_CYGWIN
diff --git a/sysutils/rmlint/files/patch-lib_xattr.c b/sysutils/rmlint/files/patch-lib_xattr.c
deleted file mode 100644
index 2e333d7d1de3..000000000000
--- a/sysutils/rmlint/files/patch-lib_xattr.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- lib/xattr.c.orig 2020-12-06 15:39:50 UTC
-+++ lib/xattr.c
-@@ -209,7 +209,7 @@ static int rm_xattr_del(RmFile *file, const char *key,
- // ACTUAL API FUNCTIONS //
- ////////////////////////////
-
--int rm_xattr_write_hash(RmFile *file, RmSession *session) {
-+int rm_xattr_write_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) {
- g_assert(file);
- g_assert(file->digest);
- g_assert(session);
-@@ -236,7 +236,7 @@ int rm_xattr_write_hash(RmFile *file, RmSession *sessi
- return 0;
- }
-
--gboolean rm_xattr_read_hash(RmFile *file, RmSession *session) {
-+gboolean rm_xattr_read_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) {
- g_assert(file);
- g_assert(session);
-
-@@ -287,7 +287,7 @@ gboolean rm_xattr_read_hash(RmFile *file, RmSession *s
- #endif
- }
-
--int rm_xattr_clear_hash(RmFile *file, RmSession *session) {
-+int rm_xattr_clear_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) {
- g_assert(file);
- g_assert(session);
diff --git a/sysutils/rmlint/files/patch-po_SConscript b/sysutils/rmlint/files/patch-po_SConscript
new file mode 100644
index 000000000000..56586367ee81
--- /dev/null
+++ b/sysutils/rmlint/files/patch-po_SConscript
@@ -0,0 +1,11 @@
+--- po/SConscript.orig 2026-11-01 23:30:58 UTC
++++ po/SConscript
+@@ -10,7 +10,7 @@
+ from SCons.Errors import BuildError
+
+
+-if env['HAVE_MSGFMT']:
++if env['HAVE_GETTEXT']:
+ for src in env.Glob('*.po'):
+ lang = os.path.basename(src.get_abspath())[:-3]
+ mo = env.Command(f'{lang}.mo', src, 'msgfmt $SOURCE -o $TARGET')
diff --git a/sysutils/rmlint/pkg-plist b/sysutils/rmlint/pkg-plist
new file mode 100644
index 000000000000..82eb76bdd937
--- /dev/null
+++ b/sysutils/rmlint/pkg-plist
@@ -0,0 +1,8 @@
+bin/rmlint
+share/man/man1/rmlint.1.gz
+%%NLS%%share/locale/de/LC_MESSAGES/rmlint.mo
+%%NLS%%share/locale/es/LC_MESSAGES/rmlint.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/rmlint.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/rmlint.mo
+%%NLS%%share/locale/ka/LC_MESSAGES/rmlint.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/rmlint.mo