Could Debian Perl team take over PDL?

Sebastiaan Couwenberg sebastic at xs4all.nl
Sun Jun 19 13:17:35 UTC 2016


On 06/19/2016 12:16 AM, Sebastiaan Couwenberg wrote:
> On 06/18/2016 05:11 PM, Niko Tyni wrote:
>> On Fri, Jun 17, 2016 at 11:50:34PM +0200, Sebastiaan Couwenberg wrote:
>>>> - I was a bit surprised that doc_vendor_install.patch is now needed, but
>>>>   apparently it's because upstream v2.007_03 added a "missing"
>>>>   doc_vendor_install target to Makefile.PL. Conceptually, running
>>>>   scantree.pl and mkhtmldoc.pl  during the package build/install
>>>>   phase seems useless to me, as they will be re-run from the postinst
>>>>   when the package is actually installed. I'm not sure if it would
>>>>   make more sense to just patch that away from Makefile.PL? And
>>>>   if we don't, I guess the results shouldn't go in places like
>>>>   /usr/lib/x86_64-linux-gnu/perl5/5.22/PDL/HtmlDocs but rather under
>>>>   /var ?
>>>
>>> FHS-wise /var seems more appropriate. Several bits of upstream code rely
>>> on the HtmlDocs being in a subdirectory one of the paths in @INC.
>>
>> I see that was the case for 2.007-5, but there appears to be no HtmlDocs
>> directory at all there.
>>
>>> We'll need to patch these to also try the directory under /var or use
>>> that exclusively instead. The trigger already uses /var/lib/pdl/html,
>>>
>>> I guess /var/lib/pdl/HtmlDocs is most appropriate if we decide to change
>>> to path.
>>
>> Perhaps a symlink /usr/lib/x86_64-linux-gnu/perl5/5.22/PDL/HtmlDocs ->
>> /var/lib/pdl/html would be enough?  That would be similar to what we
>> already do for Index.pod and pdldoc.db.
> 
> The HTML files that pdl (2.007-5) installs in /var/lib/pdl/html are
> installed in /usr/lib/x86_64-linux-gnu/perl5/5.22/PDL/HtmlDocs/PDL, the
> PDL subdirectory is also hardcoded in the help_url subroutine in
> Doc/Doc/Perldl.pm.
> 
> In ~exp3 I've disabled the doc_vendor_install to have postinst install
> it in /var/lib/pdl/html, and symlinked /var/lib/pdl/html to
> /usr/lib/x86_64-linux-gnu/perl5/5.22/PDL/HtmlDocs/PDL.

There was in issue in all the experimental version which failed to load
the documentation via the help command in the pdl shell. I've pushed a
patch for that in git, I don't think I'll upload ~ex4 and just include
it in next weeks upload to unstable.

> With todays changes I'm quite happy with the state of the pdl package.
> I'll upload ~exp3 tomorrow, and I think we should upload pdl and its
> rdeps to unstable next week.

After uploading pdl (1:2.016-1) to unstable, I'll also rebuild all
reverse dependencies with it and upload them to unstable too.

I'll send a separate mail about the pdl transition later.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the pkg-perl-maintainers mailing list