> On Mar 16, 2016, at 5:40 PM, Brandon Allbery <[email protected]> wrote:
> 
>> On Wed, Mar 16, 2016 at 8:36 PM, Jeremy Huddleston Sequoia 
>> <[email protected]> wrote:
>> > On Mar 16, 2016, at 3:48 PM, Brandon Allbery <[email protected]> wrote:
>> >
>> >
>> > On Wed, Mar 16, 2016 at 6:43 PM, Filhol Alain <[email protected]> wrote:
>> > I thought that, may be, there would be a static X11 library that I could 
>> > add to the bundle as I do with OpenMotif.
>> >
>> > You could package X11 client libraries, but the server can't be (requires 
>> > launchd configuration that runs as root) and if I understand the review 
>> > guidelines that would lead to it being rejected.
>> 
>> The LaunchAgent is 100% optional.
>> The LaunchDaemon can be avoided if you want to also make some changes to 
>> xinit, libxcb, and xtrans to change the path to the socket to be somewhere 
>> inside of the app container’s temp directory instead of /tmp/.X11-unix.  You 
>> will also need to create your libXfont font caches prior to shipping, and 
>> you won’t be able to use the system fonts from libXfont.
>> 
> The privileged_startx.plist part isn't needed then?

If you make code changes such that it isn’t needed, then it won’t be needed.  
The result is that the resulting server won’t be standards compliant, but that 
would be fine because it would only be used for this singular purpose.

>> The more annoying issue that I haven’t seen brought up yet is library 
>> linkage.  You’ll need to edit all of your library linkage to be 
>> @loader_path-relative (or use @rpath-relative with an @loader_path-relative 
>> -rpath) such that your app bundle can be relocated.
>> 
> There's already a dylibbundler tool that can do that after the fact, isn't 
> there?

I’m sure someone has written a script to do it.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to