[Pkg-lyx-devel] svn commit: r233 -
/lyx/branches/lyx-1.5/debian/patches/05.configure.py_prog_prefer
pelle at users.alioth.debian.org
pelle at users.alioth.debian.org
Sat Feb 3 21:28:40 CET 2007
Author: pelle
Date: Sat Feb 3 21:28:40 2007
New Revision: 233
URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=233
Log:
refresh 05.configure.py_prog_prefer
Modified:
lyx/branches/lyx-1.5/debian/patches/05.configure.py_prog_prefer
Modified: lyx/branches/lyx-1.5/debian/patches/05.configure.py_prog_prefer
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.5/debian/patches/05.configure.py_prog_prefer?rev=233&op=diff
==============================================================================
--- lyx/branches/lyx-1.5/debian/patches/05.configure.py_prog_prefer (original)
+++ lyx/branches/lyx-1.5/debian/patches/05.configure.py_prog_prefer Sat Feb 3 21:28:40 2007
@@ -1,51 +1,50 @@
---- lyx-1.4.3svn/lib/configure.py-orig 2006-09-15 16:48:02.000000000 +0200
-+++ lyx-1.4.3svn/lib/configure.py 2006-09-15 16:47:07.000000000 +0200
-@@ -227,7 +227,7 @@
+Index: lyx-1.5/lib/configure.py
+===================================================================
+--- lyx-1.5.orig/lib/configure.py 2007-01-15 23:49:14.000000000 +0100
++++ lyx-1.5/lib/configure.py 2007-02-03 21:27:36.000000000 +0100
+@@ -240,7 +240,7 @@
checkViewer('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'],
- rc_entry = [r'\Format fen fen FEN "" "%%" "%%"'])
+ rc_entry = [r'\Format fen fen FEN "" "%%" "%%" ""'])
#
- path, iv = checkViewer('a raster image viewer', ['xv', 'kview', 'gimp'])
+ path, iv = checkViewer('a raster image viewer', ['xdg-open','xv', 'kview', 'gimp'])
path, ie = checkViewer('a raster image editor', ['gimp'])
- addToRC(r'''\Format bmp bmp BMP "" "%s" "%s"
- \Format gif gif GIF "" "%s" "%s"
-@@ -241,7 +241,7 @@
- \Format xpm xpm XPM "" "%s" "%s"''' % \
+ addToRC(r'''\Format bmp bmp BMP "" "%s" "%s" ""
+ \Format gif gif GIF "" "%s" "%s" ""
+@@ -254,7 +254,7 @@
+ \Format xpm xpm XPM "" "%s" "%s" ""''' % \
(iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie, iv, ie) )
#
- checkViewer('a text editor', ['xemacs', 'gvim', 'kedit', 'kwrite', 'kate', \
+ checkViewer('a text editor', ['sensible-editor','xemacs', 'gvim', 'kedit', 'kwrite', 'kate', \
'nedit', 'gedit', 'notepad'],
- rc_entry = [r'''\Format asciichess asc "Plain text (chess output)" "" "" "%%"
- \Format asciiimage asc "Plain text (image)" "" "" "%%"
-@@ -258,17 +258,17 @@
+ rc_entry = [r'''\Format asciichess asc "Plain text (chess output)" "" "" "%%" ""
+ \Format asciiimage asc "Plain text (image)" "" "" "%%" ""
+@@ -275,23 +275,23 @@
#
#checkProg('a Postscript interpreter', ['gs'],
# rc_entry = [ r'\ps_command "%%"' ])
- checkViewer('a Postscript previewer', ['gv', 'ghostview -swap', 'kghostview'],
-+ checkViewer('a Postscript previewer', ['xdg-open','kghostview','evince','gv', 'ghostview -swap'],
- rc_entry = [r'''\Format eps eps EPS "" "%%" ""
- \Format ps ps Postscript t "%%" ""'''])
++ checkViewer('a Postscript previewer', ['xdg-open', 'gv', 'ghostview -swap', 'kghostview'],
+ rc_entry = [r'''\Format eps eps EPS "" "%%" "" "vector"
+ \Format ps ps Postscript t "%%" "" "document,vector"'''])
#
- checkViewer('a PDF previewer', ['acrobat', 'acroread', 'gv', 'ghostview', \
-- 'xpdf', 'kpdf', 'kghostview'],
-+ checkViewer('a PDF previewer', ['xdg-open','xpdf','acrobat', 'acroread', 'gv', 'ghostview', \
-+ 'kpdf', 'kghostview'],
- rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" ""
- \Format pdf2 pdf "PDF (pdflatex)" F "%%" ""
- \Format pdf3 pdf "PDF (dvipdfm)" m "%%" ""'''])
++ checkViewer('a PDF previewer', ['xdg-open', 'acrobat', 'acroread', 'gv', 'ghostview', \
+ 'xpdf', 'kpdf', 'kghostview'],
+ 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','kdvi','evince', 'xdvi','tkdvi'],
- rc_entry = [r'\Format dvi dvi DVI D "%%" ""'])
- if ((os.name == 'nt' or sys.platform == 'cygwin') and
- checkProg('DVI to DTL converter', ['dv2dt']) != ['', ''] and
-@@ -276,7 +276,7 @@
++ checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi'],
+ rc_entry = [r'\Format dvi dvi DVI D "%%" "" "document,vector"'])
+ if dtl_tools:
# Windows only: DraftDVI
- addToRC(r'\Format dvi2 dvi DraftDVI "" "" ""')
+ addToRC(r'\Format dvi2 dvi DraftDVI "" "" "document,vector"')
#
-- checkViewer('a HTML previewer', ['mozilla file://$$p$$i', 'netscape'],
-+ checkViewer('a HTML previewer', ['xdg-open file://$$p$$i','mozilla file://$$p$$i', 'netscape'],
- rc_entry = [r'\Format html html HTML H "%%" ""'])
+- checkViewer('an HTML previewer', ['mozilla file://$$p$$i', 'netscape'],
++ checkViewer('an HTML previewer', ['xdg-open file://$$p$$i', 'mozilla file://$$p$$i', 'netscape'],
+ rc_entry = [r'\Format html html HTML H "%%" "" "document"'])
#
- # entried that do not need checkProg
+ checkViewer('Noteedit', ['noteedit'],
More information about the Pkg-lyx-devel
mailing list