[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cross libextutils-pkgconfig-perl



On Thu, 29 Aug 2024 21:55:47 +0200, Helmut Grohne wrote:

> Hi Gregor,

Hi Helmut!
 
> On Thu, Aug 29, 2024 at 06:51:35PM +0200, gregor herrmann wrote:
> > thanks for taking the time to write this long and detailed email!
> Thanks for having taken the time to read such a long email.

Thanks again for writing up all this information, and sorry for my
very late reply.

There's just one point I want to add today:
 
> I also see a spectrum of modifications to the module implementation that
> would change the equation.
>  A. Reimplement pkg-config entirely in Perl avoiding the need to depend
>     on pkg-config.

This already exists: https://metacpan.org/dist/PkgConfig
and is even packaged as libpkgconfig-perl, which contains
/usr/bin/ppkg-config.

> All of these approaches have in common that we avoid requiring
> pkg-config:$DEB_HOST_ARCH and can work with pkgconf-bin, which happens
> to be M-A:foreign and thus allows our module to also be M-A:foreign.

/usr/bin/ppkg-config is even pure perl, parsing .pc files itself. No
pkg-config, no pkgconf-bin, no pkgconf, only dependency perl:any.

Replacing pkg-config with ppkg-config in libextutils-pkgconfig-perl
would be trivial.
 

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature


Reply to: