archivers/xarchiver: switch from p7zip to 7-zip
PR: 260866
This commit is contained in:
parent
880c0dcf1f
commit
88cbdd9c25
2 changed files with 14 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= xarchiver
|
||||
PORTVERSION= 0.5.4.16
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
@ -12,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
RUN_DEPENDS= 7zr:archivers/p7zip \
|
||||
RUN_DEPENDS= 7zz:archivers/7-zip \
|
||||
gtar:archivers/gtar \
|
||||
gzip:archivers/gzip \
|
||||
${LOCALBASE}/bin/unzip:archivers/unzip \
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
--- src/main.c.orig 2020-05-30 14:10:55 UTC
|
||||
--- src/main.c.orig 2020-12-12 13:32:03 UTC
|
||||
+++ src/main.c
|
||||
@@ -387,7 +387,7 @@ static void xa_check_available_archivers ()
|
||||
@@ -103,7 +103,7 @@ static void xa_check_available_archivers ()
|
||||
|
||||
/* (un)compressors that can handle various types */
|
||||
|
||||
- sevenz = g_find_program_in_path("7z");
|
||||
+ sevenz = g_find_program_in_path("7zz");
|
||||
|
||||
if (!sevenz)
|
||||
{
|
||||
@@ -388,7 +388,7 @@ static void xa_check_available_archivers ()
|
||||
/* GNU zip */
|
||||
|
||||
type = XARCHIVETYPE_GZIP;
|
||||
|
@ -9,7 +18,7 @@
|
|||
|
||||
if (path)
|
||||
archiver[type].is_compressor = TRUE;
|
||||
@@ -799,11 +799,11 @@ static void xa_check_available_archivers ()
|
||||
@@ -812,11 +812,11 @@ static void xa_check_available_archivers ()
|
||||
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(prefs_window->prefer_unzip)) ||
|
||||
(!is7za && !lsar))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue