[Xfce4-commits] [apps/squeeze] 01/01: Added lzma and xz tar compression

noreply at xfce.org noreply at xfce.org
Wed Dec 31 22:07:27 CET 2014


This is an automated email from the git hooks/post-receive script.

peter pushed a commit to branch master
in repository apps/squeeze.

commit 0fd05dcc1349e9646f0f5cc2b1134f1397a9dab2
Author: Peter de Ridder <peter at xfce.org>
Date:   Wed Dec 31 22:06:55 2014 +0100

    Added lzma and xz tar compression
---
 data/gnu-tar.squeeze.in |   20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/data/gnu-tar.squeeze.in b/data/gnu-tar.squeeze.in
index ddeae4d..e6b0354 100644
--- a/data/gnu-tar.squeeze.in
+++ b/data/gnu-tar.squeeze.in
@@ -1,7 +1,7 @@
 [Squeeze Entry]
 Name=Gnu Tar
 Version=1.0
-MimeType=application/x-tar;application/x-tarz;application/x-tzo;application/x-compressed-tar;application/x-bzip-compressed-tar
+MimeType=application/x-tar;application/x-tarz;application/x-tzo;application/x-compressed-tar;application/x-bzip-compressed-tar;application/x-lzma-compressed-tar;application/x-xz-compressed-tar
 Actions=New;Add;Remove;Extract;Refresh
 
 [application/x-tar]
@@ -38,12 +38,28 @@ Refresh=tar -tvvf %a
 
 [application/x-tzo]
 Requires=tar;lzop
-New=tar -cf --use-compress-program=lzop %a %F
+New=tar --use-compress-program=lzop -cf %a %F
 Add=uncompress -c %a > %t;tar -rf %t %F;compress -c %t > %a
 Remove=lzop -dc %a > %t;tar -f %t --delete %F; lzop -c %t > %a
 Extract=tar -C %d -xf %a %F
 Refresh=tar -tvvf %a
 
+[application/x-lzma-compressed-tar]
+Requires=tar;lzma
+New=tar --use-compress-program=lzma -cf %a %F
+Add=lzma -d %a > %t;tar -rf %t %F; lzma -z %t > %a
+Remove=lzma -d %a > %t;tar -f %t --delete %F; lzma -z %t > %a
+Extract=tar -C %d -xf %a %F
+Refresh=tar -tvvf %a
+
+[application/x-xz-compressed-tar]
+Requires=tar;xz
+New=tar -Jcf %a %F
+Add=xz -d %a > %t;tar -rf %t %F; xz -z %t > %a
+Remove=xz -d %a > %t;tar -f %t --delete %F; xz -z %t > %a
+Extract=tar -C %d -xf %a %F
+Refresh=tar -tvvf %a
+
 [Add]
 [Remove]
 [Extract]

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list