Archived
1
0
Fork 0

gnu: dunst: Update to 1.9.2.

* gnu/packages/dunst.scm (dunst): Update to 1.9.2.
[arguments]: Use gexps.

Change-Id: Ic13f1679074462918991a1ceba8571a46e721224
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Jaeme Sifat 2023-11-04 15:55:07 -04:00 committed by Christopher Baines
parent aa98a97607
commit a482d3d9ba
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -6,6 +6,7 @@
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro> ;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -24,6 +25,7 @@
(define-module (gnu packages dunst) (define-module (gnu packages dunst)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix utils) #:use-module (guix utils)
@ -41,45 +43,45 @@
(define-public dunst (define-public dunst
(package (package
(name "dunst") (name "dunst")
(version "1.9.0") (version "1.9.2")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/dunst-project/dunst") (uri (git-reference
(commit (string-append "v" version)))) (url "https://github.com/dunst-project/dunst")
(file-name (git-file-name name version)) (commit (string-append "v" version))))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"1nfxf2rahngxpy606yrizrz16d0pswl5sa9jfzpv7h19x6xy24vx")))) (base32 "17zrw7jrnlyln81pxw7p4jgvl7j1w1gf488nfskhns6j6dcz90gh"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; no check target (list
#:make-flags (list (string-append "CC=" ,(cc-for-target)) #:tests? #f ;no check target
(string-append "PREFIX=" %output) #:make-flags #~(list (string-append "CC="
(string-append "SYSCONFDIR=" %output "/etc") #$(cc-for-target))
;; Otherwise it tries to install service file (string-append "PREFIX=" %output)
;; to "dbus" store directory. (string-append "SYSCONFDIR=" %output "/etc")
(string-append "SERVICEDIR_DBUS=" %output ;; Otherwise it tries to install service file
"/share/dbus-1/services") ;; to "dbus" store directory.
"dunstify") (string-append "SERVICEDIR_DBUS=" %output
#:phases (modify-phases %standard-phases "/share/dbus-1/services")
(delete 'configure)))) "dunstify")
(native-inputs #:phases #~(modify-phases %standard-phases
(list pkg-config perl ; for pod2man (delete 'configure))))
which)) (native-inputs (list pkg-config perl ;for pod2man
(inputs which))
(list dbus (inputs (list dbus
(librsvg-for-system) ; for svg support (librsvg-for-system) ;for svg support
glib glib
cairo cairo
pango pango
libnotify ; for dunstify libnotify ;for dunstify
libx11 libx11
libxscrnsaver libxscrnsaver
libxinerama libxinerama
libxrandr libxrandr
libxdg-basedir libxdg-basedir
wayland)) ; for wayland support wayland)) ;for wayland support
(home-page "https://dunst-project.org/") (home-page "https://dunst-project.org/")
(synopsis "Customizable and lightweight notification daemon") (synopsis "Customizable and lightweight notification daemon")
(description (description