Martin Costabel wrote:
Benjamin Reed wrote:
On 4/26/06, Martin Costabel <[EMAIL PROTECTED]> wrote:
New upstream version 3.3.6. Appbundle links in PostInstScript
Any particular reason this isn't done with AppBundles: ?
I have never got this to work. It is still not clear to me where the
AppBundles field expects to find the app, in %b or in %d or in %i, or is
it an absolute path? I think I understood this once, decided that it was
not what I needed (but this could well have been in a different package)
and then forgot it immediately. I'll try again for qt3mac, but not
before tomorrow.
After having played with it a little more, here are some thoughts about
the "AppBundles:" field:
Right now it does 3 things:
1) Add code to the InstallScript to copy the *.app directory to
%p/Applications/
2) Add code to the PostInstScript to make a symlink in
/Applications/Fink/ (and create that directory first if it doesn't exist)
3) Add code to the PreRmScript to remove the symlink in /Applications/Fink/
I find that 2) and 3) are useful, but 1) isn't.
In the two cases I considered, qt3mac and texshop, the *.app bundles are
created during the install phase, and they are created somewhere inside
%I. They then have to be mv'ed (and not cp'ed as AppBundles tries to do)
to %i/Applications/. In a third case, scribus-aqua, the *.app is
assembled directly in %/Applications/. AppBundles in its present form
thinks the *.app is created during the compile phase, and is built
inside %b, so that cp'ing it to %i would be the right thing to do.
In the case of qt3mac, there is the additional problem that the *.app
belongs to a splitoff qt3mac-apps, to that it has to be present in
%I/Applications before the splitoff "Files:" field kicks in and tries to
move it from %I to %i. Therefore if the AppBundles field would want to
have a chance to work at all, it would have to do its part 1) in the
InstallScript of the parent, whereas its parts 2) and 3) would have to
be done in the {PostInst,PreRm}Scripts of the splitoff. I don't see how
this can be programmed.
So my proposal is to remove part 1) of the AppBundles mechanism and
leave parts 2) and 3). In part 3) it would be nice to add some code that
removes the /Applications/Fink/ directory if it is empty.
--
Martin
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel