summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-04-01 13:16:30 +0800
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-12 08:29:31 -0400
commitd69d7985a2f1be9c2ac9d2c2d8f7fc3977a61c09 (patch)
tree7ccf3c7fe1e1782db117c0f59d291f06da5917c6 /gnu
parente080af2618500b5371287e8e9b3b27f40e28e562 (diff)
downloadguix-d69d7985a2f1be9c2ac9d2c2d8f7fc3977a61c09.tar.gz
gnu: xfce4-notifyd: Update to 0.8.2.
* gnu/packages/xfce.scm (xfce4-notifyd): Update to 0.8.2.
[arguments]: Patch 'configure' to use 'which' instead of 'pkg-config' for
finding paths for gdbus-codegen, glib-compile-resources and glib-genmarshal.
[native-inputs]: Add glib:bin and which.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xfce.scm18
1 files changed, 15 insertions, 3 deletions
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index feb1054534..557f475c53 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1339,7 +1339,7 @@ several different time zones.")
 (define-public xfce4-notifyd
   (package
     (name "xfce4-notifyd")
-    (version "0.8.0")
+    (version "0.8.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://archive.xfce.org/src/apps/"
@@ -1347,10 +1347,22 @@ several different time zones.")
                                   name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "1jcmcjq2kay9kmzd5j5l8kasrzqb7aidp26q4nbmxghxxa3ncyf7"))))
+                "115fy87lcn9scwx52kjs0g250q2d3r10sahl6l8l38fs13dqm8p3"))))
     (build-system glib-or-gtk-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'configure 'patch-configure
+                 (lambda _
+                   (substitute* "configure"
+                     (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
+                      "which gdbus-codegen")
+                     (("\\$PKG_CONFIG --variable=glib_compile_resources gio-2.0")
+                      "which glib-compile-resources")
+                     (("\\$PKG_CONFIG --variable=glib_genmarshal glib-2.0")
+                      "which glib-genmarshal")))))))
     (native-inputs
-     (list intltool pkg-config))
+     (list intltool pkg-config (list glib "bin") which))
     (inputs
      (list libxfce4ui libnotify sqlite xfce4-panel))
     (home-page "https://goodies.xfce.org/projects/applications/xfce4-notifyd")