all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: iyzsong--- via Guix-patches via <guix-patches@gnu.org>
To: 74989@debbugs.gnu.org
Cc: 宋文武 <iyzsong@member.fsf.org>, "Zhu Zihao" <all_but_last@163.com>,
	宋文武 <iyzsong@envs.net>
Subject: [bug#74989] [PATCH 13/23] gnu: xfce4-settings: Update to 4.20.0.
Date: Fri, 20 Dec 2024 11:56:44 +0800	[thread overview]
Message-ID: <140adeb1bb25f00683f099765feee8b42191084c.1734666530.git.iyzsong@member.fsf.org> (raw)
In-Reply-To: <cover.1734666530.git.iyzsong@member.fsf.org>

From: 宋文武 <iyzsong@member.fsf.org>

* gnu/packages/patches/xfce4-settings-defaults.patch: Adjust patch.
* gnu/packages/xfce.scm (xfce4-settings): Update to 4.20.0.
[arguments]: Use G-Expressions.  Add 'patch-configure phase.
[inputs]: Add gtk-layer-shell.
[native-inputs]: Add glib:bin.

Change-Id: I114e9605dafec5f3ab2b09618cfacd071464e5f7
---
 .../patches/xfce4-settings-defaults.patch     | 14 +++++------
 gnu/packages/xfce.scm                         | 24 +++++++++++++------
 2 files changed, 23 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/patches/xfce4-settings-defaults.patch b/gnu/packages/patches/xfce4-settings-defaults.patch
index ce5865c481..63976f4334 100644
--- a/gnu/packages/patches/xfce4-settings-defaults.patch
+++ b/gnu/packages/patches/xfce4-settings-defaults.patch
@@ -1,16 +1,14 @@
 This patch make Xfce use "elementary-xfce-dark" as the default icon theme, "Greybird" as
 the default GTK theme and enable font antialias.
 
-
-diff -upr xfce4-settings-4.18.2.orig/xfsettingsd/xsettings.xml xfce4-settings-4.18.2/xfsettingsd/xsettings.xml
---- xfce4-settings-4.18.2.orig/xfsettingsd/xsettings.xml	2023-02-11 16:55:53.000000000 +0800
-+++ xfce4-settings-4.18.2/xfsettingsd/xsettings.xml	2023-05-14 19:20:43.919701586 +0800
+--- 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">
    <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="ThemeName" type="string" value="Greybird"/>
 +    <property name="IconThemeName" type="string" value="elementary-xfce-dark"/>
      <property name="DoubleClickTime" type="int" value="400"/>
@@ -19,12 +17,12 @@ diff -upr xfce4-settings-4.18.2.orig/xfsettingsd/xsettings.xml xfce4-settings-4.
 @@ -19,9 +19,9 @@
    </property>
    <property name="Xft" type="empty">
-     <property name="DPI" type="empty"/>
+     <property name="DPI" type="int" value="-1"/>
 -    <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 name="Lcdfilter" type="string" value="none"/> -->
    </property>
+   <property name="Gtk" type="empty">
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 925ea17d71..5fa84b4063 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -734,7 +734,7 @@ (define-public xfce4-session
 (define-public xfce4-settings
   (package
     (name "xfce4-settings")
-    (version "4.18.6")
+    (version "4.20.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://archive.xfce.org/src/xfce/"
@@ -742,20 +742,30 @@ (define-public xfce4-settings
                                   name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "1zkvcsgx3bnk8gwcgwg7656pw5p9a4xl1fv4divddv96c0dhbafr"))
+                "1ag5pimprxc12zgdbs27vngin97fc6l9ig7xzc0naacs8aiqsm13"))
               (patches (search-patches "xfce4-settings-defaults.patch"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags '("--enable-pluggable-dialogs"
-                           "--enable-sound-settings"
-                           "--enable-upower-glib"
-                           "--enable-xrandr")))
+     (list #:configure-flags
+           #~(list "--enable-pluggable-dialogs"
+                   "--enable-sound-settings"
+                   "--enable-upower-glib"
+                   "--enable-xrandr")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'configure 'patch-configure
+                 (lambda _
+                   (substitute* "configure"
+                     ;; XDG_CHECK_PACKAGE_BINARY requires an absolute path.
+                     (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
+                      "type -p gdbus-codegen")))))))
     (native-inputs
-     (list pkg-config intltool))
+     (list (list glib "bin") pkg-config intltool))
     (inputs
      (list colord
            exo
            garcon
+           gtk-layer-shell
            libnotify
            libxcursor
            libxi
-- 
2.46.0





  parent reply	other threads:[~2024-12-20  3:56 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20  3:55 [bug#74989] [PATCH 00/23] xfce 4.20 updates iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 01/23] gnu: xfce4-dev-tools: Update to 4.20.0 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 02/23] gnu: libxfce4util: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 03/23] gnu: xfconf: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 04/23] gnu: libxfce4ui: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 05/23] gnu: elementary-xfce-icon-theme: Update to 0.20 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 06/23] gnu: exo: Update to 4.20.0 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 07/23] gnu: garcon: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 08/23] gnu: tumbler: Update 4.20.0 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 09/23] gnu: Add libxfce4windowing iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 10/23] gnu: xfce4-panel: Update to 4.20.0 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 11/23] gnu: xfdesktop: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 12/23] gnu: xfce4-session: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` iyzsong--- via Guix-patches via [this message]
2024-12-20  3:56 ` [bug#74989] [PATCH 14/23] gnu: xfce4-power-manager: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 15/23] gnu: xfce4-pulseaudio-plugin: Update to 0.4.9 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 16/23] gnu: xfce4-appfinder: Update to 4.20.0 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 17/23] gnu: xfce4-session: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 18/23] gnu: thunar: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 19/23] gnu: thunar-volman: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 20/23] gnu: xfwm4: " iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 21/23] gnu: xfce4-dict: Update to 0.8.8 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 22/23] gnu: mousepad: Update to 0.6.3 iyzsong--- via Guix-patches via
2024-12-20  3:56 ` [bug#74989] [PATCH 23/23] gnu: xfce4-weather-plugin: Update to 0.11.3 iyzsong--- via Guix-patches via
2024-12-22  6:09 ` bug#74989: [PATCH 00/23] xfce 4.20 updates 宋文武 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=140adeb1bb25f00683f099765feee8b42191084c.1734666530.git.iyzsong@member.fsf.org \
    --to=guix-patches@gnu.org \
    --cc=74989@debbugs.gnu.org \
    --cc=all_but_last@163.com \
    --cc=iyzsong@envs.net \
    --cc=iyzsong@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.