From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WK+9DT+BVmFIbAAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 05:32:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gEJwCT+BVmFzJgAAB5/wlQ (envelope-from ) for ; Fri, 01 Oct 2021 03:32:15 +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 DD93139F8E for ; Fri, 1 Oct 2021 05:32:13 +0200 (CEST) Received: from localhost ([::1]:45078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW9HR-0000Kh-0j for larch@yhetil.org; Thu, 30 Sep 2021 23:32:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW9HH-0000HS-Ap for guix-patches@gnu.org; Thu, 30 Sep 2021 23:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mW9HH-0003yi-2n for guix-patches@gnu.org; Thu, 30 Sep 2021 23:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mW9HG-0007C1-VD for guix-patches@gnu.org; Thu, 30 Sep 2021 23:32: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: Fri, 01 Oct 2021 03:32: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.163305910827619 (code B ref 50833); Fri, 01 Oct 2021 03:32:02 +0000 Received: (at 50833) by debbugs.gnu.org; 1 Oct 2021 03:31:48 +0000 Received: from localhost ([127.0.0.1]:54412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW9H1-0007BP-Nc for submit@debbugs.gnu.org; Thu, 30 Sep 2021 23:31:48 -0400 Received: from mx1.dismail.de ([78.46.223.134]:24952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW9Gy-0007Ae-06 for 50833@debbugs.gnu.org; Thu, 30 Sep 2021 23:31:45 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 99783b16 for <50833@debbugs.gnu.org>; Fri, 1 Oct 2021 05:31:43 +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=foVCwAuONZ+BwdTdmZFa/AsOOBNyxtxw9zz62vpYjVA=; b= KafQ/rJHZxPuVdi94x8Ze4Ysllw3ZJ8l3lSX4iA8zhl51Y3zpVmwYHMphN1fZYHX ECuD8xzNZxbNcB2qoywk1y0jw6byEwh3Kw8b7VFT40GNoxgmjQIqg1VZZR8DPsZi oytlVR9RV39L/S5/jBntysF+hb7Tz0NKcfWej2ZlhV1qYkiKScyVVy/BzwiTh0Yw UN1tvGSDJgP0c8tHjlx5Rm+UjRzD0shu5vmdg0qSVcMINf3pX4LieQM5pgdUJEbm c9JCsA2BvRdyMCIYjnlweoTXe7aNIY1EzPh++CjkaqE2Om0uz8NVjodilFkiGs6g OQaaoP9BmXLpcLCID8uIVQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 8ad212b0 for <50833@debbugs.gnu.org>; Fri, 1 Oct 2021 05:31:42 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 1590b4a8 for <50833@debbugs.gnu.org>; Fri, 1 Oct 2021 05:31:42 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c52393c1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 1 Oct 2021 05:31:41 +0200 (CEST) Date: Thu, 30 Sep 2021 23:31:27 -0400 Message-Id: <20211001033127.4233-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=1633059134; 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=M805QvwCt+4d7fBtbpPh8abY2zCci5kYtlkuBBYPGZ8=; b=E9kD65qqUdR6gfAe5v7opM5Cdzh59Wp+OaD5i8h70yw0yhgi+Jib8PFSlrAyjog0CRWKkK VKWGqAmuhg7seASa6NQU9ItlcucpcwvMv8UOAYt5TR+Sfc0r3GUkg0yjo8uFr+4sOedP2d hxHaMkwRZRXdR0QzO6Ap1TlwaO2mN8T5F1rmYdIJeVdGA2ujKgxn9710JIWzXZJRAgiaGv tVxANRFqa+EWQvhoOqa4NOFnv/RNTF1NQMp5hVUk7BtqNg/OmrxS2zqkFasHAdfL2o2wr3 0nUXhXVuxr0iExx051CdYs4CJGJ+Czf5CKgCuVDEj7VaWP3hHk6VmDLn5vzv/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633059134; a=rsa-sha256; cv=none; b=L3qVM3Or2joRVFyB3E8PU1hase9kzroM9T+afddHNs4dDEKaWgXVDWKylbfnL80CV10t+L D21TOxIOwK+J2Fj6pGBpoL3o57KZp5ou+ObUCyLksR0ThqR3anz/H0e7Yp8h+VF3+lkhAf KGYz+gmR5AJ4dvUIpC5BXKRkVxTw8pqKukImryfxH4MAAt5GhAlR6iniRkFW/hw5ZEoVOZ T/pIPP/F+BJURZlLuNro5MsGB1LjwHOVJC4SVNgh2y5cwBKtIjKiMMMav3Evbmx6XM0UQk vd0QoqfW4bJUFaZ88IfDnP0vPUm0CaJ3soLx+y4r7ctU5pLuWLJVCekMKTVxJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b="KafQ/rJH"; 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="KafQ/rJH"; 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: DD93139F8E X-Spam-Score: 1.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: nXAqTjcYi9ce * 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 e1e56c33d0..3bfb81085b 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") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/wangp/bower") + (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 + (home-page "https://github.com/wangp/bower") + (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