Package: texmacs Version: 1.0.2.4 Revision: 1 GCC: 3.1 Source: mirror:custom:TeXmacs-%v-src.tar.gz CustomMirror: << Primary: ftp://ftp.texmacs.org/pub/TeXmacs/targz/ Secondary: ftp://ftp.texmacs.org/pub/TeXmacs/old-targz/ << Source-MD5: 309422302613de8e744d18e48484cb2c License: GPL Depends: x11, tetex-base, guile16, ispell, wget, libiconv BuildDepends: guile16-dev, dlcompat-dev, libiconv-dev Recommends: ghostscript, netpbm, xfig, macaulay2, maxima, pari-gp, scilab Suggests: texmacs-fonts ConfigureParams: --libexecdir=%p/lib --mandir=%p/share/man --with-iconv=%p SetCFLAGS: -no-cpp-precomp PatchScript: << #!/bin/sh # increase the stacksize to something reasonable before starting perl -pi -e 's|bin/sh\n|bin/sh\n\nulimit -s 8192\n|' misc/scripts/texmacs.in # change hardwired paths for ispell and aspell perl -pi -e 's|/usr/lib/ispell/|%p/lib/|g' src/Plugins/Ispell/ispell.cpp perl -pi -e 's|/usr/lib/aspell/|%p/share/aspell/|g' src/Plugins/Ispell/ispell.cpp # libiconv needs to be linked in excplicitly perl -pi -e 's| \-lm | -lm -liconv |g' src/makefile # make place for Apple's resize brick in quartz-wm perl -pi -e 's|(set_right_footer )\(s\)|$1 (s * " ")|g' src/Edit/Interface/edit_footer.cpp << CompileScript: << #!/bin/sh export PATH=%p/share/guile/1.6/scripts/binoverride:$PATH ./configure %c export GUILE_LOAD_PATH=%p/share/guile/1.6 make << InstallScript: make install DESTDIR=%d DocFiles: COPYING LICENSE TeXmacs/README TeXmacs/TEX_FONTS Description: TeX-based WYSIWYG editor DescDetail: << GNU TeXmacs is a free scientific text editor, which was both inspired by TeX and GNU Emacs. The editor allows you to write structured documents via a wysiwyg (what-you-see-is-what-you-get) and user friendly interface. New styles may be created by the user. The program implements high-quality typesetting algorithms and TeX fonts, which help you to produce professionally looking documents. The high typesetting quality still goes through for automatically generated formulas, which makes TeXmacs suitable as an interface for computer algebra systems. TeXmacs also supports the Guile/Scheme extension language, so that you may customize the interface and write your own extensions to the editor. << DescPort:<< TeXmacs uses wget for getting online help files; the package depends therefore on wget. For font-intensive documents, the default OS X stacksize of 512 kB is insufficient (segmentation fault!), so we set it to 8 MB. This version does some static linking stuff that doesn't work on darwin, so we don't build STATIC_TEXMACS any more. From this revision on, we switch to guile-1.6. Apparently we need to set the PATH for guile-1.6 only at compile time. The runtime is OK, even though guile-1.4 may be installed and `which guile` points to it. << DescUsage:<< Provides a unified GUI for macaulay2, maxima, octave, pari-gp, scilab if they are installed. No configuration necessary, they are auto-detected at program startup. Ghostscript is needed for importing images. Since even the TeXmacs documentation contains images, ghostscript is strongly recommended. For importing non-postscript images, the netpbm package is recommended. If you want to avoid having to create the standard bitmap fonts on the fly, consider installing the texmacs-fonts package. << Maintainer: Martin Costabel Homepage: http://www.texmacs.org