From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6DrCLgagGGQppQAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:03:50 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SGG5LgagGGRBowAAauVa8A (envelope-from ) for ; Mon, 20 Mar 2023 19:03:50 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 7A4BE36DB1 for ; Mon, 20 Mar 2023 19:03:50 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=UPGw9vA2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679335430; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qa5hxDQxQ7fhCcBgV9zdyVIh8OXjjcFwYsaG/xNblO4=; b=c8y6vqVnosvIWLD2wBDo3feOj7WeAWf0xZi8QhYPQtuxOXQDQ5bwzcYlBYFHwuk7NIsRyy QMjPef3zL/hRNTu7bZzD4NxHDnRRw73KZPhWY3ldFBVU5pa2h8RGa2OVHH2CY23Ui55zEL ReGtKHsu2o6+UK6UAZHESwjvoPKoM3TwN3nXuppfwq8pCqT5Mln0AoJZekbdz5XaF2/Asp RK17zKTWQPcqY/d8uwFMbdUn0uDQgfmPVyGfwy8kH/+zezuN7AjZKv5MeBXPtZXAtjfKI1 2ww9CmiU7NYAz1D2CxGV/DVl69E3MeZVYjOgAQDF4DnPml9bJQmb7p+Vu7h7YA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=UPGw9vA2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679335430; a=rsa-sha256; cv=none; b=CB0hdGHD8uadTeKFMB5Ej/Tx7opCY0kDAab008mwtOnrSm+9aYf4o/74IhTuJe3blOMHS3 ArI39lvrjE2QDwfrNdRsEbi3hJPCTG0AvV9HH6nrk72RTJZ+bSmMJSXs1+Vx2dQ1MxqO+Y nj//LWtuB1lVLOptF+GsgGkgQIOdbK92KZLilqnq+Fkpyc/vYPoOkDLf9nOuSxCz89NzcQ TTtoUJd4Rwbp8sl4JenI5TxpdxwOnX5qbOGaRPxyzAbxp6V4514/aUH4MgI86Wku0kPqYH PrZxbfxzSeb9m9uN+w5ww9QIHEsjtp2TLxr3nmXGDK0l/a8GKu/w+0OqEXM5cw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJr1-0002bi-NX; Mon, 20 Mar 2023 14:03:31 -0400 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 1peJr0-0002bD-5y for help-guix@gnu.org; Mon, 20 Mar 2023 14:03:30 -0400 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peJqx-0006JD-VG for help-guix@gnu.org; Mon, 20 Mar 2023 14:03:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Qa5hxDQxQ7fhCcBgV9zdyVIh8OXjjcFwYsaG/xNblO4=; b=UPGw9vA2BAXhN3Xh5BEAUkrPUt IeEnioQZ9Hl40WlwAUxhdryRWLuzZ+l1r3SLhV60rUt+t6+L23sTyVMAa/g6flLj9oUcHJS6V/hOy LR/krzpArjNoJ2HGsv8mLlE+2tZeDVFpa5u+x6ZSOG1y/xI7B2gYxrEaGXiZGW/4PsRORrKGWU402 vn/ks9AXbVv3pbok5sDnG3yZZdoEgvAc1KH6hhyIUzTu3rBSKfSMmn2DfQu6pufomCuDX13bWPt4/ Dm4juAh8k//+F9Tc6Rm0GIBM2eq1BcTqEK3nTNAHvP6eXv/QcFzwOafxL4bIKkNDPWi3+JoEL5HCl 2ZhmnxGQUi4ofZ1jdqqn/UWw0N4kVAUAygoBYFkm6tfTUcGHMMVohyJ3/DKZ02mOQzJLujr/dBmEO ogYj8sdWxryfHDuByDbQKJ7JZknlB//xa1/n2WvthkDWRuSKIDAiY2fdsK6ewQ+5EJtRR1T9WUSOc MnEACaA2Al/dxN3HjgsM1/KkadwLRTyoOoSHU+1C7jI87yzC0jR9cRLrHgFP8OJ39IKAFd16KDNC/ OFgMD9tIR9jqXw90wcUqJ8YPKUeGLWvmpWxQFOdLgEcFVazXy0TLyUlGU4Nep8oDBaGfbWSekTEzt uakGVMbGsCV5uwhWnT4EN2oOFq+Rdt2H/ugPTPY5M=; Received: from [77.252.47.211] (helo=koszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1peJqq-000515-4N; Mon, 20 Mar 2023 19:03:20 +0100 Date: Mon, 20 Mar 2023 19:03:17 +0100 To: Rey-Coyrehourcq =?UTF-8?B?U8OpYmFzdGllbg==?= Cc: help-guix Subject: Re: Help packaging R Quarto Cli Message-ID: <20230320190317.108267e7.koszko@koszko.org> In-Reply-To: <5d4588a9-f08f-5386-75a6-095834ca959d@univ-rouen.fr> References: <87ilk9xwtq.fsf@univ-rouen.fr> <2630-6356b680-27b-1b6de000@83918831> <87359h2h4f.fsf@univ-rouen.fr> <20221215202931.15a9f0ee.koszko@koszko.org> <87v8m31k6b.fsf@univ-rouen.fr> <5d4588a9-f08f-5386-75a6-095834ca959d@univ-rouen.fr> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/i_EW8IsX7yZmhyp6.ZdWKKg"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Migadu-Queue-Id: 7A4BE36DB1 X-Spam-Score: -6.15 X-Migadu-Spam-Score: -6.15 X-Migadu-Scanner: scn0.migadu.com Reply-to: Wojtek Kosior From: Wojtek Kosior via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: S4vLSeKHeJ9Q --Sig_/i_EW8IsX7yZmhyp6.ZdWKKg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Hi, >=20 > Some news about *Quarto* Packaging : Hi! It's amazing to still see you pushing this forward ^^ > ## Packaging Quarto >=20 > After running ./configure.sh i get the next step from conda recipe=20 > (https://github.com/quarto-dev/quarto-cli/tree/main/package/conda-recipe/= build.sh). >=20 > Conda recipe generate a standalone bundle (a ./quarto (sh) and a=20 > ./quarto.js) by using this shell script :=20 > https://github.com/quarto-dev/quarto-cli/blob/main/package/src/quarto-bld >=20 > As you could see in the code, quarto-bld run Deno with some options, one= =20 > refer to some .json, that contain lot of thing to download into=20 > /vendors. But it seems this part is not activated if the=20 > QUARTO_VENDOR_BINARIES env is set to false. >=20 > (A) / quarto-bld update-html-dependencies > (B) / quarto-bld prepare-dist >=20 > The A step call this thing=20 > (https://github.com/quarto-dev/quarto-cli/blob/main/package/src/common/up= date-html-dependencies.ts)=20 > that download and patch some file into the project. >=20 > So, A is a problem, and i need to patch this typescript file to give=20 > directly the file without downloading it from internet. >=20 > *How could i create an archive that contain already these different=20 > files to my quarto build ? * >=20 > *Do you think building a git repo with all of them is a good idea ?*=20 > Even if these files are linked to multiple sources : https://unpkg.com/;= =20 > https://github.com/ ;=20 > https://github.com/mozilla/pdf.js/releases/download/ ;=20 > https://github.com/twbs/icons/releases/download/ What I'd do is make each of those into a distinct package or even better =E2=80=94 obtain the remote files by creating and then ungexp'ing an (origin) object for each of them. To clarify what I mean, let's look at how the `gnome-recipes` packaging resolves the problem of pulling multiple sources for the build[1]. After so much work on Quatro you're probably already such a guile guru that no further explanation is needed here :) > If i download these file by running manually (A) in /tmp after a fail=20 > build, the (B) command build a working "./quarto --help" and "./quarto=20 > check" command, so end is near \o/ Great! Good luck again :) Wojtek [1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/gnome.scm?= id=3D2336d5f57a4422d9c97db85e1c9a47763f23ad3c#n843 --Sig_/i_EW8IsX7yZmhyp6.ZdWKKg Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCZBif5QAKCRBLxSIcWnn9 GlMRAQCbnCTJGqGFOsp8f146V2sSB82dt9vGnYIlZ+h64NkpHQEA+PMdIpyzxeB8 3ojij2n33deouOqgTw6clVMV3m/9qQI= =q1ze -----END PGP SIGNATURE----- --Sig_/i_EW8IsX7yZmhyp6.ZdWKKg--