On 11/18/06, Martin Costabel wrote:
> Mojca Miklavec wrote:
> > On 11/18/06, David Lowe wrote:
> >> On Nov 18, 2006, at 9:07 AM, Mojca Miklavec wrote:
> >>
> >>> However, I would now like to pack an application (gnuplot in this
> >>> example) to a "gnuplot.app", so that when one would click on it, a new
> >>> terminal window would open with gnuplot console ready to accept
> >>> plotting commands (similar as it works on Windows).
>
> You can do this with a little Applescript:
> Put the 3 lines
>
> tell application "Terminal"
>    do script "env AQUATERM_PATH=/sw/Applications/AquaTerm.app
> GNUTERM=aqua /sw/bin/gnuplotx"
> end tell
>
> into the Apple Script Editor and save as Application.

Thanks. That is really simple indeed once you know how to handle with
scripts! (I guess it's not possible to add more advanced features such
as changing icons and so on, but I have to study that in more details
anyway.)

> >>> * How should I compile the application, so that the binary will work
> >>> on a Mac (Tiger) out-of-the box: without fink (and corresponding
> >>> libraries) being istalled and on both Intel and PPC?
>
> Unfortunately, Fink is regularly victim of this kind of cannibalism
> (build libraries with Fink, copy them into an app bundle, advise people
> not to install Fink), even sometimes by Fink developers. I personally
> don't consider this a legitimate use of Fink;

This is a good point indeed. I didn't consider the fact that it might
be "illegal"/not legitimate to do that.

But if it really is not legitimate: what's the point of having mingw
available then? I succesfully built a windows application using fink,
but I can't require from a windows user to "install fink to be able to
use that application". So what makes the difference when the
application should be used under Mac OS X then? Why would one require
fink in the latter case?

But in any way: I would be really glad if gnuplot maintainer would
prepare a package supporting the latest gnuplot features, but I guess
that it might take a while; there's also currently no pangocairo
available for fink, so not all the dependencies of gnuplot are met
under fink.

> it might also conflict
> with the licences of the libraries, because you are probably not
> intending to distribute the source code of your libraries nor all the
> scripts that were used to build them.

It makes no sense to distribute sources of unmodified standard libraries.
About the scripts: "configure/make/install" is standard (but might
nevertheless require an experienced user to built the application
since there are countless problems with including standard libraries
already). If some other special scripts would be needed there's no
reasone why they wouldn't be included in CVS repository.

Mojca

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to