diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-05-11 00:24:45 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-05-11 00:24:45 -0700 |
commit | c8b40e87f69f5be881725388418d703116af8e5f (patch) | |
tree | 2128cde77e3131f0fdba5f18a4915256335674b9 /launchd/privileged_startx | |
parent | 50f1172349dc900da4016c243734ae50691eab6c (diff) |
Rename launchd-id-prefix to bundle-id-prefix
It's used many other places than just for launchd.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'launchd/privileged_startx')
-rw-r--r-- | launchd/privileged_startx/Makefile.am | 8 | ||||
-rw-r--r-- | launchd/privileged_startx/privileged_startx.plist.cpp | 4 | ||||
-rw-r--r-- | launchd/privileged_startx/privileged_startx_types.h | 2 | ||||
-rw-r--r-- | launchd/privileged_startx/server.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/launchd/privileged_startx/Makefile.am b/launchd/privileged_startx/Makefile.am index d0f2322..c7cf0e8 100644 --- a/launchd/privileged_startx/Makefile.am +++ b/launchd/privileged_startx/Makefile.am @@ -34,7 +34,7 @@ xinitrc_PROGRAMS = privileged_startx privstartx_SCRIPTS = 10-tmpdirs 20-font_cache AM_CPPFLAGS = -DXINITDIR=\"$(xinitrcdir)\" -DSCRIPTDIR=\"$(privstartxdir)\" -DBINDIR=\"$(bindir)\" -CPP_FILES_FLAGS = -DXINITDIR="$(xinitrcdir)" -DSCRIPTDIR="$(privstartxdir)" -DBINDIR="$(bindir)" -DLAUNCHD_ID_PREFIX="$(launchdidprefix)" +CPP_FILES_FLAGS = -DXINITDIR="$(xinitrcdir)" -DSCRIPTDIR="$(privstartxdir)" -DBINDIR="$(bindir)" -DBUNDLE_ID_PREFIX="$(bundleidprefix)" if TIGER_LAUNCHD CPP_FILES_FLAGS += -DTIGER_LAUNCHD @@ -56,10 +56,10 @@ BUILT_SOURCES = \ privileged_startxServer.h \ privileged_startx.h -$(launchdidprefix).privileged_startx.plist.cpp: privileged_startx.plist.cpp +$(bundleidprefix).privileged_startx.plist.cpp: privileged_startx.plist.cpp cp $< $@ -launchdaemons_PRE = $(launchdidprefix).privileged_startx.plist.cpp +launchdaemons_PRE = $(bundleidprefix).privileged_startx.plist.cpp launchdaemons_DATA = $(launchdaemons_PRE:plist.cpp=plist) 10-tmpdirs: 10-tmpdirs.cpp Makefile @@ -69,7 +69,7 @@ CLEANFILES = \ $(privstartx_SCRIPTS) \ $(BUILT_SOURCES) \ $(launchdaemons_DATA) \ - $(launchdidprefix).privileged_startx.plist.cpp + $(bundleidprefix).privileged_startx.plist.cpp EXTRA_DIST = \ 10-tmpdirs.cpp \ diff --git a/launchd/privileged_startx/privileged_startx.plist.cpp b/launchd/privileged_startx/privileged_startx.plist.cpp index 02e1cce..533fc32 100644 --- a/launchd/privileged_startx/privileged_startx.plist.cpp +++ b/launchd/privileged_startx/privileged_startx.plist.cpp @@ -3,7 +3,7 @@ <plist version="1.0"> <dict> <key>Label</key> - <string>LAUNCHD_ID_PREFIX.privileged_startx</string> + <string>BUNDLE_ID_PREFIX.privileged_startx</string> <key>ProgramArguments</key> <array> <string>XINITDIR/privileged_startx</string> @@ -16,7 +16,7 @@ #else <key>MachServices</key> <dict> - <key>LAUNCHD_ID_PREFIX.privileged_startx</key> + <key>BUNDLE_ID_PREFIX.privileged_startx</key> <true/> </dict> <key>TimeOut</key> diff --git a/launchd/privileged_startx/privileged_startx_types.h b/launchd/privileged_startx/privileged_startx_types.h index 8928e64..a0d3439 100644 --- a/launchd/privileged_startx/privileged_startx_types.h +++ b/launchd/privileged_startx/privileged_startx_types.h @@ -5,6 +5,6 @@ #include <config.h> #endif -#define BOOTSTRAP_NAME LAUNCHD_ID_PREFIX".privileged_startx" +#define BOOTSTRAP_NAME BUNDLE_ID_PREFIX".privileged_startx" #endif diff --git a/launchd/privileged_startx/server.c b/launchd/privileged_startx/server.c index d513ec0..ff86935 100644 --- a/launchd/privileged_startx/server.c +++ b/launchd/privileged_startx/server.c @@ -171,7 +171,7 @@ int server_main(const char *dir) { mp = launch_data_get_machport(svc); #else - mp = checkin_or_register(LAUNCHD_ID_PREFIX".privileged_startx"); + mp = checkin_or_register(BUNDLE_ID_PREFIX".privileged_startx"); #endif if (mp == MACH_PORT_NULL) { |