From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] build: Use PKG_INSTALL_DIR Date: Mon, 25 Mar 2024 21:44:19 -0300 Message-ID: <20240325214419.5cc00e7c@tintin> References: <20230418105643.1157722-1-arsen@aarsen.me> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/S+2Ueuv/ZQ9e=lOINLPMiXc"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31753"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel To: Arsen =?UTF-8?B?QXJzZW5vdmnEhw==?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Mar 26 01:44:58 2024 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rouvy-00084V-Hm for guile-devel@m.gmane-mx.org; Tue, 26 Mar 2024 01:44:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rouvd-0002x8-8j; Mon, 25 Mar 2024 20:44:37 -0400 Original-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 1rouva-0002wx-ST for guile-devel@gnu.org; Mon, 25 Mar 2024 20:44:34 -0400 Original-Received: from pop.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rouvY-0003gC-SR for guile-devel@gnu.org; Mon, 25 Mar 2024 20:44:34 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id 14C3467C007A; Tue, 26 Mar 2024 01:44:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at moses.all2all.org Original-Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tSLI_JA2P3jl; Tue, 26 Mar 2024 01:44:28 +0100 (CET) Original-Received: from tintin (unknown [168.227.187.153]) by moses.all2all.org (Postfix) with ESMTPSA id 7B24F67C0074; Tue, 26 Mar 2024 01:44:27 +0100 (CET) In-Reply-To: <20230418105643.1157722-1-arsen@aarsen.me> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22372 Archived-At: --Sig_/S+2Ueuv/ZQ9e=lOINLPMiXc Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Arsen, > ... > This patch is in a similar vein to my earlier patch to Guile itself > posted at > https://lists.gnu.org/archive/html/guile-devel/2023-03/msg00040.html > These came up while I was working on packaging Guile in Gentoo. > ... I pushed the proposed changes to the devel branch, will be part of the next release, thanks. > Also, on a similar note, guile-lib installs to /usr/share/guile/site/ > rather than /usr/share/guile/site/$EV (i.e. %global-site-dir instead > of %site-dir) like other packages do. Why is that the case? Because, as you spotted yourself, guile-lib src modules are guile version agnostic ...=20 But i'll think about it, as it appears i am a bit lonely, to think one shouldn't (ever) duplicate guile version agnostic code (on the same machine), as doing so could lead to other (potentially serious) problem(s) ... Meanwhile, as all distro do, feel free to patch this downstream, to install the scr modules in $prefix/share/guile/site/$EV - but the ideal would be to have 'the machinery' to properly handle one version of the (identical) src modules, multiple .go versions ... David --Sig_/S+2Ueuv/ZQ9e=lOINLPMiXc Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmYCGmMACgkQ83T9k6MF etegUAf/Qab1YcgqpD1rCSNg4NBssZy9+UbmDmnkbxnFoD6MI2wAnOaEx2DUrRDz AWp69nRKsPXFMZ6uvZn/owC2C15EEtAl7Vg8bT1JfquKtFfpmVZW8B4lUGr18Bbi g6WtQJH+UxFupjVtKCkqh7l3iSOKtDuTXmNaoBmFli530bTd/wJ1MUnMe0XSk7C1 3MaGdozUbGAhvL2HVIdReGcJn7JnQ4ZpjdPksiUlci+gIwvokIeKvnijiTyxAUsW oyXY76EHCz25GanoQET/omSK/N79+acxukQ/QkUkgDx8VakuhSe4MHWHY8A7YeSp yqnmaDGBu81NoM7usWWOtI1DFgCpFw== =naYE -----END PGP SIGNATURE----- --Sig_/S+2Ueuv/ZQ9e=lOINLPMiXc--