X11 in Macports
Joshua Root
jmr at macports.org
Mon Nov 24 01:23:16 PST 2008
nox wrote:
>
> Le 23 nov. 08 à 21:45, Jeremy Huddleston a écrit :
>
>>
>> On Nov 23, 2008, at 11:23, Joshua Root wrote:
>>
>>> Anders F Björklund wrote:
>>>> Jeremy Huddleston wrote:
>>>>
>>>>>> Something like how .app bundles don't work fully outside an
>>>>>> /Applications location or so.
>>>>>
>>>>> Uhm... .app bundles should work outside /Applications
>>>>
>>>> Sure, but there was something about Services or other features that
>>>> works from /Applications/MacPorts but not from ${prefix}/Applications ?
>>>
>>> The app doesn't automatically get registered with LaunchServices, so the
>>> file type associations and whatnot aren't set up.
>>
>> Was this maybe a bug in Tiger? I have the exact opposite problem? I
>> can't figure out how to make LaunchServices NOT register a .app that
>> is in my development space or DISTROOT... I can't tell you how many
>> times I've had a problem because LaunchServices preferred
>> /Users/jeremy/src/freedesktop/pkg/X11/Applications/Utilities/X11.app
>> over /Applications/Utilities/X11.app
>
> $HOME is a different thing, LaunchServices discover applications in this
> directory.
> Not in ${prefix}.
~/Applications is automatically searched, but not the rest of the home
dir. Apps do still get registered when you launch them or open the
enclosing folder in Finder.
<http://developer.apple.com/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCConcepts/chapter_2_section_5.html#//apple_ref/doc/uid/TP30000999-CH202-BABEJFCD>
- Josh
More information about the macports-dev
mailing list