rpms/maxima/EL-4 maxima-5.11.0-xdg_utils.patch, NONE, 1.1 maxima-5.9.4-gcl_setarch.patch, NONE, 1.1

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu Dec 28 01:35:31 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/maxima/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13835

Added Files:
	maxima-5.11.0-xdg_utils.patch maxima-5.9.4-gcl_setarch.patch 
Log Message:
new patches


maxima-5.11.0-xdg_utils.patch:

--- NEW FILE maxima-5.11.0-xdg_utils.patch ---
--- maxima-5.11.0/interfaces/emacs/misc/bookmode.el.xdg_utils	2000-05-08 01:09:44.000000000 -0500
+++ maxima-5.11.0/interfaces/emacs/misc/bookmode.el	2006-12-27 13:07:51.000000000 -0600
@@ -680,7 +680,7 @@
 		
 		  (and tem
 		       (list (concat "View "(nth 1 tem))
-			     'call-process  "ghostview" nil nil nil
+			     'call-process  "xdg-open" nil nil nil
 			     (expand-file-name(nth 1 tem))
 			     ))
 		  (list "Cancel")
@@ -705,7 +705,7 @@
 			 (concat
 			  (cond ((looking-at "%PS") "")
 				(t "gzip -dc | "))
-			  "ghostview -")
+			  "xdg-open -")
 			 
 	)))
 	 
--- maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl.xdg_utils	2006-12-09 13:52:11.000000000 -0600
+++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl	2006-12-27 13:00:45.000000000 -0600
@@ -245,9 +245,9 @@
 	}
     } else {
 	
-	set selectedbrowser mozilla
+	set selectedbrowser xdg-open 
 
-	foreach b { firefox mozilla konqueror epiphany galeon amaya netscape } {
+	foreach b { xdg-open htmlview firefox mozilla konqueror epiphany galeon amaya netscape } {
 	    if { ! [catch {exec which $b} ] } {
 		set selectedbrowser $b
 		break } }
--- maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl.xdg_utils	2006-10-01 17:42:48.000000000 -0500
+++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl	2006-12-27 13:01:52.000000000 -0600
@@ -143,9 +143,9 @@
     image/gif  netmath
     image/png  netmath
     image/jpeg netmath
-    application/postscript "ghostview -safer %s"
-    application/pdf "acroread %s"
-    application/x-dvi "xdvi %s"
+    application/postscript "xdg-open %s"
+    application/pdf "xdg-open %s"
+    application/x-dvi "xdg-open %s"
 }
 set maxima_priv(imagecounter) 0
 

maxima-5.9.4-gcl_setarch.patch:

--- NEW FILE maxima-5.9.4-gcl_setarch.patch ---
--- maxima-5.9.3.99rc2/src/maxima.in.gcl-setarch	2006-07-30 21:25:52.000000000 -0500
+++ maxima-5.9.3.99rc2/src/maxima.in	2006-08-09 10:05:21.000000000 -0500
@@ -128,7 +128,7 @@
 	exec "@SCL_NAME@" -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
     fi
 elif [ "$MAXIMA_LISP" = "gcl" ]; then
-    exec "$maxima_image_base" -eval '(cl-user::run)' -f -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
+    exec "setarch" "@ARCH@" "-X" "$maxima_image_base" -eval '(cl-user::run)' -f -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
 elif [ "$MAXIMA_LISP" = "acl" ]; then
 # FIXME: arguments need in a manner consistent with the way they are extracted
 #        in the function get-application-args in command-line.lisp




More information about the fedora-extras-commits mailing list