From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMztILO9U2FZvQAAgWs5BA (envelope-from ) for ; Wed, 29 Sep 2021 03:13:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CJ0HHLO9U2F6SAAAB5/wlQ (envelope-from ) for ; Wed, 29 Sep 2021 01:13:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A8AB3798D for ; Wed, 29 Sep 2021 03:13:22 +0200 (CEST) Received: from localhost ([::1]:49900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVO9x-0008UO-SD for larch@yhetil.org; Tue, 28 Sep 2021 21:13:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVO9e-0008TK-SV for guix-patches@gnu.org; Tue, 28 Sep 2021 21:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVO9e-0007O3-LD for guix-patches@gnu.org; Tue, 28 Sep 2021 21:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVO9e-0006K5-HS for guix-patches@gnu.org; Tue, 28 Sep 2021 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50833] [PATCH] gnu: Add bower. References: <20210926190836.GB8410@gac.attlocal.net> In-Reply-To: <20210926190836.GB8410@gac.attlocal.net> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Sep 2021 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 50833@debbugs.gnu.org Cc: jgart Received: via spool by 50833-submit@debbugs.gnu.org id=B50833.163287796124265 (code B ref 50833); Wed, 29 Sep 2021 01:13:02 +0000 Received: (at 50833) by debbugs.gnu.org; 29 Sep 2021 01:12:41 +0000 Received: from localhost ([127.0.0.1]:47337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVO9J-0006JJ-9K for submit@debbugs.gnu.org; Tue, 28 Sep 2021 21:12:41 -0400 Received: from mx1.dismail.de ([78.46.223.134]:7310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVO9H-0006Ij-Cu for 50833@debbugs.gnu.org; Tue, 28 Sep 2021 21:12:40 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 37b8b1f8 for <50833@debbugs.gnu.org>; Wed, 29 Sep 2021 03:12:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=cA+mUsXJ+4tARTCKG24W6PZCkxxVIPirnuySahtLHpM=; b= L+WrKaOteNJmOqpz8OgjWcMEtI5twRf9Q7VVj+8K5NinAviUMi8++yX8HSpg86R1 8czvo7prewOb46MDZkv7J30EHsdmFOHt9DNo/mAHB/A0J+q3Fnec6oG3bejEznT7 cBSop/gXe+bGhMtQMEtUmv4CiAnwkQC8CQqqx2WpdLco1ruB68naD0yitPdb3JdU DRYaiwbeI1GGB12kgGs0PTQRkUz0iSduZd94zlEdE535J7o7l2RGcudKeV6cPXSk N2UWLUUXSbExBTuFaegrDIuHbZFioFFYVVVD5Wh67IFk866HPB2Xt+iGWE7ODJje 9a/hEA//xqXUlhy9NkzKdg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 045390ec for <50833@debbugs.gnu.org>; Wed, 29 Sep 2021 03:12:37 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 650a3931 for <50833@debbugs.gnu.org>; Wed, 29 Sep 2021 03:12:37 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id eacae6a0 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 29 Sep 2021 03:12:37 +0200 (CEST) Date: Tue, 28 Sep 2021 21:12:32 -0400 Message-Id: <20210929011232.21061-1-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632878003; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qt40gEYFup6uu6v6surVpTZqXycTH7Owc3aiFxIpLrQ=; b=J6NAunJphNYPHtoN4cjopR9aG+6Vz3Ag2mywVai0PJE4jxWWa8baF0M7OVAyvhTAPc+mpC giIW9tDGJuk55mXqbISgqMRDleCmkmGWfm0oz4fu7l9qfA2xsgmvKV5ND5v+P72T51hSL6 L83Hi7Cg0I9xOP6gLitW9gX5jgeIWP1oVanTLm0ox79fVkY3bO85ui+V1uTm6QF0Qzpcen Hmqa2NJJmTnXNLcDGvJKnVZ6w4eR9MLs/dxAqHxa/AfrkRH0/3o3chzYsDh6BBZBcp2Bw3 I9zj05vsAaL3+NlMNbR8JDS++ObxMlJbsQkmHRYtmc9KTd0rr/PzNEO9u9n4SQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632878003; a=rsa-sha256; cv=none; b=axjQA7UY1MTbNEKAt53kO6mcR9p9BHEJe3l5PNplvNPJXPhHLUXQJLA0UBDcdT8jbW6kBS O7g4UdCCvP8ayhoOJ80jNnKvCOwydnvqNADSkuSfxSEDLw9PUAdAvkMpTaG0ofAbuIRa6n +x/EH5EPNvZfjgV4fRWG56xaE7S2pnVBVoo0I/4RWhOBg/zigHCzCKRPvN50chAl0ipnfE HvWN3Xt2p5K+zb2qPSKySeUIXapX3BAJLZx+ZiyogV+/URk7BxFvzRLUq0f91oJGgZugWS oXRNDyddzCneYmerTmBG/Ye6+IogfCv/wq/JSaHLRgNXZG7dPsRRGvr+X2e0gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=L+WrKaOt; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.10 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=L+WrKaOt; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A8AB3798D X-Spam-Score: 1.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: PFBR36o+aC4I * gnu/packages/mail.scm (bower): New variable. --- gnu/packages/mail.scm | 66 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index b3bdf13537..9c5a1a7e22 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -87,6 +87,7 @@ #:use-module (gnu packages file) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gawk) #:use-module (gnu packages gdb) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -114,6 +115,7 @@ #:use-module (gnu packages lua) #:use-module (gnu packages m4) #:use-module (gnu packages man) + #:use-module (gnu packages mercury) #:use-module (gnu packages ncurses) #:use-module (gnu packages nettle) #:use-module (gnu packages networking) @@ -1302,6 +1304,70 @@ agent (@dfn{MUA}) experience as an alternative to the Emacs mode shipped with Notmuch.") (license license:gpl3+))) +(define-public bower + (package + (name "bower") + (version "0.13") + (home-page "https://github.com/wangp/bower") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url home-page) + (commit (string-append version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0r5s16pc3ym5nd33lv9ljv1p1gpb7yysrdni4g7w7yvjrnwk35l6")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list + "bower" "man" + (string-append "CC=" ,(cc-for-target)) + (string-append "prefix=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (invoke "make" "-C" "tests")))) + (replace 'install + (lambda* (#:key outpus #:allow-other-keys) + (let ((bin (string-append (assoc-ref %outputs "out") "/bin")) + (man (string-append (assoc-ref %outputs "out") "/share/man/man1")) + (conf (string-append (assoc-ref %outputs "out") "/share/bower"))) + (install-file "bower" bin) + (install-file "bower.conf.sample" (string-append conf "/bower.conf")) + (install-file "bower.1" man))))))) + (native-inputs + `(("diffutils" ,diffutils) ; needed for diff command + ("gawk" ,gawk) + ("mercury" ,mercury) + ("pandoc" ,pandoc) + ("util-linux" ,util-linux))) ; needed by rev command for test_process.m + (inputs + `(("coreutils" ,coreutils) ; needed for base64 + ("file" ,file) + ("gpgme" ,gpgme) + ("ncurses" ,ncurses) + ("xclip" ,xclip) + ("xdg-utils" ,xdg-utils))) ; needed for xdg-open + (synopsis "Terminal client for the notmuch email system") + (description +"@command{bower} is a curses frontend for the notmuch email system. +Bower has two main views: an index, and a combined message thread and pager. +Bower can use the @command{notmuch address} command to look up email addresses +where required, for example, when composing a new message. +Bower is designed such that it can be run on the local machine but call +out to @command{notmuch} via ssh on a remote machine storing your mail. + The advantage is that you can start helper programs on the local machine, +for example, a web browser or image viewer, and add or save attachments on +the local filesystem, even if your mail archive is stored on a different +machine.") + (license license:gpl3+))) + (define-public notifymuch (let ((commit "9d4aaf54599282ce80643b38195ff501120807f0") -- 2.33.0