[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [rt.cpan.org #58445] overzealous usage of configure_requires considered harmful



Hi Tina,

I'm not an expert (which is why I deferred this to the folks in the
Debian Perl Group)

On Fri, Jun 18, 2010 at 8:50 AM, Tina Mueller <post@tinita.de> wrote:
> So. The svn repository of Module::Build contains the correct files
> for building debian packages already.
>
> But they are not in the CPAN package, and that was what I was asking for.
> Could you just deliver those two files in the CPAN package?

I am not sure if this would break our build of libmodule-build-perl,
as having a debian/ directory in upstream tarballs tends to confuse
our tools (which then think, and rightly so, that the package is a
Debian native package instead of an upstream package we're
distributing).
> No need to change/add anything there. Just add the files to the tar.
>
> Hope it is clearer now =)
> regards,
> tina
>
> On Thu, 17 Jun 2010, Jonathan Yu wrote:
>
>> Hi David,
>>
>> Unfortunately I've been really busy and have not been able to commit
>> enough free time to one of my favourite hobbies, which is of course,
>> working with Perl.
>>
>> Hopefully I will eventually get into a more balanced schedule that
>> will leave me more time to work on these things. In the meantime, I'm
>> forwarding this message to the Debian Perl Group and have high hopes
>> that the gurus there can shed some light on this.
>>
>> Cheers,
>>
>> Jonathan
>>
>> On Wed, Jun 16, 2010 at 1:08 PM, David Golden <dagolden@cpan.org> wrote:
>>>
>>> Jawnsy -- could you please look at this ticket and see what M::B can
>>> do that would be most helpful to people wanting to build packages on
>>> Debian?  I don't want to add files that conflict with the ones in the
>>> existing libmodule-build-perl repository.
>>>
>>> Thanks,
>>> -- David
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Tina Muller via RT <bug-Module-Build@rt.cpan.org>
>>> Date: Wed, Jun 16, 2010 at 11:22 AM
>>> Subject: [rt.cpan.org #58445] overzealous usage of configure_requires
>>> considered harmful
>>> To:
>>>
>>>
>>>       Queue: Module-Build
>>>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=58445 >
>>>
>>> I'm maybe getting off topic now, but adding a debian/preinst and a
>>> debian/postrm file would be really helpful for automatically creating
>>> debian packages.
>>>
>>> So the preinst file should contain:
>>> #!/bin/sh
>>> dpkg-divert --package libmodule-build-perl --add --rename --divert /usr/
>>> bin/config_data.perl /usr/bin/config_data
>>>
>>> and the postrm:
>>> dpkg-divert --package libmodule-build-perl --remove --rename --divert /
>>> usr/bin/config_data.perl /usr/bin/config_data
>>>
>>> This would save many many developers creating debian packages lots of
>>> time =)
>>> At the moment I believe many just give up because the workaround is not
>>> easy to find.
>>>
>>> Would be glad if you could think about it.
>>>
>>> tina
>>>
>


Reply to: