<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>130099</bug_id>
          
          <creation_ts>2006-04-15 13:49 0000</creation_ts>
          <short_desc>app-office/texmacs doesn&apos;t work with latest version of maxima</short_desc>
          <delta_ts>2006-04-20 11:56:50 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ivsgentoo@noo.ru</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          <cc>bruce.veidt@nrc.ca</cc>
    
    <cc>sci@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ivsgentoo@noo.ru</who>
            <bug_when>2006-04-15 13:49:22 0000</bug_when>
            <thetext>While trying to insert &apos;maxima&apos; session in TeXmacs document the system says &quot;Unsupported version of maxima: 5.9.3&quot;. According to official site of Maxima, there&apos;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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=k8 -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=k8 -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/&quot;
LANG=&quot;en_US.UTF-8&quot;
LINGUAS=&quot;en ru&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.uk.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ivsgentoo@noo.ru</who>
            <bug_when>2006-04-15 14:04:23 0000</bug_when>
            <thetext>Created an attachment (id=84738)
patch to tm_maxima that forces it to allow maxima 5.9.3 to run under TeXmacs

I&apos;m not sure that there&apos;s no any changes since 5.9.2 release of maxima in input/output, but it seems that there&apos;s no any fatal consequences of this quick and dirty tweak.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ehmsen@gentoo.org</who>
            <bug_when>2006-04-18 02:25:44 0000</bug_when>
            <thetext>Can we please have som input from sci?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2006-04-18 03:38:51 0000</bug_when>
            <thetext>I don&apos;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.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bruce.veidt@nrc.ca</who>
            <bug_when>2006-04-19 11:06:25 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; I don&apos;t know much about texmacs, but looking at the maxima mailing list, some
&gt; patches for texmacs have been proposed:
&gt; http://www.math.utexas.edu/pipermail/maxima/2006/012832.html.
&gt; 

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.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ehmsen@gentoo.org</who>
            <bug_when>2006-04-20 11:56:50 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>84738</attachid>
            <date>2006-04-15 14:04 0000</date>
            <desc>patch to tm_maxima that forces it to allow maxima 5.9.3 to run under TeXmacs</desc>
            <filename>tm_maxima.bug130099fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">KioqIC9wbHVnaW5zL21heGltYS9iaW4vdG1fbWF4aW1hCTIwMDYtMDQtMTUgMjM6MDE6NTguMDAw
MDAwMDAwICswNDAwCi0tLSAvcGx1Z2lucy9tYXhpbWEvYmluL3RtX21heGltYS5vbGQJMjAwNi0w
NC0xNiAwMDo1NjowMC4wMDAwMDAwMDAgKzA0MDAKKioqKioqKioqKioqKioqCioqKiAxNCwxOSAq
KioqCiAgICA1LjkuMCkgZXhlYyBtYXhpbWEgLXUgJDEgLWwgJDIgLXAgIiRURVhNQUNTX01BWElN
QV9QQVRIL3RleG1hY3MtbWF4aW1hLTUuOS4wLmxpc3AiIFwKICAgICAgICB8IG1heGltYV9maWx0
ZXI7OwogICAgNS45LjEpIGV4ZWMgbWF4aW1hIC11ICQxIC1sICQyIC1wICIkVEVYTUFDU19NQVhJ
TUFfUEFUSC90ZXhtYWNzLW1heGltYS01LjkuMS5saXNwIjs7CiEgICA1LjkuMS4xKiB8IDUuOS4y
KiB8IDUuOS4zKikgZXhlYyBtYXhpbWEgLXUgJDEgLWwgJDIgLXAgIiRURVhNQUNTX01BWElNQV9Q
QVRIL3RleG1hY3MtbWF4aW1hLTUuOS4yLmxpc3AiOzsKICAgICopIGVjaG8gLWUgIlwybGF0ZXg6
XFxyZWQgVW5zdXBwb3J0ZWQgdmVyc2lvbiBvZiBtYXhpbWE6ICQxXDUiCiAgZXNhYwotLS0gMT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