[Pkg-lyx-devel] svn commit: r601 - /lyx/trunk/debian/patches/prefer-xdg-open

hoaxter-guest at users.alioth.debian.org hoaxter-guest at users.alioth.debian.org
Wed Jun 3 18:17:20 UTC 2009


Author: hoaxter-guest
Date: Wed Jun  3 18:17:20 2009
New Revision: 601

URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=601
Log:
Update and refresh the prefer-xdg-open patch

Modified:
    lyx/trunk/debian/patches/prefer-xdg-open

Modified: lyx/trunk/debian/patches/prefer-xdg-open
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/patches/prefer-xdg-open?rev=601&op=diff
==============================================================================
--- lyx/trunk/debian/patches/prefer-xdg-open (original)
+++ lyx/trunk/debian/patches/prefer-xdg-open Wed Jun  3 18:17:20 2009
@@ -1,9 +1,7 @@
 Add xdg-open as the first choice whenever this seems to be usefull.
-Index: lyx-1.6.0/lib/configure.py
-===================================================================
---- lyx-1.6.0.orig/lib/configure.py	2008-12-06 22:06:05.000000000 +0100
-+++ lyx-1.6.0/lib/configure.py	2008-12-06 22:07:42.000000000 +0100
-@@ -260,7 +260,7 @@
+--- a/lib/configure.py
++++ b/lib/configure.py
+@@ -264,7 +264,7 @@ def checkFormatEntries(dtl_tools):  
      checkViewer('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'],
          rc_entry = [r'\Format fen        fen     FEN                    "" "%%"	"%%"	""'])
      #
@@ -12,24 +10,24 @@
      path, ie = checkViewer('a raster image editor', ['gimp-remote', 'gimp'])
      addToRC(r'''\Format bmp        bmp     BMP                    "" "%s"	"%s"	""
  \Format gif        gif     GIF                    "" "%s"	"%s"	""
-@@ -303,29 +303,29 @@
+@@ -307,29 +307,29 @@ def checkFormatEntries(dtl_tools):  
      #
      #checkProg('a Postscript interpreter', ['gs'],
      #  rc_entry = [ r'\ps_command "%%"' ])
--    checkViewer('a Postscript previewer', ['kghostview', 'evince', 'gv', 'ghostview -swap'],
-+    checkViewer('a Postscript previewer', ['xdg-open', 'kghostview', 'evince', 'gv', 'ghostview -swap'],
+-    checkViewer('a Postscript previewer', ['kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
++    checkViewer('a Postscript previewer', ['xdg-open', 'kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
          rc_entry = [r'''\Format eps        eps     EPS                    "" "%%"	""	"vector"
  \Format ps         ps      Postscript             t  "%%"	""	"document,vector"'''])
      #
--    checkViewer('a PDF previewer', ['kpdf', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \
-+    checkViewer('a PDF previewer', ['xdg-open', 'kpdf', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \
+-    checkViewer('a PDF previewer', ['kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \
++    checkViewer('a PDF previewer', ['xdg-open', 'kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \
  		    'gv', 'ghostview'],
          rc_entry = [r'''\Format pdf        pdf    "PDF (ps2pdf)"          P  "%%"	""	"document,vector"
  \Format pdf2       pdf    "PDF (pdflatex)"        F  "%%"	""	"document,vector"
  \Format pdf3       pdf    "PDF (dvipdfm)"         m  "%%"	""	"document,vector"'''])
      #
--    checkViewer('a DVI previewer', ['xdvi', 'kdvi'],
-+    checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi'],
+-    checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular'],
++    checkViewer('a DVI previewer', ['xdg-open','xdvi', 'kdvi', 'okular'],
          rc_entry = [r'\Format dvi        dvi     DVI                    D  "%%"	""	"document,vector"'])
      if dtl_tools:
          # Windows only: DraftDVI




More information about the Pkg-lyx-devel mailing list