Your answers are very interesting even if I am not sure I understand the 
discussion about the server.
Clearly I will have to improve my understanding of X11 server and libraries.

>> dylibbundler tool
This is very interesting and I will try it to see if it is able to handle a 
bundle containing many binaries.

Thank you very for your help

Alain


> On 17 mars 2016, at 02:11, Jeremy Huddleston Sequoia <[email protected]> 
> wrote:
> 
> 
>> 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.
> 

------
Dr. Alain Filhol  (Computer scientist)
Institut Laue-Langevin, EPN Campus
CS 20156, 71 ave des Martyrs
F-38042 Grenoble cedex 9
<[email protected]>, Office: ILL4-217
Tel:+33 4.76.20.71.56, Fax: +33 4.76.20.76.48






 _______________________________________________
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