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.
This commit is contained in:
宋文武 2023-04-01 13:16:30 +08:00
parent 12b500375d
commit 0810c30c51
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1339,7 +1339,7 @@ (define-public orage
(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 @@ (define-public xfce4-notifyd
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")