summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/settings-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/settings-daemon')
-rw-r--r--meta/recipes-sato/settings-daemon/files/70settings-daemon.sh1
-rw-r--r--meta/recipes-sato/settings-daemon/files/addsoundkeys.patch47
-rw-r--r--meta/recipes-sato/settings-daemon/settings-daemon_svn.bb26
3 files changed, 74 insertions, 0 deletions
diff --git a/meta/recipes-sato/settings-daemon/files/70settings-daemon.sh b/meta/recipes-sato/settings-daemon/files/70settings-daemon.sh
new file mode 100644
index 0000000000..95374135f2
--- /dev/null
+++ b/meta/recipes-sato/settings-daemon/files/70settings-daemon.sh
@@ -0,0 +1 @@
/usr/bin/settings-daemon &
diff --git a/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch b/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch
new file mode 100644
index 0000000000..e06f02917b
--- /dev/null
+++ b/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch
@@ -0,0 +1,47 @@
1Index: settings-daemon/settings-daemon.c
2===================================================================
3--- settings-daemon.orig/settings-daemon.c 2009-05-22 14:57:05.000000000 +0100
4+++ settings-daemon/settings-daemon.c 2009-05-22 14:58:22.000000000 +0100
5@@ -187,6 +187,10 @@
6 GCONF_VALUE_STRING, translate_string_string },
7 { "/desktop/poky/interface/gtk_color_scheme", "Gtk/ColorScheme",
8 GCONF_VALUE_STRING, translate_string_string },
9+ { "/desktop/gnome/sound/theme_name", "Net/SoundThemeName",
10+ GCONF_VALUE_STRING, translate_string_string },
11+ { "/desktop/gnome/sound/event_sounds", "Net/EnableEventSounds" ,
12+ GCONF_VALUE_BOOL, translate_bool_int },
13 };
14
15 static const TranslationEntry*
16Index: settings-daemon/settings-daemon.schemas
17===================================================================
18--- settings-daemon.orig/settings-daemon.schemas 2009-05-22 15:49:17.000000000 +0100
19+++ settings-daemon/settings-daemon.schemas 2009-05-22 15:51:31.000000000 +0100
20@@ -196,6 +196,27 @@
21 </locale>
22 </schema>
23
24+ <schema>
25+ <key>/schemas/desktop/gnome/sound/theme_name</key>
26+ <applyto>/desktop/gnome/sound/theme_name</applyto>
27+ <owner>gnome</owner>
28+ <type>string</type>
29+ <default>freedesktop</default>
30+ <locale name="C">
31+ <short>Sound Theme Name</short>
32+ </locale>
33+ </schema>
34+
35+ <schema>
36+ <key>/schemas/desktop/gnome/sound/event_sounds</key>
37+ <applyto>/desktop/gnome/sound/event_sounds</applyto>
38+ <owner>gnome</owner>
39+ <type>bool</type>
40+ <default>true</default>
41+ <locale name="C">
42+ <short>Enable Sound Events</short>
43+ </locale>
44+ </schema>
45
46 </schemalist>
47 </gconfschemafile>
diff --git a/meta/recipes-sato/settings-daemon/settings-daemon_svn.bb b/meta/recipes-sato/settings-daemon/settings-daemon_svn.bb
new file mode 100644
index 0000000000..4d1d9baf40
--- /dev/null
+++ b/meta/recipes-sato/settings-daemon/settings-daemon_svn.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "Settings-daemon provides a bridge between gconf and xsettings"
2HOMEPAGE = "http://svn.o-hand.com/view/matchbox/trunk/settings-daemon/"
3BUGTRACKER = "http://bugzilla.openedhand.com/"
4LICENSE = "MIT-style"
5LIC_FILES_CHKSUM = "file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
6 file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b"
7DEPENDS = "gconf glib-2.0 gtk+"
8SECTION = "x11"
9PV = "0.0+svnr${SRCREV}"
10
11PR = "r3"
12
13SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
14 file://addsoundkeys.patch;apply=yes \
15 file://70settings-daemon.sh"
16
17S = "${WORKDIR}/${PN}"
18
19inherit autotools pkgconfig gconf
20
21FILES_${PN} = "${bindir}/* ${sysconfdir}"
22
23do_install_append () {
24 install -d ${D}/${sysconfdir}/X11/Xsession.d
25 install -m 755 ${WORKDIR}/70settings-daemon.sh ${D}/${sysconfdir}/X11/Xsession.d/
26}