libmath-random-mt-auto-perl_6.23-1_amd64.changes REJECTED

gregor herrmann gregoa at debian.org
Mon Feb 6 19:18:52 GMT 2023


On Mon, 06 Feb 2023 19:00:10 +0000, Thorsten Alteholz wrote:

> Hi Mason,
> 
> ppport.h seems to be generated from/by PPPort_pm.PL.
> Where can I find this script?

In src:perl:

* in the source package:
  dist/Devel-PPPort/PPPort_pm.PL

* installed:
  libperl5.36: /usr/lib/x86_64-linux-gnu/perl/5.36.0/Devel/PPPort.pm


From the documentation:

  How to use ppport.h
    Don't direct the users of your module to download
    "Devel::PPPort". They are most probably not XS writers. Also,
    don't make ppport.h optional. Rather, just take the most recent
    copy of ppport.h that you can find (e.g. by generating it with
    the latest "Devel::PPPort" release from CPAN), copy it into your
    project, adjust your project to use it, test it, and distribute
    the header along with your module.

Generated ppport.h files are included in almost all arch:any perl
distributions; a quick local search shows:

% find -name ppport.h | grep -v dgit | wc -l
189

In practice (since well before I joined the Perl Team) we are taking
the ppport.h files from upstream; locally I find 2 examples where we
regenerate them (as they are probably too old), which works fine if
necessary:

% grep PPPort */debian/rules
libdevice-i2c-perl/debian/rules:	perl -MDevel::PPPort -e'Devel::PPPort::WriteFile'
libtie-hash-indexed-perl/debian/rules:	perl -e 'use Devel::PPPort;Devel::PPPort::WriteFile();'


I hope we can continue following this practice, otherwise we'd have a
lot of work before us :)


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
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20230206/05da336e/attachment.sig>


More information about the pkg-perl-maintainers mailing list