diff options
Diffstat (limited to 'xfce-extra/thunar-archive-plugin')
6 files changed, 155 insertions, 0 deletions
diff --git a/xfce-extra/thunar-archive-plugin/Manifest b/xfce-extra/thunar-archive-plugin/Manifest new file mode 100644 index 000000000000..beddec868180 --- /dev/null +++ b/xfce-extra/thunar-archive-plugin/Manifest @@ -0,0 +1,8 @@ +AUX 0.3.1-add-engrampa-support.patch 1934 SHA256 b11607020d0e77e1647f019bde835a47b8f13f6d11f15f7231cea6481c10c515 SHA512 0510dcdda6524f6bad0a37ff6f13afd287502c08d7d260fc4b735bd188d191014f2d3dd5fd6285b80d945dd2acc7eb9055b1851aa461f1f9fe110af07fc69631 WHIRLPOOL 8a1609b1f9f91dcb9fb275024eab531ccc43975f122dc317368dd4f63331a6c060908200106a29bc67447dcf618fc11e8543bad365bd0081433d2ab5a748ceeb +AUX 0.3.1-add-support-symlinks.patch 684 SHA256 b8abe50381849ae9459334b6e9d71a244700a2cbf185508c4f080d3706aeca00 SHA512 5bb183601d2c73cd967a72a2ed3a71e53c2b38b2afe0448f80fb4429df9dba35eeca05da2037496d6f0921590f21d09848e096965d5d8b9b51005ea0798b4eb0 WHIRLPOOL 882941dc39fd91b377ef5c018a0bad91eee9ca4bdd8bce47e67e05b01cf1c621524bdb1d6f3d568c9cd2a4e5f5d5e3e9db3532124cca4be047a7899aa49009ed +AUX 0.3.1-fix-kde-ark.patch 609 SHA256 0f06f03bbc2241ee4da733d4563c5dab2dc59844fe1ff316fd0f108cebecc652 SHA512 43433f9022b1659eccca84d48555f5be997772873aaaeb2fb46fb89904d0d993aff7bd91d850d437ac33c85405ea8e09a05e035547e5d8bce6b9fbb27dea9702 WHIRLPOOL 5ffa0f2b2b4229ca2622ee68e15b977a0ad8e68b509fbec0e77ae3e7327389d9e89bd46e52e33a2d63816eb7ff9ae820c799af0c539bcdc9bdf09433137a2359 +DIST thunar-archive-plugin-0.3.1.tar.bz2 329005 SHA256 9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c SHA512 51157c2680b3fcc6b541d35fc2943a350a0354d7d5bbb5fbe8a9dcbbeaf4bf4f5fe62521b8e9a73254f70bbefc440357deade8181313da96270c280eb0464e68 WHIRLPOOL 151a505968b871eae82bff1799464e4c6042e99668ec4752ecfa7537ed6968886134941bfcc7741ad56ba8ebb429c021046a968db92b1bba89bf1a1d2bb4a0d1 +EBUILD thunar-archive-plugin-0.3.1-r2.ebuild 903 SHA256 69cd425dfb5cde5f7113c9e054d579e46c823762442a22a97937b9ba227ff516 SHA512 05b9071d114121a93e5eb86788bdcb4e6c14d991e3759d4128ded86804667d8282a203d9d36b2757dae49c0577bf803e17f8a71c727976320353f85932196af1 WHIRLPOOL 5653fd06ef968d420ca14fb2f6985849ecc91214fc6d56bce5eea143ae0a8f524abeb238c9fd665fef7e5a9e3c157a088326fb2b774c8b410c7e35e922acc02f +MISC ChangeLog 3200 SHA256 c8963f6ea67efab147f349b7c81dbb3be26809dd61aad6add6f523c0747d0844 SHA512 08e32f260ec897de478197058c68deb6e7679f75a83cecaa342e1fb09bacb3f1c58119ad33a9ff2887eb23e52294cc77b25ac114be6b1aa7fc711bfa145cf4e1 WHIRLPOOL b7825b59b3b297d5bc2ef5f024cc5aa43f7cdceda3c717535e5b3b15d1e57c44130bb678057e2b64ffac2cd693262181438ec785c2bf941d92d8b6e426c212d4 +MISC ChangeLog-2015 5757 SHA256 f16c803feaafc410af3d06ffbe2d7356a13426be12061540676a0fdc20b52ba4 SHA512 2b2c83251b14c5937cf6babb68457b70ca106e99676845afa07bdc5d19667de59209c8fa4fd137dbe94f95b127910379e95fdc94126e31b8c735856b6f5ed614 WHIRLPOOL 9fd98ddc77c8acf56fd7e03eacc50d14f83bfa65f4c808f2dae97bc6486d83b0a6ea87f20f9434ec74bb3654ed43912bb2f1cd8eaa53c6cc83cc1a094771e8bc +MISC metadata.xml 247 SHA256 5e270543b0f1e81148a19b29d77d40191169f37a8b3e34c7c08bdca376150864 SHA512 25494c0053fb7b2ed0f78ecc2de8a8ae08a971db8e15f89e906a1d43177fef53eb9ec5dd075a5c67ddee2be112c0943f6c87e4870d405436bddfea3a4fa19203 WHIRLPOOL 15305f8aec1b5f5e255d6378d5b44652a3958e808017fd8ba00350b667528753ff0466bcf5b9b28b683fd3341d25bf8884396730003f071515ad28146d33893b diff --git a/xfce-extra/thunar-archive-plugin/files/0.3.1-add-engrampa-support.patch b/xfce-extra/thunar-archive-plugin/files/0.3.1-add-engrampa-support.patch new file mode 100644 index 000000000000..32d1b31e0c72 --- /dev/null +++ b/xfce-extra/thunar-archive-plugin/files/0.3.1-add-engrampa-support.patch @@ -0,0 +1,68 @@ +diff --git a/scripts/Makefile.am b/scripts/Makefile.am +index 4da529c..ec49cba 100644 +--- a/scripts/Makefile.am ++++ b/scripts/Makefile.am +@@ -3,7 +3,8 @@ + wrapperdir = $(libexecdir)/thunar-archive-plugin + wrapper_SCRIPTS = \ + ark.tap \ +- file-roller.tap ++ file-roller.tap \ ++ engrampa.tap + + # Install symlink to 'gnome-file-roller.tap' + install-exec-hook: +diff --git a/scripts/engrampa.tap b/scripts/engrampa.tap +index e69de29..a9d9c10 100755 +--- a/scripts/engrampa.tap ++++ b/scripts/engrampa.tap +@@ -0,0 +1,48 @@ ++#!/bin/sh ++# ++# engrampa.tap - Wrapper script to create and extract archive files ++# in Thunar, via the thunar-archive-plugin, using the ++# engrampa archive manager. ++# ++# $Id$ ++# ++# Copyright (c) 2006 Benedikt Meurer <benny@xfce.org>. ++# ++# This program is free software; you can redistribute it and/or modify it ++# under the terms of the GNU General Public License as published by the Free ++# Software Foundation; either version 2 of the License, or (at your option) ++# any later version. ++# ++# This program is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for ++# more details. ++# ++# You should have received a copy of the GNU General Public License along with ++# this program; if not, write to the Free Software Foundation, Inc., 59 Temple ++# Place, Suite 330, Boston, MA 02111-1307 USA. ++# ++ ++# determine the action and the folder, $@ then contains only the files ++action=$1; shift; ++folder=$1; shift; ++ ++# check the action ++case $action in ++create) ++ exec engrampa "--default-dir=$folder" --add "$@" ++ ;; ++ ++extract-here) ++ exec engrampa "--extract-to=$folder" --force "$@" ++ ;; ++ ++extract-to) ++ exec engrampa --extract "$@" ++ ;; ++ ++*) ++ echo "Unsupported action '$action'" >&2 ++ exit 1 ++esac ++ + diff --git a/xfce-extra/thunar-archive-plugin/files/0.3.1-add-support-symlinks.patch b/xfce-extra/thunar-archive-plugin/files/0.3.1-add-support-symlinks.patch new file mode 100644 index 000000000000..bbe5f566a4c5 --- /dev/null +++ b/xfce-extra/thunar-archive-plugin/files/0.3.1-add-support-symlinks.patch @@ -0,0 +1,15 @@ +diff -ur thunar-archive-plugin-0.3.1.old/scripts/Makefile.am thunar-archive-plugin-0.3.1/scripts/Makefile.am +--- thunar-archive-plugin-0.3.1.old/scripts/Makefile.am 2013-05-11 13:48:30.000000000 +0400 ++++ thunar-archive-plugin-0.3.1/scripts/Makefile.am 2015-07-05 12:55:32.052090677 +0400 +@@ -9,8 +9,9 @@ + install-exec-hook: + $(mkinstalldirs) $(DESTDIR)$(wrapperdir) + -( cd $(DESTDIR)$(wrapperdir) ; \ +- test -f gnome-file-roller.tap \ +- || ln -sf file-roller.tap gnome-file-roller.tap ) ++ ln -sf ark.tap kde4-ark.tap; \ ++ ln -sf file-roller.tap gnome-file-roller.tap; \ ++ ln -sf file-roller.tap org.gnome.FileRoller.tap; ) + + EXTRA_DIST = \ + $(wrapper_SCRIPTS) \ diff --git a/xfce-extra/thunar-archive-plugin/files/0.3.1-fix-kde-ark.patch b/xfce-extra/thunar-archive-plugin/files/0.3.1-fix-kde-ark.patch new file mode 100644 index 000000000000..e95fbbe0e407 --- /dev/null +++ b/xfce-extra/thunar-archive-plugin/files/0.3.1-fix-kde-ark.patch @@ -0,0 +1,22 @@ +diff -ur thunar-archive-plugin-0.3.1.old/scripts/ark.tap thunar-archive-plugin-0.3.1/scripts/ark.tap +--- thunar-archive-plugin-0.3.1.old/scripts/ark.tap 2013-05-11 13:48:30.000000000 +0400 ++++ thunar-archive-plugin-0.3.1/scripts/ark.tap 2015-07-05 12:56:25.288680104 +0400 +@@ -30,15 +30,15 @@ + # check the action + case $action in + create) +- exec ark --add "$@" ++ exec ark --dialog --add "$@" + ;; + + extract-here) +- exec ark --extract-to "$folder" "$@" ++ exec ark --batch --destination "$folder" "$@" + ;; + + extract-to) +- exec ark --extract "$@" ++ exec ark --batch --dialog --autodestination "$@" + ;; + + *) diff --git a/xfce-extra/thunar-archive-plugin/metadata.xml b/xfce-extra/thunar-archive-plugin/metadata.xml new file mode 100644 index 000000000000..359901b31db4 --- /dev/null +++ b/xfce-extra/thunar-archive-plugin/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>xfce@gentoo.org</email> + <name>XFCE Team</name> + </maintainer> +</pkgmetadata> diff --git a/xfce-extra/thunar-archive-plugin/thunar-archive-plugin-0.3.1-r2.ebuild b/xfce-extra/thunar-archive-plugin/thunar-archive-plugin-0.3.1-r2.ebuild new file mode 100644 index 000000000000..0112cf8abfee --- /dev/null +++ b/xfce-extra/thunar-archive-plugin/thunar-archive-plugin-0.3.1-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EAUTORECONF="yes" +inherit xfconf + +DESCRIPTION="Archive plug-in for the Thunar filemanager" +HOMEPAGE="https://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin" +SRC_URI="mirror://xfce/src/thunar-plugins/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="debug" + +RDEPEND=">=xfce-base/libxfce4util-4.8:= + >=xfce-base/exo-0.6:= + >=xfce-base/thunar-1.2:=" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +pkg_setup() { + PATCHES=( + "${FILESDIR}"/0.3.1-add-engrampa-support.patch + "${FILESDIR}"/0.3.1-fix-kde-ark.patch + "${FILESDIR}"/0.3.1-add-support-symlinks.patch + ) + XFCONF=( $(xfconf_use_debug) ) + DOCS=( AUTHORS ChangeLog NEWS README THANKS ) +} |