summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-01-15 16:18:27 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-01-15 16:18:27 +0000
commit5853f0728abf10827245b5bdb496f2c960a4ef36 (patch)
treee2545629e2923c593272abefc805ff10c04eb41c /data
parent29c7fb4da417adebc65b7a0a44ee49a0bfdd2797 (diff)
Created data/
* moved relevand data files into data/
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am45
-rw-r--r--data/TelepathyLogger.client12
-rw-r--r--data/org.freedesktop.Telepathy.Client.TelepathyLogger.service.in3
-rw-r--r--data/org.freedesktop.Telepathy.TelepathyLoggerService.service.in3
-rw-r--r--data/telepathy-logger.schemas32
5 files changed, 95 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..d6c39ac
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,45 @@
+schemasdir = $(GCONF_SCHEMA_FILE_DIR)
+schemas_in_files =
+schemas_DATA = \
+ $(schemas_in_files:.schemas.in=.schemas) \
+ telepathy-logger.schemas
+@INTLTOOL_SCHEMAS_RULE@
+
+servicefiledir = $(datadir)/dbus-1/services
+servicefile_in_files = \
+ org.freedesktop.Telepathy.Client.TelepathyLogger.service.in \
+ org.freedesktop.Telepathy.TelepathyLoggerService.service.in
+servicefile_DATA = $(servicefile_in_files:.service.in=.service)
+%.service: %.service.in
+ $(QUIET_GEN)sed -e "s|%bindir%|$(bindir)|" $< > $@
+
+clientfiledir = $(datarootdir)/telepathy/clients
+clientfile_DATA = TelepathyLogger.client
+
+if GCONF_SCHEMAS_INSTALL
+install-data-local:
+ if test -z "$(DESTDIR)" ; then \
+ for p in $(schemas_DATA) ; do \
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p ; \
+ done \
+ fi
+else
+install-data-local:
+endif
+
+#install-data-local:
+# GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
+# --makefile-install-rule $(srcdir)/$(schema_DATA)
+
+
+
+EXTRA_DIST = \
+ $(schemas_in_files) \
+ $(schemas_DATA) \
+ $(clientfile_DATA) \
+ $(servicefile_in_files)
+
+DISTCLEANFILES = \
+ $(desktop_DATA) \
+ $(schemas_DATA) \
+ $(servicefile_DATA)
diff --git a/data/TelepathyLogger.client b/data/TelepathyLogger.client
new file mode 100644
index 0000000..e22a4f2
--- /dev/null
+++ b/data/TelepathyLogger.client
@@ -0,0 +1,12 @@
+[org.freedesktop.Telepathy.Client.TelepathyLogger]
+Interfaces=org.freedesktop.Telepathy.Client.Observer;
+
+[org.freedesktop.Telepathy.Client.Observer.ObserverChannelFilter 0]
+org.freedesktop.Telepathy.Channel.Type s=org.freedesktop.Telepathy.Channel.Type.Text
+org.freedesktop.Telepathy.Channel.TargetHandleType u=1
+org.freedesktop.Telepathy.Channel.Requested b=true
+
+[org.freedesktop.Telepathy.Client.Observer.ObserverChannelFilter 1]
+org.freedesktop.Telepathy.Channel.Type s=org.freedesktop.Telepathy.Channel.Type.Text
+org.freedesktop.Telepathy.Channel.TargetHandleType u=2
+org.freedesktop.Telepathy.Channel.Requested b=true
diff --git a/data/org.freedesktop.Telepathy.Client.TelepathyLogger.service.in b/data/org.freedesktop.Telepathy.Client.TelepathyLogger.service.in
new file mode 100644
index 0000000..5b95f92
--- /dev/null
+++ b/data/org.freedesktop.Telepathy.Client.TelepathyLogger.service.in
@@ -0,0 +1,3 @@
+[DBus Service]
+Name=org.freedesktop.Telepathy.Client.TelepathyLogger
+Exec=%bindir%/telepathy-logger
diff --git a/data/org.freedesktop.Telepathy.TelepathyLoggerService.service.in b/data/org.freedesktop.Telepathy.TelepathyLoggerService.service.in
new file mode 100644
index 0000000..8831103
--- /dev/null
+++ b/data/org.freedesktop.Telepathy.TelepathyLoggerService.service.in
@@ -0,0 +1,3 @@
+[DBus Service]
+Name=org.freedesktop.Telepathy.TelepathyLoggerService
+Exec=%bindir%/telepathy-logger-dbus
diff --git a/data/telepathy-logger.schemas b/data/telepathy-logger.schemas
new file mode 100644
index 0000000..5b7fdb2
--- /dev/null
+++ b/data/telepathy-logger.schemas
@@ -0,0 +1,32 @@
+<gconfschemafile>
+ <schemalist>
+
+ <schema>
+ <key>/schemas/apps/telepathy-logger/logging/turned_on</key>
+ <applyto>/apps/telepathy-logger/logging/turned_on</applyto>
+ <owner>telepathy-logger</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Turn on/off logging</short>
+ <long>Globally enable or disable the telepathy logging system.
+Setting it to "false" will completely disable any logging facility (it won't shut down the service)</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/telepathy-logger/logging/accounts/ignorelist</key>
+ <applyto>/apps/telepathy-logger/logging/accounts/ignorelist</applyto>
+ <owner>telepathy-logger</owner>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>true</default>
+ <locale name="C">
+ <short>A list of accounts for which logging is disabled</short>
+ <long>Disables logging for the named accounts, when logging is
+globally enabled. Meaningful only if global logging is turned on/enabled</long>
+ </locale>
+ </schema>
+
+</schemalist>
+</gconfschemafile>