From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uIveD3DXAWPnxwAAbAwnHQ (envelope-from ) for ; Sun, 21 Aug 2022 08:57:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2B/9D3DXAWOfSwEA9RJhRA (envelope-from ) for ; Sun, 21 Aug 2022 08:57:52 +0200 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 BED669236 for ; Sun, 21 Aug 2022 08:57:51 +0200 (CEST) Received: from localhost ([::1]:44336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPeu6-0002DR-Sj for larch@yhetil.org; Sun, 21 Aug 2022 02:57:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPetK-0002DI-4K for guix-patches@gnu.org; Sun, 21 Aug 2022 02:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPetJ-0002rw-RQ for guix-patches@gnu.org; Sun, 21 Aug 2022 02:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPetJ-0000gw-J5 for guix-patches@gnu.org; Sun, 21 Aug 2022 02:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50833] [PATCH v3] 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: Sun, 21 Aug 2022 06:57:01 +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: moreinfo To: 50833@debbugs.gnu.org Cc: jgart , Maxim Cournoyer Received: via spool by 50833-submit@debbugs.gnu.org id=B50833.16610649872609 (code B ref 50833); Sun, 21 Aug 2022 06:57:01 +0000 Received: (at 50833) by debbugs.gnu.org; 21 Aug 2022 06:56:27 +0000 Received: from localhost ([127.0.0.1]:33729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPesk-0000g1-QU for submit@debbugs.gnu.org; Sun, 21 Aug 2022 02:56:27 -0400 Received: from mx1.dismail.de ([78.46.223.134]:47911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPesf-0000fi-S4 for 50833@debbugs.gnu.org; Sun, 21 Aug 2022 02:56:25 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 23d019d4; Sun, 21 Aug 2022 08:56:10 +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-type :content-transfer-encoding; s=20190914; bh=qC0kpL9zoGopEYG6D0VC9 4pz7M6IXo8TbVoViTtdfog=; b=ctHPWxol3WBYE+D31G54IMbq5jLcdJmbCaXeZ yT40x6eC+1p8LMJ6KOhV9QyUOB5nWctqwbRFoVwlZNFDhvogYM9C9vE0azK03ZC5 UvUUU7MvWG0HmCsx1X6hMN/4xDCti6QMHNDWk1bXCy3uUisxOSzLPRtRCcu88e+D m3mY0HkzMj2WzHT1MLg55bPncyNXV4cerSGj6PwsbNj2oITSJ1JMH93qgXK28RTQ 12JQyM9fEBzOl5WMwQ77+MpRXbM5lE+c3B30b5UcdQmzanvuVAo8ZiB2gaGpEqvX H50Zg6Ok5zCWAxME2YvKN65AMmLjfmLkj7NbjU6BmmBzfVzQQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 00aaa684; Sun, 21 Aug 2022 08:56:10 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 5fd8ee2a; Sun, 21 Aug 2022 08:56:14 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 8820c4a4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 21 Aug 2022 08:56:13 +0200 (CEST) Date: Sun, 21 Aug 2022 01:53:37 -0500 Message-Id: <20220821065336.22194-1-jgart@dismail.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661065071; 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-type:content-type: 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=cRa3lh4LywNEXhYgxjIvbDSX3hLWFv5yx45fSapp2qU=; b=TXqDWIbHSbQkDQ7cz7JtjeOK3EYoxybgAVHyNLTGPscUCji1NM+o2PGSnhqbXPazaqudZA +7wd+/qHeHM3WkYq+LITMM5ysqs3+NdKphdoFLWFs8Vc70J/zV62ifcx0vfHXKwdOcTD0v 2sJZ6CtEsweEbe8EtaefH3e0x8EttkkBREo/XI3FiBPqr+z1fUG63R5eJDIDAPhj/TsrEl aTscbq2VvZximH84UIyJdCjsmi5LVkuHYDjZOkR4jkLnV3P1YaKO+JJMs/F+HYOvWoLWDu RNrtvRloL2D211J3zVrOnFptsE3GIUaoKZkr9KG4q94UlsWNLPym6+A1QD+yzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661065071; a=rsa-sha256; cv=none; b=VYUM4lM1s0Ft/RkorK7Mwq3Kc8F6Qaurr+6caQlT1TwB5cQ7ozaS+tI+K4rZyEB+Rh379E TG0hpIbPExuY/beSzMK7FA9AeKOf74gxGPya0KMyTs4Hi0Q+LnWhiR1Tad3vz/aNkpbriD 6syykoG3PtqVgQoan2pk9DGsmwcE+6IyEeeyDBwRFev/THCIDCDQbOGWyFoJtqafluFxpt RsDbtnoTSS+tnNxT74FntAyboNA5yhZifBYXQbwX0op+oGiQKsd2CFC9FI1QKi4Phk9+sZ 0el+ojsqgvwfTEqZz3Oxp8losFh4ZbJpiOIjMCYsr0jBCZZNW8FxA4L8iZ4d2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=ctHPWxol; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=ctHPWxol; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BED669236 X-Spam-Score: -1.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: Dl8bdCznXedq * gnu/packages/mail.scm (bower): New variable. Hi Maxim, Here's a version 3 patch set. I bumped bower to version 1.0 which was released a few days ago. lynx is no longer configured by default in the bower sources. all best, jgart --- gnu/packages/mail.scm | 72 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index b4b3162fff..dd307520df 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2022 Thiago Jung Bauermann ;;; Copyright © 2022 Guillaume Le Vaillant ;;; Copyright © 2022 muradm +;;; Copyright © 2022 jgart ;;; ;;; This file is part of GNU Guix. ;;; @@ -125,6 +126,7 @@ (define-module (gnu packages mail) #: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) @@ -1506,6 +1508,76 @@ (define-public python-notmuch2 (synopsis "Pythonic bindings for the notmuch mail database using CFFI") (license license:gpl3+))) +(define-public bower + (package + (name "bower") + (version "1.0") + (home-page "https://github.com/wangp/bower") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vcsbxlsvr2wv3c7sfr3yj21kbqy259skpxg00vf5bdkbc8qknq4")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list + "bower" + "man" + (string-append "CC=" #+(cc-for-target)) + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'patch-executables + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/detect_mime_type.m" + (("\"file") + (string-append "\"" (search-input-file inputs "/bin/file")))) + (substitute* "src/compose.m" + (("\"base64") + (string-append "\"" (search-input-file inputs "/bin/base64")))) + (substitute* "src/prog_config.m" + (("\\(\"false") + (string-append "(\"" (search-input-file inputs "/bin/false"))) + (("\\(\"notmuch\"") + (string-append "(\"" (search-input-file inputs "/bin/notmuch") "\"")) + (("/usr/bin/sendmail") + (search-input-file inputs "/sbin/sendmail"))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests" + (invoke "make"))))) + (replace 'install + (lambda* _ + (let ((bin (string-append #$output "/bin")) + (man (string-append #$output "/share/man/man1"))) + (install-file "bower" bin) + (install-file "bower.1" man))))))) + (native-inputs + (list diffutils + gawk + mercury + pandoc + util-linux)) + (inputs + (list gpgme + coreutils + notmuch + sendmail + ncurses)) + (synopsis "Terminal client for the notmuch email system") + (description "@code{bower} is a curses frontend for the notmuch email +system. It is written in @{mercury}.") + (license license:gpl3+))) + (define-public muchsync (package (name "muchsync") -- 2.37.2