Re: Package Installation: Non-Standard X11 Path
Re: Package Installation: Non-Standard X11 Path
- Subject: Re: Package Installation: Non-Standard X11 Path
- From: "Nathaniel Gray" <email@hidden>
- Date: Tue, 4 Dec 2007 14:48:33 -0800
On Dec 4, 2007 12:09 PM, Jeremy Huddleston <email@hidden> wrote:
>
> On Dec 4, 2007, at 08:15, J K wrote:
>
> > Hey all,
> >
> > A huge thanks to the people (Jeremy, Nate, Ben, everyone) who made
> > that package installer possible. In my global Leopard growing pains
> > and frustrations, I am very grateful for the amount of support this
> > has. Oh, open source.
> >
> > I had one question regarding that package installer. I generally move
> > my X11 out of the dark corner of 'Utilities' into /Applications/, and
> > I was wondering if the installer was "smart" enough to realize this.
>
> No, it's not smart. You'll have the updated one in Utilities.
>
> Furthermore, you may have seen a post I made about combining the two
> X11.apps. In the next package it *might* expect X to be in /A/U/
> X11.app ... I say might because that is just my first step in cleaning
> this stuff up. If there is any consequence to moving the .app, I'll
> put it in bold in the release notes.
You should *never* hardwire the path to an app bundle! You can always
find the path at runtime using CFBundle or NSBundle functions.
There's no way (I think) to get the installer to do the right thing,
but that doesn't mean it's OK to let the app do the wrong thing.
Cheers,
-n8
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden