Re: [rt.cpan.org #58445] overzealous usage of configure_requires considered harmful
- To: Tina Mueller <post@tinita.de>
- Cc: David Golden <dagolden@cpan.org>, Debian Perl List <debian-perl@lists.debian.org>
- Subject: Re: [rt.cpan.org #58445] overzealous usage of configure_requires considered harmful
- From: Jonathan Yu <jawnsy@cpan.org>
- Date: Fri, 18 Jun 2010 09:03:07 -0400
- Message-id: <AANLkTimYMx9sR6UoBzEpH2ihqwiBx64e2lFI5Aj2MF7v@mail.gmail.com>
- In-reply-to: <alpine.DEB.1.10.1006181443190.14888@dev16-0.iconmobile.de>
- References: <RT-Ticket-58445@rt.cpan.org> <rt-3.8.HEAD-10893-1276684953-846.58445-4-0@rt.cpan.org> <AANLkTikTu-_92jgDsSG6NXw2g9DZd7dNXbCfUwzqf4GN@mail.gmail.com> <AANLkTilka5_QPhFIv5wBoOffZx2Z_2wJOhRgH0XqtOTj@mail.gmail.com> <rt-3.8.HEAD-10884-1276691630-794.58445-5-0@rt.cpan.org> <rt-3.8.HEAD-10879-1276699770-1960.58445-5-0@rt.cpan.org> <rt-3.8.HEAD-10879-1276701747-908.58445-5-0@rt.cpan.org> <AANLkTikOl6UmbmseHcYyO7n52qxSI8JJ6OdcjjXt4PMP@mail.gmail.com> <AANLkTinexdzXSRzBKwldpevKcxP2Hou7rKNRM5VXb-sF@mail.gmail.com> <alpine.DEB.1.10.1006181443190.14888@dev16-0.iconmobile.de>
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: