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 ms11 with LMTPS id uD8TLDv9tF97dQAA0tVLHw (envelope-from ) for ; Wed, 18 Nov 2020 10:53:47 +0000 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 UEf1Jzv9tF8xAwAAB5/wlQ (envelope-from ) for ; Wed, 18 Nov 2020 10:53:47 +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 E5371940415 for ; Wed, 18 Nov 2020 10:53:46 +0000 (UTC) Received: from localhost ([::1]:47290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfL5s-0000gk-8U for larch@yhetil.org; Wed, 18 Nov 2020 05:53:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfL4E-0007j9-2Y for guix-patches@gnu.org; Wed, 18 Nov 2020 05:52:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfL4D-0008Bl-NF for guix-patches@gnu.org; Wed, 18 Nov 2020 05:52:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfL4D-000276-Kl for guix-patches@gnu.org; Wed, 18 Nov 2020 05:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44720] [PATCH] gnu: astroid: Fix inputs. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Nov 2020 10:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44720 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tanguy LE CARROUR Cc: 44720@debbugs.gnu.org Received: via spool by 44720-submit@debbugs.gnu.org id=B44720.16056966888082 (code B ref 44720); Wed, 18 Nov 2020 10:52:01 +0000 Received: (at 44720) by debbugs.gnu.org; 18 Nov 2020 10:51:28 +0000 Received: from localhost ([127.0.0.1]:34368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfL3f-00026I-Pa for submit@debbugs.gnu.org; Wed, 18 Nov 2020 05:51:28 -0500 Received: from flashner.co.il ([178.62.234.194]:59044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfL3d-000264-IL for 44720@debbugs.gnu.org; Wed, 18 Nov 2020 05:51:26 -0500 Received: from localhost (unknown [141.226.15.169]) by flashner.co.il (Postfix) with ESMTPSA id ECF8A4064E; Wed, 18 Nov 2020 10:51:18 +0000 (UTC) Date: Wed, 18 Nov 2020 12:50:45 +0200 From: Efraim Flashner Message-ID: <20201118105045.GB31988@E5400> References: <20201118083057.22752-1-tanguy@bioneland.org> <20201118100306.GA20593@E5400> <1605694859.a6kz43zy47.astroid@melmoth.none> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s9fJI615cBHmzTOP" Content-Disposition: inline In-Reply-To: <1605694859.a6kz43zy47.astroid@melmoth.none> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -2.61 X-TUID: Ij4XewRXAKUC --s9fJI615cBHmzTOP Content-Type: multipart/mixed; boundary="0eh6TmSyL6TZE2Uz" Content-Disposition: inline --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 18, 2020 at 11:22:30AM +0100, Tanguy LE CARROUR wrote: > Hi, >=20 >=20 > Excerpts from Efraim Flashner's message of November 18, 2020 11:03 am: > > Can you try the attached patch? It wraps the binary in GI_TYPELIB_PATH > > instead of propagating gsettings-desktop-schemas. >=20 > Nop, does not work! :-( >=20 > I still get the following error message on startup: >=20 > ``` > (astroid:7236): GLib-GIO-ERROR **: 11:19:11.738: Settings schema 'org.gno= me.desktop.interface' is not installed > ``` >=20 I have another patch to try! --=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 --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-astroid-Fix-build.patch" Content-Transfer-Encoding: quoted-printable =46rom 57765196f855fe1a0674bfc48f2cdb5995d1c891 Mon Sep 17 00:00:00 2001 =46rom: Tanguy Le Carrour Date: Wed, 18 Nov 2020 09:30:57 +0100 Subject: [PATCH] gnu: astroid: Fix build. * gnu/packages/mail.scm (astroid)[arguments]: Add phase to wrap binary in GI_TYPELIB_PATH. Add 'glib-or-gtk-compile-schemas and 'glib-or-gtk-wrap phases from the glib-or-gtk build system. [propagated-inputs]: Add adwaita-icon-theme. Signed-off-by: Efraim Flashner --- gnu/packages/mail.scm | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 59f49d1247..1e2dd4035b 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -729,7 +729,13 @@ mailpack. What can alterMIME do? #t)))) (build-system cmake-build-system) (arguments - `(#:configure-flags (list "-GNinja") + `(#:modules ((guix build cmake-build-system) + ((guix build glib-or-gtk-build-system) #:prefix glib-or-= gtk:) + (guix build utils) + (ice-9 match)) + #:imported-modules ((guix build glib-or-gtk-build-system) + ,@%cmake-build-system-modules) + #:configure-flags (list "-GNinja") #:phases (modify-phases %standard-phases (add-after 'unpack 'skip-markdown-test @@ -759,7 +765,26 @@ mailpack. What can alterMIME do? #t)) (replace 'install (lambda _ - (invoke "ninja" "install")))))) + (invoke "ninja" "install"))) + (add-after 'install 'wrap-with-GI_TYPELIB_PATH + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (paths (map (match-lambda + ((outputs . directory) + (let ((girepodir (string-append + directory + "/lib/girepository-1.0= "))) + (if (file-exists? girepodir) + girepodir + #f)))) + inputs))) + (wrap-program (string-append out "/bin/astroid") + `("GI_TYPELIB_PATH" ":" prefix ,(filter identity paths)))) + #t)) + (add-after 'install 'glib-or-gtk-compile-schemas + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-sc= hemas)) + (add-after 'install 'glib-or-gtk-wrap + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) (native-inputs `(("glib-networking" ,glib-networking) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) @@ -781,6 +806,8 @@ mailpack. What can alterMIME do? ("python" ,python-wrapper) ("python-pygobject" ,python-pygobject) ("webkitgtk" ,webkitgtk))) + (propagated-inputs + `(("adwaita-icon-theme" ,adwaita-icon-theme))) ; Required for the thr= ead view (home-page "https://astroidmail.github.io/") (synopsis "GTK frontend to the notmuch mail system") (description --=20 2.29.2 --0eh6TmSyL6TZE2Uz-- --s9fJI615cBHmzTOP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl+0/IIACgkQQarn3Mo9 g1HoFxAArOL4YQFA4YvVDMUiftcWd0fCse1giXWue46iSNbmIQhX3ykzEpoTDR26 MMeM88bdxorwWNtjYZn5HIWfxHawCN2gufNzDzCDHHSfefHa8E1s+1VdaccOwX1J LVwgvO/tM+ja8Ao26LuyN+qwy9niqXzJsbUWGAcAzZaZTXmqFSOBi6DsmrUJc9bq qvv8hHxlRlWal6iMa2UNtcXOu+21SvsYj4SwLemkmtlA0Y5KyyuwY5Zc0qw8SMAV jVgBCd/xmbo8sEZasXfwSeeAaJh4oBgGXVjZkbkiRd3WRaeaFT9FlZPJM9Wp1gHU /dOtziyacl8R1xApOAgHEa++6pSmxuTTkOt+DQTsZqgPJiBbloov+XqVS3njwn0E +yqaNYd3641salLWj3kUT7Gkx0o3Y+Jqp42YysGAQ8ppeaXxgVmMkF1wqxlTIYyV mDxExC6B+c7nJYjbov7is2JQw+aluy1i3a6ftnlQlJwbN2C7eGZpol2VU0aTfsyG xP1IMAwvvi8RPfq3Fz/OW1BUGztXLDDTEIi42F2XoXY8F9m2i6RYIFHaOc/0ve5J oeciaqG5l/qpiftqSS/HFIM1sScRdi0f/o10ayfGrZbxz1MJ/y16BFjGlbqiTBSl XrM2mYarWDu/gFreWkeSUaxACz5ZW/1TjRBv4Fi+3VL/N9URL40= =GAE3 -----END PGP SIGNATURE----- --s9fJI615cBHmzTOP--