SOURCES: xmaxima-doc.patch (NEW) - enable to run xmaxima without installed ...

draenog draenog at pld-linux.org
Fri Jun 13 03:51:50 CEST 2008


Author: draenog                      Date: Fri Jun 13 01:51:50 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- enable to run xmaxima without installed documentation

---- Files affected:
SOURCES:
   xmaxima-doc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xmaxima-doc.patch
diff -u /dev/null SOURCES/xmaxima-doc.patch:1.1
--- /dev/null	Fri Jun 13 03:51:50 2008
+++ SOURCES/xmaxima-doc.patch	Fri Jun 13 03:51:45 2008
@@ -0,0 +1,22 @@
+diff -ur maxima-5.15.0.orig/interfaces/xmaxima/Tkmaxima/Menu.tcl maxima-5.15.0/interfaces/xmaxima/Tkmaxima/Menu.tcl
+--- maxima-5.15.0.orig/interfaces/xmaxima/Tkmaxima/Menu.tcl	2007-05-07 02:35:30.000000000 +0200
++++ maxima-5.15.0/interfaces/xmaxima/Tkmaxima/Menu.tcl	2008-06-03 19:42:16.000000000 +0200
+@@ -262,6 +262,7 @@
+     $m add separator
+     if {$tcl_platform(platform) != "windows"} {
+ 	$m add command -underline 0 -label [mc "Maxima Manual (web browser)"] \
++	    -state $state \
+ 	    -command [list eval $browse "file://$file" &]
+     }
+     $m add command -underline 0 -label [mc "Xmaxima Manual (web browser)"] \
+diff -ur maxima-5.15.0.orig/interfaces/xmaxima/Tkmaxima/Paths.tcl maxima-5.15.0/interfaces/xmaxima/Tkmaxima/Paths.tcl
+--- maxima-5.15.0.orig/interfaces/xmaxima/Tkmaxima/Paths.tcl	2007-02-25 11:34:36.000000000 +0100
++++ maxima-5.15.0/interfaces/xmaxima/Tkmaxima/Paths.tcl	2008-06-03 19:41:52.000000000 +0200
+@@ -270,6 +270,7 @@
+ 	    }
+ 	}
+     } else {
++	set maxima_priv(pReferenceToc) ""
+ 	tide_notify [M [mc "Documentation not found in '%s'"] \
+ 			 [file native  $maxima_priv(maxima_verpkgdatadir)]]
+     }
================================================================


More information about the pld-cvs-commit mailing list