Don't hardcode X11.app's path in the launchd plist.
Only install the launchd plist if we --enable-launchd.
(cherry picked from commit 6b74c535dc
)
26 lines
656 B
XML
26 lines
656 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Label</key>
|
|
<string>org.x.X11</string>
|
|
<key>Program</key>
|
|
<string>@APPLE_APPLICATIONS_DIR@/X11.app/Contents/MacOS/X11</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>@APPLE_APPLICATIONS_DIR@/X11.app/Contents/MacOS/X11</string>
|
|
<string>-launchd</string>
|
|
</array>
|
|
<key>Sockets</key>
|
|
<dict>
|
|
<key>:0</key>
|
|
<dict>
|
|
<key>SecureSocketWithKey</key>
|
|
<string>DISPLAY</string>
|
|
</dict>
|
|
</dict>
|
|
<key>ServiceIPC</key>
|
|
<true/>
|
|
</dict>
|
|
</plist>
|