Re: gem2deb: support for building using setup.rb
[putting back debian-ruby, I don't understand how it got lost]
On 11/05/11 14:59, Lucas Nussbaum wrote:
> On 11/05/11 at 14:56 +0200, Vincent Fourmond wrote:
>> On 11/05/11 14:50, Lucas Nussbaum wrote:
>>> But for rmagick, it seems that the hooks only deal with documentation
>>> building. Wouldn't it be simpler to just run those scripts in the
>>> correct order in debian/rules?
>> Of course, it is still possible, but it requires quite a bit of
>> cumbersome patching of the setup scripts, which I'd rather avoid.
> Why? You could call the hooks directly.
No. They won't work, as the hooks are run with a series of
setup.rb-supplied configuration informations. Those need to be supplied,
probably once for each ruby version, and that makes that really painful.
>> Moreover, these hooks are used both for documentation building and as a
>> very comprehensive test suite. It should build for every version of ruby
> That doesn't sound hard to do within the existing framework.
? I don't have a clue of how to do that, at least sanely. For one
thing, I don't want to hardcode the list of supported ruby versions in
Moreover, supporting the two main upstream build systems doesn't sound
like a stupid idea from the first place.
Vincent Fourmond, Debian Developer
More than any other time in history, mankind faces a crossroads.
One path leads to despair and utter hopelessness.
The other, to total extinction.
Let us pray we have the wisdom to choose correctly.
-- Woody Allen
Vincent, listening to The Spirit Carries On [Scene Eight] (Dream Theater)