From 4ddef2138667179ebd4530f6ec57a06bf01a8c5d Mon Sep 17 00:00:00 2001
From: André Fabian Silva Delgado
Date: Sun, 24 Jul 2016 01:10:22 -0300
Subject: xarchiver-0.5.4.7-1.parabola1: updating version
---
libre/xarchiver/PKGBUILD | 26 +-
libre/xarchiver/libre.patch | 541 +++++++++++++++++++++
libre/xarchiver/remove-nonfree-unrar-support.patch | 469 ------------------
3 files changed, 549 insertions(+), 487 deletions(-)
create mode 100644 libre/xarchiver/libre.patch
delete mode 100644 libre/xarchiver/remove-nonfree-unrar-support.patch
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
# Contributor (Arch): Alexander Fehr
# Contributor (Arch): Andrew Simmons
@@ -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/libre.patch b/libre/xarchiver/libre.patch
new file mode 100644
index 000000000..3016db902
--- /dev/null
+++ b/libre/xarchiver/libre.patch
@@ -0,0 +1,541 @@
+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 @@
+
+ Progress window when using Xarchiver from the command line or from a file-manager
+
+- ARJ, RAR and ZIP archive comment are supported
++ ARJ and ZIP archive comment are supported
+
+ Ability to convert the archive to self-extracting for those archive types which support it
+
+- Smart detection of arj, zip and rar password encrypted archives
++ Smart detection of arj and zip password encrypted archives
+
+ All the the output of the command line archiver is displayed in the Xarchiver window
+
+- 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)
+
+ Deb and Rpm packages are handled internally, their package managers are NOT required.
+
+- 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)
+
+