Subject: bug#46976: closed (Re: bug#46976: [PATCH] gnu: dunst: Update to 1.6.1.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 07 Mar 2021 06:56:02 +0000

Your bug report

#46976: [PATCH] gnu: dunst: Update to 1.6.1.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46976: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46976
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#46976: [PATCH] gnu: dunst: Update to 1.6.1.
From: Brice Waegeneire <[email-masked]>
To: Alexandru-Sergiu Marton <[email-masked]>
Cc: [email-masked]
Date: Sun, 07 Mar 2021 07:55:28 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Alexandru-Sergiu,

Alexandru-Sergiu Marton <[email-masked]> writes:

> * gnu/packages/dunst.scm (dunst): Update to 1.6.1.
> ---
>  gnu/packages/dunst.scm | 22 ++++++++++------------
>  1 file changed, 10 insertions(+), 12 deletions(-)

That you for the patch!  It's pushed as
6bf49dfa2606071fcd023f5487b7798fa2383a5e.

Cheers,
- Brice

Subject: [PATCH] gnu: dunst: Update to 1.6.1.
From: Alexandru-Sergiu Marton <[email-masked]>
To: [email-masked]
Cc: Alexandru-Sergiu Marton <[email-masked]>
Date: Sat, 6 Mar 2021 23:00:49 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/dunst.scm (dunst): Update to 1.6.1.
---
 gnu/packages/dunst.scm | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/dunst.scm b/gnu/packages/dunst.scm
index 2741336746..ce2c04bac6 100644
--- a/gnu/packages/dunst.scm
+++ b/gnu/packages/dunst.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2019 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2020 Brice Waegeneire <[email-masked]>
+;;; Copyright © 2021 Alexandru-Sergiu Marton <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23,6 +24,7 @@
   #:use-module (guix packages)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix utils)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages base)
   #:use-module (gnu packages freedesktop)
@@ -36,7 +38,7 @@
 (define-public dunst
   (package
     (name "dunst")
-    (version "1.5.0")
+    (version "1.6.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -45,25 +47,20 @@
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0irwkqcgwkqaylcpvqgh25gn2ysbdm2kydipxfzcq1ddj9ns6f9c"))))
+                "0lga1kj2vjbj9g9rl93nivngjmk5fkxdxwal8w96x9whwk9jvdga"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:tests? #f                      ; no check target
-       #:make-flags (list "CC=gcc"
+     `(#:tests? #f                      ; no check target
+       #:make-flags (list (string-append "CC=" ,(cc-for-target))
                           (string-append "PREFIX=" %output)
+                          (string-append "SYSCONFDIR=" %output "/etc")
                           ;; Otherwise it tries to install service file
                           ;; to "dbus" store directory.
                           (string-append "SERVICEDIR_DBUS=" %output
                                          "/share/dbus-1/services")
                           "dunstify")
        #:phases (modify-phases %standard-phases
-                  (delete 'configure)
-                  (add-after 'install 'install-dunstify
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let ((out (assoc-ref outputs "out")))
-                        (install-file "dunstify"
-                                      (string-append out "/bin")))
-                      #t)))))
+                  (delete 'configure))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("perl" ,perl)                   ; for pod2man
@@ -79,7 +76,8 @@
        ("libxscrnsaver" ,libxscrnsaver)
        ("libxinerama" ,libxinerama)
        ("libxrandr" ,libxrandr)
-       ("libxdg-basedir" ,libxdg-basedir)))
+       ("libxdg-basedir" ,libxdg-basedir)
+       ("wayland" ,wayland)))           ; for wayland support
     (home-page "https://dunst-project.org/")
     (synopsis "Customizable and lightweight notification daemon")
     (description
-- 
2.30.1