Skip to contentSkip to conversation

xfce4-settings: 4.18.3 -> 4.20.0

PATCH New [email protected] 1 participant 6 messages Dec 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 xfce4-settings: 4.18.3 -> 4.20.0

From: Kai Kang <[email protected]>

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

---
 ...001-xsettings.xml-Set-default-themes.patch | 41 -------------------
 ...ngs_4.18.3.bb => xfce4-settings_4.20.0.bb} | 11 +++--
 2 files changed, 8 insertions(+), 44 deletions(-)
 delete mode 100644 meta-xfce/recipes-xfce/xfce4-settings/files/0001-xsettings.xml-Set-default-themes.patch
 rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.18.3.bb => xfce4-settings_4.20.0.bb} (73%)
meta-xfce/recipes-xfce/xfce4-settings/files/0001-xsettings.xml-Set-default-themes.patch deleted +0 -41
deleted file mode 100644
index 3a4c00913..000000000
@@ -1,41 +0,0 @@
-From 2218ba8a21e9f5715b652c6416c2ddb552686b14 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-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 <[email protected]>
-
-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 <[email protected]>
----
- 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
-
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 +8 -3
similarity index 73%
rename from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb
rename to meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.0.bb
index f9620d85d..76ce27cc9 100644
@@ -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 \
 "
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/6 xfwm4: 4.19.0 -> 4.20.0

From: Kai Kang <[email protected]>

4.20.0 (2024-12-15)
======
- Translation Updates:
Finnish, Portuguese, Romanian

4.19.1 (2024-12-01)
======
- I18n: Update po/LINGUAS list
- hints: Fix buffer overflow in XChangeProperty
- Translation Updates:
Finnish, Kurdish, Polish, Sinhala, Telugu, Vietnamese

---
 .../recipes-xfce/xfwm4/{xfwm4_4.19.0.bb => xfwm4_4.20.0.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.19.0.bb => xfwm4_4.20.0.bb} (93%)
meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb renamed from meta-xfce/recipes-xfce/xfwm4/xfwm4_4.19.0.bb +1 -1
similarity index 93%
rename from meta-xfce/recipes-xfce/xfwm4/xfwm4_4.19.0.bb
rename to meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb
index a11daa58c..8b913ed3d 100644
@@ -10,7 +10,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += "file://xfwm4-fix-incompatible-pointer-type-error.patch"
 
-SRC_URI[sha256sum] = "73546c60c348bcbe088fd990f7d5d1d6a6eca4226f956c109d3655c00583b9cf"
+SRC_URI[sha256sum] = "a58b63e49397aa0d8d1dcf0636be93c8bb5926779aef5165e0852890190dcf06"
 
 PACKAGECONFIG ?= " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'epoxy', '', d)} \
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/6 xfce4-dev-tools: 4.18.1 -> 4.20.0

In reply to [email protected]

From: Kai Kang <[email protected]>

Upgrade xfce4-dev-tools from 4.18.1 to 4.20.0:

* add dependency meson-native

The change log is at:

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

---
 ...{xfce4-dev-tools_4.18.1.bb => xfce4-dev-tools_4.20.0.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-xfce/recipes-xfce/xfce4-dev-tools/{xfce4-dev-tools_4.18.1.bb => xfce4-dev-tools_4.20.0.bb} (82%)
meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.20.0.bb renamed from meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.18.1.bb +3 -3
similarity index 82%
rename from meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.18.1.bb
rename to meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.20.0.bb
index 576fa3262..f4e88c4aa 100644
@@ -4,14 +4,14 @@ SECTION = "x11/libs"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-DEPENDS = "glib-2.0 libxslt-native"
+DEPENDS = "glib-2.0 libxslt-native meson-native"
 DEPENDS:append:class-target = " ${BPN}-native"
 
-SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BPN}-${PV}.tar.bz2 \
+SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BP}.tar.bz2 \
            file://0001-m4macros-Check-for-a-function-provided-by-libX11-in-.patch \
            "
 SRC_URI:append:class-target = " file://0001-Run-native-xdt-csource-on-tests.patch"
-SRC_URI[sha256sum] = "812cabe7048922ebc176564b73c3e427e467c9566365ee3e54c0487d305a7681"
+SRC_URI[sha256sum] = "1fba39a08a0ecc771eaa3a3b6e4272a4f0b9e7c67d0f66e780cd6090cd4466aa"
 
 inherit autotools pkgconfig
 
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/6 libxfce4windowing: add recipe

In reply to [email protected]

From: Kai Kang <[email protected]>

Add recipe for libxfce4windowing 4.20.0 which is required by other xfce4 components such as xfce4-session, xfdesktop etc.

---
 .../libxfce4windowing_4.20.0.bb               | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.0.bb
meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.0.bb new file +24 -0
new file mode 100644
index 000000000..e16997ca1
@@ -0,0 +1,24 @@
+SUMMARY = "Windowing concept abstraction library for X11 and Wayland"
+SECTION = "x11/libs"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
+
+DEPENDS = "xfce4-dev-tools-native libdisplay-info libwnck3"
+
+SRC_URI[sha256sum] = "56f29b1d79606fb00a12c83ef4ece12877d2b22bf1acaaff89537fbe8e939f68"
+
+inherit features_check gobject-introspection gtk-doc xfce
+
+# Currently, X11 is fully supported. Wayland is partially supported
+REQUIRED_DISTRO_FEATURES = "x11"
+
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
+PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native"
+
+EXTRA_OECONF = "--enable-x11 \
+                WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
+                "
+
+do_compile:prepend() {
+    export GIR_EXTRA_LIBS_PATH=${B}/libxfce4windowing/.libs
+}
Signature · 1 line
2.34.1
#4 lore raw

PATCH 5/6 xfdesktop: 4.18.1 -> 4.20.0

In reply to [email protected]

From: Kai Kang <[email protected]>

Upgrade xfdesktop from 4.18.1 to 4.20.0:

* add dependency libxfce4windowing
* set variables from glib-2.0.pc in EXTRA_OECONF since paths have been removed from the .pc file in oe-core

---
 .../{xfdesktop_4.18.1.bb => xfdesktop_4.20.0.bb}         | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
 rename meta-xfce/recipes-xfce/xfdesktop/{xfdesktop_4.18.1.bb => xfdesktop_4.20.0.bb} (55%)
meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.0.bb renamed from meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.18.1.bb +8 -1
similarity index 55%
rename from meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.18.1.bb
rename to meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.0.bb
index f4d5fef8e..d3360b293 100644
@@ -12,6 +12,7 @@ DEPENDS = " \
     libwnck3 \
     libxfce4ui \
     libxfce4util \
+    libxfce4windowing \
     thunar \
     xfconf \
 "
@@ -20,9 +21,15 @@ inherit xfce features_check
 
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI[sha256sum] = "ef9268190c25877e22a9ff5aa31cc8ede120239cb0dfca080c174e7eed4ff756"
+SRC_URI[sha256sum] = "227041ba80c7f3eb9c99dec817f1132b35d8aec7a4335703f61ba1735cd65632"
 
 PACKAGECONFIG ??= "notify"
 PACKAGECONFIG[notify] = "--enable-notifications,--disable-notifications,libnotify"
 
+EXTRA_OECONF = "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \
+                GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources \
+                GLIB_GENMARSHAL=${STAGING_BINDIR_NATIVE}/glib-genmarshal \
+                GLIB_MKENUMS=${STAGING_BINDIR_NATIVE}/glib-mkenums \
+                "
+
 FILES:${PN} += "${datadir}/backgrounds"
Signature · 1 line
2.34.1
#5 lore raw

PATCH 6/6 xfce4-panel: 4.18.6 -> 4.20.0

In reply to [email protected]

From: Kai Kang <[email protected]>

Upgrade xfce4-panel from 4.18.6 to 4.20.0:

* add dependency libxfce4windowing
* set GDBUS_CODEGEN for configure
* rebase patches as well

The change log is at:

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

---
 ...t-display-desktop-icon-when-no-windo.patch | 23 ++++++----
 .../0002-use-lxdm-to-replace-dm-tool.patch    | 43 ++++++++-----------
 ...-panel_4.18.6.bb => xfce4-panel_4.20.0.bb} |  8 ++--
 3 files changed, 36 insertions(+), 38 deletions(-)
 rename meta-xfce/recipes-xfce/xfce4-panel/{xfce4-panel_4.18.6.bb => xfce4-panel_4.20.0.bb} (83%)
meta-xfce/recipes-xfce/xfce4-panel/files/0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch +14 -9
index 154f72d18..690deefc9 100644
@@ -17,27 +17,32 @@ Signed-off-by: Andreas Müller <[email protected]>
 Rebase for xfce4-panel 4.18.3.
 
 Signed-off-by: Kai Kang <[email protected]>
+
+Rebase for xfce4-panel 4.20.0.
+
+Signed-off-by: Kai Kang <[email protected]>
+
 ---
  plugins/windowmenu/windowmenu.c | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)
 
 diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
-index be7dea4..2f432b0 100644
+index 9a73f29..eab0547 100644
 --- a/plugins/windowmenu/windowmenu.c
 +++ b/plugins/windowmenu/windowmenu.c
-@@ -262,7 +262,7 @@ window_menu_plugin_init (WindowMenuPlugin *plugin)
+@@ -266,7 +266,7 @@ window_menu_plugin_init (WindowMenuPlugin *plugin)
    g_signal_connect (G_OBJECT (plugin->button), "toggled",
-       G_CALLBACK (window_menu_plugin_menu), plugin);
+                     G_CALLBACK (window_menu_plugin_menu), plugin);
  
 -  plugin->icon = gtk_image_new_from_icon_name ("user-desktop", GTK_ICON_SIZE_BUTTON);
 +  plugin->icon = gtk_image_new_from_icon_name (NULL, GTK_ICON_SIZE_BUTTON);
    gtk_container_add (GTK_CONTAINER (plugin->button), plugin->icon);
    gtk_widget_show (plugin->icon);
- 
-@@ -695,19 +695,19 @@ window_menu_plugin_active_window_changed (WnckScreen       *screen,
+ }
+@@ -706,19 +706,19 @@ window_menu_plugin_active_window_changed (XfwScreen *screen,
            /* skip 'fake' windows */
-           type = wnck_window_get_window_type (window);
-           if (type == WNCK_WINDOW_DESKTOP || type == WNCK_WINDOW_DOCK)
+           type = xfw_window_get_window_type (window);
+           if (type == XFW_WINDOW_TYPE_DESKTOP || type == XFW_WINDOW_TYPE_DOCK)
 -            goto show_desktop_icon;
 +            goto show_no_icon;
  
@@ -45,8 +50,8 @@ index be7dea4..2f432b0 100644
          }
        else
          {
--          show_desktop_icon:
-+          show_no_icon:
+-show_desktop_icon:
++show_no_icon:
  
            /* desktop is shown right now */
            icon_size = xfce_panel_plugin_get_icon_size (XFCE_PANEL_PLUGIN (plugin));
meta-xfce/recipes-xfce/xfce4-panel/files/0002-use-lxdm-to-replace-dm-tool.patch +17 -26

58 lines not on this page · raw message

meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.20.0.bb renamed from meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.6.bb +5 -3
similarity index 83%
rename from meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.6.bb
rename to meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.20.0.bb
index acc05f13f..250482d2a 100644
@@ -2,7 +2,9 @@ SUMMARY = "Xfce4 Panel"
 SECTION = "x11"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee"
-DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxml2 libwnck3 vala-native"
+DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxfce4windowing libxml2 \
+           libwnck3 vala-native \
+           "
 
 inherit xfce gtk-doc gobject-introspection features_check mime-xdg
 
@@ -14,9 +16,9 @@ SRC_URI += " \
     file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \
     file://0002-use-lxdm-to-replace-dm-tool.patch \
 "
-SRC_URI[sha256sum] = "21337161f58bb9b6e42760cb6883bc79beea27882aa6272b61f0e09d750d7c62"
+SRC_URI[sha256sum] = "ff33cd5f5d16c2193fe305f4878d82cd8d2feea92f2594bcd27b2b5c392d43b8"
 
-EXTRA_OECONF += "--disable-vala"
+EXTRA_OECONF += "--disable-vala GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen"
 
 python populate_packages:prepend() {
     plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')
Signature · 1 line
2.34.1