> 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 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. > -- > brandon s allbery kf8nh sine nomine associates > [email protected] [email protected] > unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net > _______________________________________________ > 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/jeremyhu%40freedesktop.org > > This email sent to [email protected] _______________________________________________ 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]
