Files
extra/xarchiver/libre.patch
2025-06-22 20:39:04 -05:00

82 lines
7.6 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
diff --unified --recursive --text xarchiver-0.5.4.17/configure xarchiver-0.5.4.17/configure
--- xarchiver-0.5.4.17/configure 2021-01-24 20:21:04.000000000 +0100
+++ xarchiver-0.5.4.17/configure 2021-06-15 18:46:26.605339641 +0100
@@ -13123,8 +13123,8 @@
xgversion="`xgettext --version | head -1 | grep -Eo '[0-9.]+$'`"
-if test x"$xgversion" \< x"0.16"; then :
- as_fn_error $? "GNU gettext tools must be at least version 0.16" "$LINENO" 5
+if test x"$xgversion" \< x""; then :
+ as_fn_error $? "GNU gettext tools must be at least version 0" "$LINENO" 5
fi
GETTEXT_PACKAGE=xarchiver
diff --unified --recursive --text xarchiver-0.5.4.17/configure.ac xarchiver-0.5.4.17/configure.ac
--- xarchiver-0.5.4.17/configure.ac 2021-01-24 20:21:04.000000000 +0100
+++ xarchiver-0.5.4.17/configure.ac 2021-06-15 18:43:52.635113814 +0100
@@ -89,7 +89,7 @@
dnl ********************
IT_PROG_INTLTOOL([0.40.0], [no-xml])
xgversion="`xgettext --version | head -1 | grep -Eo '[[0-9.]]+$'`"
-AS_IF([test x"$xgversion" \< x"0.16"], AC_MSG_ERROR([GNU gettext tools must be at least version 0.16]))
+AS_IF([test x"$xgversion" \< x""], AC_MSG_ERROR([GNU gettext tools must be at least version 0]))
GETTEXT_PACKAGE=m4_default([], [AC_PACKAGE_NAME])
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Name of default gettext domain])
diff --unified --recursive --text xarchiver-0.5.4.17/doc/html/ch03s03.html xarchiver-0.5.4.17/doc/html/ch03s03.html
--- xarchiver-0.5.4.17/doc/html/ch03s03.html 2021-01-24 20:21:04.000000000 +0100
+++ xarchiver-0.5.4.17/doc/html/ch03s03.html 2021-06-15 18:49:05.615572859 +0100
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>General</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch03.html" title="Chapter 3. Usage" /><link rel="prev" href="ch03s02.html" title="Command line options" /><link rel="next" href="ch03s04.html" title="Xarchiver menu" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">General</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Usage</th><td width="20%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="usage_general"></a>General</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="general_startup"></a>Startup</h3></div></div></div><p>
- At startup, Xarchiver detects the available installed archivers (tar,rar,zip etc) and the script <span class="emphasis"><em>xdg-open</em></span> for handling different file types. Since Xarchiver is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have the free edition of rar, unrar, Xarchiver can't create rar archives since unrar allows rar archives to be opened, tested and extracted but not to be created.
+ At startup, Xarchiver detects the available installed archivers (tar,rar,zip etc) and the script <span class="emphasis"><em>xdg-open</em></span> for handling different file types. Since Xarchiver is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have unar, Xarchiver can't create rar archives since unar allows rar archives to be opened, tested and extracted but not to be created.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="how_it_works"></a>How it works</h3></div></div></div><p>
Xarchiver will run in the background the command line executable of the archiver with the archiver's proper switches to perform the selected operation. If something goes wrong Xarchiver reports the full output of the archiver executable in the command line output window. Starting with release 0.5 the files in the archive can be opened within Xarchiver. The script <span class="emphasis"><em>xdg-open</em></span> will detect the file type and run the proper application to handle it. If you don't have such script installed in your system (it's found in the xdg-utils package) Xarchiver will recognize HTML, txt and images files only. The Preferences dialog will notify this to you when you click the Advanced section inside it.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="dnd"></a>Drag and Drop</h3></div></div></div><p>
diff --unified --recursive --text xarchiver-0.5.4.17/doc/xarchiver.docbook xarchiver-0.5.4.17/doc/xarchiver.docbook
--- xarchiver-0.5.4.17/doc/xarchiver.docbook 2021-01-24 20:21:04.000000000 +0100
+++ xarchiver-0.5.4.17/doc/xarchiver.docbook 2021-06-15 18:51:07.425751517 +0100
@@ -305,7 +305,7 @@
<section id="general_startup">
<title>Startup</title>
<para>
- At startup, &app; detects the available installed archivers (tar,rar,zip etc) and the script <emphasis>xdg-open</emphasis> for handling different file types. Since &app; is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have the free edition of rar, unrar, &app; can't create rar archives since unrar allows rar archives to be opened, tested and extracted but not to be created.
+ At startup, &app; detects the available installed archivers (tar,rar,zip etc) and the script <emphasis>xdg-open</emphasis> for handling different file types. Since &app; is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have unar, &app; can't create rar archives since unar allows rar archives to be opened, tested and extracted but not to be created.
</para>
</section>
<section id="how_it_works">
diff --unified --recursive --text xarchiver-0.5.4.17/src/main.c xarchiver-0.5.4.17/src/main.c
--- xarchiver-0.5.4.17/src/main.c 2021-01-24 20:21:04.000000000 +0100
+++ xarchiver-0.5.4.17/src/main.c 2021-06-15 19:04:56.716967831 +0100
@@ -629,8 +629,6 @@
if (path)
archiver[type].is_compressor = TRUE;
- else
- path = g_find_program_in_path("unrar");
if (path)
{
diff --unified --recursive --text xarchiver-0.5.4.17/src/rar.c xarchiver-0.5.4.17/src/rar.c
--- xarchiver-0.5.4.17/src/rar.c 2021-01-24 20:21:04.000000000 +0100
+++ xarchiver-0.5.4.17/src/rar.c 2021-06-15 19:21:50.398454588 +0100
@@ -39,9 +39,6 @@
id = strstr(output, "\nRAR ");
- if (!id)
- id = strstr(output, "\nUNRAR ");
-
if (id)
{
version = *(strchr(id, ' ') + 1);
diff --unified --recursive --text xarchiver-0.5.4.17.orig/po/LINGUAS xarchiver-0.5.4.17/po/LINGUAS
--- xarchiver-0.5.4.17/po/LINGUAS 2021-01-24 20:21:04.000000000 +0100
+++ xarchiver-0.5.4.17/po/LINGUAS 2021-06-15 23:19:59.709412000 +0100
@@ -1,2 +1,2 @@
# set of available languages (in alphabetic order)
-ar ast bg ca cs da de dz el en_GB es eu fi fr gl he hr hu id it ja kk ku lt lv ms nb nl pa pl pt_BR pt_PT ro ru si sk sq sr sv te th tr ug uk ur vi zh_CN zh_TW
+ar ast bg ca cs da de dz el en_GB fi gl hu id it lt lv nl pa pl ru