summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/xarchiver/PKGBUILD26
-rw-r--r--libre/xarchiver/libre.patch (renamed from libre/xarchiver/remove-nonfree-unrar-support.patch)324
2 files changed, 206 insertions, 144 deletions
diff --git a/libre/xarchiver/PKGBUILD b/libre/xarchiver/PKGBUILD
index 4a6afce7d..36e98dc64 100644
--- a/libre/xarchiver/PKGBUILD
+++ b/libre/xarchiver/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 153431 2015-12-16 15:22:16Z bgyorgy $
+# $Id: PKGBUILD 183738 2016-07-23 00:24:28Z bgyorgy $
# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com>
# Contributor (Arch): Alexander Fehr <pizzapunk gmail com>
# Contributor (Arch): Andrew Simmons <andrew.simmons@gmail.com>
@@ -6,8 +6,8 @@
pkgbase=xarchiver
pkgname=(xarchiver xarchiver-gtk2)
-pkgver=0.5.4.6
-pkgrel=2.parabola1
+pkgver=0.5.4.7
+pkgrel=1.parabola1
pkgdesc="GTK+ frontend to various command line archivers, without nonfree unrar support"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/ib/xarchiver"
@@ -20,25 +20,15 @@ optdepends=('zip: ZIP support'
'lzop: LZOP support'
'cpio: RPM support')
source=(https://github.com/ib/xarchiver/archive/$pkgbase-$pkgver.tar.gz
- 0001-Add-support-for-GTK-3.patch
- 0001-Fix-docbook-file.patch
- remove-nonfree-unrar-support.patch)
-sha256sums=('5199670b435e9a25d33c6101b99f7bd64375377920d389a9a566d9ba72cc9f8b'
- '4ac66b7e23e714ed03fe377b2f8e494c6048a7a507bbc439fe2f081ba110021a'
- '12e4848f81d2532e93ee5bb0774334d176ad09462f07f16a0928558564fdf3a3'
- 'b210b98fe60ffc50f6feac48b565dd1faa7e0f7adf14d7d7534089c3b32c9131')
+ libre.patch)
+sha256sums=('124eeccd819419c3d8f2935a78a3ad0ad47174bf7ef641441341e3aa32ea8f11'
+ '095e01b397f92407c7a2b7d1de91c0c14dd1494ebf5f5ac9e1d4410c12eb41da')
prepare() {
cd $pkgbase-$pkgbase-$pkgver
- # Add support for GTK+ 3
- patch -Np1 -i ../0001-Add-support-for-GTK-3.patch
-
- # Fix docbook file
- patch -Np1 -i ../0001-Fix-docbook-file.patch
-
# Remove nonfree unRAR support
- patch -Np1 -i ../remove-nonfree-unrar-support.patch
+ patch -p1 -i ../libre.patch
rm -v src/rar.{c,h}
./autogen.sh
@@ -55,7 +45,7 @@ build() {
# GTK+ 2 version
[ -d gtk2 ] || cp -r $pkgbase-$pkgbase-$pkgver gtk2
cd gtk2
- ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4 --disable-gtk3
+ ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4 --enable-gtk2
make -j1
}
diff --git a/libre/xarchiver/remove-nonfree-unrar-support.patch b/libre/xarchiver/libre.patch
index 75745aa2b..3016db902 100644
--- a/libre/xarchiver/remove-nonfree-unrar-support.patch
+++ b/libre/xarchiver/libre.patch
@@ -1,17 +1,38 @@
---- xarchiver-0.5.4.6.orig/doc/html/ch01s01.html 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/doc/html/ch01s01.html 2016-04-12 15:42:24.032705366 -0500
-@@ -8,7 +8,7 @@
- to work. The package <span class="emphasis"><em>xdg-utils</em></span> is optional.
- </p><p>
- Xarchiver presents the following characteristic:
-- </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">Archive directories can be browsed just like a file manager</li><li class="listitem">Mime icon for each of the archive entries</li><li class="listitem">The most used archiver's command line options are supported in the Add and Extract dialogs</li><li class="listitem">Tabs Firefox style support</li><li class="listitem">Multi-extract facility</li><li class="listitem">Dump of the whole archive content as HTML or text file</li><li class="listitem">Context menu on each of the archive entries with cut/copy/paste/rename abilities</li><li class="listitem">Archives are detected by their magic header and not by the extension except for .tar.bz2 and .tar.gz</li><li class="listitem">Drag and drop from and to Xarchiver window</li><li class="listitem">Progress window when using Xarchiver from the command line or from a file-manager</li><li class="listitem">ARJ, RAR and ZIP archive comment are supported</li><li class="listitem">Ability to convert the archive to self-extracting for those archive types which support it</li><li class="listitem">Smart detection of arj, zip and rar password encrypted archives</li><li class="listitem">All the the output of the command line archiver is displayed in the Xarchiver window</li><li class="listitem">All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, rar, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)</li><li class="listitem">Deb and Rpm packages are handled internally, their package managers are NOT required.</li><li class="listitem">Zip, rar, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)</li></ul></div><p>
-+ </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">Archive directories can be browsed just like a file manager</li><li class="listitem">Mime icon for each of the archive entries</li><li class="listitem">The most used archiver's command line options are supported in the Add and Extract dialogs</li><li class="listitem">Tabs Firefox style support</li><li class="listitem">Multi-extract facility</li><li class="listitem">Dump of the whole archive content as HTML or text file</li><li class="listitem">Context menu on each of the archive entries with cut/copy/paste/rename abilities</li><li class="listitem">Archives are detected by their magic header and not by the extension except for .tar.bz2 and .tar.gz</li><li class="listitem">Drag and drop from and to Xarchiver window</li><li class="listitem">Progress window when using Xarchiver from the command line or from a file-manager</li><li class="listitem">ARJ and ZIP archive comment are supported</li><li class="listitem">Ability to convert the archive to self-extracting for those archive types which support it</li><li class="listitem">Smart detection of arj and zip password encrypted archives</li><li class="listitem">All the the output of the command line archiver is displayed in the Xarchiver window</li><li class="listitem">All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)</li><li class="listitem">Deb and Rpm packages are handled internally, their package managers are NOT required.</li><li class="listitem">Zip, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)</li></ul></div><p>
+diff --git a/doc/html/ch01s01.html b/doc/html/ch01s01.html
+index 7dfaca1..6046f83 100644
+--- a/doc/html/ch01s01.html
++++ b/doc/html/ch01s01.html
+@@ -29,20 +29,20 @@
+ </p></li><li class="listitem"><p>
+ Progress window when using Xarchiver from the command line or from a file-manager
+ </p></li><li class="listitem"><p>
+- ARJ, RAR and ZIP archive comment are supported
++ ARJ and ZIP archive comment are supported
+ </p></li><li class="listitem"><p>
+ Ability to convert the archive to self-extracting for those archive types which support it
+ </p></li><li class="listitem"><p>
+- Smart detection of arj, zip and rar password encrypted archives
++ Smart detection of arj and zip password encrypted archives
+ </p></li><li class="listitem"><p>
+ All the the output of the command line archiver is displayed in the Xarchiver window
+ </p></li><li class="listitem"><p>
+- All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, rar, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)
++ All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)
+ </p></li><li class="listitem"><p>
+ Deb and Rpm packages are handled internally, their package managers are NOT required.
+ </p></li><li class="listitem"><p>
+- Zip, rar, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)
++ Zip, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)
+ </p></li></ul></div><p>
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch01s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. 
Introduction
-  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Where to get it</td></tr></table></div></body></html>
+-  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Where to get it</td></tr></table></div></body></html>
\ No newline at end of file
---- xarchiver-0.5.4.6.orig/doc/html/ch03s03.html 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/doc/html/ch03s03.html 2016-04-12 15:41:13.299755226 -0500
++  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Where to get it</td></tr></table></div></body></html>
+diff --git a/doc/html/ch03s03.html b/doc/html/ch03s03.html
+index 776b967..200dfe1 100644
+--- a/doc/html/ch03s03.html
++++ b/doc/html/ch03s03.html
@@ -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.78.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>
@@ -20,8 +41,10 @@
</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>
---- xarchiver-0.5.4.6.orig/doc/html/ch04s02.html 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/doc/html/ch04s02.html 2016-04-12 15:39:11.457081971 -0500
+diff --git a/doc/html/ch04s02.html b/doc/html/ch04s02.html
+index d92be40..02748bc 100644
+--- a/doc/html/ch04s02.html
++++ b/doc/html/ch04s02.html
@@ -1,4 +1,4 @@
<?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>How can I create an archive with some files password protected and others not?</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch04.html" title="Chapter 4. FAQ" /><link rel="prev" href="ch04s01.html" title="Why are ace archives not supported?" /><link rel="next" href="ch04s03.html" title="Why does Xarchiver emit this error message when handling tar archives?" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">How can I create an archive with some files password protected and others not?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s01.html">Prev</a> </td><th width="60%" align="center">Chapter 4. FAQ</th><td width="20%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="faq_2"></a>How can I create an archive with some files password protected and others not?</h2></div></div></div><p>First of all choose 'New' and select one of arj, 7zip, rar or zip archive formats and choose 'Add' from the Action menu. Do NOT check "Password" in the Add dialog. Add your files and then reopen the Add dialog again but this time check "Password" and
@@ -29,35 +52,57 @@
enter your password. From now on all the files you add to the archive will be password protected.
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Why are ace archives not supported? </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Why does Xarchiver emit this error message when handling tar archives?</td></tr></table></div></body></html>
\ No newline at end of file
---- xarchiver-0.5.4.6.orig/doc/html/ch04s06.html 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/doc/html/ch04s06.html 2016-04-12 15:38:34.257283499 -0500
+diff --git a/doc/html/ch04s06.html b/doc/html/ch04s06.html
+index 4396f65..b3887fa 100644
+--- a/doc/html/ch04s06.html
++++ b/doc/html/ch04s06.html
@@ -1,3 +1,3 @@
<?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>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch04.html" title="Chapter 4. FAQ" /><link rel="prev" href="ch04s05.html" title="Why does Xarchiver sometimes report errors but the Error messages window is empty?" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><th width="60%" align="center">Chapter 4. FAQ</th><td width="20%" align="right"> </td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="faq_6"></a>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</h2></div></div></div><p>Because rar and arj executable do not allow to do so. Zip and 7z convertion to self-extracting is made by appending an sfx module to the archive so it's possible to choose a different path.
+<!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>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch04.html" title="Chapter 4. FAQ" /><link rel="prev" href="ch04s05.html" title="Why does Xarchiver sometimes report errors but the Error messages window is empty?" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><th width="60%" align="center">Chapter 4. FAQ</th><td width="20%" align="right"> </td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="faq_6"></a>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</h2></div></div></div><p>Because arj executable do not allow to do so. Zip and 7z convertion to self-extracting is made by appending an sfx module to the archive so it's possible to choose a different path.
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Why does Xarchiver sometimes report errors but the Error messages window is empty? </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
\ No newline at end of file
---- xarchiver-0.5.4.6.orig/doc/xarchiver.docbook 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/doc/xarchiver.docbook 2016-04-12 15:37:03.884439758 -0500
-@@ -56,13 +56,13 @@
- <listitem><para>Archives are detected by their magic header and not by the extension except for .tar.bz2 and .tar.gz</para></listitem>
- <listitem><para>Drag and drop from and to &app; window</para></listitem>
- <listitem><para>Progress window when using &app; from the command line or from a file-manager</para></listitem>
-- <listitem><para>ARJ, RAR and ZIP archive comment are supported</para></listitem>
-+ <listitem><para>ARJ and ZIP archive comment are supported</para></listitem>
- <listitem><para>Ability to convert the archive to self-extracting for those archive types which support it</para></listitem>
-- <listitem><para>Smart detection of arj, zip and rar password encrypted archives</para></listitem>
-+ <listitem><para>Smart detection of arj and zip password encrypted archives</para></listitem>
- <listitem><para>All the the output of the command line archiver is displayed in the &app; window</para></listitem>
-- <listitem><para>All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, rar, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)</para></listitem>
-+ <listitem><para>All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)</para></listitem>
- <listitem><para>Deb and Rpm packages are handled internally, their package managers are NOT required.</para></listitem>
-- <listitem><para>Zip, rar, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)</para></listitem>
-+ <listitem><para>Zip, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)</para></listitem>
+diff --git a/doc/xarchiver.docbook b/doc/xarchiver.docbook
+index 63dcfe4..d88f3fb 100644
+--- a/doc/xarchiver.docbook
++++ b/doc/xarchiver.docbook
+@@ -98,7 +98,7 @@
+ </listitem>
+ <listitem>
+ <para>
+- ARJ, RAR and ZIP archive comment are supported
++ ARJ and ZIP archive comment are supported
+ </para>
+ </listitem>
+ <listitem>
+@@ -108,7 +108,7 @@
+ </listitem>
+ <listitem>
+ <para>
+- Smart detection of arj, zip and rar password encrypted archives
++ Smart detection of arj and zip password encrypted archives
+ </para>
+ </listitem>
+ <listitem>
+@@ -118,7 +118,7 @@
+ </listitem>
+ <listitem>
+ <para>
+- All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, rar, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)
++ All common formats are supported: arj, bzip2, gzip, lha, lzma, 7z, tar, tar.bz2, tar.gz, tar.lzma, tar.lzop, zip, deb and rpm packages (open and extract only)
+ </para>
+ </listitem>
+ <listitem>
+@@ -128,7 +128,7 @@
+ </listitem>
+ <listitem>
+ <para>
+- Zip, rar, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)
++ Zip, arj and 7z password encrypted archives are fully supported (7z automatic password detection is not supported)
+ </para>
+ </listitem>
</itemizedlist>
- </para>
- </section>
-@@ -209,7 +209,7 @@
+@@ -278,7 +278,7 @@
<section id="general_startup">
<title>Startup</title>
<para>
@@ -66,7 +111,7 @@
</para>
</section>
<section id="how_it_works">
-@@ -435,7 +435,7 @@
+@@ -504,7 +504,7 @@
</section>
<section id="faq_2">
<title>How can I create an archive with some files password protected and others not?</title>
@@ -75,7 +120,7 @@
enter your password. From now on all the files you add to the archive will be password protected.
</para>
</section>
-@@ -456,7 +456,7 @@
+@@ -525,7 +525,7 @@ enter your password. From now on all the files you add to the archive will be pa
</section>
<section id="faq_6">
<title>Why &app; doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</title>
@@ -84,9 +129,11 @@
</para>
</section>
</chapter>
---- xarchiver-0.5.4.6.orig/po/POTFILES.in 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/po/POTFILES.in 2016-04-12 15:27:20.210935122 -0500
-@@ -12,7 +12,6 @@
+diff --git a/po/POTFILES.in b/po/POTFILES.in
+index d581e18..f420a18 100644
+--- a/po/POTFILES.in
++++ b/po/POTFILES.in
+@@ -12,7 +12,6 @@ src/main.c
src/new_dialog.c
src/open-with-dlg.c
src/pref_dialog.c
@@ -94,9 +141,11 @@
src/rpm.c
src/tar.c
src/window.c
---- xarchiver-0.5.4.6.orig/src/Makefile.am 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/Makefile.am 2016-04-12 15:26:39.234490444 -0500
-@@ -33,8 +33,6 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 4efe75a..5040ad5 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -33,8 +33,6 @@ xarchiver_SOURCES = \
open-with-dlg.h \
pref_dialog.c \
pref_dialog.h \
@@ -104,28 +153,39 @@
- rar.h \
rpm.c \
rpm.h \
- sexy-icon-entry.c \
---- xarchiver-0.5.4.6.orig/src/Makefile.in 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/Makefile.in 2016-04-12 15:25:55.908058496 -0500
-@@ -112,7 +112,7 @@
+ socket.c \
+diff --git a/src/Makefile.in b/src/Makefile.in
+index f4d5f8a..58f8677 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -111,7 +111,7 @@ am__xarchiver_SOURCES_DIST = 7zip.c 7zip.h add_dialog.c add_dialog.h \
+ extract_dialog.c extract_dialog.h gzip.c gzip.h interface.c \
+ interface.h lha.c lha.h main.c main.h mime.c mime.h \
+ new_dialog.c new_dialog.h open-with-dlg.c open-with-dlg.h \
+- pref_dialog.c pref_dialog.h rar.c rar.h rpm.c rpm.h socket.c \
++ pref_dialog.c pref_dialog.h rpm.c rpm.h socket.c \
+ socket.h string_utils.c string_utils.h support.h tar.c tar.h \
+ utf8-fnmatch.c utf8-fnmatch.h window.c window.h zip.c zip.h \
+ sexy-icon-entry.c sexy-icon-entry.h
+@@ -124,7 +124,7 @@ am_xarchiver_OBJECTS = xarchiver-7zip.$(OBJEXT) \
xarchiver-lha.$(OBJEXT) xarchiver-main.$(OBJEXT) \
xarchiver-mime.$(OBJEXT) xarchiver-new_dialog.$(OBJEXT) \
xarchiver-open-with-dlg.$(OBJEXT) \
- xarchiver-pref_dialog.$(OBJEXT) xarchiver-rar.$(OBJEXT) \
+ xarchiver-pref_dialog.$(OBJEXT) \
- xarchiver-rpm.$(OBJEXT) xarchiver-sexy-icon-entry.$(OBJEXT) \
- xarchiver-socket.$(OBJEXT) xarchiver-string_utils.$(OBJEXT) \
- xarchiver-support.$(OBJEXT) xarchiver-tar.$(OBJEXT) \
-@@ -420,8 +420,6 @@
- open-with-dlg.h \
- pref_dialog.c \
- pref_dialog.h \
-- rar.c \
-- rar.h \
- rpm.c \
- rpm.h \
- sexy-icon-entry.c \
-@@ -564,7 +562,6 @@
+ xarchiver-rpm.$(OBJEXT) xarchiver-socket.$(OBJEXT) \
+ xarchiver-string_utils.$(OBJEXT) xarchiver-tar.$(OBJEXT) \
+ xarchiver-utf8-fnmatch.$(OBJEXT) xarchiver-window.$(OBJEXT) \
+@@ -403,7 +403,7 @@ xarchiver_SOURCES = 7zip.c 7zip.h add_dialog.c add_dialog.h archive.c \
+ extract_dialog.c extract_dialog.h gzip.c gzip.h interface.c \
+ interface.h lha.c lha.h main.c main.h mime.c mime.h \
+ new_dialog.c new_dialog.h open-with-dlg.c open-with-dlg.h \
+- pref_dialog.c pref_dialog.h rar.c rar.h rpm.c rpm.h socket.c \
++ pref_dialog.c pref_dialog.h rpm.c rpm.h socket.c \
+ socket.h string_utils.c string_utils.h support.h tar.c tar.h \
+ utf8-fnmatch.c utf8-fnmatch.h window.c window.h zip.c zip.h \
+ $(am__append_1)
+@@ -522,7 +522,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-new_dialog.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-open-with-dlg.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-pref_dialog.Po@am__quote@
@@ -133,7 +193,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-rpm.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-sexy-icon-entry.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-socket.Po@am__quote@
-@@ -806,20 +803,6 @@
+@@ -763,20 +762,6 @@ xarchiver-pref_dialog.obj: pref_dialog.c
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -c -o xarchiver-pref_dialog.obj `if test -f 'pref_dialog.c'; then $(CYGPATH_W) 'pref_dialog.c'; else $(CYGPATH_W) '$(srcdir)/pref_dialog.c'; fi`
@@ -154,18 +214,20 @@
xarchiver-rpm.o: rpm.c
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -MT xarchiver-rpm.o -MD -MP -MF $(DEPDIR)/xarchiver-rpm.Tpo -c -o xarchiver-rpm.o `test -f 'rpm.c' || echo '$(srcdir)/'`rpm.c
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xarchiver-rpm.Tpo $(DEPDIR)/xarchiver-rpm.Po
---- xarchiver-0.5.4.6.orig/src/interface.c 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/interface.c 2016-04-12 15:22:08.385957756 -0500
-@@ -47,7 +47,7 @@
+diff --git a/src/interface.c b/src/interface.c
+index e2ec358..50278c1 100644
+--- a/src/interface.c
++++ b/src/interface.c
+@@ -38,7 +38,7 @@ static const GtkTargetEntry drop_targets[] =
static gulong selchghid;
-extern gboolean unarj,unrar,batch_mode;
+extern gboolean unarj,batch_mode;
+ void xa_page_has_changed(GtkNotebook *, GTK_COMPAT_SWITCH_PAGE_TYPE, guint, gpointer);
static gboolean xa_progress_dialog_delete_event (GtkWidget *caller,GdkEvent *event,GPid *pid);
- static void xa_progress_dialog_stop_action (GtkWidget *widget,GPid *pid);
-@@ -601,7 +601,7 @@
+@@ -593,7 +593,7 @@ void xa_page_has_changed (GtkNotebook *notebook, GTK_COMPAT_SWITCH_PAGE_TYPE pag
if (selection != NULL)
xa_row_selected(selection,archive[id]);
@@ -174,7 +236,7 @@
gtk_widget_set_sensitive (comment_menu,TRUE);
else
gtk_widget_set_sensitive (comment_menu,FALSE);
-@@ -624,12 +624,7 @@
+@@ -616,12 +616,7 @@ void xa_page_has_changed (GtkNotebook *notebook, GTK_COMPAT_SWITCH_PAGE_TYPE pag
{
gtk_widget_show(selected_frame);
gtk_widget_set_sensitive(deselect_all,TRUE);
@@ -188,9 +250,19 @@
{
gtk_widget_set_sensitive (delete_menu,FALSE);
gtk_widget_set_sensitive (rename_menu,FALSE);
---- xarchiver-0.5.4.6.orig/src/main.c 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/main.c 2016-04-12 15:18:19.947195315 -0500
-@@ -34,7 +34,6 @@
+diff --git a/src/main.c b/src/main.c
+index 2f234cd..35ece25 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -29,7 +29,6 @@
+ #include "lha.h"
+ #include "new_dialog.h"
+ #include "pref_dialog.h"
+-#include "rar.h"
+ #include "rpm.h"
+ #include "string_utils.h"
+ #include "support.h"
+@@ -49,7 +48,6 @@ gchar *add_files;
gboolean error_output, file_to_open, ask_and_extract, ask_and_add, multi_extract;
gboolean batch_mode = FALSE;
gboolean unarj = FALSE;
@@ -198,7 +270,7 @@
gboolean xdg_open = FALSE;
const gchar *sevenz = NULL;
static gboolean tbz2, tgz, tlz, txz, tzo, zip;
-@@ -325,7 +324,6 @@
+@@ -344,7 +342,6 @@ void xa_set_available_archivers()
open_archive[XARCHIVETYPE_GZIP] = &xa_open_gzip;
open_archive[XARCHIVETYPE_LZMA] = &xa_open_bzip2_lzma;
open_archive[XARCHIVETYPE_XZ] = &xa_open_bzip2_lzma;
@@ -206,7 +278,7 @@
open_archive[XARCHIVETYPE_RPM] = &xa_open_rpm;
open_archive[XARCHIVETYPE_TAR] = open_archive[XARCHIVETYPE_TAR_BZ2] = open_archive[XARCHIVETYPE_TAR_GZ] = open_archive[XARCHIVETYPE_TAR_LZMA] = open_archive[XARCHIVETYPE_TAR_XZ] = open_archive[XARCHIVETYPE_TAR_LZOP] = &xa_open_tar;
open_archive[XARCHIVETYPE_ZIP] = &xa_open_zip;
-@@ -337,7 +335,6 @@
+@@ -356,7 +353,6 @@ void xa_set_available_archivers()
delete[XARCHIVETYPE_ARJ] = &xa_arj_delete;
delete[XARCHIVETYPE_DEB] = 0;
delete[XARCHIVETYPE_BZIP2] = delete[XARCHIVETYPE_GZIP] = delete[XARCHIVETYPE_LZMA] = delete[XARCHIVETYPE_XZ] = delete[XARCHIVETYPE_LZOP] = &xa_tar_delete;
@@ -214,7 +286,7 @@
delete[XARCHIVETYPE_RPM] = 0;
delete[XARCHIVETYPE_TAR] = delete[XARCHIVETYPE_TAR_BZ2] = delete[XARCHIVETYPE_TAR_GZ] = delete[XARCHIVETYPE_TAR_LZMA] = delete[XARCHIVETYPE_TAR_XZ] = delete[XARCHIVETYPE_TAR_LZOP] = &xa_tar_delete;
delete[XARCHIVETYPE_ZIP] = &xa_zip_delete;
-@@ -349,7 +346,6 @@
+@@ -368,7 +364,6 @@ void xa_set_available_archivers()
add[XARCHIVETYPE_ARJ] = &xa_arj_add;
add[XARCHIVETYPE_DEB] = 0;
add[XARCHIVETYPE_BZIP2] = add[XARCHIVETYPE_GZIP] = add[XARCHIVETYPE_LZMA] = add[XARCHIVETYPE_XZ] = add[XARCHIVETYPE_LZOP] = &xa_tar_add;
@@ -222,7 +294,7 @@
add[XARCHIVETYPE_RPM] = 0;
add[XARCHIVETYPE_TAR] = add[XARCHIVETYPE_TAR_BZ2] = add[XARCHIVETYPE_TAR_GZ] = add[XARCHIVETYPE_TAR_LZMA] = add[XARCHIVETYPE_TAR_XZ] = add[XARCHIVETYPE_TAR_LZOP] = &xa_tar_add;
add[XARCHIVETYPE_ZIP] = &xa_zip_add;
-@@ -360,7 +356,6 @@
+@@ -379,7 +374,6 @@ void xa_set_available_archivers()
extract[XARCHIVETYPE_ARJ] = &xa_arj_extract;
extract[XARCHIVETYPE_DEB] = &xa_deb_extract;;
extract[XARCHIVETYPE_BZIP2] = extract[XARCHIVETYPE_GZIP] = extract[XARCHIVETYPE_LZMA] = extract[XARCHIVETYPE_XZ] = extract[XARCHIVETYPE_LZOP] = &xa_tar_extract;
@@ -230,7 +302,7 @@
extract[XARCHIVETYPE_RPM] = &xa_rpm_extract;
extract[XARCHIVETYPE_TAR] = extract[XARCHIVETYPE_TAR_BZ2] = extract[XARCHIVETYPE_TAR_GZ] = extract[XARCHIVETYPE_TAR_LZMA] = extract[XARCHIVETYPE_TAR_XZ] = extract[XARCHIVETYPE_TAR_LZOP] = &xa_tar_extract;
extract[XARCHIVETYPE_ZIP] = &xa_zip_extract;
-@@ -370,7 +365,6 @@
+@@ -389,7 +383,6 @@ void xa_set_available_archivers()
test[XARCHIVETYPE_7ZIP] = &xa_7zip_test;
test[XARCHIVETYPE_ARJ] = &xa_arj_test;
test[XARCHIVETYPE_DEB] = test[XARCHIVETYPE_BZIP2] = test[XARCHIVETYPE_GZIP] = test[XARCHIVETYPE_LZMA] = test[XARCHIVETYPE_XZ] = test[XARCHIVETYPE_LZOP] = &xa_tar_test;
@@ -238,7 +310,7 @@
test[XARCHIVETYPE_RPM] = 0;
test[XARCHIVETYPE_TAR] = test[XARCHIVETYPE_TAR_BZ2] = test[XARCHIVETYPE_TAR_GZ] = test[XARCHIVETYPE_TAR_LZMA] = test[XARCHIVETYPE_TAR_XZ] = test[XARCHIVETYPE_TAR_LZOP] = &xa_tar_test;
test[XARCHIVETYPE_ZIP] = &xa_zip_test;
-@@ -479,31 +473,6 @@
+@@ -498,31 +491,6 @@ void xa_set_available_archivers()
g_free (absolute_path);
}
@@ -270,9 +342,11 @@
absolute_path = g_find_program_in_path("cpio");
if ( absolute_path )
{
---- xarchiver-0.5.4.6.orig/src/mime.c 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/mime.c 2016-04-12 15:09:26.186753610 -0500
-@@ -69,7 +69,6 @@
+diff --git a/src/mime.c b/src/mime.c
+index 9251cc2..fde96ac 100644
+--- a/src/mime.c
++++ b/src/mime.c
+@@ -70,7 +70,6 @@ const char *xa_get_stock_mime_icon(char *filename)
strcmp(mime,"application/x-lzma") == 0 ||
strcmp(mime,"application/x-lzma-compressed-tar") == 0 ||
strcmp(mime,"application/x-lzop") == 0 ||
@@ -280,28 +354,30 @@
strcmp(mime,"application/x-rpm") == 0 ||
strcmp(mime,"application/x-source-rpm") == 0 ||
strcmp(mime,"application/x-tar") == 0 ||
---- xarchiver-0.5.4.6.orig/src/new_dialog.c 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/new_dialog.c 2016-04-12 15:07:58.673894375 -0500
-@@ -24,7 +24,7 @@
- #include "string_utils.h"
- #include "main.h"
+diff --git a/src/new_dialog.c b/src/new_dialog.c
+index 13ea3a7..da2d2e0 100644
+--- a/src/new_dialog.c
++++ b/src/new_dialog.c
+@@ -25,7 +25,7 @@
+ #include "support.h"
+ #include "window.h"
-extern gboolean unarj, unrar;
+extern gboolean unarj;
extern Prefs_dialog_data *prefs_window;
gchar *current_new_directory = NULL;
gint new_combo_box = -1;
-@@ -159,8 +159,7 @@
+@@ -167,8 +167,7 @@ XArchive *xa_new_archive_dialog (gchar *path, XArchive *archive_open[], gboolean
while (Name)
{
if (!(*(char *) Name->data == 0 ||
- (strncmp(Name->data, "arj", 3) == 0 && unarj) ||
- (strncmp(Name->data, "rar", 3) == 0 && unrar)))
+ (strncmp(Name->data, "arj", 3) == 0 && unarj)))
- gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box),Name->data);
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), Name->data);
Name = g_list_next (Name);
}
-@@ -284,16 +283,6 @@
+@@ -294,16 +293,6 @@ XArchive *xa_new_archive_dialog (gchar *path, XArchive *archive_open[], gboolean
type = XARCHIVETYPE_LZOP;
format = "LZOP";
}
@@ -318,9 +394,11 @@
else if (strcmp (ComboArchiveType,"tar") == 0)
{
type = XARCHIVETYPE_TAR;
---- xarchiver-0.5.4.6.orig/src/pref_dialog.c 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/pref_dialog.c 2016-04-12 15:03:58.515195426 -0500
-@@ -23,7 +23,7 @@
+diff --git a/src/pref_dialog.c b/src/pref_dialog.c
+index 06b31cc..3416aef 100644
+--- a/src/pref_dialog.c
++++ b/src/pref_dialog.c
+@@ -24,7 +24,7 @@
#include "main.h"
#include "support.h"
@@ -329,19 +407,21 @@
extern gboolean xdg_open;
extern Extract_dialog_data *extract_window;
extern Add_dialog_data *add_window;
-@@ -104,8 +102,7 @@
+@@ -103,8 +103,7 @@ Prefs_dialog_data *xa_create_prefs_dialog()
while ( archive_type != NULL )
{
if (!(*(char *) archive_type->data == 0 ||
- (strncmp(archive_type->data, "arj", 3) == 0 && unarj) ||
- (strncmp(archive_type->data, "rar", 3) == 0 && unrar)))
+ (strncmp(archive_type->data, "arj", 3) == 0 && unarj)))
- gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (prefs_data->combo_prefered_format),archive_type->data );
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_data->combo_prefered_format), archive_type->data);
archive_type = g_list_next (archive_type);
}
---- xarchiver-0.5.4.6.orig/src/window.c 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/window.c 2016-04-12 15:01:10.642771536 -0500
-@@ -26,7 +26,7 @@
+diff --git a/src/window.c b/src/window.c
+index 031b673..d64c271 100644
+--- a/src/window.c
++++ b/src/window.c
+@@ -42,7 +42,7 @@
extern GList *ArchiveType;
extern GList *ArchiveSuffix;
@@ -350,7 +430,7 @@
extern gboolean xdg_open;
extern Prefs_dialog_data *prefs_window;
extern Extract_dialog_data *extract_window;
-@@ -323,9 +323,7 @@
+@@ -339,9 +339,7 @@ void xa_open_archive (GtkMenuItem *menuitem,gpointer data)
/* Does the user open an archive from the command line whose archiver is not installed? */
gchar *ext = NULL;
@@ -361,7 +441,7 @@
ext = "7z";
else if (type == XARCHIVETYPE_ARJ)
ext = "arj";
-@@ -353,7 +351,7 @@
+@@ -369,7 +367,7 @@ void xa_open_archive (GtkMenuItem *menuitem,gpointer data)
g_free (path);
return;
}
@@ -370,7 +450,7 @@
if (type == XARCHIVETYPE_ZIP)
archive[current_page]->has_comment = xa_detect_archive_comment (XARCHIVETYPE_ZIP,path,archive[current_page]);
else if (type == XARCHIVETYPE_ARJ)
-@@ -778,12 +776,6 @@
+@@ -794,12 +792,6 @@ void xa_convert_sfx (GtkMenuItem *menuitem ,gpointer user_data)
archive[idx]->status = XA_ARCHIVESTATUS_SFX;
switch ( archive[idx]->type)
{
@@ -383,16 +463,16 @@
case XARCHIVETYPE_ZIP:
{
gchar *archive_name = NULL;
-@@ -968,7 +960,7 @@
- "LHA and DEB support:\nŁukasz Zemczak <sil2100@vexillium.org>\n",
- "LZMA support:\nThomas Dy <dysprosium66@gmail.com>\n",
- "LZOP support:\nKevin Day\n",
-- "RARv5, XZ, TAR.XZ support:\nFrederick GUERIN <fguerin01@gmail.com>\n",
-+ "XZ, TAR.XZ support:\nFrederick GUERIN <fguerin01@gmail.com>\n",
- "GTK+ 3 port:\nBalló György <ballogyor@gmail.com>\n",
- NULL
- };
-@@ -1134,8 +1126,6 @@
+@@ -1000,7 +992,7 @@ void xa_about (GtkMenuItem *menuitem,gpointer user_data)
+ "LZOP support:",
+ "Kevin Day",
+ "",
+- "RARv5, XZ, TAR.XZ support:",
++ "XZ, TAR.XZ support:",
+ "Frederick GUERIN <fguerin01@gmail.com>",
+ "",
+ "GTK+ 3 port:",
+@@ -1175,8 +1167,6 @@ XArchiveType xa_detect_archive_type (gchar *filename)
xx = XARCHIVETYPE_ZIP;
else if (memcmp (magic,"\x60\xea",2) == 0)
xx = XARCHIVETYPE_ARJ;
@@ -401,7 +481,7 @@
else if (memcmp ( magic,"\x42\x5a\x68",3) == 0)
xx = XARCHIVETYPE_BZIP2;
else if (memcmp ( magic,"\x1f\x8b",2) == 0 || memcmp ( magic,"\x1f\x9d",2) == 0)
-@@ -1496,7 +1486,6 @@
+@@ -1537,7 +1527,6 @@ void xa_set_statusbar_message_for_displayed_rows(XArchive *archive)
pos = 3;
break;
@@ -409,7 +489,7 @@
case XARCHIVETYPE_ARJ:
case XARCHIVETYPE_7ZIP:
pos = 2;
-@@ -1561,7 +1550,6 @@
+@@ -1602,7 +1591,6 @@ void xa_row_selected (GtkTreeSelection *selection,XArchive *archive)
pos = 3;
break;
@@ -417,7 +497,7 @@
case XARCHIVETYPE_ARJ:
case XARCHIVETYPE_7ZIP:
pos = 2;
-@@ -1599,7 +1587,7 @@
+@@ -1640,7 +1628,7 @@ void xa_row_selected (GtkTreeSelection *selection,XArchive *archive)
gtk_widget_show(selected_frame);
gtk_widget_set_sensitive(deselect_all,TRUE);
}
@@ -426,7 +506,7 @@
{
gtk_widget_set_sensitive (delete_menu,FALSE);
gtk_widget_set_sensitive (rename_menu,FALSE);
-@@ -1823,11 +1811,6 @@
+@@ -1864,11 +1852,6 @@ void on_drag_data_received (GtkWidget *widget,GdkDragContext *context,int x,int
xa_show_message_dialog (GTK_WINDOW (xa_main_window),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't perform this action:"),_("You have to install arj package!"));
return;
}
@@ -438,7 +518,7 @@
if (archive[idx]->type == XARCHIVETYPE_DEB || archive[idx]->type == XARCHIVETYPE_RPM)
{
gchar *msg;
-@@ -2139,10 +2122,6 @@
+@@ -2174,10 +2157,6 @@ void xa_comment_window_insert_in_archive(GtkButton *button,gpointer data)
command = g_strconcat ("arj c ",archive[idx]->escaped_path," -z",tmp,NULL);
break;
@@ -449,19 +529,11 @@
case XARCHIVETYPE_ZIP:
command = g_strconcat ("sh -c \"zip ",archive[idx]->escaped_path," -z <",tmp,"\"",NULL);
break;
---- xarchiver-0.5.4.6.orig/src/window.h 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/src/window.h 2016-04-12 14:36:54.387327416 -0500
-@@ -40,7 +40,6 @@
- #include "deb.h"
- #include "lha.h"
- #include "zip.h"
--#include "rar.h"
- #include "tar.h"
- #include "7zip.h"
- #include "bzip2.h"
---- xarchiver-0.5.4.6.orig/xarchiver.desktop.in 2016-03-09 10:25:48.000000000 -0500
-+++ xarchiver-0.5.4.6/xarchiver.desktop.in 2016-04-12 14:35:46.771027058 -0500
-@@ -9,4 +9,4 @@
+diff --git a/xarchiver.desktop.in b/xarchiver.desktop.in
+index 2ac0c17..85ee98e 100644
+--- a/xarchiver.desktop.in
++++ b/xarchiver.desktop.in
+@@ -9,4 +9,4 @@ Exec=xarchiver %f
Terminal=false
Categories=GTK;Archiving;Utility;
StartupNotify=true