From patchwork Mon Feb 10 08:51:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 20208 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0722817AFF; Mon, 10 Feb 2020 08:52:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C6BA8168D9 for ; Mon, 10 Feb 2020 08:52:09 +0000 (GMT) Received: from localhost ([::1]:58382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j14nZ-0001Al-Bc for patchwork@mira.cbaines.net; Mon, 10 Feb 2020 03:52:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39872) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j14nT-0001AL-LV for guix-patches@gnu.org; Mon, 10 Feb 2020 03:52:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j14nS-0006Yw-As for guix-patches@gnu.org; Mon, 10 Feb 2020 03:52:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j14nS-0006Yo-7z for guix-patches@gnu.org; Mon, 10 Feb 2020 03:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j14nS-0001HC-6K for guix-patches@gnu.org; Mon, 10 Feb 2020 03:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39522] [PATCH v2] gnu: dunst: Build dunstify. References: <20200209091109.28930-1-brice@waegenei.re> In-Reply-To: <20200209091109.28930-1-brice@waegenei.re> Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Feb 2020 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39522 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39522@debbugs.gnu.org Received: via spool by 39522-submit@debbugs.gnu.org id=B39522.15813247204899 (code B ref 39522); Mon, 10 Feb 2020 08:52:02 +0000 Received: (at 39522) by debbugs.gnu.org; 10 Feb 2020 08:52:00 +0000 Received: from localhost ([127.0.0.1]:53651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j14nQ-0001Gw-26 for submit@debbugs.gnu.org; Mon, 10 Feb 2020 03:52:00 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:42181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j14nO-0001Gn-7X for 39522@debbugs.gnu.org; Mon, 10 Feb 2020 03:51:59 -0500 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 72B9C1BF20B for <39522@debbugs.gnu.org>; Mon, 10 Feb 2020 08:51:56 +0000 (UTC) From: Brice Waegeneire Date: Mon, 10 Feb 2020 09:51:48 +0100 Message-Id: <20200210085148.12612-1-brice@waegenei.re> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/dunst.scm (dunst)[arguments]: Add phase install-dunstify. [inputs]: Add libnotify. --- gnu/packages/dunst.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/dunst.scm b/gnu/packages/dunst.scm index 75f2b80e5f..5b20d6d013 100644 --- a/gnu/packages/dunst.scm +++ b/gnu/packages/dunst.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2015, 2017, 2018 Alex Kost ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2019 Efraim Flashner +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,6 +27,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 +54,16 @@ ;; 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"))) + (install-file "dunstify" + (string-append out "/bin"))) + #t))))) (native-inputs `(("pkg-config" ,pkg-config) ("perl" ,perl) ; for pod2man @@ -65,6 +74,7 @@ ("glib" ,glib) ("cairo" ,cairo) ("pango" ,pango) + ("libnotify" ,libnotify) ; for dunstify ("libx11" ,libx11) ("libxscrnsaver" ,libxscrnsaver) ("libxinerama" ,libxinerama)