From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 14 04:24:47 2020 Received: (at submit) by debbugs.gnu.org; 14 Nov 2020 09:24:47 +0000 Received: from localhost ([127.0.0.1]:49717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdrnb-0002fY-H3 for submit@debbugs.gnu.org; Sat, 14 Nov 2020 04:24:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:43570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdrnZ-0002fP-26 for submit@debbugs.gnu.org; Sat, 14 Nov 2020 04:24:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdrnY-0001A9-Ss for guix-patches@gnu.org; Sat, 14 Nov 2020 04:24:44 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:56193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdrnW-0008Sf-QB for guix-patches@gnu.org; Sat, 14 Nov 2020 04:24:44 -0500 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id F2D5220005; Sat, 14 Nov 2020 09:24:37 +0000 (UTC) From: Tanguy Le Carrour To: guix-patches@gnu.org Subject: [PATCH 0/2] gnu: Add astroid. Date: Sat, 14 Nov 2020 10:24:26 +0100 Message-Id: <20201114092426.4928-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.183.200; envelope-from=tanguy@bioneland.org; helo=relay7-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/14 04:24:38 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Tanguy Le Carrour X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Guix, I'm not sure that I properly dispatched the inputs in "-", "native" and "propagated", but… I've been happily using Astroid for some days and everything seems to work, so far. I had to modify `gmime` because the file `usr/share/gir-1.0/GMime-3.0.gir` was not generated. I didn't know if I had to put the "why" in the commit message, so I didn't. Next week, I'll try the plugin/extension system with Python and see if everything is OK. Thanks for reviewing! Tanguy Le Carrour (2): gnu: gmime: Add the "--enable-introspection" flag. gnu: Add astroid. gnu/packages/mail.scm | 65 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 14 04:26:28 2020 Received: (at 44628) by debbugs.gnu.org; 14 Nov 2020 09:26:28 +0000 Received: from localhost ([127.0.0.1]:49722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdrpD-0002ij-UE for submit@debbugs.gnu.org; Sat, 14 Nov 2020 04:26:28 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:52583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdrpC-0002iU-AG for 44628@debbugs.gnu.org; Sat, 14 Nov 2020 04:26:26 -0500 Received: from localhost.localdomain (static-176-185-184-238.ftth.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 84C73100007; Sat, 14 Nov 2020 09:26:19 +0000 (UTC) From: Tanguy Le Carrour To: 44628@debbugs.gnu.org Subject: [PATCH 1/2] gnu: gmime: Add the "--enable-introspection" flag. Date: Sat, 14 Nov 2020 10:26:10 +0100 Message-Id: <20201114092611.6225-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44628 Cc: Tanguy Le Carrour X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/mail.scm (gmime)[arguments]: Add the "--enable-introspection" flag. [native-inputs]: Add gobject-introspection. --- gnu/packages/mail.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index b6c51c337b..fcd593c356 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -593,12 +593,15 @@ It adds a large amount of new and improved features to mutt.") (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) + ("gobject-introspection" ,gobject-introspection) ("gnupg" ,gnupg))) ; for tests only (inputs `(("glib" ,glib) ("gpgme" ,gpgme) ("zlib" ,zlib))) (arguments - `(#:phases + `(#:configure-flags + (list "--enable-introspection=yes") + #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-paths-in-tests -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 14 04:26:31 2020 Received: (at 44628) by debbugs.gnu.org; 14 Nov 2020 09:26:31 +0000 Received: from localhost ([127.0.0.1]:49725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdrpH-0002j0-7K for submit@debbugs.gnu.org; Sat, 14 Nov 2020 04:26:31 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:57769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdrpE-0002iZ-Ts for 44628@debbugs.gnu.org; Sat, 14 Nov 2020 04:26:29 -0500 Received: from localhost.localdomain (static-176-185-184-238.ftth.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 13C3A100004; Sat, 14 Nov 2020 09:26:22 +0000 (UTC) From: Tanguy Le Carrour To: 44628@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add astroid. Date: Sat, 14 Nov 2020 10:26:11 +0100 Message-Id: <20201114092611.6225-2-tanguy@bioneland.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201114092611.6225-1-tanguy@bioneland.org> References: <20201114092611.6225-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44628 Cc: Tanguy Le Carrour X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/mail.scm (astroid): New variable. --- gnu/packages/mail.scm | 60 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index fcd593c356..d2af1ce10c 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -63,6 +63,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bison) + #:use-module (gnu packages boost) #:use-module (gnu packages calendar) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -107,6 +108,7 @@ #:use-module (gnu packages man) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) + #:use-module (gnu packages ninja) #:use-module (gnu packages openldap) #:use-module (gnu packages onc-rpc) #:use-module (gnu packages pcre) @@ -114,6 +116,7 @@ #:use-module (gnu packages perl-check) #:use-module (gnu packages perl-web) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages python-check) #:use-module (gnu packages python-crypto) @@ -703,6 +706,63 @@ mailpack. What can alterMIME do? (license (list (license:non-copyleft "file://LICENSE") license:bsd-3)))) +(define-public astroid + (package + (name "astroid") + (version "0.15") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/astroidmail/astroid") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11cxbva9ni98gii59xmbxh4c6idcg3mg0pgdsp1c3j0yg7ix0lj3")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags (list "-GNinja") + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "ninja" "-j" (number->string (parallel-job-count))))) + (replace 'check + (lambda _ + (invoke "echo" "ninja" "test"))) + (replace 'install + (lambda _ + (invoke "ninja" "install")))))) + (native-inputs + `(("gtkmm" ,gtkmm) + ("gmime" ,gmime) + ("gobject-introspection" ,gobject-introspection) + ("webkitgtk" ,webkitgtk) + ("pkg-config" ,pkg-config) + ("ninja" ,ninja) + ("ronn" ,ronn) + ("libsass" ,libsass) + ("libpeas" ,libpeas) + ("boost" ,boost) + ("glib-networking" ,glib-networking) + ("protobuf" ,protobuf))) + (inputs + `(("python" ,python) + ("notmuch" ,notmuch))) + (propagated-inputs + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("adwaita-icon-theme" ,adwaita-icon-theme))) + (home-page "https://astroidmail.github.io/") + (synopsis "GTK frontend to the notmuch mail system") + (description + "Astroid is a lightweight and fast Mail User Agent that provides +a graphical interface to searching, display and composing email, +organized in thread and tags. Astroid uses the notmuch backend for blazingly +fast searches through tons of email. Astroid searches, displays and +compose emails — and relies on other programs for fetching, +syncing and sending email. ") + (license license:gpl3+))) + (define-public ripmime ;; Upstream does not tag or otherwise provide any releases (only a version ;; number in the source) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 14:33:04 2020 Received: (at 44628) by debbugs.gnu.org; 17 Nov 2020 19:33:04 +0000 Received: from localhost ([127.0.0.1]:32975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf6iu-00041L-7D for submit@debbugs.gnu.org; Tue, 17 Nov 2020 14:33:04 -0500 Received: from flashner.co.il ([178.62.234.194]:56840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf6ip-00040F-LA for 44628@debbugs.gnu.org; Tue, 17 Nov 2020 14:33:02 -0500 Received: from localhost (unknown [141.226.15.169]) by flashner.co.il (Postfix) with ESMTPSA id 1EDDD40332; Tue, 17 Nov 2020 19:32:53 +0000 (UTC) Date: Tue, 17 Nov 2020 21:32:14 +0200 From: Efraim Flashner To: Tanguy Le Carrour Subject: Re: [bug#44628] [PATCH 1/2] gnu: gmime: Add the "--enable-introspection" flag. Message-ID: <20201117193214.GW987@E5400> References: <20201114092426.4928-1-tanguy@bioneland.org> <20201114092611.6225-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QVzQgM+zdZ3YWXqn" Content-Disposition: inline In-Reply-To: <20201114092611.6225-1-tanguy@bioneland.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44628 Cc: 44628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --QVzQgM+zdZ3YWXqn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This patch is good. I changed the order of inputs to keep them sorted alphabetically. On Sat, Nov 14, 2020 at 10:26:10AM +0100, Tanguy Le Carrour wrote: > * gnu/packages/mail.scm (gmime)[arguments]: Add the "--enable-introspecti= on" > flag. [native-inputs]: Add gobject-introspection. > --- > gnu/packages/mail.scm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index b6c51c337b..fcd593c356 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -593,12 +593,15 @@ It adds a large amount of new and improved features= to mutt.") > (build-system gnu-build-system) > (native-inputs > `(("pkg-config" ,pkg-config) > + ("gobject-introspection" ,gobject-introspection) > ("gnupg" ,gnupg))) ; for tests only > (inputs `(("glib" ,glib) > ("gpgme" ,gpgme) > ("zlib" ,zlib))) > (arguments > - `(#:phases > + `(#:configure-flags > + (list "--enable-introspection=3Dyes") > + #:phases > (modify-phases %standard-phases > (add-after > 'unpack 'patch-paths-in-tests > --=20 > 2.29.2 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --QVzQgM+zdZ3YWXqn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl+0JT0ACgkQQarn3Mo9 g1Hn7g/+KL5Um53/WTq5IWFFiEIsiIUpqT3UNPxJ5DrLcLzjWM8QMZc/ipB40Hzm 8yb/h2TSgBqNzzkWPVbu6yevSPM6io+zOh58dktgh3PgxcLxNWlclKl/GRzgLUwv UThUmzxTyq9QoGjW1+0mrx/44SHXroULvpt5Nt9UdIQbgjVQWG7OqdXvg60SlsF9 biV8rGbK9fnbskL56+DJoDN2p0ZO7d43kVtTc5EqtppdwxXFmEYstEpOT9t2KhYa 9rPXr3wmkT12+e4OC4nTGAMGaHhsVXsFsZiCcN5Sa14gw8aa/BtpNg/Utg2npE4f RBS6lx/jv6ibjrtoScvTGdqQW2SYH5iQ9H4vCXGsZjCTTGgGaAeN/gewCI99xDvc CTYG/0+lcxTH+PamUFqGiCfbPKp7gpflC9ykGqaPKxDrDwLBDROGGwSCL1T+TwQF 89eAYXX49GRd/PVzToy2XqAy1rJszAaQ2zfqXfhMVl+oyf8f692w7TZIARTLv2PW P24enrokwEFjBsaY1KKMhsbRRlaPIyuJwAZ1E+WoG1C/L1Msg9AYp5CuX3X0blN0 jA7VKx+rNj3VbrIey+bhwcwLU2/HtQoprcbrpObFOo4K+u16akikIx2dXXgLwD1l iU9A6++YFOd39JjEs3B1vPaFT5C9MtQgt8zJ0N4/imDY7HtEv04= =J3fi -----END PGP SIGNATURE----- --QVzQgM+zdZ3YWXqn-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 14:38:37 2020 Received: (at 44628-done) by debbugs.gnu.org; 17 Nov 2020 19:38:37 +0000 Received: from localhost ([127.0.0.1]:32991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf6oG-00049e-QJ for submit@debbugs.gnu.org; Tue, 17 Nov 2020 14:38:37 -0500 Received: from flashner.co.il ([178.62.234.194]:56864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf6oE-00049P-JT for 44628-done@debbugs.gnu.org; Tue, 17 Nov 2020 14:38:35 -0500 Received: from localhost (unknown [141.226.15.169]) by flashner.co.il (Postfix) with ESMTPSA id 4F3C2403D2; Tue, 17 Nov 2020 19:38:28 +0000 (UTC) Date: Tue, 17 Nov 2020 21:37:55 +0200 From: Efraim Flashner To: Tanguy Le Carrour Subject: Re: [bug#44628] [PATCH 2/2] gnu: Add astroid. Message-ID: <20201117193755.GX987@E5400> References: <20201114092611.6225-1-tanguy@bioneland.org> <20201114092611.6225-2-tanguy@bioneland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rPH0Y77Oimr1cvNq" Content-Disposition: inline In-Reply-To: <20201114092611.6225-2-tanguy@bioneland.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44628-done Cc: 44628-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --rPH0Y77Oimr1cvNq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This patch I went down a rabbit hole touching it up. On Sat, Nov 14, 2020 at 10:26:11AM +0100, Tanguy Le Carrour wrote: > * gnu/packages/mail.scm (astroid): New variable. > --- > gnu/packages/mail.scm | 60 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 60 insertions(+) >=20 > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index fcd593c356..d2af1ce10c 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -63,6 +63,7 @@ > #:use-module (gnu packages base) > #:use-module (gnu packages bash) > #:use-module (gnu packages bison) > + #:use-module (gnu packages boost) > #:use-module (gnu packages calendar) > #:use-module (gnu packages check) > #:use-module (gnu packages compression) > @@ -107,6 +108,7 @@ > #:use-module (gnu packages man) > #:use-module (gnu packages ncurses) > #:use-module (gnu packages networking) > + #:use-module (gnu packages ninja) > #:use-module (gnu packages openldap) > #:use-module (gnu packages onc-rpc) > #:use-module (gnu packages pcre) > @@ -114,6 +116,7 @@ > #:use-module (gnu packages perl-check) > #:use-module (gnu packages perl-web) > #:use-module (gnu packages pkg-config) > + #:use-module (gnu packages protobuf) > #:use-module (gnu packages python) > #:use-module (gnu packages python-check) > #:use-module (gnu packages python-crypto) > @@ -703,6 +706,63 @@ mailpack. What can alterMIME do? > (license (list (license:non-copyleft "file://LICENSE") > license:bsd-3)))) > =20 > +(define-public astroid > + (package > + (name "astroid") > + (version "0.15") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/astroidmail/astroid") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "11cxbva9ni98gii59xmbxh4c6idcg3mg0pgdsp1c3j0yg7ix0lj3"))= )) I added a snippet for the test suite to adjust for gmime@3.2.3+ https://github.com/astroidmail/astroid/pull/685 > + (build-system cmake-build-system) > + (arguments > + `(#:configure-flags (list "-GNinja") > + #:phases > + (modify-phases %standard-phases > + (replace 'build > + (lambda _ > + (invoke "ninja" "-j" (number->string (parallel-job-count)))= )) > + (replace 'check > + (lambda _ > + (invoke "echo" "ninja" "test"))) This just echos "ninja test" but doesn't actually run anything. I changed it to run (invoke "ctest" ".") Then I added a phase to start the xorg display for the tests and another phase to work around not getting the test suite to recognize the plugin modules. > + (replace 'install > + (lambda _ > + (invoke "ninja" "install")))))) The native-inputs should have a bunch moved to regular inputs. It was also missing gnupg and w3m, needed for the test suite. I removed adwaita-icon-theme from propagated inputs, we try not to propagate icon sets. I also sorted them alphabetically. > + (native-inputs > + `(("gtkmm" ,gtkmm) > + ("gmime" ,gmime) > + ("gobject-introspection" ,gobject-introspection) > + ("webkitgtk" ,webkitgtk) > + ("pkg-config" ,pkg-config) > + ("ninja" ,ninja) > + ("ronn" ,ronn) > + ("libsass" ,libsass) > + ("libpeas" ,libpeas) > + ("boost" ,boost) > + ("glib-networking" ,glib-networking) > + ("protobuf" ,protobuf))) > + (inputs > + `(("python" ,python) > + ("notmuch" ,notmuch))) > + (propagated-inputs > + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) > + ("adwaita-icon-theme" ,adwaita-icon-theme))) > + (home-page "https://astroidmail.github.io/") > + (synopsis "GTK frontend to the notmuch mail system") > + (description > + "Astroid is a lightweight and fast Mail User Agent that provides > +a graphical interface to searching, display and composing email, > +organized in thread and tags. Astroid uses the notmuch backend for blaz= ingly > +fast searches through tons of email. Astroid searches, displays and > +compose emails =E2=80=94 and relies on other programs for fetching, > +syncing and sending email. ") > + (license license:gpl3+))) There's also a bit of borrowed code from geary and gmime, under the lgpl2.1+, so I added that to the license list. It is true that the entire work is under the gpl3+ but we try to be more specific if possible. > + > (define-public ripmime > ;; Upstream does not tag or otherwise provide any releases (only a ver= sion > ;; number in the source) > --=20 > 2.29.2 >=20 I didn't get a chance to test it since I don't use notmuch. Patch pushed! --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --rPH0Y77Oimr1cvNq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl+0JpMACgkQQarn3Mo9 g1FWvQ//f40aPE9l1pST3LQnsQbIHvP89P8g9K0ghQdG1/8/NeVjpEOenRuWsyAH JU+mMOc6J29iLT8YvLdE6DoitkLtRHWT4qL8glHtb4qxj09lyqsrJu2Ss6u/EGNC JZ7QQRj4E1DHLCjm7/B7DaosQq/TLESQ4LgZqJ6nD1pJWmIXsXCTNvmjg5hVERvR N1SfF5CRaEhlPpc8mTUYQ8tkX3a7lv0aScUNTy04BVH8zHxGJZa613vJlpjsjLKc xDyaDDBB/88DIzE/0B2N1oEwTLuCBxOCAFaXlAh4lZQ+xZRCcG0U771/4zsCVcvK 4/HKj751HIkiArSzt5RI2Bo1449rKWhQqesI6Cx3udPCfAn4ZtqOPn1YO298P/pv +qRoa/5Mb06xUQhtxpSOUF/PTSU+5D/eMIRR70s48Epk6DxZV+pnfZ+vM5oGiq5T 6TflMCED1kDyDbVSuADqlvB58vfGFMiPsgHbZ3KGTcQkFlhKB8raY9ya9zXypvIe +mabdMUoHp/kNHMZiwpQbK/hVv9odrxO3IW1Nlo2Nxbq4+/Gf0bl1QN03UtCjkfb zHbWwMfxLjolKyP1gfbSMtHp2+qzIuTacDJ2t1S/zF+lNtCK1ytjuOBiPuACKYyL VPbWQyi/G1q2qpr6eJqaW/k01uDR9brt91JjDH2g7LHMbitx2O0= =YF+L -----END PGP SIGNATURE----- --rPH0Y77Oimr1cvNq-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 18 03:23:33 2020 Received: (at 44628-done) by debbugs.gnu.org; 18 Nov 2020 08:23:33 +0000 Received: from localhost ([127.0.0.1]:33903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfIkX-0004SD-5m for submit@debbugs.gnu.org; Wed, 18 Nov 2020 03:23:33 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:56795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfIkT-0004Rw-CU for 44628-done@debbugs.gnu.org; Wed, 18 Nov 2020 03:23:31 -0500 Received: from localhost (static-176-185-184-238.ftth.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 284E224001B; Wed, 18 Nov 2020 08:23:21 +0000 (UTC) Date: Wed, 18 Nov 2020 09:23:19 +0100 From: Tanguy LE CARROUR Subject: Re: [bug#44628] [PATCH 2/2] gnu: Add astroid. To: Efraim Flashner References: <20201114092611.6225-1-tanguy@bioneland.org> <20201114092611.6225-2-tanguy@bioneland.org> <20201117193755.GX987@E5400> In-Reply-To: <20201117193755.GX987@E5400> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1605687026.i9n46bask7.astroid@melmoth.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44628-done Cc: 44628-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Efraim, Thanks for the time and efforts you put into reviewing my patch! I really appreciate it! Excerpts from Efraim Flashner's message of November 17, 2020 8:37 pm: > This patch I went down a rabbit hole touching it up. >=20 > On Sat, Nov 14, 2020 at 10:26:11AM +0100, Tanguy Le Carrour wrote: >> * gnu/packages/mail.scm (astroid): New variable. >> --- >> gnu/packages/mail.scm | 60 +++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 60 insertions(+) >>=20 >> diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm >> index fcd593c356..d2af1ce10c 100644 >> --- a/gnu/packages/mail.scm >> +++ b/gnu/packages/mail.scm >> @@ -63,6 +63,7 @@ >> #:use-module (gnu packages base) >> #:use-module (gnu packages bash) >> #:use-module (gnu packages bison) >> + #:use-module (gnu packages boost) >> #:use-module (gnu packages calendar) >> #:use-module (gnu packages check) >> #:use-module (gnu packages compression) >> @@ -107,6 +108,7 @@ >> #:use-module (gnu packages man) >> #:use-module (gnu packages ncurses) >> #:use-module (gnu packages networking) >> + #:use-module (gnu packages ninja) >> #:use-module (gnu packages openldap) >> #:use-module (gnu packages onc-rpc) >> #:use-module (gnu packages pcre) >> @@ -114,6 +116,7 @@ >> #:use-module (gnu packages perl-check) >> #:use-module (gnu packages perl-web) >> #:use-module (gnu packages pkg-config) >> + #:use-module (gnu packages protobuf) >> #:use-module (gnu packages python) >> #:use-module (gnu packages python-check) >> #:use-module (gnu packages python-crypto) >> @@ -703,6 +706,63 @@ mailpack. What can alterMIME do? >> (license (list (license:non-copyleft "file://LICENSE") >> license:bsd-3)))) >> =20 >> +(define-public astroid >> + (package >> + (name "astroid") >> + (version "0.15") >> + (source >> + (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url "https://github.com/astroidmail/astroid") >> + (commit (string-append "v" version)))) >> + (file-name (git-file-name name version)) >> + (sha256 >> + (base32 "11cxbva9ni98gii59xmbxh4c6idcg3mg0pgdsp1c3j0yg7ix0lj3")= ))) >=20 > I added a snippet for the test suite to adjust for gmime@3.2.3+ > https://github.com/astroidmail/astroid/pull/685 This has been merged, but there's been no release yet. Is it a case where I could do a "version release", with a commit number, like for instance what is done for `emacs-atom-one-dark-theme`, to make the latest code available? If yes, should it be a different variable name, like `astroid-latest`? >> + (build-system cmake-build-system) >> + (arguments >> + `(#:configure-flags (list "-GNinja") >> + #:phases >> + (modify-phases %standard-phases >> + (replace 'build >> + (lambda _ >> + (invoke "ninja" "-j" (number->string (parallel-job-count))= ))) >> + (replace 'check >> + (lambda _ >> + (invoke "echo" "ninja" "test"))) >=20 > This just echos "ninja test" but doesn't actually run anything. I > changed it to run (invoke "ctest" ".") Then I added a phase to start the > xorg display for the tests and another phase to work around not getting > the test suite to recognize the plugin modules. Shame on me!! :-( I added the "echo" to save some time, and forgot to remove it! Next time, I'll put a comment alongside it! But I thought `ninja test` was successfully running all the tests! Strange. >=20 >> + (replace 'install >> + (lambda _ >> + (invoke "ninja" "install")))))) >=20 > The native-inputs should have a bunch moved to regular inputs. It was > also missing gnupg and w3m, needed for the test suite. I removed > adwaita-icon-theme from propagated inputs, we try not to propagate icon > sets. I also sorted them alphabetically. The problem is that=E2=80=A6 the software is built, but does not work! I had to put back `gsettings-desktop-schemas` and `adwaita-icon-theme` back into the propagated inputs to make it work. Without the first one, it does not event start. Without the second, one cannot switch to the thread view. I'll submit a new patch for that. >> + (native-inputs >> + `(("gtkmm" ,gtkmm) >> + ("gmime" ,gmime) >> + ("gobject-introspection" ,gobject-introspection) >> + ("webkitgtk" ,webkitgtk) >> + ("pkg-config" ,pkg-config) >> + ("ninja" ,ninja) >> + ("ronn" ,ronn) >> + ("libsass" ,libsass) >> + ("libpeas" ,libpeas) >> + ("boost" ,boost) >> + ("glib-networking" ,glib-networking) >> + ("protobuf" ,protobuf))) >> + (inputs >> + `(("python" ,python) >> + ("notmuch" ,notmuch))) >> + (propagated-inputs >> + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) >> + ("adwaita-icon-theme" ,adwaita-icon-theme))) >> + (home-page "https://astroidmail.github.io/") >> + (synopsis "GTK frontend to the notmuch mail system") >> + (description >> + "Astroid is a lightweight and fast Mail User Agent that provides >> +a graphical interface to searching, display and composing email, >> +organized in thread and tags. Astroid uses the notmuch backend for bla= zingly >> +fast searches through tons of email. Astroid searches, displays and >> +compose emails =E2=80=94 and relies on other programs for fetching, >> +syncing and sending email. ") >> + (license license:gpl3+))) >=20 > There's also a bit of borrowed code from geary and gmime, under the > lgpl2.1+, so I added that to the license list. It is true that the > entire work is under the gpl3+ but we try to be more specific if > possible. Thaaaaaanks again for your time and effort! --=20 Tanguy From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 18 03:46:32 2020 Received: (at 44628-done) by debbugs.gnu.org; 18 Nov 2020 08:46:32 +0000 Received: from localhost ([127.0.0.1]:34029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfJ6m-00058w-Cc for submit@debbugs.gnu.org; Wed, 18 Nov 2020 03:46:32 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:59293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfJ6k-00058g-1E for 44628-done@debbugs.gnu.org; Wed, 18 Nov 2020 03:46:30 -0500 X-Originating-IP: 176.185.184.238 Received: from localhost (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id D915A40010; Wed, 18 Nov 2020 08:46:22 +0000 (UTC) Date: Wed, 18 Nov 2020 09:46:20 +0100 From: Tanguy LE CARROUR Subject: Re: [bug#44628] [PATCH 2/2] gnu: Add astroid. To: Efraim Flashner References: <20201114092611.6225-1-tanguy@bioneland.org> <20201114092611.6225-2-tanguy@bioneland.org> <20201117193755.GX987@E5400> <1605687026.i9n46bask7.astroid@melmoth.none> In-Reply-To: <1605687026.i9n46bask7.astroid@melmoth.none> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1605689100.hkeeibitqk.astroid@melmoth.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44628-done Cc: 44628-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Efraim, Excerpts from Tanguy LE CARROUR's message of November 18, 2020 9:23 am: > Excerpts from Efraim Flashner's message of November 17, 2020 8:37 pm: >> This patch I went down a rabbit hole touching it up. >> [=E2=80=A6] >> The native-inputs should have a bunch moved to regular inputs. It was >> also missing gnupg and w3m, needed for the test suite. I removed >> adwaita-icon-theme from propagated inputs, we try not to propagate icon >> sets. I also sorted them alphabetically. >=20 > The problem is that=E2=80=A6 the software is built, but does not work! > I had to put back `gsettings-desktop-schemas` and `adwaita-icon-theme` > back into the propagated inputs to make it work. > Without the first one, it does not event start. Without the second, one > cannot switch to the thread view. >=20 > I'll submit a new patch for that. Submitted: --=20 Tanguy From unknown Sun Aug 17 10:22:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 16 Dec 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator