pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/xfile
Module Name: pkgsrc
Committed By: vins
Date: Mon Nov 16 20:15:32 UTC 2026
Modified Files:
pkgsrc/sysutils/xfile: Makefile PLIST distinfo
pkgsrc/sysutils/xfile/patches: patch-src_common.mf
Added Files:
pkgsrc/sysutils/xfile/patches: patch-src_xfile-xdg.c
Log Message:
xfile: update to 1.2.1
# changes
Maintenace release, mainly bugfixes and some minor enhancements.
Pasting with the mouse button 2 can now be set up for the file list
widget.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/xfile/Makefile \
pkgsrc/sysutils/xfile/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/xfile/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/xfile/patches/patch-src_common.mf
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/xfile/patches/patch-src_xfile-xdg.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/xfile/Makefile
diff -u pkgsrc/sysutils/xfile/Makefile:1.9 pkgsrc/sysutils/xfile/Makefile:1.10
--- pkgsrc/sysutils/xfile/Makefile:1.9 Sun Jun 7 08:30:46 2026
+++ pkgsrc/sysutils/xfile/Makefile Mon Nov 16 20:15:31 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2026/06/07 08:30:46 vins Exp $
+# $NetBSD: Makefile,v 1.10 2026/11/16 20:15:31 vins Exp $
-DISTNAME= xfile-src-1.2.0
+DISTNAME= xfile-src-1.2.1
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= sysutils x11
MASTER_SITES= https://fastestcode.org/dl/
Index: pkgsrc/sysutils/xfile/distinfo
diff -u pkgsrc/sysutils/xfile/distinfo:1.9 pkgsrc/sysutils/xfile/distinfo:1.10
--- pkgsrc/sysutils/xfile/distinfo:1.9 Sun Jun 7 08:30:46 2026
+++ pkgsrc/sysutils/xfile/distinfo Mon Nov 16 20:15:31 2026
@@ -1,16 +1,20 @@
-$NetBSD: distinfo,v 1.9 2026/06/07 08:30:46 vins Exp $
+$NetBSD: distinfo,v 1.10 2026/11/16 20:15:31 vins Exp $
-BLAKE2s (xfile-1.2.0/xfile-addon.tar.xz) = ff4e29d0ef3e4bfdf7fed6a0498400e5c6a5440901b8599d6c3d819ac425c236
-SHA512 (xfile-1.2.0/xfile-addon.tar.xz) = a6b62fc105c9b4126ad42d45617d618bac37c24ac869ef15e11ebe6cac160c9dd36a016d6429f178df3d6268adcdfcdfce3377ad90f55a51837f34cbd37b6433
-Size (xfile-1.2.0/xfile-addon.tar.xz) = 9896 bytes
-BLAKE2s (xfile-1.2.0/xfile-slanted-icons.tar.xz) = 05d15677163ae69cd7184af0f96006303129d70ab4bebecf5187399f4b6b2761
-SHA512 (xfile-1.2.0/xfile-slanted-icons.tar.xz) = 0598f553d8f45487ceedd0495a115d0f1618e2fb18657e3d9ce7ae3ef0040c9b06aa9bf7224eeb59856f9e9f1258a666a4c52f46ca5edd25f8e29e4105387d50
-Size (xfile-1.2.0/xfile-slanted-icons.tar.xz) = 1772 bytes
-BLAKE2s (xfile-1.2.0/xfile-src-1.2.0.tar.xz) = 1fd7b2625bcc0b80cc1bb23065050fd4d948a15749a941e42a5a9f8c34bf5a47
-SHA512 (xfile-1.2.0/xfile-src-1.2.0.tar.xz) = 69befa5638f33ff82f1d4d24bb29fd953c6320f16f24af63f823819e349840a1b02fc486dfdac17675af818f742ecbbb03e15cfae7e70c5617d5a70043996d4d
-Size (xfile-1.2.0/xfile-src-1.2.0.tar.xz) = 124508 bytes
+BLAKE2s (xfile-1.2.1/xfile-addon.tar.xz) = e4c5d932d5ec82286ed30a46a19e5ed692956dc9edc09e65c58da0ea072632c8
+SHA512 (xfile-1.2.1/xfile-addon.tar.xz) = ccae3b105007b17cd2c04f5cf441a9defb99481731b4f2883dabf38df3711fa0ac9b53b40dd65f56f0b769902d693eb18118666d664808be47122a9eb7b21cbf
+Size (xfile-1.2.1/xfile-addon.tar.xz) = 11544 bytes
+BLAKE2s (xfile-1.2.1/xfile-slanted-icons.tar.xz) = 05d15677163ae69cd7184af0f96006303129d70ab4bebecf5187399f4b6b2761
+SHA512 (xfile-1.2.1/xfile-slanted-icons.tar.xz) = 0598f553d8f45487ceedd0495a115d0f1618e2fb18657e3d9ce7ae3ef0040c9b06aa9bf7224eeb59856f9e9f1258a666a4c52f46ca5edd25f8e29e4105387d50
+Size (xfile-1.2.1/xfile-slanted-icons.tar.xz) = 1772 bytes
+BLAKE2s (xfile-1.2.1/xfile-src-1.2.1.tar.xz) = eea5172847dbfb96d01e627ab719898594068a2c7a298606e8bd356d147ee4ad
+SHA512 (xfile-1.2.1/xfile-src-1.2.1.tar.xz) = 9bc6e1423ab1369906a3f2be3753fb63356fb7b6245a68c005ac0b161ead65a4bc68bf96796eb972dffd57581b7710c6b42b80da366bef3d153d06d9370c46b8
+Size (xfile-1.2.1/xfile-src-1.2.1.tar.xz) = 128176 bytes
+BLAKE2s (xfile-1.2.1/xfile-xdgsvc-src.tar.xz) = 612d79522fbf0b2a5c7673870051f99b0d53e3e7c9e91ccd5ae165572aaa6a1b
+SHA512 (xfile-1.2.1/xfile-xdgsvc-src.tar.xz) = b8043bb682aa8d29daba1defa4c60d7702ff5d2f7ec01caba9c07f0deaf0ab94fc63a7f10733fa76a58822226a97e7b75f3049ceeb33ea70341339808f025fe0
+Size (xfile-1.2.1/xfile-xdgsvc-src.tar.xz) = 3620 bytes
SHA1 (patch-Makefile) = 1316be75730b7823d5f0f00adb243bc5b9100f26
SHA1 (patch-mf_Makefile.pkgsrc) = 1be35b7c590b81366b22871883f783c5fa559cce
-SHA1 (patch-src_common.mf) = d96c20197f7c462a511e3d6bc740e306c427e6d4
+SHA1 (patch-src_common.mf) = 94f5a845a35227490e933adef3924054792996bc
SHA1 (patch-src_res_prefs.ad) = 5046e54572835754a4572001eefa8bd077ade04f
SHA1 (patch-src_xdgsvc.mf) = 776de35bc93df1b63345a542bf712f328642e6c6
+SHA1 (patch-src_xfile-xdg.c) = cf160a9368f224a7fca5b8f2cb76bcaa75abdde0
Index: pkgsrc/sysutils/xfile/PLIST
diff -u pkgsrc/sysutils/xfile/PLIST:1.4 pkgsrc/sysutils/xfile/PLIST:1.5
--- pkgsrc/sysutils/xfile/PLIST:1.4 Sun Oct 12 07:34:33 2025
+++ pkgsrc/sysutils/xfile/PLIST Mon Nov 16 20:15:31 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2025/10/12 07:34:33 vins Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/11/16 20:15:31 vins Exp $
bin/xfile
bin/xfile-open
${PLIST.dbus}bin/xfile-xdgsvc
@@ -10,6 +10,7 @@ share/doc/xfile/README
share/doc/xfile/README.icons
share/doc/xfile/README.pkgsrc
share/pixmaps/xfile_48x48.xpm
+share/pixmaps/xfile_64x64.xpm
share/xfile/icons/arch.l.xpm
share/xfile/icons/arch.m.xpm
share/xfile/icons/arch.s.xpm
@@ -22,6 +23,22 @@ share/xfile/icons/audio.l.xpm
share/xfile/icons/audio.m.xpm
share/xfile/icons/audio.s.xpm
share/xfile/icons/audio.t.xpm
+share/xfile/icons/audio1.l.xpm
+share/xfile/icons/audio1.m.xpm
+share/xfile/icons/audio1.s.xpm
+share/xfile/icons/audio1.t.xpm
+share/xfile/icons/audio2.l.xpm
+share/xfile/icons/audio2.m.xpm
+share/xfile/icons/audio2.s.xpm
+share/xfile/icons/audio2.t.xpm
+share/xfile/icons/audio3.l.xpm
+share/xfile/icons/audio3.m.xpm
+share/xfile/icons/audio3.s.xpm
+share/xfile/icons/audio3.t.xpm
+share/xfile/icons/audio4.l.xpm
+share/xfile/icons/audio4.m.xpm
+share/xfile/icons/audio4.s.xpm
+share/xfile/icons/audio4.t.xpm
share/xfile/icons/bin.l.xpm
share/xfile/icons/bin.m.xpm
share/xfile/icons/bin.s.xpm
Index: pkgsrc/sysutils/xfile/patches/patch-src_common.mf
diff -u pkgsrc/sysutils/xfile/patches/patch-src_common.mf:1.4 pkgsrc/sysutils/xfile/patches/patch-src_common.mf:1.5
--- pkgsrc/sysutils/xfile/patches/patch-src_common.mf:1.4 Mon Apr 20 16:06:01 2026
+++ pkgsrc/sysutils/xfile/patches/patch-src_common.mf Mon Nov 16 20:15:31 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-src_common.mf,v 1.4 2026/04/20 16:06:01 vins Exp $
+$NetBSD: patch-src_common.mf,v 1.5 2026/11/16 20:15:31 vins Exp $
* Use standard CFLAGS and LDFLAGS.
* Provide a pkgsrc-compliant install target.
---- src/common.mf.orig 2026-04-08 12:57:57.000000000 +0000
+--- src/common.mf.orig 2026-08-08 23:07:42.000000000 +0000
+++ src/common.mf
@@ -4,8 +4,6 @@
X_LIBS = -lX11 -lXinerama -lXm -lXt -lXpm
@@ -27,7 +27,7 @@ $NetBSD: patch-src_common.mf,v 1.4 2026/
# Built-in icons
icons.h: mkicons.sh icons/*.xpm
-@@ -52,20 +50,20 @@ clean:
+@@ -52,21 +50,21 @@ clean:
$(CC) -MM $(INCDIRS) $(XFILE_OBJS:.o=.c) > .depend
# Install
@@ -45,6 +45,7 @@ $NetBSD: patch-src_common.mf,v 1.4 2026/
- for n in icons/*.xpm; do install -o 0 -g 0 -m 664 $$n $(SHAREDIR)/$$n; done
- install -o 0 -g 0 -m 644 icons/README $(SHAREDIR)/README.icons
- -install -o 0 -g 0 -m 644 xbm/cabinet.xpm $(PREFIX)/share/pixmaps/xfile_48x48.xpm
+- -install -o 0 -g 0 -m 644 xbm/cabinet64.xpm $(PREFIX)/share/pixmaps/xfile_64x64.xpm
+common_install:: xfile xfile.ad xfile.1
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(BINDIR)
+ $(BSD_INSTALL_PROGRAM) xfile $(DESTDIR)$(BINDIR)
@@ -57,8 +58,9 @@ $NetBSD: patch-src_common.mf,v 1.4 2026/
+ for n in icons/*.xpm; do $(BSD_INSTALL_DATA) $$n $(DESTDIR)$(SHAREDIR)/$$n; done
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PIXMAPDIR) $(DESTDIR)$(DOCDIR)
+ $(BSD_INSTALL_DATA) xbm/cabinet.xpm $(DESTDIR)$(PIXMAPDIR)/xfile_48x48.xpm
++ $(BSD_INSTALL_DATA) xbm/cabinet64.xpm $(DESTDIR)$(PIXMAPDIR)/xfile_64x64.xpm
+ $(BSD_INSTALL_DATA) ../README $(DESTDIR)$(DOCDIR)
+ $(BSD_INSTALL_DATA) icons/README $(DESTDIR)$(DOCDIR)/README.icons
+
# Removal
- uninstall:
Added files:
Index: pkgsrc/sysutils/xfile/patches/patch-src_xfile-xdg.c
diff -u /dev/null pkgsrc/sysutils/xfile/patches/patch-src_xfile-xdg.c:1.1
--- /dev/null Mon Nov 16 20:15:32 2026
+++ pkgsrc/sysutils/xfile/patches/patch-src_xfile-xdg.c Mon Nov 16 20:15:31 2026
@@ -0,0 +1,39 @@
+$NetBSD: patch-src_xfile-xdg.c,v 1.1 2026/11/16 20:15:31 vins Exp $
+
+Avoid using uninitialized variables.
+
+--- src/xfile-xdg.c.orig 2024-12-26 19:42:32.000000000 +0000
++++ src/xfile-xdg.c
+@@ -118,8 +118,6 @@ int process_message(const char *action,
+ int nargs = 0;
+ char **args;
+ char **arg_ptr;
+- char *exec_str;
+- size_t len;
+ char *browser_bin = find_browser();
+
+ dbus_message_iter_init(msg, &it);
+@@ -187,7 +185,7 @@ int process_message(const char *action,
+ dbus_connection_unref(g_dbus);
+
+ for(arg_ptr = args; *arg_ptr; arg_ptr++) {
+- int rv;
++ int rv = 0;
+ pid_t pid;
+ struct stat st;
+ char *exec_bin = XFILE_BIN;
+@@ -227,12 +225,13 @@ int process_message(const char *action,
+ _exit(0);
+ }
+ if(rv) stderr_msg("Error executing '%s' (%s).\n",
+- exec_str, strerror(rv));
++ exec_bin, strerror(rv));
+
+ free(*arg_ptr);
+ }
+
+ free(args);
++ return 0;
+ }
+
+ int decode_url(char *url)
Home |
Main Index |
Thread Index |
Old Index