From patchwork Wed May 29 03:09:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Meiyo Peng X-Patchwork-Id: 14132 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 120AE17052; Wed, 29 May 2019 04:12:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A175B17050 for ; Wed, 29 May 2019 04:12:07 +0100 (BST) Received: from localhost ([127.0.0.1]:46240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVp0Y-0003fF-Nm for patchwork@mira.cbaines.net; Tue, 28 May 2019 23:12:06 -0400 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 X-Loop: help-debbugs@gnu.org 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-From: Meiyo Peng Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 May 2019 03:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34971 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34971@debbugs.gnu.org Received: via spool by 34971-submit@debbugs.gnu.org id=B34971.15590994669050 (code B ref 34971); Wed, 29 May 2019 03:12:02 +0000 Received: (at 34971) by debbugs.gnu.org; 29 May 2019 03:11:06 +0000 Received: from localhost ([127.0.0.1]:57894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVoza-0002Lt-92 for submit@debbugs.gnu.org; Tue, 28 May 2019 23:11:06 -0400 Received: from mx1.riseup.net ([198.252.153.129]:59852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVozY-0002Lj-6s for 34971@debbugs.gnu.org; Tue, 28 May 2019 23:11:04 -0400 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 64DC21A059E for <34971@debbugs.gnu.org>; Tue, 28 May 2019 20:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1559099463; bh=u+iPLgnSlM1XwjvLMPmJqFew8PoJzw4Vy19Y4RqdyWc=; h=From:To:Cc:Subject:Date:From; b=Ju8pRvQGtD+5DFJr8ib+kwan4k0tQnHzYiU+HhsPohB62MXksQRf6kR3VS6MRVjHS +UE0d581H1iBldTL94daTWxP+aFloG/jetJNp9l2OrbwuCKfEEMann7cSJ+IyJuZQB MGFltAL/GOHE0kU7QASW2hy+BbyoSWVG0ltuPMf4= X-Riseup-User-ID: 1618623AA100B4071C6E7A81B8C7A4C06E821B09BC9B349AC0571144015D3FBA Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 1308312023D; Tue, 28 May 2019 20:11:01 -0700 (PDT) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 310fcaa7; Wed, 29 May 2019 03:09:42 +0000 (UTC) From: Meiyo Peng Date: Wed, 29 May 2019 11:09:24 +0800 Message-Id: <20190529030924.19859-1-meiyo@riseup.net> 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/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))))