Re: Cross libextutils-pkgconfig-perl

gregor herrmann <[email protected]> Sun, 12 Jan 2025 00:59:54 +0100
Newsgroups gmane.linux.debian.devel.perl
Message-ID <[email protected]>
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
   `-
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmeDBf1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYxCg//WZSWOaCXEnAzdee5zaEGD8cOqfgNX52dhkj44AuLd2H7Znqa7DjMWGoq
JHefpqkCrY4DvWXsVS3iCewwx3Txgtgd4711DQpIH0pzqwbfSLxgq217Pu04Jj5R
+p36dJ6/j1tLJZLqsIdNqZw7BVJxgfqBChp2P5tRdTeA+jD+DbiBdQj5XVE0CNrN
bfWkZ5DBBbF42ZfvVWhrN5wbGU+LdbXNP3p/PTw5dqeCzEW9+QxhhmDYELkcwOwd
ljBcVmxBx2QjwJl4iGXsHCs+WgHu6WDXLR5hnSOjMdID8Nsvryye8bKNB/GMta+Z
qN/wR4ULMGkthssDCERmfffkGVUB6LFDXjh9CQVXhWwrz8Ltgd0eUVWobG/B8EBv
+4WoRQ5gPh2ZNteXqrpzcRVnut0UiReIFCxJGSF9z5QOa+NZ1ztKsmjEp3Fv/BTG
69ME9fm8Yf22SKUFIQAXb9gTCb0YtSvI7X/5D3rk/CptQcr2zE+zdts0lRHeLCpQ
K/2jRMPC/h8vtDtH4Mxydn5N8gtRcAKGLDbO4ppjte8ncduFOEjE/CrVdPzdJonR
8/zAltueJqvUd564EVzBb4KFnr0XPBtiPo2Du8ip2jQFqdCEVg3sKmYW5ogW0+S1
M8os5awfTLkkfcxCHjDL5k2TgJBsowDNcXJTwTxgQvrJsKh+yas=
=xCr0
-----END PGP SIGNATURE-----