xfce4-settings: 4.18.3 -> 4.20.0

Upgrade xfce4-settings from 4.18.3 to 4.20.0:

* remove patch which has been applied in upstream already
  https://gitlab.xfce.org/xfce/xfce4-settings/-/commit/d1a04d4
* set GDBUS_CODEGEN in EXTRA_OECONF
* add PACKAGECONFIG wayland

The change log is at:

https://gitlab.xfce.org/xfce/xfce4-settings/-/blob/master/NEWS

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang 2024-12-19 18:52:20 +08:00 committed by Khem Raj
parent 5da5979066
commit fd2837f326
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 8 additions and 44 deletions

View File

@ -1,41 +0,0 @@
From 2218ba8a21e9f5715b652c6416c2ddb552686b14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Sun, 20 May 2012 15:22:09 +0200
Subject: [PATCH] xsettings.xml: Set default themes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Theme Xfce doesn't work as expected. For example, no layout in start
menu and applications' menu bar. And GtkColorButton is blank in config
tab page from xfce4-terminal -> Edit -> Preference -> Colors.
So use Adwaita as default theme instead.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
xfsettingsd/xsettings.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xfsettingsd/xsettings.xml b/xfsettingsd/xsettings.xml
index d8fe2ac..0f5246b 100644
--- a/xfsettingsd/xsettings.xml
+++ b/xfsettingsd/xsettings.xml
@@ -6,8 +6,8 @@
<channel name="xsettings" version="1.0">
<property name="Net" type="empty">
- <property name="ThemeName" type="empty"/>
- <property name="IconThemeName" type="empty"/>
+ <property name="ThemeName" type="string" value="Adwaita"/>
+ <property name="IconThemeName" type="string" value="Adwaita"/>
<property name="DoubleClickTime" type="int" value="400"/>
<property name="DoubleClickDistance" type="int" value="5"/>
<property name="DndDragThreshold" type="int" value="8"/>
--
2.1.0

View File

@ -8,21 +8,26 @@ inherit xfce features_check mime-xdg
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch"
SRC_URI[sha256sum] = "2db9e99be503280739a08779503bdf11db8b9db9851c3a981deb449002f3f1a1"
SRC_URI[sha256sum] = "23548da3429a296501fbfdbc98a861ee241b9fdd47e8d5de1781f57c6bbce5a9"
CFLAGS += " -Wno-deprecated-declarations -Wno-implicit-function-declaration"
EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
EXTRA_OECONF += " \
GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \
--enable-maintainer-mode --disable-debug \
"
PACKAGECONFIG ??= " \
notify \
${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
"
PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop"
PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native"
FILES:${PN} += " \
${libdir}/xfce4 \
${libdir}/gtk-3.0/modules/libxfsettingsd-gtk-settings-sync.so \
${datadir}/xfce4 \
"