summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-08 06:13:30 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-08 06:13:30 +0800
commit1228999a72e4469b8e6b168357df76cc68ce3447 (patch)
treee3607fc11c784985a36e3d125f0d57b54e3360b8
parente9a6aac907be512d83fb6ce7474220f0ddff8808 (diff)
downloadmarcuscom-ports-1228999a72e4469b8e6b168357df76cc68ce3447.tar
marcuscom-ports-1228999a72e4469b8e6b168357df76cc68ce3447.tar.gz
marcuscom-ports-1228999a72e4469b8e6b168357df76cc68ce3447.tar.bz2
marcuscom-ports-1228999a72e4469b8e6b168357df76cc68ce3447.tar.lz
marcuscom-ports-1228999a72e4469b8e6b168357df76cc68ce3447.tar.xz
marcuscom-ports-1228999a72e4469b8e6b168357df76cc68ce3447.tar.zst
marcuscom-ports-1228999a72e4469b8e6b168357df76cc68ce3447.zip
Fix build when dbus is not running.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7634 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--devel/dbus-glib/Makefile3
-rw-r--r--devel/dbus-glib/files/dbus-bus-introspect.xml77
2 files changed, 80 insertions, 0 deletions
diff --git a/devel/dbus-glib/Makefile b/devel/dbus-glib/Makefile
index bcd1de0e3..3faa0a3d8 100644
--- a/devel/dbus-glib/Makefile
+++ b/devel/dbus-glib/Makefile
@@ -29,4 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PLIST_SUB= VERSION="1.0"
+pre-build:
+ @${CP} ${FILESDIR}/dbus-bus-introspect.xml ${WRKSRC}/tools
+
.include <bsd.port.mk>
diff --git a/devel/dbus-glib/files/dbus-bus-introspect.xml b/devel/dbus-glib/files/dbus-bus-introspect.xml
new file mode 100644
index 000000000..889d1cfaf
--- /dev/null
+++ b/devel/dbus-glib/files/dbus-bus-introspect.xml
@@ -0,0 +1,77 @@
+ <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.freedesktop.DBus.Introspectable">
+ <method name="Introspect">
+ <arg name="data" direction="out" type="s"/>
+ </method>
+ </interface>
+ <interface name="org.freedesktop.DBus">
+ <method name="RequestName">
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="u"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="ReleaseName">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="StartServiceByName">
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="u"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="Hello">
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="NameHasOwner">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="b"/>
+ </method>
+ <method name="ListNames">
+ <arg direction="out" type="as"/>
+ </method>
+ <method name="ListActivatableNames">
+ <arg direction="out" type="as"/>
+ </method>
+ <method name="AddMatch">
+ <arg direction="in" type="s"/>
+ </method>
+ <method name="RemoveMatch">
+ <arg direction="in" type="s"/>
+ </method>
+ <method name="GetNameOwner">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="ListQueuedOwners">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="as"/>
+ </method>
+ <method name="GetConnectionUnixUser">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="GetConnectionUnixProcessID">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="GetConnectionSELinuxSecurityContext">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="ay"/>
+ </method>
+ <method name="ReloadConfig">
+ </method>
+ <signal name="NameOwnerChanged">
+ <arg type="s"/>
+ <arg type="s"/>
+ <arg type="s"/>
+ </signal>
+ <signal name="NameLost">
+ <arg type="s"/>
+ </signal>
+ <signal name="NameAcquired">
+ <arg type="s"/>
+ </signal>
+ </interface>
+</node>