On Sat, 21 Sep 2019 23:21:27 +0300, Niko Tyni wrote:
> > In the unlikely case of absence of reasons, I'm in favour of shrinking
> > the standard perl installation. Of course these headers would be needed
> > for building xs modules, so doing this would come at the cost of adding
> > a new Build-Depends to (you counted) 500 source packages.
[..]
> So if I get this right, we'd put the C headers and a copy of Config.pm
> into perl-xs-dev, which would be M-A:same. libperl5.xx would then
> Depend on perl-xs-dev (= ${binary:Version}). XS module packages would
> Build-Depend on perl:any for ExtUtils::MakeMaker and the rest of the
> Perl standard library for the build architecture, and perl-xs-dev for
> Config.pm and the C headers for the host architecture.
[..]
> > * We still disagree on whether all xs modules should carry the new
> > dependency or whether only those that are cross buildable should have
> > it.
> No strong disagreement here, and we can have the 'should' vs. 'must'
> discussion later.
About those 500 XS packages and their build dependencies:
Maybe I'm missing something but can't this simply be done by having
dh_perl add perl-xs-dev to Build-Depends when expanding
${perl:Depends} and then binNMUing all of them?
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
`- NP: Leonard Cohen: Hallelujah
Attachment:
signature.asc
Description: Digital Signature