diff --git a/maxima-5.10.0-xdg_open.patch b/maxima-5.10.0-xdg_open.patch new file mode 100644 index 0000000..47e5627 --- /dev/null +++ b/maxima-5.10.0-xdg_open.patch @@ -0,0 +1,14 @@ +--- maxima/interfaces/xmaxima/Tkmaxima/Menu.tcl.htmlview 2004-10-16 10:37:53.000000000 -0500 ++++ maxima/interfaces/xmaxima/Tkmaxima/Menu.tcl 2005-08-22 07:27:23.000000000 -0500 +@@ -215,9 +215,9 @@ + } + } else { + +- set selectedbrowser mozilla ++ set selectedbrowser xdg-open + +- foreach b { mozilla konqueror epiphany firefox netscape } { ++ foreach b { xdg-open htmlview firefox konqueror mozilla epiphany netscape } { + if { ! [catch {exec which $b} ] } { + set selectedbrowser $b + break } } diff --git a/maxima-5.9.2-htmlview.patch b/maxima-5.9.2-htmlview.patch deleted file mode 100644 index 03bfb04..0000000 --- a/maxima-5.9.2-htmlview.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- maxima/interfaces/xmaxima/Tkmaxima/Menu.tcl.htmlview 2004-10-16 10:37:53.000000000 -0500 -+++ maxima/interfaces/xmaxima/Tkmaxima/Menu.tcl 2005-08-22 07:27:23.000000000 -0500 -@@ -215,9 +215,9 @@ - } - } else { - -- set selectedbrowser mozilla -+ set selectedbrowser htmlview - -- foreach b { mozilla konqueror epiphany firefox netscape } { -+ foreach b { htmlview firefox konqueror mozilla epiphany netscape } { - if { ! [catch {exec which $b} ] } { - set selectedbrowser $b - break } } diff --git a/maxima.spec b/maxima.spec index 11d15c9..8a39add 100644 --- a/maxima.spec +++ b/maxima.spec @@ -6,7 +6,7 @@ Summary: Symbolic Computation Program Name: maxima Version: 5.10.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL Group: Applications/Engineering URL: http://maxima.sourceforge.net/ @@ -44,7 +44,7 @@ Source6: maxima-modes.el Source10: http://starship.python.net/crew/mike/TixMaxima/macref.pdf Source11: http://maxima.sourceforge.net/docs/maximabook/maximabook-19-Sept-2004.pdf -Patch1: maxima-5.9.2-htmlview.patch +Patch1: maxima-5.10.0-xdg_open.patch # (mysterious?) xemacs patch (don't use, for now) Patch2: maxima.el-xemacs.patch # use sbcl --disable-debugger @@ -96,6 +96,8 @@ Group: Applications/Engineering Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-xmaxima < %{version}-%{release} Requires: tk +Requires: xdg-open +#Requires: htmlview %description gui Tcl/Tk GUI interface for %{name} @@ -180,7 +182,7 @@ Maxima compiled with Steel Bank Common Lisp (sbcl). # Extra docs install -p -m644 %{SOURCE10} . -%patch1 -p1 -b .htmlview +%patch1 -p1 -b .xdg_open #patch2 -p1 -b .xemacs %patch3 -p1 -b .sbcl-disable-debugger %if "%{?fedora}" > "3" @@ -384,6 +386,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Oct 02 2006 Rex Dieter 5.10.0-3 +- htmlview -> xdg-open + * Tue Sep 26 2006 Rex Dieter 5.10.0-2 - respin for sbcl-0.9.17