Re: changes to droplet created with Platypus
Re: changes to droplet created with Platypus
- Subject: Re: changes to droplet created with Platypus
- From: Ben Byer <email@hidden>
- Date: Mon, 05 Nov 2007 21:27:28 -0800
On Nov 5, 2007, at 11:52 AM, Bill Janssen wrote:
I think X11.app must be more than just a call for xterm.
Well, the X11.app in /Applications/Utilities is 100% equivalent to
typing "login -fp $USERNAME xterm". You can look at the source if
you
don't believe me.
Love to! Where is it?
http://www.opensource.apple.com/darwinsource/10.5/X11server-46/xorg-server-X11R7.2-1.2.0/hw/darwin/launcher/bundle-main.c
or
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=tree;hb=xorg-server-1.2-apple;f=hw/darwin/launcher
/usr/X11/X11.app is more complex...
Ah! What does it do? Is the source for that available?
http://www.opensource.apple.com/darwinsource/10.5/X11server-46/xorg-server-X11R7.2-1.2.0/hw/darwin/apple/
or
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=tree;f=hw/darwin/apple
I think the sources for /usr/X11/X11.app are in the "git" repository,
in xserver/hw/darwin/apple/. I'm trying to figure out what goes on
there. That's apparently where the Xquartz man page disappeared to,
for some reason.
If you notice bits missing like that, please file a bug report at
bugreport.apple.com, so that we can track it.
And, of course, it's much too fancy to use something
as common as "make"; it's got an XCode obfuscated put-it-together
script.
Only six source files (one for the launcher, five for the main
X11.app) out of 7,721 source files that make up X11 are built with
xcodebuild, and that's because it automates a lot of the tedium
involved in building .app bundles.
Besides, those two bits are fairly boring -- most of the code (and
most of the bugs) lies in Xquartz.
The key file is bundle-main.c. I see that, for instance, the server
doesn't die when the .xinitrc file finishes, unless you do
$ sudo defaults write com.apple.x11 xinit_kills_server -boolean true
It looks pretty straightforward. But I wish they'd add the quartz-wm
source to it.
Me too. It's beyond my control, but I'd encourage you to file a bug
about that, too, and I can make sure it gets routed to the right people.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden