diff options
-rw-r--r-- | meta-xfce/recipes-xfce/xfce4-settings/files/0001-xsettings.xml-Set-default-themes.patch | 41 | ||||
-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 @@ | |||
1 | From 2218ba8a21e9f5715b652c6416c2ddb552686b14 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Sun, 20 May 2012 15:22:09 +0200 | ||
4 | Subject: [PATCH] xsettings.xml: Set default themes | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Inappropriate [configuration] | ||
10 | |||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
12 | |||
13 | Theme Xfce doesn't work as expected. For example, no layout in start | ||
14 | menu and applications' menu bar. And GtkColorButton is blank in config | ||
15 | tab page from xfce4-terminal -> Edit -> Preference -> Colors. | ||
16 | |||
17 | So use Adwaita as default theme instead. | ||
18 | |||
19 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
20 | --- | ||
21 | xfsettingsd/xsettings.xml | 4 ++-- | ||
22 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
23 | |||
24 | diff --git a/xfsettingsd/xsettings.xml b/xfsettingsd/xsettings.xml | ||
25 | index 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 | -- | ||
40 | 2.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 | ||
9 | REQUIRED_DISTRO_FEATURES = "x11" | 9 | REQUIRED_DISTRO_FEATURES = "x11" |
10 | 10 | ||
11 | SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch" | 11 | SRC_URI[sha256sum] = "23548da3429a296501fbfdbc98a861ee241b9fdd47e8d5de1781f57c6bbce5a9" |
12 | SRC_URI[sha256sum] = "2db9e99be503280739a08779503bdf11db8b9db9851c3a981deb449002f3f1a1" | ||
13 | 12 | ||
14 | CFLAGS += " -Wno-deprecated-declarations -Wno-implicit-function-declaration" | 13 | CFLAGS += " -Wno-deprecated-declarations -Wno-implicit-function-declaration" |
15 | EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" | 14 | EXTRA_OECONF += " \ |
15 | GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \ | ||
16 | --enable-maintainer-mode --disable-debug \ | ||
17 | " | ||
16 | 18 | ||
17 | PACKAGECONFIG ??= " \ | 19 | PACKAGECONFIG ??= " \ |
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 | " |
21 | PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" | 24 | PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" |
22 | PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop" | 25 | PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop" |
26 | PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native" | ||
23 | 27 | ||
24 | FILES:${PN} += " \ | 28 | FILES:${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 | ||