Subject: [bug#76386] [PATCH 05/10] gnu: xfce4-settings: Update to 4.20.1.

From: [email-masked]
Date: Tue, 18 Feb 2025 13:07:55 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/patches/xfce4-settings-defaults.patch: Adjust for 4.20.1.
* gnu/packages/xfce.scm (xfce4-settings): Update to 4.20.1.

Change-Id: I15f6ac8715e2d81fd2bac4763445db6da49880dc
---
 .../patches/xfce4-settings-defaults.patch      | 18 +++++-------------
 gnu/packages/xfce.scm                          |  4 ++--
 2 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/patches/xfce4-settings-defaults.patch b/gnu/packages/patches/xfce4-settings-defaults.patch
index 63976f4334..94d54e3280 100644
--- a/gnu/packages/patches/xfce4-settings-defaults.patch
+++ b/gnu/packages/patches/xfce4-settings-defaults.patch
@@ -1,28 +1,20 @@
 This patch make Xfce use "elementary-xfce-dark" as the default icon theme, "Greybird" as
 the default GTK theme and enable font antialias.
 
---- xfce4-settings-4.20.0/xfsettingsd/xsettings.xml.orig	2024-12-20 09:53:09.518493612 +0800
-+++ xfce4-settings-4.20.0/xfsettingsd/xsettings.xml	2024-12-20 09:55:15.506496473 +0800
-@@ -6,8 +6,8 @@
- 
- <channel name="xsettings" version="1.0">
+--- xfce4-settings-4.20.1/xfsettingsd/xsettings.xml.orig	2024-12-20 09:53:09.518493612 +0800
++++ xfce4-settings-4.20.1/xfsettingsd/xsettings.xml	2024-12-20 09:55:15.506496473 +0800
+@@ -8,4 +8,4 @@
    <property name="Net" type="empty">
 -    <property name="ThemeName" type="string" value="Adwaita"/>
 -    <property name="IconThemeName" type="string" value="Adwaita"/>
 +    <property name="ThemeName" type="string" value="Greybird"/>
 +    <property name="IconThemeName" type="string" value="elementary-xfce-dark"/>
      <property name="DoubleClickTime" type="int" value="400"/>
-     <property name="DoubleClickDistance" type="int" value="5"/>
-     <property name="DndDragThreshold" type="int" value="8"/>
-@@ -19,9 +19,9 @@
-   </property>
-   <property name="Xft" type="empty">
-     <property name="DPI" type="int" value="-1"/>
+@@ -21,5 +21,5 @@
+     <property name="DPI" type="int" value="96"/>
 -    <property name="Antialias" type="int" value="-1"/>
 +    <property name="Antialias" type="int" value="1"/>
      <property name="Hinting" type="int" value="-1"/>
 -    <property name="HintStyle" type="string" value="hintnone"/>
 +    <property name="HintStyle" type="string" value="hintfull"/>
      <property name="RGBA" type="string" value="none"/>
-   </property>
-   <property name="Gtk" type="empty">
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 40d934be53..65c8826f3e 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -795,7 +795,7 @@ (define-public xfce4-session
 (define-public xfce4-settings
   (package
     (name "xfce4-settings")
-    (version "4.20.0")
+    (version "4.20.1")
     (source
      (origin
        (method git-fetch)
@@ -804,7 +804,7 @@ (define-public xfce4-settings
              (commit (string-append name "-" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1xv8fcrrk54r6naxhwj9ff8f1q9g08fh0ailazvbmi1jww12xwyi"))
+        (base32 "1hk8jsiczpzvm7zs79g5jk6amg988rg1w1ir4z3x0yklqgalw4gl"))
        (patches (search-patches "xfce4-settings-defaults.patch"))))
     (build-system gnu-build-system)
     (arguments
-- 
2.48.1