Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60148 - New ebuild: app-emacs/imaxima and dev-tex/breqn
Summary: New ebuild: app-emacs/imaxima and dev-tex/breqn
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Emacs project
URL: http://www.ifa.au.dk/~harder/imaxima....
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-08-12 09:19 UTC by Dirk Gerrits
Modified: 2004-10-09 04:40 UTC (History)
3 users (show)

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


Attachments
Ebuild for imaxima (imaxima-0.9.ebuild,741 bytes, text/plain)
2004-10-07 12:44 UTC, Cliff Yapp
Details
.emacs contents for imaxima (50imaxima-gentoo.el,60 bytes, text/x-emacs-lisp)
2004-10-07 12:45 UTC, Cliff Yapp
Details
ebuild for dev-tex/breqn (breqn-0.94.ebuild,510 bytes, text/plain)
2004-10-07 23:38 UTC, PL Hayes
Details
modified ebuild for imaxima with breqn dep. (imaxima-0.9.ebuild,833 bytes, text/plain)
2004-10-07 23:43 UTC, PL Hayes
Details
modified ebuild for imaxima with breqn dep. (imaxima-0.9.ebuild,757 bytes, text/plain)
2004-10-08 09:11 UTC, PL Hayes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Gerrits 2004-08-12 09:19:41 UTC
 
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-07 07:37:28 UTC
More information on the package (and why you think it'll be good for Gentoo)
would be appreciated.
Comment 2 Dirk Gerrits 2004-09-18 06:54:58 UTC
Well if a picture is worth a thousand words, the following should be illustrational.

Maxima in GNU Emacs without imaxima:
http://maxima.sourceforge.net/screenshots/maximaemacs.png 
Maxima in GNU Emacs with imaxima:
http://maxima.sourceforge.net/screenshots/imaxima.png

Basically, Imaxima tells Maxima to produce LaTeX output.  When you type a Maxima command in your imaxima buffer in Emacs, Maxima's LaTeX output gets rendered into an image that gets inserted into your Emacs buffer.  That way you get familiar mathematical notation, instead of the ASCII art that you get when using the Emacs mode that comes with Maxima itself.
Comment 3 texon 2004-10-06 21:48:15 UTC
No doubt about it, imaxima adds a whole new dimension to maxima.  I just downloaded the native imaxima and installed it and now its actually plausible to use maxima as a maple or mathematica replacement.

Maxima is, famously, derived from the first major computer algebra system, macsyma, which unfortunately originated before the GUI.  Now, though, it is possible to run maxima within texmacs or (x)emacs and enjoy the same typeset output that comes with the commercial CAS systems.
Comment 4 Cliff Yapp 2004-10-07 12:44:04 UTC
Created attachment 41314 [details]
Ebuild for imaxima

Here's ebuild.	I have problems running imaxima with the latest Maxima compiled
on sbcl, but I don't think its the fault of the ebuild.
Comment 5 Cliff Yapp 2004-10-07 12:45:02 UTC
Created attachment 41315 [details]
.emacs contents for imaxima

Here's the 50imaxima-gentoo.el file
Comment 6 PL Hayes 2004-10-07 23:38:42 UTC
Created attachment 41345 [details]
ebuild for dev-tex/breqn

Imaxima README says it needs this to do line breaking. License marked 'as-is'
since the breqn package has no license info at all but as it's on the AMS
public ftp site it should be okay.
Comment 7 PL Hayes 2004-10-07 23:43:17 UTC
Created attachment 41346 [details]
modified ebuild for imaxima with breqn dep.

I know you hate elisp-site-regen Cliff but... ;-)
Comment 8 PL Hayes 2004-10-08 09:11:46 UTC
Created attachment 41369 [details]
modified ebuild for imaxima with breqn dep.

Doesn't need elisp-site-regen - my mistake :/
Comment 9 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-09 03:31:31 UTC
Thanks for breqn ebuild, Paul. It's okay to set the LICENSE to as-is.
However, pkg_preinst() isn't the right place to install files. This 
function is meant to set up live filesystem before merging files
from imagedir. See man 5 ebuild for detail. In this case, if you
want to install additional files you need to do that in src_install(),
like:

src_install() {
        latex-package_src_install

        insinto ${TEXMF}/tex/latex/${PN}
        doins *.sym

        dodoc *.txt
}

pkg_preinst() is also executed at binary installation and
your code will break with binary installation (because
when you install packages from binary, the source code
is not extracted from the tarball to ${S}. This is why you
need to install all files in src_install)

Anyhow, I added breqn-0.94.ebuild with that modification.
Comment 10 PL Hayes 2004-10-09 04:16:24 UTC
Good - thanks Mamoru. I take it that means Cliff's imaxima ebuild with the breqn dep and it's 50imaxima-gentoo.el file are going in too?
Comment 11 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-09 04:40:57 UTC
Thanks Cliff and Paul, I added imaxima to CVS. app-text/ghostscript 
should be virtual/ghostscript, though (but that's small problem, so
I fixed it by myself). imaxima works flawlessly, and looks cool ;) 
Have fun!