From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2ItuD5T34mDhWwAAgWs5BA (envelope-from ) for ; Mon, 05 Jul 2021 14:14:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8D8VC5T34mArTgAA1q6Kng (envelope-from ) for ; Mon, 05 Jul 2021 12:14:12 +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 05B5BD79C for ; Mon, 5 Jul 2021 14:14:12 +0200 (CEST) Received: from localhost ([::1]:57346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0NUI-0001fx-O4 for larch@yhetil.org; Mon, 05 Jul 2021 08:14:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0NUA-0001fD-9p for guix-patches@gnu.org; Mon, 05 Jul 2021 08:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0NUA-0007xt-1Z for guix-patches@gnu.org; Mon, 05 Jul 2021 08:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0NU9-0008Ql-Tp for guix-patches@gnu.org; Mon, 05 Jul 2021 08:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49238] [PATCH v1 2/2] gnu: Add ytfzf. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Jul 2021 12:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Raghav Gururajan Cc: 49238@debbugs.gnu.org, jgart@dismail.de Received: via spool by 49238-submit@debbugs.gnu.org id=B49238.162548722832376 (code B ref 49238); Mon, 05 Jul 2021 12:14:01 +0000 Received: (at 49238) by debbugs.gnu.org; 5 Jul 2021 12:13:48 +0000 Received: from localhost ([127.0.0.1]:44343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0NTw-0008Q8-4m for submit@debbugs.gnu.org; Mon, 05 Jul 2021 08:13:48 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:36892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0NTt-0008Px-FO for 49238@debbugs.gnu.org; Mon, 05 Jul 2021 08:13:46 -0400 Received: from butterfly.local ([188.189.37.160]) by andre.telenet-ops.be with bizsmtp id RQDj250013TK16401QDj6N; Mon, 05 Jul 2021 14:13:43 +0200 Message-ID: From: Maxime Devos Date: Mon, 05 Jul 2021 14:13:32 +0200 In-Reply-To: References: <20210627054737.7972-1-rg@raghavgururajan.name> <20210627054737.7972-2-rg@raghavgururajan.name> <2e6b08035ebeddd60faa283e0a183d8d76e0f709.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-4dAS71LEVbi+WHU36BWR" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1625487224; bh=5cgA5sGWx/H718+cg5XFSDHuBv01lAuY5G/kcsc7Ns4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=hMZLgP6DIPwIbIrwz7M+FBziqOup1lcEOJVfPUViqGArSz5hazGVz4uSxpYSHqHlB g17eJVL3U4UjH4O8dNrXc/KH2M3XvXnC7HQ8x+nWmF6WTTDL2LRbczkdNjV4Zee01s dJTZ+doDaF/FVe/6J9/YzqUMSTu2Y9o5BNMiVzG+Eb3zPj8Rxrmr5fGqHmqQxl3W/j exXYML/iIbo/jmBD1KsWcxXdwYLDg1QMGdJG23r/S8E7nT9QEyJbe73F1KN3yIU52R fTMZFOjp1eJrsz6x4qWwz+c+PjKz5iS2XSZ5l4sp1BhXgB/EK+zXIxQ1pnsyWII5Ag dRStMQRfYVUGw== 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-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 05B5BD79C X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: S1kd/EI94UVD --=-4dAS71LEVbi+WHU36BWR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Raghav Gururajan schreef op ma 05-07-2021 om 08:03 [-0400]: > [...] > >=20 > > I'd suggest adding "patch" to 'native-inputs', adding the patch > > to 'inputs' or 'native-inputs' (doesn't really matter which) and > > doing (invoke "patch" OPTIONS "blabla.patch") before the substitute*. > >=20 > > [...] > > I get the idea, but I don't think we can call .patch files inside=20 > phases, the patches directory is not exposed/available inside=20 > build-environment. If the relevant patch files are added to 'inputs' or 'native-inputs', then they are available in the build environment. As an example, see the "libpng-apng" package. It adds the patch to 'inputs' (named "apng") and invokes "patch" during the 'patch-apng' phase. The "apng" input uses an 'origin' reference, but you could use (local-file ...) there as well. Or beter: use 'search-patch' instead. Greetings, Maxime. --=-4dAS71LEVbi+WHU36BWR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYOL3bBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7idkAQC/OUgDsUAQxrMJkwlNinH0qX+Q WnmldBspUR6kSwDH/wEA/mXRFnDLrbyfl65S0iOXeihsvVNhYf8ygC1Ca5N31g0= =LK2J -----END PGP SIGNATURE----- --=-4dAS71LEVbi+WHU36BWR--