Created attachment 256749 [details] Maintainer's patch against current version The patch for latest version of WimLib
1. PORTVERSION => DISTVERSION. 2. Remove PORTREVISION. 3. Remove GNU_CONFIGURE_MANPREFIX. 4. Move NTFS_LIB_DEPENDS before NTFS_CONFIGURE_WITH.
4. wimlib 1.14.0 has been released. List of changes: Removed libxml2 and libcrypto (OpenSSL) as dependencies of wimlib. Remove USES=gnome and USE_GNOME=libxml2 (need testing). Changelogs: 1.13.1: https://github.com/ebiggers/wimlib/compare/v1.13.0...v1.13.1 1.13.2: https://wimlib.net/forums/viewtopic.php?t=530 1.13.3: https://wimlib.net/forums/viewtopic.php?t=543 1.13.4: https://wimlib.net/forums/viewtopic.php?t=554 1.13.5: https://wimlib.net/forums/viewtopic.php?t=570 1.13.6: https://wimlib.net/forums/viewtopic.php?t=612 1.14.0: https://wimlib.net/forums/viewtopic.php?t=658 1.14.1: https://wimlib.net/forums/viewtopic.php?t=662 1.14.2: https://wimlib.net/forums/viewtopic.php?t=675 1.14.3: https://wimlib.net/forums/viewtopic.php?t=681 1.14.4: https://wimlib.net/forums/viewtopic.php?t=737
(In reply to Vladimir Druzenko from comment #2) It was 5th not 4th (about libxml2).
5. Tested: remove USES=gnome and USE_GNOME=libxml2. 6. Remove USES=fuse: > Warning: you might not need LIB_DEPENDS on libfuse.so 7. Add INSTALL_TARGET=install-strip. Patch for filesystems/wimlib/Makefile: --- filesystems/wimlib.orig/Makefile +++ filesystems/wimlib/Makefile @@ -1,6 +1,5 @@ PORTNAME= wimlib -PORTVERSION= 1.13.0 -PORTREVISION= 3 +DISTVERSION= 1.14.4 CATEGORIES= filesystems sysutils MASTER_SITES= https://wimlib.net/downloads/ @@ -11,20 +10,19 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.GPLv3 -USES= gmake gnome fuse libtool pkgconfig -USE_GNOME= libxml2 +USES= gmake libtool pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-static +INSTALL_TARGET= install-strip OPTIONS_DEFINE= NTFS OPTIONS_DEFAULT= NTFS NTFS_DESC= Build with libntfs-3g for NTFS support (recommended) -NTFS_CONFIGURE_WITH= ntfs-3g NTFS_LIB_DEPENDS= libntfs-3g.so:filesystems/ntfs +NTFS_CONFIGURE_WITH= ntfs-3g .include <bsd.port.mk>
Created attachment 256758 [details] Update with Vladimir Druzenko's remarks
(In reply to Vladimir Druzenko from comment #4) Thank you for your important remarks
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=79c61bde75b0a59ab4c18ebca6fa3358cbb32169 commit 79c61bde75b0a59ab4c18ebca6fa3358cbb32169 Author: Sergey <mail_of_sergey@mail.ru> AuthorDate: 2025-01-17 20:20:13 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-01-17 20:24:16 +0000 filesystems/wimlib: Update 1.13.0 → 1.14.4 Changelogs: 1.13.1: https://github.com/ebiggers/wimlib/compare/v1.13.0...v1.13.1 1.13.2: https://wimlib.net/forums/viewtopic.php?t=530 1.13.3: https://wimlib.net/forums/viewtopic.php?t=543 1.13.4: https://wimlib.net/forums/viewtopic.php?t=554 1.13.5: https://wimlib.net/forums/viewtopic.php?t=570 1.13.6: https://wimlib.net/forums/viewtopic.php?t=612 1.14.0: https://wimlib.net/forums/viewtopic.php?t=658 1.14.1: https://wimlib.net/forums/viewtopic.php?t=662 1.14.2: https://wimlib.net/forums/viewtopic.php?t=675 1.14.3: https://wimlib.net/forums/viewtopic.php?t=681 1.14.4: https://wimlib.net/forums/viewtopic.php?t=737 Improve port: - PORTVERSION → DISTVERSION; - remove GNU_CONFIGURE_MANPREFIX; - remove unnecessary dependencies from libxml2 ad fuse; - pet portclippy; - add INSTALL_TARGET=install-strip. PR: 284111 filesystems/wimlib/Makefile | 12 +++++------- filesystems/wimlib/distinfo | 6 +++--- filesystems/wimlib/pkg-plist | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-)
Thanks.