diff options
author | Mike Gorse <mgorse@novell.com> | 2010-08-24 11:17:24 -0400 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2010-08-24 11:17:24 -0400 |
commit | ea56de2c6508b6a3ed4f16c22be74b37b4fc2cba (patch) | |
tree | 1297846c1117f4ced3166697e002be4bfa0785e9 | |
parent | 5fcc08c2f012cef1aca98b938c5899dae114a2cc (diff) | |
download | at-spi2-core-ea56de2c6508b6a3ed4f16c22be74b37b4fc2cba.tar.gz |
Remove references to dbus-daemon-launch-helper
Essentially revert the last commit, and remove the reference altogether, as
it is meant for the system bus and may cause applications to fail to start when
run by a user without the required permissions.
-rw-r--r-- | bus/accessibility.conf (renamed from bus/accessibility.conf.in) | 4 | ||||
-rw-r--r-- | configure.ac | 22 |
2 files changed, 1 insertions, 25 deletions
diff --git a/bus/accessibility.conf.in b/bus/accessibility.conf index 5e3988a7..d0128a00 100644 --- a/bus/accessibility.conf.in +++ b/bus/accessibility.conf @@ -5,9 +5,7 @@ <fork/> - <standard_system_servicedirs/> - - <servicehelper>@DBUS_DAEMON_LAUNCH_HELPER@</servicehelper> + <standard_session_servicedirs/> <auth>EXTERNAL</auth> diff --git a/configure.ac b/configure.ac index b9e8bf4e..b935b084 100644 --- a/configure.ac +++ b/configure.ac @@ -150,27 +150,6 @@ if test "$DBUS_DAEMON" = "XXXDBUSDAEMONNOTFOUND"; then fi AC_SUBST(DBUS_DAEMON) -AC_ARG_WITH([dbus_daemon_launch_helperdir], - [AS_HELP_STRING([--with-dbus-daemon-launch-helperdir=<directory>], - [Directory where dbus-daemon-launch-helper is installed])], - [DBUS_DAEMON_LAUNCH_HELPER="$with_dbus_daemon_launch_helperdir/dbus-daemon-launch-helper"] - ) -dnl Can't use AC_PATH_PROG since it will fail if we don't have read access -if test "x$DBUS_DAEMON_LAUNCH_HELPER" == "x"; then - if test "-f /lib/dbus-1/dbus-daemon-launch-helper"; then - DBUS_DAEMON_LAUNCH_HELPER=/lib/dbus-1/dbus-daemon-launch-helper - elif test "-f /lib/dbus-1.0/dbus-daemon-launch-helper"; then - DBUS_DAEMON_LAUNCH_HELPER=/lib/dbus-1.0/dbus-daemon-launch-helper - elif test "-f $libexecdir/dbus-daemon-launch-helper"; then - DBUS_DAEMON_LAUNCH_HELPER=$libexecdir/dbus-daemon-launch-helper - else - DBUS_DAEMON_LAUNCH_HELPER="$libexecdir/dbus-daemon-launch-helper" - AC_MSG_WARN([at-spi2 relies on dbus, and dbus-daemon-launch-helper was not found]) - AC_MSG_WARN([we assume that it will be installed in "$libexecdir"]) - fi -fi -AC_SUBST(DBUS_DAEMON_LAUNCH_HELPER) - AC_ARG_WITH(dbus-services, [AS_HELP_STRING([--with-dbus-services=<directory>], [where D-BUS services directory is])]) @@ -196,7 +175,6 @@ AM_CONDITIONAL(RELOCATE, test x$enable_relocate = xyes) AC_CONFIG_FILES([Makefile xml/Makefile registryd/Makefile - bus/accessibility.conf bus/Makefile]) AC_OUTPUT |