Package: texmacs Version: 1.0.6 Revision: 1 GCC: 3.3 Source: mirror:custom:TeXmacs-%v-src.tar.gz CustomMirror: << Primary: http://www.texmacs.org/Download/ftp/targz/ Secondary: ftp://ftp.texmacs.org/pub/TeXmacs/targz/ << Source-MD5: 7b0a3896fd17cf2e993aa77d15bb6240 License: GPL Depends: x11-shlibs, tetex-base, guile16, ispell, wget, imlib2-shlibs, libiconv, freetype219-shlibs BuildDepends: x11, guile16-dev, x11-dev, imlib2, libiconv-dev, freetype219 Replaces: texmacs-extra-fonts, texmacs-type1-fonts BuildConflicts: freetype Recommends: ghostscript, netpbm, xfig, macaulay2, maxima, pari-gp, scilab Suggests: texmacs-extra-fonts ConfigureParams: --libexecdir=%p/lib --mandir=%p/share/man --with-iconv=/usr --with-freetype=linked --with-imlib2 Patch: %n.patch PatchScript: << #!/bin/sh -ev # 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 # 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 # make the R plugin compile perl -pi -e 's|\-lutil||g' plugins/r/Makefile perl -pi -e 's|pty.h|util.h|g' plugins/r/src/tm_r.c # temporary hack to make the graphviz plugin work: # Instead of allocating successive pieces of 1kB, we allocate one chunk # of 1MB which should be sufficient for most postscript figures from graphviz perl -pi -e ' s,malloc\(1025\),malloc\(1024\*1000\+1\),g ; s,(fread.*) 1024,$1 1024\*1000,g ' plugins/graphviz/src/tm_graphviz.c << CompileScript: << #!/bin/sh -ev export PATH=%p/share/guile/1.6/scripts/binoverride:%p/lib/freetype219/bin:$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. The hack to make the graphviz plugin work is still needed. << DescUsage:<< Provides a unified GUI for clisp, macaulay2, maxima, octave, pari-gp, scilab if they are installed. No configuration necessary, they are auto-detected at program startup. The clisp plugin should work with clisp version 2.32 or later. 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. From version 1.0.5.10 on, PostScript Type1 fonts are used by default. TeXmacs uses the Type1 fonts from tetex, and an additional set of fonts is contained in the texmacs-extra-fonts package. If you want a complete set of Type1 fonts, consider installing the texmacs-type1-fonts package. << Maintainer: Martin Costabel Homepage: http://www.texmacs.org