From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:33838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVp0V-0003ev-OQ for guix-patches@gnu.org; Tue, 28 May 2019 23:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVp0U-0005Wm-Kf for guix-patches@gnu.org; Tue, 28 May 2019 23:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVp0U-0005WU-AV for guix-patches@gnu.org; Tue, 28 May 2019 23:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVp0U-0002NW-3f for guix-patches@gnu.org; Tue, 28 May 2019 23:12:02 -0400 Subject: [bug#34971] [PATCH v2] gnu: Add mako. References: <20190324060845.7921-1-meiyo@riseup.net> In-Reply-To: <20190324060845.7921-1-meiyo@riseup.net> Resent-Message-ID: From: Meiyo Peng Date: Wed, 29 May 2019 11:09:24 +0800 Message-Id: <20190529030924.19859-1-meiyo@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: 34971@debbugs.gnu.org * gnu/packages/notification.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/notification.scm | 59 +++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 gnu/packages/notification.scm diff --git a/gnu/local.mk b/gnu/local.mk index 3a199f82f8..fb02c8aa8c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -342,6 +342,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/nim.scm \ %D%/packages/ninja.scm \ %D%/packages/node.scm \ + %D%/packages/notification.scm \ %D%/packages/noweb.scm \ %D%/packages/nss.scm \ %D%/packages/ntp.scm \ diff --git a/gnu/packages/notification.scm b/gnu/packages/notification.scm new file mode 100644 index 0000000000..0e7abb8693 --- /dev/null +++ b/gnu/packages/notification.scm @@ -0,0 +1,59 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Meiyo Peng +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages notification) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gtk) + #:use-module (gnu packages man) + #:use-module (gnu packages pkg-config) + #:use-module (guix build-system meson) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public mako + (let ((commit "ca8e763f06756136c534b1bbd2e5b536be6b1995") + (revision "1")) + (package + (name "mako") + (version (string-append "1.3-" revision "." + (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/mako.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w16n58xj4ncaqjlwczq7i8kpxi05hjp2dqkqhajd9dzk0bd77qy")))) + (build-system meson-build-system) + (inputs + `(("cairo" ,cairo) + ("elogind" ,elogind) + ("pango" ,pango) + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("scdoc" ,scdoc))) + (home-page "https://github.com/emersion/mako") + (synopsis "Lightweight Wayland notification daemon") + (description "@code{mako} is a lightweight notification daemon for +Wayland.") + (license license:expat)))) -- 2.21.0