Mark,
On 2006 Aug 2 , at 14.02, Mark Taylor wrote:
> I propose to change it to topcat.dmg and put this inside:
>
> topcat/
> topcat/TOPCAT.app
> topcat/bin/
> topcat/bin/stilts # TOPCAT startup script
> topcat/bin/topcat # STILTS startup script
> topcat/docs/
> topcat/docs/figures/
> topcat/docs/images/
> topcat/docs/javadocs/
> topcat/docs/sun253/
> topcat/docs/sun253.pdf
>
> I think the directory structure is a bit more logical.
> You can argue about whether the version number should be in there,
> but it's not the way I distribute topcat installations in other
> formats, so I'd rather have it consistent.
>
> Can you tell me if I am offending against the letter or spirit of OSX
> in doing any of this?
No -- that looks fine. The structure of the TOPCAT.app directory is
mandated, but there seems to be no firm convention about what goes
along with it in the .dmg.
>> It's also common to have a brief README.rtf in such a distribution,
>> saying something like ``To install, drag the TOPCAT.app to your /
>> Applications folder. There is documentation in topcat/sun253/
>> index.html, and a command-line launch script in topcat/bin''. I can
>> easily add such a file if you want.
>
> Yes please. My RTF is, ahem, rusty, but if you can add something
> that looks about right I can tweak it if necessary.
I've added src/lib/MacOS/README.rtfd (another magic directory
extension, which appears as an RTF file with a graphic inside it).
> I see also this comment in the build file:
>
> <!-- The first Intel Macs will appear in February/March 2006; at
> ! that point it will become necessary to add ix86/osx
> ! libraries to the bundle, and possible to test it. -->
>
> I'm not planning to do anything about that just now, but if anyone
> cares to comment on when/whether it's likely to be possible to do
> that,
> go ahead.
I could probably do the cross-compilation, but couldn't test it as I
don't have an Intel Mac. Brad has, though....
According to <http://developer.apple.com/qa/qa2005/qa1295.html> this
will be necessary if JNI apps are to run on Intel machines. Rosetta
-- the emulator that allows PPC code to run on Intel machines --
doesn't help here, because the JNI library would be running inside
the JVM which, being an Intel app, isn't started under Rosetta.
See you,
Norman
--
------------------------------------------------------------------------
----
Norman Gray / http://nxg.me.uk
eurovotech.org / University of Leicester, UK
|