[Pkg-lyx-devel] [lyx] 01/02: refresh patch prefer-xdg-open
Per Olofsson
pelle at moszumanska.debian.org
Sun Sep 6 19:03:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
pelle pushed a commit to branch master
in repository lyx.
commit c3ccbe94af9390b0e11a29549ba343ba9afc6986
Author: Per Olofsson <pelle at pqz.se>
Date: Sun Sep 6 21:00:11 2015 +0200
refresh patch prefer-xdg-open
---
debian/patches/prefer-xdg-open | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/debian/patches/prefer-xdg-open b/debian/patches/prefer-xdg-open
index 2afc279..242028d 100644
--- a/debian/patches/prefer-xdg-open
+++ b/debian/patches/prefer-xdg-open
@@ -1,9 +1,7 @@
Add xdg-open as the first choice whenever this seems to be usefull.
-Index: lyx/lib/configure.py
-===================================================================
---- lyx.orig/lib/configure.py 2014-09-24 18:32:11.000000000 +0200
-+++ lyx/lib/configure.py 2014-09-24 18:45:54.939852584 +0200
-@@ -572,7 +572,7 @@
+--- a/lib/configure.py
++++ b/lib/configure.py
+@@ -574,7 +574,7 @@ def checkFormatEntries(dtl_tools):
checkViewerEditor('a Dia viewer and editor', ['dia'],
rc_entry = [r'\Format dia dia DIA "" "%%" "%%" "vector,zipped=native", "application/x-dia-diagram"'])
#
@@ -12,7 +10,7 @@ Index: lyx/lib/configure.py
rc_entry = [r'\Format odg "odg, sxd" "OpenOffice drawing" "" "%%" "%%" "vector,zipped=native" "application/vnd.oasis.opendocument.graphics"'])
#
checkViewerEditor('a Grace viewer and editor', ['xmgrace'],
-@@ -594,12 +594,12 @@
+@@ -596,12 +596,12 @@ def checkFormatEntries(dtl_tools):
\Format tiff tif TIFF "" "%s" "%s" "" "image/tiff"
\Format xbm xbm XBM "" "%s" "%s" "" "image/x-xbitmap"
\Format xpm xpm XPM "" "%s" "%s" "" "image/x-xpixmap"'''
@@ -27,20 +25,20 @@ Index: lyx/lib/configure.py
'nedit', 'gedit', 'notepad', 'geany', 'leafpad', 'mousepad'],
rc_entry = [r'''\Format asciichess asc "Plain text (chess output)" "" "" "%%" "" ""
\Format asciiimage asc "Plain text (image)" "" "" "%%" "" ""
-@@ -646,14 +646,14 @@
+@@ -648,14 +648,14 @@ def checkFormatEntries(dtl_tools):
#
#checkProg('a Postscript interpreter', ['gs'],
# rc_entry = [ r'\ps_command "%%"' ])
- checkViewer('a Postscript previewer', ['kghostview', 'okular', 'qpdfview --unique', 'evince', 'gv', 'ghostview -swap', 'gsview64', 'gsview32'],
-+ checkViewer('a Postscript previewer', ['xdg-open','kghostview', 'okular', 'qpdfview --unique', 'evince', 'gv', 'ghostview -swap', 'gsview64', 'gsview32'],
++ checkViewer('a Postscript previewer', ['xdg-open', 'kghostview', 'okular', 'qpdfview --unique', 'evince', 'gv', 'ghostview -swap', 'gsview64', 'gsview32'],
rc_entry = [r'''\Format eps eps EPS "" "%%" "" "vector" "image/x-eps"
\Format eps2 eps "EPS (uncropped)" "" "%%" "" "vector" ""
- \Format eps3 eps "EPS (cropped)" "" "%%" "" "document,menu=export" ""
+ \Format eps3 eps "EPS (cropped)" "" "%%" "" "document" ""
\Format ps ps Postscript t "%%" "" "document,vector,menu=export" "application/postscript"'''])
# for xdg-open issues look here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151818.html
# the MIME type is set for pdf6, because that one needs to be autodetectable by libmime
- checkViewer('a PDF previewer', ['pdfview', 'kpdf', 'okular', 'qpdfview --unique', 'evince', 'kghostview', 'xpdf', 'SumatraPDF', 'acrobat', 'acroread', 'mupdf', \
-+ checkViewer('a PDF previewer', ['xdg-open','pdfview', 'kpdf', 'okular', 'qpdfview --unique', 'evince', 'kghostview', 'xpdf', 'SumatraPDF', 'acrobat', 'acroread', 'mupdf', \
++ checkViewer('a PDF previewer', ['xdg-open', 'pdfview', 'kpdf', 'okular', 'qpdfview --unique', 'evince', 'kghostview', 'xpdf', 'SumatraPDF', 'acrobat', 'acroread', 'mupdf', \
'gv', 'ghostview', 'AcroRd32', 'gsview64', 'gsview32'],
rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" "" "document,vector,menu=export" ""
\Format pdf2 pdf "PDF (pdflatex)" F "%%" "" "document,vector,menu=export" ""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-lyx/lyx.git
More information about the Pkg-lyx-devel
mailing list