From patchwork Wed Nov 18 10:03:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 25177 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CD41727BBF6; Wed, 18 Nov 2020 10:04:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6D88D27BBF5 for ; Wed, 18 Nov 2020 10:04:13 +0000 (GMT) Received: from localhost ([::1]:45660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfKJw-00047f-Fl for patchwork@mira.cbaines.net; Wed, 18 Nov 2020 05:04:12 -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-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-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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Can you try the attached patch? It wraps the binary in GI_TYPELIB_PATH instead of propagating gsettings-desktop-schemas. 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 thread view (home-page "https://astroidmail.github.io/") (synopsis "GTK frontend to the notmuch mail system") (description