Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130099 - app-office/texmacs doesn't work with latest version of maxima
Summary: app-office/texmacs doesn't work with latest version of maxima
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-15 13:49 UTC by Ilya Schurov
Modified: 2006-04-20 11:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to tm_maxima that forces it to allow maxima 5.9.3 to run under TeXmacs (tm_maxima.bug130099fix.patch,957 bytes, patch)
2006-04-15 14:04 UTC, Ilya Schurov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Schurov 2006-04-15 13:49:22 UTC
While trying to insert 'maxima' session in TeXmacs document the system says "Unsupported version of maxima: 5.9.3". According to official site of Maxima, there's no official release of 5.9.3, but this version is already in portage.


Portage 2.1_pre7-r5 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/"
LANG="en_US.UTF-8"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X alsa amd64 ansi avi berkdb bitmap-fonts crypt cups dri dvd eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal ieee1394 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia ogg opengl pam pdflib perl png pppd python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts unicode usb xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_ru userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ilya Schurov 2006-04-15 14:04:23 UTC
Created attachment 84738 [details, diff]
patch to tm_maxima that forces it to allow maxima 5.9.3 to run under TeXmacs

I'm not sure that there's no any changes since 5.9.2 release of maxima in input/output, but it seems that there's no any fatal consequences of this quick and dirty tweak.
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-04-18 02:25:44 UTC
Can we please have som input from sci?
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2006-04-18 03:38:51 UTC
I don't know much about texmacs, but looking at the maxima mailing list, some patches for texmacs have been proposed:
http://www.math.utexas.edu/pipermail/maxima/2006/012832.html.

Comment 4 bruce.veidt 2006-04-19 11:06:25 UTC
(In reply to comment #3)
> I don't know much about texmacs, but looking at the maxima mailing list, some
> patches for texmacs have been proposed:
> http://www.math.utexas.edu/pipermail/maxima/2006/012832.html.
> 

This link points to:
http://lists.gnu.org/archive/html/texmacs-dev/2006-03/msg00019.html
which has 3 modified files.

Put texmacs-maxima-5.9.2.lisp into /usr/share/TeXmacs/plugins/maxima/lisp
Put maxima_detect and tm_maxima into /usr/libexec/TeXmacs/bin

With this done TeXmacs provides a beautiful front end for maxima.
It works well.  I encourage you to add this to the maxima/texmacs ebuilds.

Comment 5 Martin Ehmsen (RETIRED) gentoo-dev 2006-04-20 11:56:50 UTC
Fixed in CVS.
Thanks for reporting and leading me to the solution!
It should be fixed (without needing to patch) in the next version of texmacs.