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 CJlbHKDxtF80VwAA0tVLHw (envelope-from ) for ; Wed, 18 Nov 2020 10:04:16 +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 uABXGKDxtF/UUgAAB5/wlQ (envelope-from ) for ; Wed, 18 Nov 2020 10:04:16 +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 A128A940481 for ; Wed, 18 Nov 2020 10:04:15 +0000 (UTC) Received: from localhost ([::1]:45660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfKJx-00047f-AR for larch@yhetil.org; Wed, 18 Nov 2020 05:04:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfKJm-00047F-Q7 for guix-patches@gnu.org; Wed, 18 Nov 2020 05:04:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfKJm-0001mG-Fj for guix-patches@gnu.org; Wed, 18 Nov 2020 05:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfKJm-0000pc-Bi for guix-patches@gnu.org; Wed, 18 Nov 2020 05:04:02 -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:04:02 +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.16056938403188 (code B ref 44720); Wed, 18 Nov 2020 10:04:02 +0000 Received: (at 44720) by debbugs.gnu.org; 18 Nov 2020 10:04:00 +0000 Received: from localhost ([127.0.0.1]:34186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfKJk-0000pM-2n for submit@debbugs.gnu.org; Wed, 18 Nov 2020 05:04:00 -0500 Received: from flashner.co.il ([178.62.234.194]:58902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfKJh-0000p2-NP for 44720@debbugs.gnu.org; Wed, 18 Nov 2020 05:03:58 -0500 Received: from localhost (unknown [141.226.15.169]) by flashner.co.il (Postfix) with ESMTPSA id CCAD74005F; Wed, 18 Nov 2020 10:03:50 +0000 (UTC) Date: Wed, 18 Nov 2020 12:03:06 +0200 From: Efraim Flashner Message-ID: <20201118100306.GA20593@E5400> References: <20201118083057.22752-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9Ek0hoCL9XbhcSqy" Content-Disposition: inline In-Reply-To: <20201118083057.22752-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-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: XLKkH1PiDsqY --9Ek0hoCL9XbhcSqy Content-Type: multipart/mixed; boundary="lEGEL1/lMxI0MVQ2" Content-Disposition: inline --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Can you try the attached patch? It wraps the binary in GI_TYPELIB_PATH instead of propagating gsettings-desktop-schemas. --=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 --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-astroid-Fix-build.patch" Content-Transfer-Encoding: quoted-printable =46rom c2ca21180acd1f655b71040bf3266761bb27d2cf 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. [propagated-inputs]: Add adwaita-icon-theme. Signed-off-by: Efraim Flashner --- gnu/packages/mail.scm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 59f49d1247..741130eab6 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -729,7 +729,10 @@ mailpack. What can alterMIME do? #t)))) (build-system cmake-build-system) (arguments - `(#:configure-flags (list "-GNinja") + `(#:modules ((guix build cmake-build-system) + (guix build utils) + (ice-9 match)) + #:configure-flags (list "-GNinja") #:phases (modify-phases %standard-phases (add-after 'unpack 'skip-markdown-test @@ -759,7 +762,22 @@ 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))))) (native-inputs `(("glib-networking" ,glib-networking) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) @@ -781,6 +799,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 --lEGEL1/lMxI0MVQ2-- --9Ek0hoCL9XbhcSqy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl+08VYACgkQQarn3Mo9 g1Fhdw//aN2iP/kJlE7U5eWJ20j8hKNOBEYiBfpGMJfY+64IWV2t3slaj022H5oK oGr+LL3fGWqVUirRpeGqmQY67M8iVzlWJJ8PRCNtrsxmuMoDcJ39nnjvrp0xXyLf wPCrtdtAYC4aDjbiDcti1JpMjH0/IINl4O/FGkPJF0Ck+hqUMLgu2VuqfxCHi7KS Z1QG6pOJ2mPTkpKIpIfU+GkAyVU5u1NeaxVZyDlunWJaK9n1YbfQWKg3NCzmKchg vh5G01yA424f2yv4ruA1/O4BUL8IG4xp9mfPHADx3AcRMU+0IZJfzpEqIlJx4ty3 bob4O0131S+TvyhJgdO6MNblIg716s7qWtCW2Y0hijWvNVxLPaOmuBFXW+ZJhPuE YNZKYKyaSNWDvEkAvhhXthkyaihbE41yKyVE5FIZkJc877CEI1fTtN/GjIrkI63w pI63jizB3Uo/DfhBaQ8K8eJzOfNCj1XnVtgdCW+gt+mmAsVNmMsnav36iGNO+jXl 4fsKI8IkoOTWcWQHBawnELeXko7cUikV77nLo6PELm5XQh/76Y9RsK9v0H4YFWC2 p2AtNGL2XVfDPF07fj9G8OYUYgVUGRrPF5cLJ8gQG7/G+b4qPlPFdFHchPRwuSVn 7sgzcQWEs4+MVLPb8ryljzirr3IgqqMbup2Z8jC8CcXtx+AdzUo= =PJUp -----END PGP SIGNATURE----- --9Ek0hoCL9XbhcSqy--