Introduction

Alberto Luaces aluaces at udc.es
Mon Feb 26 15:26:30 UTC 2018


Dominique Dumont writes:

> On Wednesday, 21 February 2018 13:23:52 CET Alberto Luaces wrote:
>> I would like to become a member of the team. 
>
> Done. Welcome aboard. :-)
>

Thank you!

>
>> I am very interested in
>> Perl6, and I would like to have many of the most useful packages
>> available in Debian (the command line debugger, for instance).
>
> I welcome the help. I can barely work on moarvm nqp and rakudo package and did 
> not make any progress on Perl6 modules for several months.
>
>> From the upstream's "zef" bug tracker at github, I have seen that there
>> is some progress about packaging Perl6 modules in Debian, and I would
>> like to know how to do it, or help in writing those guidelines or a
>> helper software as "dh-make-perl".
>
> First, we must figure out how to properly package a Perl6 module. There's a 
> lot of hints there https://github.com/ugexe/zef/issues/117
>
> I wanted to properly handle precompiled files with Debian packages. 
> Unfortunately, I still have not completely understood how Perl6 pre-compiled 
> files are handled. I've written some postinst script for rakudo [1], but I'm 
> not sure that this code is relevant
>
> I guess that we should first keep it simple and ship Perl6 source files in 
> Debian package. The files will be compiled on user's machines. 
>

Excuse me if I'm being a bit thick here, but the last part of the zef
thread leads to a fairly optimistic conclusion, doesn't it?  There it is
posted an example of how to package pre-compiled modules there, likely
used for opensuse.  And some issues that had to do with rakudo not
loading pre-compiled modules, as the one of the timestamps, were ironed
out.  Maybe I can try that?

>
> This may break later when Perl6 modules are used by daemons. In the
>meantime
> we must understand how to fit Perl6 pre-compiled files with Debian practices.
>

I guess your idea in that thread about transitioning when a new version
of rakudo is released is very nice: pre-compiled modules will behave as
shared objects do for native binaries, and they will keep working until
you restart the daemon; the new versions will be loaded automatically,
am I right?

>
> On my side, I'll focus on providing a working rakudo for all
>arches. It would
> be great if you could focus on packaging small Perl6 modules.
>

Great.

Regards,

Alberto



More information about the Pkg-rakudo-devel mailing list