Re: X11-2.1.1.pkg oddity with fink builds
Re: X11-2.1.1.pkg oddity with fink builds
- Subject: Re: X11-2.1.1.pkg oddity with fink builds
- From: Jeremy Huddleston <email@hidden>
- Date: Sat, 22 Dec 2007 11:12:40 -0800
Uhm, wtf are you talking about? I was having Xquartz move to the
foreground too early in the startup, so it was appearing on the dock
when it shouldn't've. Now it does that transition after checking for -
version.
What do you mean by "using a hack to support an unsupported hack"?
1) The in-bundle application (X11.app/Contents/MacOS/X11) is never
executed unless someone actually runs X11.app through launch
services. (This is a bit of a fib for 2.1.1, but it is true for
2.1.0.1 and the current git which will be 2.1.2).
2) There are no resource forks.
Yes, we do a bit of a hack in xinit.c to get Xquartz its menus and
localization when it is started by xinit:
http://gitweb.freedesktop.org/?p=xorg/app/xinit.git;a=blobdiff;h=61cd3784687bac7df6aee85cb564b793ae90ffeb;hp=be06ad1d493f9e311a897f721833a8ccb5ee70d9;hb=cced740b1e1c8220701e59cec1be04498f851296;f=xinit.c
I don't like that hack one bit, but setting argv[0] when we exec'd was
what was being done before, so I kept it that way, since I am not too
familiar with Cocoa, Carbon,or all this OS-X stuff. I'm a unix guy,
and when I find the proper solution to do this inside Xquartz, I
will! In the mean time, if you do have the expertise to fix this up
in a non-hack way, I welcome your patches. Please join xquartz-dev
and offer your suggestions.
--Jeremy
On Dec 21, 2007, at 21:06, John Davidorff Pell wrote:
The problem isn't the behaviour that the Dock icon appears and
disappears. The problem is using a hack to support an unsupported
hack (that is, manually registering with the window server in order
to allow people to execute an in-bundle application directly,
without going through launch services, and making that actually work
by throwing in a resource fork!). (There are at least three things
there that are not good ideas.)
$0.02
JP
On 15 Dec 2007, at 20:26, Jeremy Huddleston wrote:
I can change Xquartz to not claim a dock icon when -version is run...
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden