[Pkg-xfce-commits] r9194 - in /goodies/trunk/thunar-archive-plugin/debian: changelog patches/01-add-support-for-engrampa.patch patches/01_add-support-for-engrampa.patch patches/series

Mateusz Łukasik mati75-guest at moszumanska.debian.org
Mon Jun 15 15:03:07 UTC 2015


Author: mati75-guest
Date: Mon Jun 15 15:03:06 2015
New Revision: 9194

URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=9194
Log:
fix latest patch

Added:
    goodies/trunk/thunar-archive-plugin/debian/patches/01_add-support-for-engrampa.patch
Removed:
    goodies/trunk/thunar-archive-plugin/debian/patches/01-add-support-for-engrampa.patch
Modified:
    goodies/trunk/thunar-archive-plugin/debian/changelog
    goodies/trunk/thunar-archive-plugin/debian/patches/series

Modified: goodies/trunk/thunar-archive-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/thunar-archive-plugin/debian/changelog?rev=9194&op=diff
==============================================================================
--- goodies/trunk/thunar-archive-plugin/debian/changelog	(original)
+++ goodies/trunk/thunar-archive-plugin/debian/changelog	Mon Jun 15 15:03:06 2015
@@ -1,6 +1,6 @@
 thunar-archive-plugin (0.3.1-4) UNRELEASED; urgency=medium
 
-  * Add 01-add-support-for-engrampa.patch to add support for archive manager
+  * Add 01_add-support-for-engrampa.patch to provides support archive manager
     for MATE. (Closes: #783611)
   * debian/control:
     - Bump standards version to 3.9.6.

Added: goodies/trunk/thunar-archive-plugin/debian/patches/01_add-support-for-engrampa.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/thunar-archive-plugin/debian/patches/01_add-support-for-engrampa.patch?rev=9194&op=file
==============================================================================
--- goodies/trunk/thunar-archive-plugin/debian/patches/01_add-support-for-engrampa.patch	(added)
+++ goodies/trunk/thunar-archive-plugin/debian/patches/01_add-support-for-engrampa.patch	Mon Jun 15 15:03:06 2015
@@ -0,0 +1,91 @@
+Description: Add support for archive manager for MATE
+Author: Mateusz Łukasik <mati75 at linuxmint.pl>
+Bug-Debian: https://bugs.debian.org/783611
+
+--- 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:
+@@ -12,6 +13,13 @@ install-exec-hook:
+ 		test -f gnome-file-roller.tap \
+ 		|| ln -sf file-roller.tap gnome-file-roller.tap )
+ 
++# Install symlink to 'mate-engrampa.tap'
++install-exec-hook:
++	$(mkinstalldirs) $(DESTDIR)$(wrapperdir)
++	-( cd $(DESTDIR)$(wrapperdir) ; \
++		test -f mate-engrampa.tap \
++		|| ln -sf engrampa.tap mate-engrampa.tap )
++
+ EXTRA_DIST =								\
+ 	$(wrapper_SCRIPTS)						\
+ 	template.tap
+--- a/scripts/Makefile.in
++++ b/scripts/Makefile.in
+@@ -283,7 +283,8 @@ top_srcdir = @top_srcdir@
+ wrapperdir = $(libexecdir)/thunar-archive-plugin
+ wrapper_SCRIPTS = \
+ 	ark.tap								\
+-	file-roller.tap
++	file-roller.tap							\
++	engrampa.tap
+ 
+ EXTRA_DIST = \
+ 	$(wrapper_SCRIPTS)						\
+--- /dev/null
++++ b/scripts/engrampa.tap
+@@ -0,0 +1,46 @@
++#!/bin/sh
++#
++# engrampa.tap - Wrapper script to create and extract archive files
++#                   in Thunar, via the thunar-archive-plugin, using the
++#                   engrampa archive manager.
++#
++# Copyright (c) 2014 Mateusz Łukasik <mati75 at linuxmint.pl>
++#
++# 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., 51 Franklin Street, Fifth Floor,
++# Boston, MA 02110-1301, 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=$(pwd)" --extract-here --force "$@"
++	;;
++
++extract-to)
++	exec engrampa "--default-dir=$folder" --extract "$@"
++	;;
++
++*)
++	echo "Unsupported action '$action'" >&2
++	exit 1
++esac
++

Modified: goodies/trunk/thunar-archive-plugin/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/thunar-archive-plugin/debian/patches/series?rev=9194&op=diff
==============================================================================
--- goodies/trunk/thunar-archive-plugin/debian/patches/series	(original)
+++ goodies/trunk/thunar-archive-plugin/debian/patches/series	Mon Jun 15 15:03:06 2015
@@ -1,2 +1,2 @@
+01_add-support-for-engrampa.patch
 02_support-non-multiarch-wrappers.patch
-01-add-support-for-engrampa.patch




More information about the Pkg-xfce-commits mailing list