Opened 19 years ago

Closed 17 years ago

Last modified 15 years ago

#8798 closed enhancement (wontfix)

RFE: isolating darwinports's aqua utils from the rest of the system

Reported by: erickt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version:
Keywords: base aqua isolate ports Cc: boeyms@…
Port:

Description

Currently all of the aqua applications get installed into the system location of /Applications/DarwinPorts, and the Libraries into a location under /Libraries. However, this prevents multiple users from maintaining their own individual branches on the same machine / over a shared filesystem. I'm proposing that we make a policy of making all the mac osx specific stuff install under darwinport's prefix. To get backwards compatibility, the binary install could make a symlink from /Applications/DarwinPorts to ${prefix}/Applications.

This has many advantages. First off, it makes it much simpler to do a complete wipe of darwinports. Second, while most machines have /Applications world-writable, some workspaces have it set up that only users with special permissions can write to /Applications. This puts a damper on what's possible.

For instance, instead of vim installing into /Applications/DarwinPorts/Vim/Vim.app, it installs into ${prefix}/Applications/Vim.app.

Python at the moment uses this configuration, and I'm considering pushing out a version of vim 7.0 with this usage. Does anyone have any opinions about this?

Change History (10)

comment:1 Changed 19 years ago by erickt@…

By my counts, these 119 portfiles access /Applications/DarwinPorts, and would need to be changed if this policy was implemented:

./aqua/Affiche/Portfile ./aqua/AppKiDo/Portfile ./aqua/AquaLess/Portfile ./aqua/ArpSpyX/Portfile ./aqua/AssignmentTrackerX/Portfile ./aqua/BigSQL/Portfile ./aqua/BiggerSQL/Portfile ./aqua/Books/Portfile ./aqua/BwanaDik/Portfile ./aqua/Cenon/Portfile ./aqua/Chmox/Portfile ./aqua/CocoaDialog/Portfile ./aqua/CosmicDebris/Portfile ./aqua/DesktopManager/Portfile ./aqua/FFView/Portfile ./aqua/Fire/Portfile ./aqua/Freecell/Portfile ./aqua/Growl/Portfile ./aqua/HandBrake/Portfile ./aqua/IcyJuice/Portfile ./aqua/JHymn/Portfile ./aqua/LyX/Portfile ./aqua/MacBiff/Portfile ./aqua/ManOpen/Portfile ./aqua/MorsX/Portfile ./aqua/MultiTerm/Portfile ./aqua/NmapFE/Portfile ./aqua/NotificationWatcher/Portfile ./aqua/OSXPal/Portfile ./aqua/Platypus/Portfile ./aqua/RadioRecorder/Portfile ./aqua/Rname/Portfile ./aqua/SMBManager/Portfile ./aqua/SleepTight/Portfile ./aqua/Smultron/Portfile ./aqua/TeXShop/Portfile ./aqua/TrailBlazer/Portfile ./aqua/X-MasTree/Portfile ./aqua/ZopeEditManager/Portfile ./aqua/a52decX/Portfile ./aqua/adium/Portfile ./aqua/aquaterm/Portfile ./aqua/binclocken/Portfile ./aqua/cyberduck/Portfile ./aqua/dnsupdate/Portfile ./aqua/fugu/Portfile ./aqua/huevos/Portfile ./aqua/iTerm/Portfile ./aqua/iconverter/Portfile ./aqua/ihook/Portfile ./aqua/istumbler/Portfile ./aqua/macirssi/Portfile ./aqua/macsword/Portfile ./aqua/mkconsole/Portfile ./aqua/mpeg2decX/Portfile ./aqua/osx2x/Portfile ./aqua/osxvnc/Portfile ./aqua/pgAdmin3/Portfile ./aqua/pixen/Portfile ./aqua/qt3-mac/Portfile ./aqua/radassist/Portfile ./aqua/shiira/Portfile ./aqua/sloth/Portfile ./aqua/tgzdrop/Portfile ./aqua/vimdrop/Portfile ./aqua/wtf-x/Portfile ./aqua/xrg/Portfile ./audio/csound/Portfile ./audio/hymn/Portfile ./devel/curlhandle/Portfile ./devel/shikenjo/Portfile ./editors/emacs-devel/Portfile ./editors/vim/Portfile ./editors/xemacs/Portfile ./emulators/bochs/Portfile ./emulators/minivmac/Portfile ./emulators/scummvm/Portfile ./games/2Pong/Portfile ./games/54321/Portfile ./games/CrimsonFields/Portfile ./games/Gomoku/Portfile ./games/Gridlock/Portfile ./games/SDLInvaders/Portfile ./games/alienblaster/Portfile ./games/atanks/Portfile ./games/blobwars/Portfile ./games/bomberclone/Portfile ./games/chromium/Portfile ./games/criticalmass/Portfile ./games/defendguin/Portfile ./games/digger/Portfile ./games/freedroidclassic/Portfile ./games/glob2/Portfile ./games/lbreakout2/Portfile ./games/lmarbles/Portfile ./games/ltris/Portfile ./games/neverball/Portfile ./games/openmortal/Portfile ./games/rocksndiamonds/Portfile ./games/ship84/Portfile ./games/starfighter/Portfile ./games/supertux/Portfile ./games/wesnoth/Portfile ./graphics/PRICE/Portfile ./graphics/blender/Portfile ./graphics/electric/Portfile ./java/unicodeconverter-java/Portfile ./mail/GNUMail/Portfile ./math/k3dsurf/Portfile ./net/amsn/Portfile ./net/psi/Portfile ./net/transmission/Portfile ./net/unison/Portfile ./net/wap11gui/Portfile ./news/PlopFolio/Portfile ./textproc/doxygen/Portfile ./textproc/gpsbabel/Portfile ./x11/fltk/Portfile ./x11/xorg/Portfile

These 55 ports potentially install into /Library, though I'm not positive:

./aqua/Cenon/Portfile ./aqua/GPGAppKit/Portfile ./aqua/Growl/Portfile ./aqua/MenuMeters/Portfile ./aqua/SharedMenusCocoa/Portfile ./aqua/SleepTight/Portfile ./aqua/aquaterm/Portfile ./aqua/dnsupdate/Portfile ./aqua/macsword/Portfile ./audio/ID3/Portfile ./audio/libsdl_mixer-framework/Portfile ./audio/libsdl_sound-framework/Portfile ./databases/postgresql/Portfile ./devel/agprocess/Portfile ./devel/agregex/Portfile ./devel/agsocket/Portfile ./devel/curlhandle/Portfile ./devel/cvsweb/Portfile ./devel/gpgme-objc/Portfile ./devel/libpub/Portfile ./devel/libsdl-framework/Portfile ./devel/libsdl_gfx-framework/Portfile ./devel/libsdl_image-framework/Portfile ./devel/libsdl_net-framework/Portfile ./devel/libsdl_ttf-framework/Portfile ./devel/macstl/Portfile ./devel/senfoundation/Portfile ./devel/sentestingkit/Portfile ./devel/subversion-javahlbindings/Portfile ./devel/viewcvs/Portfile ./gnome/gdm/Portfile ./graphics/Coin/Portfile ./graphics/Renaissance/Portfile ./graphics/blender/Portfile ./graphics/twain-sane/Portfile ./lang/mzscheme/Portfile ./lang/python24/Portfile ./mail/pantomime/Portfile ./mail/pflogsumm/Portfile ./mail/vm-pop3d/Portfile ./net/nagios/Portfile ./net/nedi/Portfile ./net/netclasses/Portfile ./net/zabbix/Portfile ./print/ghostscript/Portfile ./python/py-scientific/Portfile ./sysutils/DarwinPortsStartup/Portfile ./sysutils/rpm/Portfile ./sysutils/smartmontools/Portfile ./textproc/sand/Portfile ./www/htdig/Portfile ./www/libwww/Portfile ./www/mod_python/Portfile ./x11/gecko-sharp/Portfile ./x11/wm-extra/Portfile

comment:2 Changed 18 years ago by rhwood@…

Aqua applications need to be installed in /Library and /Applications since the Mac OS X AppKit is aware only of applications in those locations. See http://developer.apple.com/documentation/Cocoa/Conceptual/SysServices/Concepts/menu.html for the most visible reason why. (I worked on another project that constantly was having to inform users that the application we provided would only work from /Applications or from /Users/<current user>/Applications). Any Aqua application that is designed to integrate with other applications needs to be within the /Applications directory.

Perhaps a better policy would be that port should install in /Users/<current user>/Applications/DarwinPorts or /Applications/DarwinPorts depending on if prefix is unser /Users/<current user> or not.

comment:3 Changed 18 years ago by markd@…

Type: defectenhancement

comment:4 Changed 18 years ago by markd@…

Summary: isolating darwinports's aqua utils from the rest of the systemRFE: isolating darwinports's aqua utils from the rest of the system

comment:5 Changed 17 years ago by boeyms@…

Cc: boeyms@… added
Keywords: base aqua isolate ports added
Milestone: Feature Requests

comment:6 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Feature RequestsMacPorts base enhancements

Milestone Feature Requests deleted

comment:7 Changed 17 years ago by nox@…

Priority: ExpectedHigh
Version: 1.2

comment:8 Changed 17 years ago by nox@…

Priority: HighNormal

comment:9 Changed 17 years ago by nox@…

Resolution: wontfix
Status: newclosed

they must be installed in /Applications because of AppKit limitations. See rhwood comment.

comment:10 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.