summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-06-19 10:59:55 +0200
committerSteve Sakoman <steve@sakoman.com>2024-08-01 06:08:09 -0700
commit8596d0dc83b0a65638e4644ecfbb0de6d27f8d53 (patch)
tree1f9e16cfbdd2404834f9c527189bc4970a2fa462
parenta5bfdf80f5cb808fe1f01cdf4f075f9cd5a6edaa (diff)
downloadpoky-8596d0dc83b0a65638e4644ecfbb0de6d27f8d53.tar.gz
settings-daemon: submit addsoundkeys.patch upstream and update to a revision that has it
(From OE-Core rev: ab532f6010a671e622a9451f6a5d2fe31dbc2f32) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0d56c7b444d94778808cce8ede3374b8212b22a7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-sato/settings-daemon/files/addsoundkeys.patch49
-rw-r--r--meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb8
2 files changed, 4 insertions, 53 deletions
diff --git a/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch b/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch
deleted file mode 100644
index baf06d6b84..0000000000
--- a/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1Upstream-Status: Pending
2
3Index: settings-daemon/settings-daemon.c
4===================================================================
5--- settings-daemon.orig/settings-daemon.c 2009-05-22 14:57:05.000000000 +0100
6+++ settings-daemon/settings-daemon.c 2009-05-22 14:58:22.000000000 +0100
7@@ -187,6 +187,10 @@
8 GCONF_VALUE_STRING, translate_string_string },
9 { "/desktop/poky/interface/gtk_color_scheme", "Gtk/ColorScheme",
10 GCONF_VALUE_STRING, translate_string_string },
11+ { "/desktop/gnome/sound/theme_name", "Net/SoundThemeName",
12+ GCONF_VALUE_STRING, translate_string_string },
13+ { "/desktop/gnome/sound/event_sounds", "Net/EnableEventSounds" ,
14+ GCONF_VALUE_BOOL, translate_bool_int },
15 };
16
17 static const TranslationEntry*
18Index: settings-daemon/settings-daemon.schemas
19===================================================================
20--- settings-daemon.orig/settings-daemon.schemas 2009-05-22 15:49:17.000000000 +0100
21+++ settings-daemon/settings-daemon.schemas 2009-05-22 15:51:31.000000000 +0100
22@@ -196,6 +196,27 @@
23 </locale>
24 </schema>
25
26+ <schema>
27+ <key>/schemas/desktop/gnome/sound/theme_name</key>
28+ <applyto>/desktop/gnome/sound/theme_name</applyto>
29+ <owner>gnome</owner>
30+ <type>string</type>
31+ <default>freedesktop</default>
32+ <locale name="C">
33+ <short>Sound Theme Name</short>
34+ </locale>
35+ </schema>
36+
37+ <schema>
38+ <key>/schemas/desktop/gnome/sound/event_sounds</key>
39+ <applyto>/desktop/gnome/sound/event_sounds</applyto>
40+ <owner>gnome</owner>
41+ <type>bool</type>
42+ <default>true</default>
43+ <locale name="C">
44+ <short>Enable Sound Events</short>
45+ </locale>
46+ </schema>
47
48 </schemalist>
49 </gconfschemafile>
diff --git a/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
index 4bdbefcb75..d38cd4e2dd 100644
--- a/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
+++ b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
@@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc
7DEPENDS = "gconf glib-2.0 gtk+3" 7DEPENDS = "gconf glib-2.0 gtk+3"
8SECTION = "x11" 8SECTION = "x11"
9 9
10# SRCREV tagged 0.0.2 10PV .= "+git"
11SRCREV = "b2e5da502f8c5ff75e9e6da771372ef8e40fd9a2" 11# SRCREV tagged 0.0.2 + one patch
12SRCREV = "df669c6579a6ac7e1ef56be66617f35ae7d33d68"
12SRC_URI = "git://git.yoctoproject.org/xsettings-daemon;branch=master;protocol=https \ 13SRC_URI = "git://git.yoctoproject.org/xsettings-daemon;branch=master;protocol=https \
13 file://addsoundkeys.patch \
14 file://70settings-daemon.sh \ 14 file://70settings-daemon.sh \
15 " 15 "
16UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" 16UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
@@ -19,7 +19,7 @@ S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig gconf features_check 20inherit autotools pkgconfig gconf features_check
21 21
22FILES:${PN} = "${bindir}/* ${sysconfdir}" 22FILES:${PN} = "${bindir}/* ${sysconfdir}"
23 23
24# Requires gdk-x11-2.0 which is provided by gtk when x11 in DISTRO_FEATURES 24# Requires gdk-x11-2.0 which is provided by gtk when x11 in DISTRO_FEATURES
25REQUIRED_DISTRO_FEATURES = "x11" 25REQUIRED_DISTRO_FEATURES = "x11"