Package: texmacs Version: 1.0.4 Revision: 2 GCC: 3.3 Source: mirror:custom:TeXmacs-%v-R2-src.tar.gz CustomMirror: << Primary: http://www.texmacs.org/Download/ftp/targz/ Secondary: ftp://ftp.texmacs.org/pub/TeXmacs/targz/ << Source-MD5: 62869c522ae939c485c6f04144c0feeb License: GPL Depends: x11-shlibs, tetex-base, guile16, ispell, wget, libiconv, freetype2-shlibs | freetype2-hinting-shlibs BuildDepends: x11, guile16-dev, dlcompat-dev, libiconv-dev, freetype2 | freetype2-hinting, x11-dev Recommends: ghostscript, netpbm, xfig, macaulay2, maxima, pari-gp, scilab Suggests: texmacs-fonts ConfigureParams: --libexecdir=%p/lib --mandir=%p/share/man --with-iconv=%p --with-freetype=linked SetCFLAGS: -no-cpp-precomp #Patch: %n.patch PatchScript: << #!/bin/sh # fix the broken configure script # perl -pi -e 's|\\\$\(prefix\)|\$\{prefix\}|' configure # 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 # Patch for non-working shell session. This hack works on 10.2 with gcc3.3 # Doesn't help on 10.2 with gcc-3.1 # On 10.3, it is not needed perl -pi -e 's|\"tmshell\$ \", 9|\"readline: warning: rl_prep_terminal: cannot get terminal settingstmshell\$ \", 74|g' plugins/shell/src/tm_shell.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. Uses guile-1.6 now. 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. Several plugins, like for R or graphviz sessions, will not work correctly. This is improved in the version for Mac OSX 10.3. << 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