From: Alban Crequy Date: Fri, 26 Sep 2014 10:26:32 +0000 (+0100) Subject: config: add examples to show how to enable/disable the Stats interface X-Git-Tag: dbus-1.9.0~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f11f6f30d663dc9837ce7378f7d1219028d38795;p=thirdparty%2Fdbus.git config: add examples to show how to enable/disable the Stats interface [install examples to ${docdir}/examples -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=80759 Reviewed-by: Simon McVittie --- diff --git a/bus/Makefile.am b/bus/Makefile.am index 25029b4f4..c0bc15496 100644 --- a/bus/Makefile.am +++ b/bus/Makefile.am @@ -31,7 +31,10 @@ EFENCE= CONFIG_IN_FILES= \ session.conf.in \ system.conf.in \ - org.freedesktop.dbus-session.plist.in + org.freedesktop.dbus-session.plist.in \ + example-system-enable-stats.conf.in \ + example-session-disable-stats.conf.in \ + $(NULL) config_DATA = session.conf @@ -39,6 +42,12 @@ if DBUS_UNIX config_DATA += system.conf endif +examplesdir = ${docdir}/examples +examples_DATA = \ + example-system-enable-stats.conf \ + example-session-disable-stats.conf \ + $(NULL) + if DBUS_ENABLE_LAUNCHD agentdir=$(LAUNCHD_AGENT_DIR) agent_DATA=org.freedesktop.dbus-session.plist diff --git a/bus/example-session-disable-stats.conf.in b/bus/example-session-disable-stats.conf.in new file mode 100644 index 000000000..2863ef0fb --- /dev/null +++ b/bus/example-session-disable-stats.conf.in @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/bus/example-system-enable-stats.conf.in b/bus/example-system-enable-stats.conf.in new file mode 100644 index 000000000..a85aa8354 --- /dev/null +++ b/bus/example-system-enable-stats.conf.in @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/configure.ac b/configure.ac index 142b59c24..cb0bda457 100644 --- a/configure.ac +++ b/configure.ac @@ -1750,6 +1750,8 @@ dbus/versioninfo.rc dbus/dbus-arch-deps.h bus/system.conf bus/session.conf +bus/example-system-enable-stats.conf +bus/example-session-disable-stats.conf bus/messagebus bus/messagebus-config bus/org.freedesktop.dbus-session.plist