d8275e6bcf
Restructure the dbus packages: Add libdbus which only contains the shared objects. Move some required tools from dbus-tools to dbus. Add dbus-x Makefile which provides dbus-launch-x which is a version of dbus-launcher with builtin x support which is required by some applications. A simple wrapper script is used to run dbus-launch-x instead of dbus-launch without x support if dbus-launch-x is installed. git-svn-id: svn://svn.openwrt.org/openwrt/packages@14804 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
388 B
Bash
13 lines
388 B
Bash
#!/bin/sh
|
|
#
|
|
# Simple wrapper script which allows us to build dbus without general x support
|
|
# If an application needs x support in dbus-launch it has to depend on the
|
|
# dbus-launch-x package. The script is used to prefer dbus-launch with x over
|
|
# the dbus-lauch without x.
|
|
|
|
if [ -f /usr/bin/dbus-launch-x ]; then
|
|
exec /usr/bin/dbus-launch-x $@
|
|
else
|
|
exec /usr/bin/dbus-launch.real $@
|
|
fi
|