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 CHocFqBCJmOHfQAAbAwnHQ (envelope-from ) for ; Sat, 17 Sep 2022 23:56:48 +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 gBMVFqBCJmONqQAA9RJhRA (envelope-from ) for ; Sat, 17 Sep 2022 23:56:48 +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 321D32968B for ; Sat, 17 Sep 2022 23:56:48 +0200 (CEST) Received: from localhost ([::1]:35618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZfnr-0002Ub-Ev for larch@yhetil.org; Sat, 17 Sep 2022 17:56:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZfmE-0008Rg-0l for guix-patches@gnu.org; Sat, 17 Sep 2022 17:55:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZfmD-0001tc-6q for guix-patches@gnu.org; Sat, 17 Sep 2022 17:55:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZfmC-0007mO-RK for guix-patches@gnu.org; Sat, 17 Sep 2022 17:55:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57889] [PATCH 1/8] gnu: blueprint-compiler: Wrap GUIX_PYTHONPATH and GI_TYPELIB_PATH. References: <406e4fd3c75650e148b7ab0a86036b4cff1206c1.camel@gmail.com> In-Reply-To: <406e4fd3c75650e148b7ab0a86036b4cff1206c1.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Sep 2022 21:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57889@debbugs.gnu.org Received: via spool by 57889-submit@debbugs.gnu.org id=B57889.166345169729835 (code B ref 57889); Sat, 17 Sep 2022 21:55:04 +0000 Received: (at 57889) by debbugs.gnu.org; 17 Sep 2022 21:54:57 +0000 Received: from localhost ([127.0.0.1]:47311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZfm4-0007l7-WF for submit@debbugs.gnu.org; Sat, 17 Sep 2022 17:54:57 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:41555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZfls-0007jS-4j for 57889@debbugs.gnu.org; Sat, 17 Sep 2022 17:54:47 -0400 Received: by mail-ej1-f68.google.com with SMTP id kr11so10578870ejc.8 for <57889@debbugs.gnu.org>; Sat, 17 Sep 2022 14:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:from:to:cc:subject:date; bh=cRcbX8RE2ftbRlUF/pTsWC7IiKAJj4rLyR7TI7ad9zM=; b=Savms1pv5qvAPms+dzYANK4/3YK3YZhVli/k7+hYRImPhI8Y2tE4PmP76Sr5K/Y8E4 LoFYM4QtpFMQcROVUWjqpwyhI3+5+/fqv3i8DrUnhOgWc1QrLERNcwXbI1a8/E64Tl2n lG62vujBd8f3MQfYLnKv1QhvfcTpv6KDeC+OzBeg3mZp5N8M0Wx4Y6s7edzh3YgVdnC3 BsUa0OMJ434euBAAIUzNagmvqJCccN2lCXsnT8yVLSCaFWilL7Z3YPicPUT3IFIp7zqR gYLIyp0ZkuLhNAeZWolVOXtxHCAmU+02PeY9xHT7gzjrM+eyRlBffmOAAn6GRBZAMMw9 R7FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:x-gm-message-state:from:to:cc:subject:date; bh=cRcbX8RE2ftbRlUF/pTsWC7IiKAJj4rLyR7TI7ad9zM=; b=3HkOfgKZuQFkO860kua8eDO8S6fHoVAw5dINI4VpULqCtNXSV2yEGGFcy1bv6yp0X6 3scuG4pM+xgr3pIhmCPRlXhxAQIOZ/GPOpz0S4z+O/mnVP1dFir8Xc5NPe0MeWYI3Tcj 6zvkag8V4lDIr6g3/AqvQzJN08W/IY0ArCdY12LDEVzF+yWRug3Xz2bJdi1RieLU3fQe aan9o+psVioVwBCQBjL/ajg9UqRK53+jXErggCXFL+nulqGp9p1i4puYQBZmJ1o5nNOI JZxG3/b+SeDEdXYCXC6ZXSprAh63QGZ0wyhCk5gz6MAYUX9zkbLv0g440n/PooO2lBbz SIRQ== X-Gm-Message-State: ACrzQf1C2Fv/PspcPOinTFwmi4kjQifxsUJBVXEVdh5H/NMolV0EDUJ3 mrmke9akYDSggpA5nZhuVATVJzcnltI= X-Google-Smtp-Source: AMsMyM5bfdHkWHXjn2C71EREz1Os0pxWkvXVrZqwzicVz9QjHNDrgP1/6Vm1ifTqn70Wr3/bMGixZQ== X-Received: by 2002:a17:907:8a01:b0:780:d2b8:61aa with SMTP id sc1-20020a1709078a0100b00780d2b861aamr3597366ejc.454.1663451678129; Sat, 17 Sep 2022 14:54:38 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id q25-20020a17090622d900b00780636a85fasm4485202eja.221.2022.09.17.14.54.37 for <57889@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Sep 2022 14:54:37 -0700 (PDT) From: Liliana Marie Prikler Date: Sat, 17 Sep 2022 18:32:41 +0200 Content-Transfer-Encoding: 7bit Message-ID: MIME-Version: 1.0 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" 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=1663451808; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=cRcbX8RE2ftbRlUF/pTsWC7IiKAJj4rLyR7TI7ad9zM=; b=Kk7a3H25JYWyJlth7KFoOgIVoZLu8TF6JW1RZugpMEMIK1Pn9+1HGxJuwyKKN1s4A7zCT8 AHoLErFSxbMKdue4lr5MOKV9rRjL1HPYoQQS3rrKlZQcXIn3aysQZDl1jrdWoEDyt2Frc7 WCwjczBdbxXmHA7ukJep81G2uwZPz7nVBnEqaykKrDd/+4Ag/nNwAARxRCRaLngbEN9tZJ zPBRfQMfPtkUpgJOKbfDURoFy6eiDmetRL22LpEVjUoaLlbL07Itilp36bSV3kndK4rOO9 4kgW+FV+IW7bcig4GYPfVwH/dAobXCLNZiT4+KvJspXvZd0uU/Y0/8SlBzph8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663451808; a=rsa-sha256; cv=none; b=UFd94OW8bAJOm6mjrbgiWucdJC2YIiA9bmni36CXbM/Gk1YKP/5ZQY6bAQF3AZg4XCcma7 vUtWp4WWD6SVAcqN1dSLNyYq9bj0sGxXPKgCr0JiKwwEHs8d8/NokAnChcjoXJc5s2ymJi sGDPz/0h/LIz+AFKIu/YHkvuQmF+oRJg8goyyRiCREj8vWvQrwEqb6wKTsEVTWZ9pJpqN5 YYRlclm5m3QwnoaHnrT3rnILKpN/+kZz0muZjHvotx63O3s9EewVlfs5ytiWhUJWxJkkXE zahX48q4T/IMHPZLKPPdrRm0lM4cSpahb6gjhivuTt4r7eA2ITFwAxVAJawmag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Savms1pv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Savms1pv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 321D32968B X-Spam-Score: 7.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: fJpBnWn1QwvA * gnu/packages/gnome.scm (blueprint-compiler)[arguments]: Add python-build-system's wrap phase, as well as a phase for GI_TYPELIB_PATH. --- gnu/packages/gnome.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 282c388b18..24db9c2024 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3275,6 +3275,25 @@ (define-public blueprint-compiler (base32 "0hj7f4xhwjc4x32r3lswwclbw37fw3spy806g4plkmym25hz4ydy")))) (build-system meson-build-system) + (arguments + (list + #:imported-modules + `(,@%meson-build-system-modules + (guix build python-build-system)) + #:modules + `((guix build meson-build-system) + ((guix build python-build-system) #:prefix python:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'wrap 'wrap-python + (assoc-ref python:%standard-phases 'wrap)) + (add-after 'wrap-python 'wrap-gi + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program (string-append out "/bin/blueprint-compiler") + `("GI_TYPELIB_PATH" ":" suffix (,gi-typelib-path))))))))) (native-inputs (list gtk python-pygobject python)) (inputs (list python)) (synopsis "Template markup language") -- 2.37.3