Norman,
getting back the nominal subject of this thread:
On Thu, 27 Jul 2006, Norman Gray wrote:
> I've modified TOPCAT's build.xml so that the script is installed in /
> Volumes/TOPCAT\ 2.2/topcat/bin, rather than under .../TOPCAT\ 2.2/
> TOPCAT.app. The Finder displays directory Foo.app as an application
> -- that is, as an opaque thing, and not as a folder/directory, so
> that you have to take special action (control-click, or right-click,
> or something) to see inside it from the UI. Of course, from a shell
> it looks just like an ordinary directory. The Foo.app directory is
> therefore in principle opaque to the user.
>
> Does that look like the right sort of place?
The existing .dmg file is called TOPCAT-2.2.dmg and has the following
structure:
TOPCAT 2.2/
TOPCAT 2.2/TOPCAT.app
TOPCAT 2.2/topcat/
TOPCAT 2.2/topcat/bin/
TOPCAT 2.2/topcat/bin/topcat # TOPCAT startup script
TOPCAT 2.2/topcat/figures/ # documentation stuff
TOPCAT 2.2/topcat/images/ # " "
TOPCAT 2.2/topcat/javadocs/ # " "
TOPCAT 2.2/topcat/sun253/ # " "
TOPCAT 2.2/topcat/sun253.pdf # " "
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?
> 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 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.
thanks
Mark
--
Mark Taylor Astronomical Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|