Date: Fri, 29 Jul 2022 09:33:53 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Andrea Pappacoda <andrea@pappacoda.it> Cc: Daniel Engberg <diizzy@FreeBSD.org>, Alex Dupre <sysadmin@alexdupre.com>, freebsd-hackers@FreeBSD.org Subject: Re: pkg-config and share/ Message-ID: <20220729073353.mp3ztbnzyeif4zv7@aniel.nours.eu> In-Reply-To: <JY6RFR.WNI64J5K6IPO2@pappacoda.it> References: <50B3D276-5E68-4F87-97FB-71D75D3D9602@pappacoda.it> <20220725081535.vuxy74odqt2cxdnw@aniel.nours.eu> <be19c9ab-c762-a0b4-a3d2-8ffbc45dd5ac@alexdupre.com> <20220725090824.qfeypgyugx6f7i6q@aniel.nours.eu> <CNMKFR.31V3MUTROVR7@pappacoda.it> <20220725111046.7sr7yyvsm5f3hyhj@aniel.nours.eu> <ODXKFR.TMQ5KIOXE4A31@pappacoda.it> <JY6RFR.WNI64J5K6IPO2@pappacoda.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 29, 2022 at 01:08:43AM +0200, Andrea Pappacoda wrote: > Il giorno lun 25 lug 2022 alle 15:56:12 +02:00:00, Andrea Pappacoda > <andrea@pappacoda.it> ha scritto: > > > what is > > > fundamentally different from share/pkgconfig and libdata/pkgconfig > > > =7Fbeside the > > > name of the directory? > >=20 > > I guess the difference is in the meaning of the two locations. If a .pc > > file is in share/ you can be sure it can be used for cross compilation, > > as share/ only contains arch-independent stuff. And if it is in > > libdata/? Maybe, I can't know, it could be either arch-specific or > > arch-independent. >=20 > Hi Bapt, sorry to ping this thread, but I think I forgot to specify my > intents clearly. >=20 > Given the usefulness of using share/pkgconfig/, and the fact that pkgconf > upstream and many different OSes use that directory too, would you consid= er > making your pkgconf honour that directory too? >=20 > If not, could you please point me to where I should go / who should I ask= to > make the Ports system move .pc files from share/ to libdata/? As Daniel > (diizzy) mentioned, it seems that currently only files from lib/ are moved > to libdata/. >=20 > If you're not convinced of share/'s usefulness, please pay this thread a > visit: https://github.com/marzer/tomlplusplus/pull/165 >=20 > Thanks for your time! >=20 >=20 What is interesting is: I am the second contributor to the pkgconf project,= we were iirc the first big project to entirely switch to pkgconf and we never = ever needed share/pkgconfig, after digging back in history I can see it was there since forever, and when I performed the switch from pkg-config to pkgconf a= nd never ever reintroduced anything but libdata/pkgconfig (our equivalent of lib/pkgconfig), so this would be the first use case. And yes the auto population of libdata/pkgconfig is done by moving the files =66rom lib/pkgconfig not moving the files from share/pkgconfig. I will add support for share/pkgconfig asap. Thank for the pointer. Best regards, Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220729073353.mp3ztbnzyeif4zv7>