Benjamin Reed wrote:
[]
I really don't think we should have packages install their stuff directly in /sw/Applications in their install phase; instead I think we

I'm not sure if I understand you here. The finkcommander package builds in /sw/src/finkcommander-0.5.1-2/FinkCommander and installs into /sw/src/root-finkcommander-0.5.1-2/sw/Applications/ like any other package would do.
[]
By the way, if you make a symlink, the icon still shows up and such (that's how I tested my patch, actually).

OK, I see this now, too. Must be new in Panther. The finder treats symlinks like aliases, even calls them "alias" in "Get Info".


As for making an alias to the desktop, it doesn't look like you're scanning /Users -- this really doesn't work on a system with multiple users. I also don't think we should do this *except* in the case specifically of Fink Commander (if at all). It can grow without bounds as more apps get packaged.

It is similar to what you do when you install apps that come packaged in dmgs: You get something dumped on your desktop and then you are supposed to copy it to /Applications or wherever else you want. You can also drop it into the Dock. Of course you don't leave all this stuff on your desktop.


There's also this issue: what happens when I, as a user, see the alias and go, "oh, I'll move that to my Applications folder, I don't plan on using it every day". Then when finkcommander 0.7.0 comes out it will make another alias. That would get really annoying very quick. Also,

It is what you have with other applications, too. If you update GraphicConverter or Mozilla or whatever, you can easily end up with both versions installed. If the packaging hasn't changed, then you usually overwrite the old version with the new one when you drag the icon of the new version to the /Applications folder.


the packages are built and installed as root, does the alias end up getting owned by root, and can't be moved except by administrators?

There are some things I don't understand about this alias anyway:
It is easy to create using the mkalias command from the osxutils package, but it doesn't seem to get removed by the PreRmScript. Maybe I don't understand with what environment and uid the PreRmScript is executed (if ever).


OTOH, the alias has permissions

-rw-r--r-- 1 root staff 0 1 Feb 18:19 FinkCommander Alias

which would imply that I (non-root) don't have the permission to remove it. But using the Finder, I can move it where I want, including into the Trash, and empty the Trash without questions asked. Weird.

--
Martin








------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to