From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54313) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0idG-0006xN-Uw for guix-patches@gnu.org; Sun, 09 Feb 2020 04:12:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0idF-0001mz-W9 for guix-patches@gnu.org; Sun, 09 Feb 2020 04:12:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0idF-0001ms-TP for guix-patches@gnu.org; Sun, 09 Feb 2020 04:12:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j0idF-0000t5-PQ for guix-patches@gnu.org; Sun, 09 Feb 2020 04:12:01 -0500 Subject: [bug#39522] [PATCH] gnu: dunst: Build dunstify. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54268) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0icY-0006wv-PE for guix-patches@gnu.org; Sun, 09 Feb 2020 04:11:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0icU-0001PO-P0 for guix-patches@gnu.org; Sun, 09 Feb 2020 04:11:18 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:39033) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j0icU-0001P0-Ip for guix-patches@gnu.org; Sun, 09 Feb 2020 04:11:14 -0500 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 5A43A40004 for ; Sun, 9 Feb 2020 09:11:13 +0000 (UTC) From: Brice Waegeneire Date: Sun, 9 Feb 2020 10:11:09 +0100 Message-Id: <20200209091109.28930-1-brice@waegenei.re> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39522@debbugs.gnu.org * gnu/packages/dunst.scm (dunst)[arguments]: Add phase install-dunstify. [inputs]: Add libnotify. --- gnu/packages/dunst.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gnu/packages/dunst.scm b/gnu/packages/dunst.scm index 75f2b80e5f..ecb6c15e16 100644 --- a/gnu/packages/dunst.scm +++ b/gnu/packages/dunst.scm @@ -26,6 +26,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -52,9 +53,15 @@ ;; Otherwise it tries to install service file ;; to "dbus" store directory. (string-append "SERVICEDIR_DBUS=" %output - "/share/dbus-1/services")) + "/share/dbus-1/services") + "dunstify") #:phases (modify-phases %standard-phases - (delete 'configure)))) + (delete 'configure) + (add-after 'install 'install-dunstify + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (copy-file "dunstify" + (string-append out "/bin/dunstify")))))))) (native-inputs `(("pkg-config" ,pkg-config) ("perl" ,perl) ; for pod2man @@ -65,6 +72,7 @@ ("glib" ,glib) ("cairo" ,cairo) ("pango" ,pango) + ("libnotify" ,libnotify) ; for dunstify ("libx11" ,libx11) ("libxscrnsaver" ,libxscrnsaver) ("libxinerama" ,libxinerama) -- 2.24.1