From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AHUwFIs4s2NFHQAAbAwnHQ (envelope-from ) for ; Mon, 02 Jan 2023 21:03:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OK+ME4s4s2MwzAAAG6o9tA (envelope-from ) for ; Mon, 02 Jan 2023 21:03:23 +0100 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 CCF3233893 for ; Mon, 2 Jan 2023 21:03:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCR1W-0001BS-St; Mon, 02 Jan 2023 15:03:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCR1S-0001B5-Ux for guix-patches@gnu.org; Mon, 02 Jan 2023 15:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pCR1S-0000Kb-Ku for guix-patches@gnu.org; Mon, 02 Jan 2023 15:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pCR1S-0007qQ-2M for guix-patches@gnu.org; Mon, 02 Jan 2023 15:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60288] [RESEND #2] [PATCH v1 0/2] Start adding ZIM file(s) Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Jan 2023 20:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60288 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 60288@debbugs.gnu.org X-Debbugs-Original-Cc: 60288@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167268975930122 (code B ref -1); Mon, 02 Jan 2023 20:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2023 20:02:39 +0000 Received: from localhost ([127.0.0.1]:44115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCR15-0007pl-3b for submit@debbugs.gnu.org; Mon, 02 Jan 2023 15:02:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:36294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCR13-0007pd-BA for submit@debbugs.gnu.org; Mon, 02 Jan 2023 15:02:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCR0x-00016C-V3 for guix-patches@gnu.org; Mon, 02 Jan 2023 15:02:37 -0500 Received: from cyberdimension.org ([80.67.179.20] helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pCR0u-0000Hj-P8 for guix-patches@gnu.org; Mon, 02 Jan 2023 15:02:31 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 9240a538; Mon, 2 Jan 2023 20:01:40 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id f202240f; Mon, 2 Jan 2023 20:01:40 +0000 (UTC) Date: Mon, 2 Jan 2023 21:01:41 +0100 From: Denis 'GNUtoo' Carikli Message-ID: <20230102210141.5aef6d97@primary_laptop> In-Reply-To: <87bknn2y67.fsf@cbaines.net> References: <20221220052349.4965-1-GNUtoo@cyberdimension.org> <87bknn2y67.fsf@cbaines.net> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ZadEoZ92uXcOmyzsDx4Jaeg"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672689803; a=rsa-sha256; cv=none; b=gTaB56LLX2/z4DtTpd5H2ADXqb69w6vPDfaLIPSv3PvA4We5pbhBRQFs4eidoT520pyot3 BEFRQXdOZu6IrTxPJab7M2RH6y5NmXDlZlNzbEpJyPiHiwDksSH4LhNbA7m1wgD7S27wwj 65qXDOiUrG8HbOmizkBQGhxQ/Azz4d0mAB2MuEzKg6wtoEX6TxnXAJzuYUu60LG6nffps+ gWPShgMDJqp5Cy1g5YhkKpZSfG/PiG5c46/Cp11h4ONB2QcKpaXYNcKgw6IZUL83JTlNkn cNaW7yX0k/V9b9j3CHYlM2ngeQdvAnXITnfqun1U4bUM3Amk+/QCFuMAFoRVOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672689803; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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; bh=0eaBc57gNucSOg1OhpJDiFlyGaophU7g4yBWgFCdSKk=; b=u1/zODUci9tS7ZCkshhgYWUuaUKa2F5gVQ6SPNbA235hp07FIpDPm6lY95EenhRwNlLHA9 Pc9ck/BRa1BzME9f/2GrKqWm/WaGyyzxG02T6UM9M8jSnUK9rPwchwTf55orlSL8m7TAmw 35wqMRfzbxevIrH0NnIR42kA0cCBFrTJ1jMxKUar1KRJPUK2mlkFjjwZG2XXRxRBdmJvDo DHFAlm0t6OqOdOSFBfy52UixbW3DBF9N8zB9bZurmWpa4z2ZfIBpLSF0J+REyeCyQ/jLsL LbwslyOLTOjlbi9h94fXwYJ9jC5S0RcopAHC/0f3Um5z9tkLMxDwwpMpCOG8ww== X-Spam-Score: -5.75 X-Migadu-Queue-Id: CCF3233893 Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -5.75 X-TUID: 0Y5eQCZpMW6c --Sig_/ZadEoZ92uXcOmyzsDx4Jaeg Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 28 Dec 2022 18:10:54 +0000 Christopher Baines wrote:>=20 > Maybe an alternative if you want to have a package would be to > symlink to the source. The issue is that I don't know how to refer to the source in a situation like that. I didn't really find good examples of all that. So far the best I saw was to either define (source [...]) and reuse it in multiple packages or to reuse the source of another package with (package-source ) like in linux.scm. With the gnu build system, it copies the source in the current directory, so I've really no idea what to do here. We might also need to add the source to the inputs or native-inputs or propagated-inputs somehow so it would not garbage collect it when we install the zim. Is propagated-inputs the way to go? Denis. --Sig_/ZadEoZ92uXcOmyzsDx4Jaeg Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmOzOCUACgkQX138wUF3 4mNgJhAArn+qbUJZd18fQuZfasDI+FlPgfQe3sdT87amo6MeGCAjwlCGX2vRBBKq JKxEdpV7GzWPItWLOsd5ObVMsMnulOBPPUlr6z2Ge59W3p2td7M54tRpihVfExW5 geof/pWNWuAzGhQCh1fnbhB+aRHqljqFHTebjmFdBdfu7w4w3Lku0IU4l2TmQZmA G4NUbkkPSafXJPiK+d3Iznvq40hwdVs52kv5IcQvce3qDdkLiZKkhxgCKaPlaDcG GDj7nlbTwwtI57dMSQQMlJ9pKZnKw1kdPmceQphnSEVfuCEe4IshxDnZtX1BihPn fvxzGFytSRfsMYSeQb1uq9ezTO8oJmpiAoHKMLwqe1frQz6Ha2HSKWpCxRAbMsrI 87Yb3rKhND9/4XYhGWffS/gKBj/TdpExX0/Z2DG7cl0NWHMLUHh4/hcWRLA9Jz0K peUYJnNtesy3OvsEtbWlhFlgJqS3SloOMOI3+xAEVs/EAFJTDzFRqgM5Jec03It4 jbUc080v+olv1myd2tXnBPkcOgSkuoNyaGBQjgrH8dIMtpKCiQK4fa46I2Xtq6g7 nlx9fL3NWeOnlLcOJTXuRAVJkp/BCMAp5VreF2u/jgj0INqHZL0OK3Kp9do1BGJx WFDYes2G5a+KfvL8yvJ+KuN5WCRStSfxAemFRtvFv9hkFvLF1sw= =+dGS -----END PGP SIGNATURE----- --Sig_/ZadEoZ92uXcOmyzsDx4Jaeg--