[rygel/config: 102/102] Provide GConf schemas
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config: 102/102] Provide GConf schemas
- Date: Mon, 25 May 2009 11:15:58 -0400 (EDT)
commit cbf51922568943c51aa22d49187f31241877b039
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon May 25 17:43:34 2009 +0300
Provide GConf schemas
---
configure.ac | 3 +
data/Makefile.am | 10 ++++
data/rygel.schemas | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 149 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2daf888..367155f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,6 +83,9 @@ AC_CHECK_FILE("${VAPIDIR}/gee-1.0.vapi",
true,
[AC_MSG_ERROR("Unable to find Vala bindings for gee-1.0")])
+AC_PATH_PROG(GCONFTOOL, gconftool-2)
+AM_GCONF_SOURCE_2
+
# glib-genmarshal
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
AC_SUBST(GLIB_GENMARSHAL)
diff --git a/data/Makefile.am b/data/Makefile.am
index 093ab7c..80f48b5 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,9 +1,19 @@
SUBDIRS = xml
+schemadir = @GCONF_SCHEMA_FILE_DIR@
+schema_DATA = rygel.schemas
+
shareddir = $(datadir)/rygel
if BUILD_UI
dist_shared_DATA = rygel-preferences.ui
endif
+if GCONF_SCHEMAS_INSTALL
+install-data-local: $(schema_DATA)
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA);
+endif
+
+EXTRA_DIST = $(schema_DATA)
+
MAINTAINERCLEANFILES = Makefile.in
diff --git a/data/rygel.schemas b/data/rygel.schemas
new file mode 100644
index 0000000..b18acd5
--- /dev/null
+++ b/data/rygel.schemas
@@ -0,0 +1,136 @@
+<gconfschemafile>
+ <schemalist>
+ <schema>
+ <key>/schemas/apps/rygel/general/enable-transcoding</key>
+ <applyto>/apps/rygel/general/enable-transcoding</applyto>
+ <owner>rygel</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>True if transcoding is supposed to be enabled.</short>
+ <long>True if transcoding is supposed to be enabled.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/general/enable-mp3-transcoder</key>
+ <applyto>/apps/rygel/general/enable-mp3-transcoder</applyto>
+ <owner>rygel</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>True if MP3 transcoding is supposed to be enabled.</short>
+ <long>True if MP3 transcoding is supposed to be enabled.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/general/enable-lpcm-transcoder</key>
+ <applyto>/apps/rygel/general/enable-lpcm-transcoder</applyto>
+ <owner>rygel</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>True if LPCM transcoding is supposed to be enabled.</short>
+ <long>True if LPCM transcoding is supposed to be enabled.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/general/enable-mp2ts-transcoder</key>
+ <applyto>/apps/rygel/general/enable-mp2ts-transcoder</applyto>
+ <owner>rygel</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>True if MP2 transport stream transcoding is supposed to be enabled.</short>
+ <long>True if rygel should transcode to mpeg transport stream (mpeg 2 video + mp2 audio).</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/general/port</key>
+ <applyto>/apps/rygel/general/port</applyto>
+ <owner>rygel</owner>
+ <type>int</type>
+ <default>0</default>
+ <locale name="C">
+ <short>The port to run HTTP server on.</short>
+ <long>The port to run HTTP server on. 0 means dynamic.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/general/host-ip</key>
+ <applyto>/apps/rygel/general/host-ip</applyto>
+ <owner>rygel</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short>The IP of the network interface to attach rygel to.</short>
+ <long>The IP of the network interface to attach rygel to. Leave it blank for dynamic configuration.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/Tracker/enabled</key>
+ <applyto>/apps/rygel/Tracker/enabled</applyto>
+ <owner>rygel</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Enable Tracker plugin.</short>
+ <long>Enable Tracker plugin.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/Tracker/title</key>
+ <applyto>/apps/rygel/Tracker/title</applyto>
+ <owner>rygel</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short>The title of this plugin to advertise to UPnP clients.</short>
+ <long>The title of this plugin to advertise to UPnP clients.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/Folder/enabled</key>
+ <applyto>/apps/rygel/Folder/enabled</applyto>
+ <owner>rygel</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Enable Folder plugin.</short>
+ <long>Enable Folder plugin.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/Folder/title</key>
+ <applyto>/apps/rygel/Folder/title</applyto>
+ <owner>rygel</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short>The title of this plugin to advertise to UPnP clients.</short>
+ <long>The title of this plugin to advertise to UPnP clients.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/DVB/enabled</key>
+ <applyto>/apps/rygel/DVB/enabled</applyto>
+ <owner>rygel</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Enable DVB plugin</short>
+ <long>Enable DVB plugin</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/rygel/DVB/title</key>
+ <applyto>/apps/rygel/DVB/title</applyto>
+ <owner>rygel</owner>
+ <type>string</type>
+ <default>Digital TV</default>
+ <locale name="C">
+ <short>The title of this plugin to advertise to UPnP clients.</short>
+ <long>The title of this plugin to advertise to UPnP clients.</long>
+ </locale>
+ </schema>
+ </schemalist>
+</gconfschemafile>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]