Re: Publishing X11 based applications
Re: Publishing X11 based applications
- Subject: Re: Publishing X11 based applications
- From: Jeremy Huddleston Sequoia <email@hidden>
- Date: Wed, 16 Mar 2016 18:11:52 -0700
> On Mar 16, 2016, at 5:40 PM, Brandon Allbery <email@hidden> wrote:
>
>> On Wed, Mar 16, 2016 at 8:36 PM, Jeremy Huddleston Sequoia <email@hidden> wrote:
>> > On Mar 16, 2016, at 3:48 PM, Brandon Allbery <email@hidden> wrote:
>> >
>> >
>> > On Wed, Mar 16, 2016 at 6:43 PM, Filhol Alain <email@hidden> 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@hidden)
This email sent to email@hidden