Info2: << Package: wxmaxima%type_pkg[-ui]%type_pkg[-standalone] Type: -ui (-mac -gtk), -standalone (boolean) Version: 16.04.2 Revision: 1 Description: Interface to Maxima using wxWidgets DescDetail: << wxMaxima is a cross platform GUI for the computer algebra system maxima based on wxWidgets. wxMaxima features include: * 2D formatted math display: wxMaxima implements its own math display engine to nicely display maxima output. * Menu system: most maxima commands are available through menus. Most used functions are also available through a button panel at below the input line. * Dialogs: commands which require more that one argument can be entered through dialogs so that there is no need to remember the exact syntax. * Command line history: the input line has command history and command completion based on previous input. * Create documents: text can be mixed with math calculations to create documents. See the howto (http://wxmaxima.sourceforge.net/wiki/index.php/Howto) for tips on how to use these features. Documents can be saved and edited again later. << DescUsage: << You can either use the app bundle in %p/Applications, which is symlinked in /Applications/Fink, or the "wxmaxima" command-line script. If you get a "Cannot connect to server" message on startup, quit and restart wxMaxima. If that doesn't work, try running "maxima" or "rmaxima" from the command-line, to see if you're getting an error message. Install '%{Ni}%type_pkg[-ui]-standalone' if you don't want to install Fink's maxima and/or gnuplot. << Maintainer: Alexander Hansen Homepage: http://andrejv.github.com/wxmaxima/ Source: mirror:sourceforge:%{ni}/%{ni}-%v.tar.gz Source-Checksum: SHA256(761c2a5630a6d81fa84bc9eba431112910dce818c4dd77338e3a0691c2fcf8ba) PatchFile: %{ni}.patch PatchFile-MD5: 6f4811658ea685f8805574d7e1c44cc2 PatchScript: << #!/bin/sh -ev # Generate Fink-specific executable wrapper sed -e 's,PREFIX,%p,' %{PatchFile} | patch -p1 # Change the bundle executable in Info.plist to point at wxmaxima.fink wrapper script perl -pi -e 's/wxmaxima/wxmaxima.fink/' data/Info.plist.in # patch out hardcoded default app locations for the !-standalone variants if [ "x%type_pkg[-standalone]" = "x" ] ; then perl -pi.bak -e 's,/Applications/Maxima\.app,%p/bin/maxima,' src/wxMaxima.cpp perl -pi.bak -e 's,/Applications/Gnuplot.app,%p/bin/gnuplot,' src/wxMaxima.cpp fi << Recommends: << (%type_raw[-standalone] = -standalone) maxima (>= 5.26.0-1), (%type_pkg[-ui] = -mac) xmaxima (>= 5.30.0-1), (%type_pkg[-ui] = -gtk) xmaxima-x11 (>= 5.30.0-1) << Depends: << libxml2-shlibs, libiconv, (%type_pkg[-ui] = -mac) wxwidgets300-osxcocoa-shlibs, (%type_pkg[-ui] = -gtk) wxwidgets300-gtk2-shlibs, (%type_pkg[-ui] = -gtk) gtk+2-shlibs, (%type_pkg[-ui] = -gtk) glib2-shlibs << BuildDepends: << libxml2, libiconv-dev, (%type_pkg[-ui] = -mac) wxwidgets300-osxcocoa, (%type_pkg[-ui] = -mac) clang (>= 3.0), (%type_pkg[-ui] = -gtk) wxwidgets300-gtk2, (%type_pkg[-ui] = -gtk) gtk+2-dev, (%type_pkg[-ui] = -gtk) glib2-dev, fink-package-precedence, fink (>=0.32.0) << RuntimeDepends: << (%type_pkg[-ui] = -gtk) default-icon-theme, (%type_raw[-standalone] = .) maxima (>=5.30.0-1), (%type_raw[-standalone] = .) xmaxima (>=5.30.0-1) | (%type_raw[-standalone] = .) xmaxima-x11 (>=5.30.0-1), (%type_raw[-standalone] = .) gnuplot-cairo << Conflicts: wxmaxima-mac, wxmaxima-gtk, wxmaxima-mac-standalone, wxmaxima-gtk-standalone Replaces: wxmaxima-mac, wxmaxima-gtk, wxmaxima-mac-standalone, wxmaxima-gtk-standalone Provides: wxmaxima GCC: 4.0 ConfigureParams: << --with-wx-config=%p/bin/wx-config --enable-printing << CompileScript: << #!/bin/sh -ev ./configure %c make wxMaxima.app fink-package-precedence . cp wxmaxima.fink wxMaxima.app/Contents/MacOS/wxmaxima.fink chmod a+x wxMaxima.app/Contents/MacOS/wxmaxima.fink << InstallScript:<< #!/bin/sh -ev %{default_script} rm %i/bin/wxmaxima || echo "No %p/bin/wxmaxima" cp wxmaximabin %i/bin/wxmaxima chmod a+x %i/bin/wxmaxima << AppBundles: wxMaxima.app DocFiles: AUTHORS COPYING ChangeLog NEWS README InfoDocs: %{Ni}.info DescPackaging:<< Patch file installs a "wxmaxima.fink" wrapper script in the .app bundle to insure that Fink's environment is used. Patch the Info.plist in app bundle to run wxmaxima.fink rather than wxmaxima. If 'wmaxima' is a wrapper rather than the real executable name, this causes problems with loading images for the GUI. Remove the %p/bin/wxmaxima application that upstream builds and replace it by a script using "open -a %p/Applications/wxMaxima.app." For the -gtk variant, the wx plotting routine needs a gnuplot built with the pngcairo terminal for inline plots. This is any gnuplot other than -minimal, and these are now denoted as gnuplot-cairo. Note that the -mac variant technically can use gnuplot-minimal, but that would involve splitting up the base and -standalone packages, and that's probably not worth the trouble. If you don't like it, make up a local package. << License: GPL2 <<