aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-29 02:55:12 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-29 02:55:12 +0000
commitf8697f168515d915e36c78f1631af0f9ffe3e6e0 (patch)
treec4b5db9b43f1ab986677c340dcb61ddc5e81ab3c /app-office/texmacs/files
parentadded icc-10 (diff)
downloadsci-f8697f168515d915e36c78f1631af0f9ffe3e6e0.tar.gz
sci-f8697f168515d915e36c78f1631af0f9ffe3e6e0.tar.bz2
sci-f8697f168515d915e36c78f1631af0f9ffe3e6e0.zip
maxima-5.13.0 and texmacs-1.0.6.10-r1 with a patch to run maxima-5.13.0
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@719 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'app-office/texmacs/files')
-rw-r--r--app-office/texmacs/files/digest-texmacs-1.0.6.10-r1 (renamed from app-office/texmacs/files/digest-texmacs-1.0.6.9-r1)6
-rw-r--r--app-office/texmacs/files/texmacs-maxima-5.12.0.patch24
-rw-r--r--app-office/texmacs/files/texmacs-maxima-5.13.0.patch71
3 files changed, 74 insertions, 27 deletions
diff --git a/app-office/texmacs/files/digest-texmacs-1.0.6.9-r1 b/app-office/texmacs/files/digest-texmacs-1.0.6.10-r1
index e3df21ecc..325a7d015 100644
--- a/app-office/texmacs/files/digest-texmacs-1.0.6.9-r1
+++ b/app-office/texmacs/files/digest-texmacs-1.0.6.10-r1
@@ -1,6 +1,6 @@
-MD5 fde50d2c6a543e63be22534d77de474d TeXmacs-1.0.6.9-src.tar.gz 3840213
-RMD160 506f65b65a934f94737e4d190cc8317e74622f38 TeXmacs-1.0.6.9-src.tar.gz 3840213
-SHA256 87472e49639bfd635255df1b0c26aa6b28a80dca0782d782d263f184958a47d7 TeXmacs-1.0.6.9-src.tar.gz 3840213
+MD5 073a2de1448b24ef215d6d0d39139dc8 TeXmacs-1.0.6.10-src.tar.gz 4167490
+RMD160 11ce6db065e6d7a060fecdd10e726320f88a11e6 TeXmacs-1.0.6.10-src.tar.gz 4167490
+SHA256 59b823f2df27d635e3497b743ded85ef3af12c0fb783e1fc880465a3a0e93edb TeXmacs-1.0.6.10-src.tar.gz 4167490
MD5 945dfd3f76b20082aeea8131d87a260f TeXmacs-600dpi-fonts.tar.gz 2899193
RMD160 b5a27a59ed0c178f94836b828d12d3534b506582 TeXmacs-600dpi-fonts.tar.gz 2899193
SHA256 e8eeb3c97a1405fd037b0567f683a6d2225d47c7829893b9768bd6c1c707cc81 TeXmacs-600dpi-fonts.tar.gz 2899193
diff --git a/app-office/texmacs/files/texmacs-maxima-5.12.0.patch b/app-office/texmacs/files/texmacs-maxima-5.12.0.patch
deleted file mode 100644
index 0ebdc9aa7..000000000
--- a/app-office/texmacs/files/texmacs-maxima-5.12.0.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -U2 --recursive TeXmacs-1.0.6.9-src.orig/plugins/maxima/bin/maxima_detect TeXmacs-1.0.6.9-src/plugins/maxima/bin/maxima_detect
---- TeXmacs-1.0.6.9-src.orig/plugins/maxima/bin/maxima_detect 2007-02-11 21:39:53.000000000 +0600
-+++ TeXmacs-1.0.6.9-src/plugins/maxima/bin/maxima_detect 2007-05-05 05:31:03.000000000 +0700
-@@ -64,7 +64,8 @@
- version 5.9.3
- version 5.10
--version 5.11" >/dev/null
-+version 5.11
-+version 5.12" >/dev/null
- then
-- # 5.9.1 or 5.9.2 or 5.9.3 or 5.10 or 5.11
-+ # 5.9.1 or 5.9.2 or 5.9.3 or 5.10 or 5.11 or 5.12
- maxima -d | grep -F 'maxima-htmldir=' | sed -e \
- 's/maxima-htmldir=/"/' -e 's|$|/maxima_toc.html"|'
-diff -U2 --recursive TeXmacs-1.0.6.9-src.orig/plugins/maxima/bin/tm_maxima TeXmacs-1.0.6.9-src/plugins/maxima/bin/tm_maxima
---- TeXmacs-1.0.6.9-src.orig/plugins/maxima/bin/tm_maxima 2007-02-11 21:39:53.000000000 +0600
-+++ TeXmacs-1.0.6.9-src/plugins/maxima/bin/tm_maxima 2007-05-05 05:31:20.000000000 +0700
-@@ -21,5 +21,5 @@
- 5.9.1.1* | 5.9.2* | 5.9.3*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.9.2.lisp";;
- 5.10.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.10.0.lisp";;
-- 5.11.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;
-+ 5.11.* | 5.12.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;
- cygwin)
- CYGWIN_ROOT="C:\cygwin"
diff --git a/app-office/texmacs/files/texmacs-maxima-5.13.0.patch b/app-office/texmacs/files/texmacs-maxima-5.13.0.patch
new file mode 100644
index 000000000..c2b3c5cd6
--- /dev/null
+++ b/app-office/texmacs/files/texmacs-maxima-5.13.0.patch
@@ -0,0 +1,71 @@
+diff -U2 --recursive TeXmacs-1.0.6.10-src.orig/plugins/maxima/bin/maxima_detect TeXmacs-1.0.6.10-src/plugins/maxima/bin/maxima_detect
+--- TeXmacs-1.0.6.10-src.orig/plugins/maxima/bin/maxima_detect 2007-05-16 00:54:34.000000000 +0700
++++ TeXmacs-1.0.6.10-src/plugins/maxima/bin/maxima_detect 2007-08-29 00:22:14.000000000 +0700
+@@ -1,3 +1,3 @@
+-#!/bin/sh
++#!/bin/bash
+ # if there is an argument, find maxima_toc.html
+
+@@ -37,18 +37,15 @@
+ }
+
+-PATH="/cygdrive/c/Program Files/Maxima-5.9.2/bin:$PATH"
+-PATH="/cygdrive/c/Program Files/Maxima-5.9.3/bin:$PATH"
+-export PATH
+-
+-MAXIMA=`type -p maxima 2>/dev/null`
++if [ $OSTYPE == "cygwin" ] ; then EXT='.bat'; else EXT=''; fi
++MAXIMA=`type -p maxima$EXT 2>/dev/null`
+ if [ $? -eq 0 ]
+ then
+- if [ -f "/usr/bin/cygwin1.dll" ]
++ if [ $OSTYPE == "cygwin" ]
+ then
+ if [ "$1" ]
+ then
+- maxima.bat -d | grep -F 'maxima-htmldir=' | \
+- sed -e 's/maxima-htmldir=/"/' -e 's|$|/maxima_toc.html"|' \
+- -e 's|\\|/|g' -e 's|C:|/cygdrive/c/|'
++ maxima -d | grep -F 'maxima-htmldir=' | \
++ sed -e 's/maxima-htmldir=/"/' -e 's|$|/maxima_toc.html"|' | \
++ cygpath -f -
+ else
+ echo '("cygwin")'
+@@ -65,7 +62,8 @@
+ version 5.10
+ version 5.11
+-version 5.12" >/dev/null
++version 5.12
++version 5.13" >/dev/null
+ then
+- # 5.9.1 or 5.9.2 or 5.9.3 or 5.10 or 5.11 or 5.12
++ # 5.9.1 or 5.9.2 or 5.9.3 or 5.10 or 5.11 or 5.12 or 5.13
+ maxima -d | grep -F 'maxima-htmldir=' | sed -e \
+ 's/maxima-htmldir=/"/' -e 's|$|/maxima_toc.html"|'
+diff -U2 --recursive TeXmacs-1.0.6.10-src.orig/plugins/maxima/bin/tm_maxima TeXmacs-1.0.6.10-src/plugins/maxima/bin/tm_maxima
+--- TeXmacs-1.0.6.10-src.orig/plugins/maxima/bin/tm_maxima 2007-05-16 00:54:34.000000000 +0700
++++ TeXmacs-1.0.6.10-src/plugins/maxima/bin/tm_maxima 2007-08-29 00:23:07.000000000 +0700
+@@ -3,7 +3,4 @@
+ TEXMACS_MAXIMA_PATH="$TEXMACS_PATH/plugins/maxima/lisp"
+ export TEXMACS_MAXIMA_PATH
+-PATH="/cygdrive/c/Program Files/Maxima-5.9.2/bin:$PATH"
+-PATH="/cygdrive/c/Program Files/Maxima-5.9.3/bin:$PATH"
+-export PATH
+
+ case $1 in
+@@ -21,13 +18,7 @@
+ 5.9.1.1* | 5.9.2* | 5.9.3*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.9.2.lisp";;
+ 5.10.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.10.0.lisp";;
+- 5.11.* | 5.12.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;
++ 5.11.* | 5.12.* | 5.13.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;
+ cygwin)
+- CYGWIN_ROOT="C:\cygwin"
+- CYGWIN_TEXMACS_HOME=`echo $TEXMACS_HOME_PATH | sed 's|/|\\\\|g'`
+- export CYGWIN_TEXMACS_HOME
+- cp -f "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.9.2.lisp" \
+- "$CYGWIN_ROOT$CYGWIN_TEXMACS_HOME\system\tmp"
+- exec maxima.bat -p \
+- "$CYGWIN_ROOT$CYGWIN_TEXMACS_HOME\system\tmp\texmacs-maxima-5.9.2.lisp";;
++ exec maxima.bat -p "`echo $TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp|cygpath --windows -f -`";;
+ *) echo -e "\2latex:\\red Unsupported version of maxima: $1\5"
+ esac