pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/krusader
Module Name: pkgsrc
Committed By: kikadf
Date: Wed Sep 3 14:54:00 UTC 2025
Modified Files:
pkgsrc/sysutils/krusader: Makefile distinfo
Added Files:
pkgsrc/sysutils/krusader/patches: patch-plugins_krarc_krarc.cpp
Log Message:
sysutils/krusader: fix folder view for zip archives
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/sysutils/krusader/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/krusader/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/krusader/patches/patch-plugins_krarc_krarc.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/krusader/Makefile
diff -u pkgsrc/sysutils/krusader/Makefile:1.99 pkgsrc/sysutils/krusader/Makefile:1.100
--- pkgsrc/sysutils/krusader/Makefile:1.99 Sat Aug 30 22:46:19 2025
+++ pkgsrc/sysutils/krusader/Makefile Wed Sep 3 14:54:00 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.99 2025/08/30 22:46:19 wiz Exp $
+# $NetBSD: Makefile,v 1.100 2025/09/03 14:54:00 kikadf Exp $
DISTNAME= krusader-2.9.0
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_KDE:=krusader/${PKGVERSION_NOREV}/}
LICENSE= gnu-gpl-v2
@@ -18,12 +18,19 @@ SUBST_MESSAGE.xdg= Install via examples
SUBST_FILES.xdg= plugins/iso/CMakeLists.txt
SUBST_SED.xdg= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-configure
+SUBST_MESSAGE.path= Fixing pathes
+SUBST_FILES.path+= plugins/krarc/krarc.cpp
+SUBST_VARS.path+= PREFIX
+
MAKE_DIRS+= ${PKG_SYSCONFBASE}/xdg
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/kio_isorc \
${PKG_SYSCONFBASE}/xdg/kio_isorc
BUILD_DEFS+= PKG_SYSCONFBASE
DEPENDS+= oxygen-icons-[0-9]*:../../graphics/oxygen-icons
+DEPENDS+= unzip-[0-9]*:../../archivers/unzip
.include "../../devel/kf6-kparts/buildlink3.mk"
.include "../../devel/qt6-qt5compat/buildlink3.mk"
Index: pkgsrc/sysutils/krusader/distinfo
diff -u pkgsrc/sysutils/krusader/distinfo:1.17 pkgsrc/sysutils/krusader/distinfo:1.18
--- pkgsrc/sysutils/krusader/distinfo:1.17 Thu Feb 13 22:16:59 2025
+++ pkgsrc/sysutils/krusader/distinfo Wed Sep 3 14:54:00 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2025/02/13 22:16:59 wiz Exp $
+$NetBSD: distinfo,v 1.18 2025/09/03 14:54:00 kikadf Exp $
BLAKE2s (krusader-2.9.0.tar.xz) = 831efedb361cb58dd05f1cabd620fdb813262fe3586ce51e9f58d05a97ac060a
SHA512 (krusader-2.9.0.tar.xz) = 9f0fd1f1d85accdd2df46cda128f30660fcd6d8601a889fb003f1d959221ea5c850c3e523e6163cbf30997f7df607051030cb2bca076eedb895c1fc336c338ce
Size (krusader-2.9.0.tar.xz) = 3221844 bytes
+SHA1 (patch-plugins_krarc_krarc.cpp) = 2bcf25d80367f1c176ded26dd27bc88377a7f038
Added files:
Index: pkgsrc/sysutils/krusader/patches/patch-plugins_krarc_krarc.cpp
diff -u /dev/null pkgsrc/sysutils/krusader/patches/patch-plugins_krarc_krarc.cpp:1.1
--- /dev/null Wed Sep 3 14:54:00 2025
+++ pkgsrc/sysutils/krusader/patches/patch-plugins_krarc_krarc.cpp Wed Sep 3 14:54:00 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-plugins_krarc_krarc.cpp,v 1.1 2025/09/03 14:54:00 kikadf Exp $
+
+* Fix folder view for zip archives
+ Parch imported from FreeBSD,
+ https://github.com/freebsd/freebsd-ports/commit/cb09c762742f00418056761ba8e7dc769473beef
+
+--- plugins/krarc/krarc.cpp.orig 2025-09-03 09:00:22.473890009 +0000
++++ plugins/krarc/krarc.cpp
+@@ -1568,10 +1568,10 @@ KIO::WorkerResult kio_krarcProtocol::ini
+
+ if (arcType == "zip") {
+ noencoding = true;
+- cmd = fullPathName("unzip");
+- listCmd << fullPathName("unzip") << "-ZTs-z-t-h";
+- getCmd << fullPathName("unzip") << "-p";
+- copyCmd << fullPathName("unzip") << "-jo";
++ cmd = QString("@PREFIX@/bin/unzip");
++ listCmd << cmd << "-ZTs-z-t-h";
++ getCmd << cmd << "-p";
++ copyCmd << cmd << "-jo";
+
+ if (QStandardPaths::findExecutable(QStringLiteral("zip")).isEmpty()) {
+ delCmd = QStringList();
Home |
Main Index |
Thread Index |
Old Index