From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kHG0NS1b818RXgAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 18:15:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QA+nMS1b819saQAAB5/wlQ (envelope-from ) for ; Mon, 04 Jan 2021 18:15:09 +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 7081C9404CD for ; Mon, 4 Jan 2021 18:15:09 +0000 (UTC) Received: from localhost ([::1]:56902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwUNo-0000bl-CP for larch@yhetil.org; Mon, 04 Jan 2021 13:15:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwULu-0007P8-Fa for guix-devel@gnu.org; Mon, 04 Jan 2021 13:13:10 -0500 Received: from mout02.posteo.de ([185.67.36.66]:55865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwULr-0004Cf-P3 for guix-devel@gnu.org; Mon, 04 Jan 2021 13:13:10 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 67864240100 for ; Mon, 4 Jan 2021 19:13:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1609783984; bh=4h19k10GLkE9/XoA+KiR14DNNXQSZgyAxdyylVSKIJw=; h=Subject:From:To:Date:From; b=N4/bulquaiMJ1loE7cZzrNgPvfuz1hlzSnTo0xOkbx/MI6yfrbptJ8Jh124zGYab4 PMWlOjgVITLh9PMp6qiqn6wSbmaWtAAVu4msNDhQ3G6tJOXyI6UL2hozIw551WMwOb 4KZGvun0BDgj9UnbhFGAc5734IIMcvK+93lwS/NgiiP6MUdnWrqlP+5ihEpHrZtKL0 Yrx5JTzthMCNJRqmfRaS0J5enedat4c9+jeLq/KAE702YsKEMV81hO8wEn93TUzmtb b4IJW1VC9ZmPgjeRXO2U3lfBft3JO6rvaNqcEry/9MJc7+2IKgHZ/EaTq9mVKC9r8/ hBqJE5fCLnf4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D8kJF3xMNz9rxD; Mon, 4 Jan 2021 19:13:00 +0100 (CET) Message-ID: <7e293c9b63126f4569ac158678ca08405683e7ee.camel@posteo.net> Subject: Re: 02/05: gnu: libmad: Install pkg-config file. From: Kei To: Ludovic =?ISO-8859-1?Q?Court=E8s?= , guix-devel@gnu.org Date: Mon, 04 Jan 2021 13:12:54 -0500 In-Reply-To: <87y2h9uedx.fsf@gnu.org> References: <20201227214242.9652.34624@vcs0.savannah.gnu.org> <20201227214244.B3AE12094A@vcs0.savannah.gnu.org> <87y2h9uedx.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-iIV135mD93mpe/3KZRQX" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=kkebreau@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=N4/bulqu; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 7081C9404CD X-Spam-Score: -5.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZLUx0QJ+sCIx --=-iIV135mD93mpe/3KZRQX Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ludovic, > It seems to me that we shouldn=E2=80=99t provide .pc files if upstream do= esn=E2=80=99t > do it. The main reason is that developers who use Guix will come to > rely on it and unknowingly write code that doesn=E2=80=99t work on other > distros. (I remember pestering in the past as I stumbled upon packages > who depended on some library as packaged by a specific distro. :-)) >=20 > WDYT? >=20 > Apologies if I missed an earlier discussion! No apologies needed, the discussion was minimal at best. This patch is the result of my yielding to the forces of incompatibility you mention. Major distributions like Debian, Arch Linux [1], and Fedora [2] have all added pk= g- config files for (at least) libmad. Audacity expects to find pkg-config fi= les for the system libraries it uses, so I supplied those to follow the path of least resistance. If there's a way to supply "-I" and "-L" flags directly somewhere in the bu= ild process as was done before, I'm not opposed to reverting these changes and modifying Audacity's package definition myself during the next update. I'l= l investigate some of our other CMake packages for possible inspiration. Thanks, Kei [0]: https://packages.debian.org/buster/amd64/libmad0-dev/filelist [1]:=20 https://github.com/archlinux/svntogit-packages/blob/packages/libmad/trunk/l= ibmad.patch [2]:=20 https://koji.fedoraproject.org/koji/rpminfo?fileOrder=3D-name&rpmID=3D22388= 610&buildrootOrder=3D-id&buildrootStart=3D0#filelist --=-iIV135mD93mpe/3KZRQX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQJIBAABCAAyFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAl/zWqYUHGtrZWJyZWF1 QHBvc3Rlby5uZXQACgkQ5qXuPBlGeg3JhRAAnUCsOJhcqm9hhQhfOapCEafhIiA3 U4NZouBUbS9xkHtk2lSuQF0x90iTnBcMdk0oEqZ2Qk8mFDwLxbV5tyUaR90zpxNR sLhXt+QAoPFe1GMRtN3pEx+8J5DgKDmAcCoqvJ7mpchVtNFd3fC3o9535tlvMzBz 5fIR7/0p4JAYYhuLmVX14zb0f229YWLcwP497CEWjTz9LOrgejamXVnzv1YjSa6K a+ro1gKA784OXYA0bdqGtV9SmnFZ9rpTWRSef/f4ut/6QbMhIH3vQ2FAcSXwuvRH KGoxsRj0KGIiQ6tvuc9TbG3Is+Kpx3n5Dt77zS5qH1itzxpPBFHS4z4PXDfLLQUB 208rSaYQ7NVwS4/c+CQFJk4b84E4O1DT+IqMUEf4fmQhpsKSQvRt4nbdvlJYNG08 EQGKSQkEPxu9cBy394dVj23JQym/Ub6MOMQn+Z8oaQpmPlhPWlUE4Om0vUuogFrm jAE+Ee7bfXj2SEsDWbv+pjDgT3oBegYy2806zZ4BPW56PAe2HM38pj8zp7rD2STa mhAleEKsgq0PXY5LyKmZ7psahpl9piDBYZKdPU8cW8AF4iw4kenqYQAEyG1AjOl2 DHSkalmmDAZDbhLqXyc49B7RmXMHgS+J+ac5cmz8srW42xmME9oQkiZ5Ift+E/tV uRWnMOR9+DSDxNo= =8I10 -----END PGP SIGNATURE----- --=-iIV135mD93mpe/3KZRQX--