Package: aplus-fsf Version: 4.22-1 Revision: 1004 Distribution: 10.5, 10.6 GCC: 4.0 Maintainer: Dave Morrison Depends: x11, xfontpath, %N-shlibs (>= %v-%r) Suggests: xemacs BuildDepends: fink (>= 0.24.12), ttfmkfontdir, x11-dev #Source: http://www.aplusdev.org/Download/aplus-fsf-%v.tar.gz Source: mirror:sourceforge:fink/aplus-fsf-%v.tar.gz Source-MD5: 27cb5f78c81dee06127f63e982bd0aaf SourceDirectory: %n-4.22 PatchFile: %n.patch PatchFile-MD5: 8c1e79e53ad7d948ea78e7a4b1d2de13 PatchScript: << #!/bin/sh -ev %{default_script} sed -i.bak -e '1i \ #include ' src/AplusGUI/AplusApplication.C << ConfigureParams: --disable-dependency-tracking NoSetLDFLAGS: true SetLIBRARY_PATH: %p/lib # ./fix4mac CompileScript: << #!/bin/sh -ev darwinvers=`uname -r|cut -f1 -d.` if [ $darwinvers == 8 ]; then CPPFLAGS="-DNO_TIMEZONE ${CPPFLAGS}"; fi ./configure %c make << InstallScript: << mkdir -p %i/share/%n/tests cp src/a/apter.+ src/a/fsftest.+ %i/share/%n/tests make install prefix=%i mkdir -p %i/etc mv %i/app-defaults %i/etc mkdir -p %i/share/%n mv %i/contrib %i/lisp.0 %i/lisp.1 %i/scripts %i/share/%n mkdir -p %i/share/doc/%n mv %i/doc/* %i/share/doc/%n rmdir %i/doc mkdir -p %i/lib/X11/fonts/kapl/TrueType mv %i/fonts/X11/pcf/* %i/lib/X11/fonts/kapl mv %i/lib/X11/fonts/kapl/Kapl.alias %i/lib/X11/fonts/kapl/fonts.alias mkfontdir %i/lib/X11/fonts/kapl mv %i/fonts/TrueType/* %i/lib/X11/fonts/kapl/TrueType ttfmkfontdir %i/lib/X11/fonts/kapl/TrueType mv %i/fonts/X11/bdf %i/lib/X11/fonts/kapl rmdir %i/fonts/X11/pcf rmdir %i/fonts/X11 rmdir %i/fonts/TrueType rmdir %i/fonts << DocFiles: ANNOUNCE AUTHORS COPYING NEWS README LICENSE PostInstScript: << if [ -x %p/bin/xfontpath ]; then %p/bin/xfontpath install kapl kapl/TrueType; fi << PostRmScript: << if [ -x %p/bin/xfontpath ]; then %p/bin/xfontpath remove kapl kapl/TrueType; fi << Splitoff: << Package: %N-shlibs Depends: x11-shlibs Files: lib/lib*.0.dylib Shlibs: << %p/lib/liba.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libAplusGUI.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libcxb.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libcxc.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libcxs.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libcxsys.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libdap.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libesf.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libIPC.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libMSGUI.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libMSIPC.0.dylib 1.0.0 %n (>= 4.20-2-1001) %p/lib/libMSTypes.0.dylib 1.0.0 %n (>= 4.20-2-1001) << DocFiles: ANNOUNCE AUTHORS COPYING NEWS README LICENSE << Splitoff2: << Package: %N-dev Depends: %N (>= %v-%r), %N-shlibs (= %v-%r) BuildDependsOnly: true Conflicts: libdap3, libdap6, libdap8 Replaces: libdap3, libdap6, libdap8 Files: include lib/lib*.dylib lib/lib*.a lib/lib*.la DocFiles: ANNOUNCE AUTHORS COPYING NEWS README LICENSE << Description: APL based programming system DescDetail: << A+ is a powerful and efficient programming language. It embodies a rich set of functions and operators, a modern graphical user interface with many widgets and automatic synchronization of widgets and variables, asynchronous execution of functions associated with variables and events, dynamic loading of user compiled subroutines, and many other features. Execution is by a rather efficient interpreter. << DescUsage: << The XEmacs support works pretty well. You'll need a line like (autoload 'a "/sw/share/aplus-fsf-4.20/lisp/aplus" "Start an A+ interpreter session" t) or (load-file "/sw/share/aplus-fsf-4.20/lisp/.emacs") in your .xemacs/init.el file. The former approach is recommended by one who knows better than I citing the loading of A+ support will slow down font handling for all xemacs files. Pressing F4 will start an A+ session with the default APL font, load the A+ menus into the menu bar (i.e. load A+ support). Note that this support is NOT designed for regular emacs. When using an xterm or Terminal.app window with the A+ fonts be sure to turn off istrip (stty -istrip). I've found the font doesn't work in an xterm with tcsh or bash but does with zsh. Even with istrip off tcsh and bash seem to strip the high bit or disable the modifier keys. With zsh the modifier is APPLE/CMD and the shift sense is inverterted even using the supplied XTerm app-default. !!?! Feel free to play around with /sw/share/aplus-fsf-4.20/app-defaults/XTerm and report your results For setting up a Terminal.app window see the A+ FAQ at http://aplusdev.org/FAQ/index.html. The same observations apply with reagrd to choice of shell. << DescPort: << Most of the changes involve adapting the installation locations to fink conventions. The PatchScript addresses a problem on intel; thanks to Matthew Sachs and JF Mertens for this. The Patch fixes some "incompatible implicit declaration" warnings and adds hook for timezone symbol control. 10.4's "timezone" symbol (libSystem) is a pointer to the timezone name, not a number-of-seconds offset as on linux (and as on 10.5, via $UNIX2003 decoration), so use the alternate timegm approach. The "NoSetLDFLAGS: true" and "SetLIBRARY_PATH: %p/lib" lines are to prevent linking to fink's libdap3 instead of the supplied libdap0; thanks to JF Mertens for help with this as well. Original fink package by Brian Redman . This version doesn't compile under 10.7. << License: GPL/GFDL Homepage: http://www.aplusdev.org/