[patch]: mc.ext updates (xz, libreoffice)
- From: Osamu Aoki <osamu debian org>
- To: mc-devel gnome org
- Cc: 641926 bugs debian org
- Subject: [patch]: mc.ext updates (xz, libreoffice)
- Date: Sat, 5 Nov 2011 23:15:29 +0900
Hi,
Considering things are moving to gz -> xz, ooffice -> libreoffice,
updating mc.ext is a good idea.
I have previously reported this to Debian BTS.
http://bugs.debian.org/641926
But its maintainer may not have forwarded it to you. So I hereby attach
an updated patch against the misc/mc.ext.in file in the latest git
repo.
* Since we support cpio.Z cpio.gz, why not cpio.xz.
* As for OpenOffice, I only updated command to the new "libreoffice".
Regards,
Osamu
--- mc.ext.in.orig 2011-11-05 22:48:34.562430903 +0900
+++ mc.ext.in 2011-11-05 22:52:47.059682028 +0900
@@ -189,6 +189,10 @@
Open=%cd %p/ucpio://
View=%view{ascii} gzip -dc %f | cpio -itv 2>/dev/null
+shell/.cpio.xz
+ Open=%cd %p/ucpio://
+ View=%view{ascii} xz -dc %f | cpio -itv 2>/dev/null
+
shell/.cpio
Open=%cd %p/ucpio://
View=%view{ascii} cpio -itv < %f 2>/dev/null
@@ -514,11 +518,11 @@
# StarOffice 5.2
shell/.sdw
- Open=(ooffice %f &)
+ Open=(libreoffice %f &)
# StarOffice 6 and OpenOffice.org formats
regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
- Open=(ooffice %f &)
+ Open=(libreoffice %f &)
View=%view{ascii} odt2txt %f
# AbiWord
@@ -547,7 +551,7 @@
# Use OpenOffice.org to open any MS Office documents
type/^Microsoft\ Office\ Document
- Open=(ooffice %f &)
+ Open=(libreoffice %f &)
# Framemaker
type/^FrameMaker
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]