rpms/lyx/FC-6 lyx-1.5.0rc2-xdg-open.patch, NONE, 1.1 lyx.spec, 1.51, 1.52 lyx-1.4.4-xdg_open.patch, 1.1, NONE

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Sat Aug 18 22:48:54 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/lyx/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13880

Modified Files:
	lyx.spec 
Added Files:
	lyx-1.5.0rc2-xdg-open.patch 
Removed Files:
	lyx-1.4.4-xdg_open.patch 
Log Message:
add awol patch


lyx-1.5.0rc2-xdg-open.patch:

--- NEW FILE lyx-1.5.0rc2-xdg-open.patch ---
--- lyx-1.5.0rc2/lib/configure.py.xdg_open	2007-06-19 16:20:09.000000000 -0500
+++ lyx-1.5.0rc2/lib/configure.py	2007-06-28 09:03:15.000000000 -0500
@@ -238,7 +238,7 @@ def checkFormatEntries(dtl_tools):  
     checkViewer('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'],
         rc_entry = [r'\Format fen        fen     FEN                    "" "%%"	"%%"	""'])
     #
-    path, iv = checkViewer('a raster image viewer', ['xv', 'kview', 'gimp-remote', 'gimp'])
+    path, iv = checkViewer('a raster image viewer', ['xdg-open', 'xv', 'kview', 'gimp-remote', 'gimp'])
     path, ie = checkViewer('a raster image editor', ['gimp-remote', 'gimp'])
     addToRC(r'''\Format bmp        bmp     BMP                    "" "%s"	"%s"	""
 \Format gif        gif     GIF                    "" "%s"	"%s"	""
@@ -252,7 +252,7 @@ def checkFormatEntries(dtl_tools):  
 \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', ['xdg-open', 'xemacs', 'gvim', 'kedit', 'kwrite', 'kate', \
         'nedit', 'gedit', 'notepad'],
         rc_entry = [r'''\Format asciichess asc    "Plain text (chess output)"  "" ""	"%%"	""
 \Format asciiimage asc    "Plain text (image)"         "" ""	"%%"	""
@@ -273,23 +273,23 @@ 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'],
         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', \
 		    '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'],
         rc_entry = [r'\Format dvi        dvi     DVI                    D  "%%"	""	"document,vector"'])
     if dtl_tools:
         # Windows only: DraftDVI
         addToRC(r'\Format dvi2       dvi     DraftDVI               ""	""	"document,vector"')
     #
-    checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'],
+    checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://$$p$$i', 'netscape'],
         rc_entry = [r'\Format html       html    HTML                   H  "%%"	""	"document"'])
     #
     checkViewer('Noteedit', ['noteedit'],


Index: lyx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/FC-6/lyx.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- lyx.spec	18 Aug 2007 22:43:49 -0000	1.51
+++ lyx.spec	18 Aug 2007 22:48:17 -0000	1.52
@@ -2,7 +2,7 @@
 Summary: WYSIWYM (What You See Is What You Mean) document processor
 Name:	 lyx
 Version: 1.5.1
-Release: 1%{?dist}
+Release: 1%{?dist}.1
 
 License: GPLv2+
 Group: 	 Applications/Publishing


--- lyx-1.4.4-xdg_open.patch DELETED ---




More information about the fedora-extras-commits mailing list