Re: pkg-config and share/
- Reply: Andrea Pappacoda : "Re: pkg-config and share/"
- In reply to: Baptiste Daroussin : "Re: pkg-config and share/"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Jul 2022 07:49:21 UTC
On Fri, Jul 29, 2022 at 09:33:53AM +0200, Baptiste Daroussin wrote: > 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 > > > > beside the > > > > name of the directory? > > > > > > 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. > > > > Hi Bapt, sorry to ping this thread, but I think I forgot to specify my > > intents clearly. > > > > Given the usefulness of using share/pkgconfig/, and the fact that pkgconf > > upstream and many different OSes use that directory too, would you consider > > making your pkgconf honour that directory too? > > > > 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/. > > > > If you're not convinced of share/'s usefulness, please pay this thread a > > visit: https://github.com/marzer/tomlplusplus/pull/165 > > > > Thanks for your time! > > > > > > 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 and > 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 > from lib/pkgconfig not moving the files from share/pkgconfig. > > I will add support for share/pkgconfig asap. > > Thank for the pointer. > > Best regards, > Bapt Done https://cgit.freebsd.org/ports/commit/?id=d48fab59daa56e0b3b6ffecef57a69c32ae9c0a7 Best regards, Bapt