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.

[]
>>> * 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; 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.

-- 
Martin




-------------------------------------------------------------------------
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