summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xfce/recipes-xfce/xfce4-settings/files/0001-xsettings.xml-Set-default-themes.patch41
-rw-r--r--meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.0.bb (renamed from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb)11
2 files changed, 8 insertions, 44 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-settings/files/0001-xsettings.xml-Set-default-themes.patch b/meta-xfce/recipes-xfce/xfce4-settings/files/0001-xsettings.xml-Set-default-themes.patch
deleted file mode 100644
index 3a4c00913f..0000000000
--- a/meta-xfce/recipes-xfce/xfce4-settings/files/0001-xsettings.xml-Set-default-themes.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 2218ba8a21e9f5715b652c6416c2ddb552686b14 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Sun, 20 May 2012 15:22:09 +0200
4Subject: [PATCH] xsettings.xml: Set default themes
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Inappropriate [configuration]
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12
13Theme Xfce doesn't work as expected. For example, no layout in start
14menu and applications' menu bar. And GtkColorButton is blank in config
15tab page from xfce4-terminal -> Edit -> Preference -> Colors.
16
17So use Adwaita as default theme instead.
18
19Signed-off-by: Kai Kang <kai.kang@windriver.com>
20---
21 xfsettingsd/xsettings.xml | 4 ++--
22 1 file changed, 2 insertions(+), 2 deletions(-)
23
24diff --git a/xfsettingsd/xsettings.xml b/xfsettingsd/xsettings.xml
25index d8fe2ac..0f5246b 100644
26--- a/xfsettingsd/xsettings.xml
27+++ b/xfsettingsd/xsettings.xml
28@@ -6,8 +6,8 @@
29
30 <channel name="xsettings" version="1.0">
31 <property name="Net" type="empty">
32- <property name="ThemeName" type="empty"/>
33- <property name="IconThemeName" type="empty"/>
34+ <property name="ThemeName" type="string" value="Adwaita"/>
35+ <property name="IconThemeName" type="string" value="Adwaita"/>
36 <property name="DoubleClickTime" type="int" value="400"/>
37 <property name="DoubleClickDistance" type="int" value="5"/>
38 <property name="DndDragThreshold" type="int" value="8"/>
39--
402.1.0
41
diff --git a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.0.bb
index f9620d85d0..76ce27cc96 100644
--- a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb
+++ b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.0.bb
@@ -8,21 +8,26 @@ inherit xfce features_check mime-xdg
8 8
9REQUIRED_DISTRO_FEATURES = "x11" 9REQUIRED_DISTRO_FEATURES = "x11"
10 10
11SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch" 11SRC_URI[sha256sum] = "23548da3429a296501fbfdbc98a861ee241b9fdd47e8d5de1781f57c6bbce5a9"
12SRC_URI[sha256sum] = "2db9e99be503280739a08779503bdf11db8b9db9851c3a981deb449002f3f1a1"
13 12
14CFLAGS += " -Wno-deprecated-declarations -Wno-implicit-function-declaration" 13CFLAGS += " -Wno-deprecated-declarations -Wno-implicit-function-declaration"
15EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" 14EXTRA_OECONF += " \
15 GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \
16 --enable-maintainer-mode --disable-debug \
17"
16 18
17PACKAGECONFIG ??= " \ 19PACKAGECONFIG ??= " \
18 notify \ 20 notify \
19 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \ 21 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
22 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
20" 23"
21PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" 24PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
22PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop" 25PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop"
26PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native"
23 27
24FILES:${PN} += " \ 28FILES:${PN} += " \
25 ${libdir}/xfce4 \ 29 ${libdir}/xfce4 \
30 ${libdir}/gtk-3.0/modules/libxfsettingsd-gtk-settings-sync.so \
26 ${datadir}/xfce4 \ 31 ${datadir}/xfce4 \
27" 32"
28 33