From: Colin Clark Date: Tue, 4 Jan 2022 13:52:45 +0000 (+0000) Subject: Update for libarchive X-Git-Tag: v1.7~10 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=9012119cc135fc02bb852b31c1ed9708fda41e20 Update for libarchive - Include libarchive in geeqie-install-debian.sh - Include warning message if a compressed file is opened but libarchive is not installed --- diff --git a/geeqie-install-debian.sh b/geeqie-install-debian.sh index a5dd6b0c..900929cb 100755 --- a/geeqie-install-debian.sh +++ b/geeqie-install-debian.sh @@ -81,6 +81,8 @@ optional_array=( "libraw-dev" "libomp (required by libraw)" "libomp-dev" +"libarchive (for compressed files e.g. zip)" +"libarchive-dev" ) # Optional for GTK3 only diff --git a/src/misc.c b/src/misc.c index c1f338f4..1130135c 100644 --- a/src/misc.c +++ b/src/misc.c @@ -392,6 +392,7 @@ void tree_path_free_wrapper(void *data, void *useradata) #ifndef HAVE_ARCHIVE gchar *open_archive(FileData *fd) { + log_printf("%s", _("Warning: libarchive not installed")); return NULL; }