|
From: Allin C. <cot...@wf...> - 2016-03-05 01:08:27
|
On Sat, 5 Mar 2016, Mojca Miklavec wrote: > On 4 March 2016 at 19:27, Allin Cottrell wrote: >> >> I thought it might be worth making a gnuplot bundle by stripping >> out all the gretl stuff and revising the metadata. >> >> You can find the result at >> http://ricardo.ecn.wfu.edu/pub/gretl/gnuplot-quartz.pkg > > Thanks a lot! > > I kept fighting a lot trying to get something like that to work > properly without success. > > I believe I now understand that it might have failed because gnuplot > didn't know what to do with -psn, but I forgot about that completely. > Thanks for demonstrating how to create an app bundle with Gnuplot. > > Weird enough the installer refuses to work on 10.7 (I didn't try to > diagnose why), but the app works just fine. > > (What about creating a dmg rather than pkg?) OK, good idea. Both Mojca and Thomas have given me evidence that the Apple Package Installer program may be more conservative than I thought, and may be blocking installation of my pkg file on Macs where it should actually run OK. So here's a DMG version: http://ricardo.ecn.wfu.edu/pub/gretl/gnuplot-quartz.dmg The drill to install is: double-click to mount the disk image, then drag from Gnuplot to Applications. This bypasses the official installer. (Again, though, it's not going to work on anything other than 10.6.6 or higher, 64-bit.) >> I don't suppose it will meet everyone's needs but here are the >> specs: >> >> * It's an x86_64 build, and will run on OS X 10.6.6 and higher. >> >> * The gnuplot code is 5.1 (cvs) as of a few weeks ago. >> >> * It's self-contained. No dependency on XQuartz. The only libraries >> it requires from the OS are ones that are a standard part of the OS >> X kit from Snow Leopard to El Capitan. >> >> * Interactive terminals: wxt and aquaterm. Both are built into the >> bundle; no need for a separate AquaTerm or wxWidgets installation. >> The included wx is the native quartz version, so no GTK. > > Nice. > >> Everything was built on Arch Linux using clang and friends. > > Do you really want to say that you cross-compiled the binaries for > OS X on Linux? Yes, indeed; clang is very nice that way, helped along by bomutils (packaging) and openssl (signing). You need to install the appropriate Apple SDK (I'm using 10.6) but that's fairly straightforward. Allin Cottrell |