[Bug 514931] Please build ruby-RMagick for EPEL 5

bugzilla at redhat.com bugzilla at redhat.com
Sun Aug 2 12:45:47 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=514931





--- Comment #3 from Robert Scheck <redhat-bugzilla at linuxnetz.de>  2009-08-02 08:45:46 EDT ---
(In reply to comment #2)
> * ruby(abi)
>   - All ruby related packages must have "Requires: ruby(abi) = 1.8"
>     ( And I usually recomend to add also "BuildRequires: ruby(abi) = 1.8"
>       for consistency ).

Well, that doesn't work on EPEL 5, because there's no ruby(abi) provided.

$ rpm -q ruby
ruby-1.8.5-5.el5_3.7
$

$ rpm -q --provides ruby | grep "ruby(abi)"
$

As the ruby ABI anyway won't change on RHEL 5 during its lifetime, I don't
see a need for this. If it makes you happy, I can add a "ruby = 1.8.5" as a
hard requirement, but seems to be unnecessary.

> * ImageMagick Dependency
>   - Due to bug 500565 (i.e due to the function 
>     static void test_Magick_version(void) in ext/RMagick/rmmain.c),
>     when ruby-RMagick is rebuilt with ImageMagick 6.2.8.0, RMagick
>     will require ImageMagick 6.2.8.X
> 
>     ( i.e. even if the soname of the library in ImageMagick won't change 
>            between 6.2.8.X and 6.2.9.Y, RMagick rebuilt with ImageMagick
>            6.2.8.X won't work with ImageMagick 6.2.9.Y (by default) ). 

Well, ImageMagick is from RHEL thus never will get incompatible upgraded and
there never will be a version upgrade, just security backports. If ImageMagick
would get upgraded on RHEL, that would anyway break many things. I can add a
hard dependency to "ImageMagick = 6.2.8.0", if that makes you happy. Next RHEL
will anyway need ruby-RMagick 2.x.

> * htmldoc
>   - Would you explain why you pass "--disable-htmldoc" to configure?
>     ( By the way it seems that creating html documents also fixes
>       shebangs automatically )
>   ! By the way as far as I am correct "BR: libwmf" is needed when creating
>     html documents, would you check that?

Building documentation fails, that verdana.ttf or arial.ttf is required but
not available on the system. It's looking for /usr/share/fonts/defaults/
TrueType/<fontname>, if I remember the path correctly. Nothing at Fedora is
seemingly providing that.

> * configure v.s. setup.rb
>   - Well, I think if "configure -> make" is used to compile RMagick,
>     "make install" or so should be used to install files.
> 
>     If you use "ruby setup.rb install", perhaps "ruby setup.rb config/setup"
>     or so is preferable instead of "configure -> make".  

Maybe I did something wrong, but that way I was not able to build the package.
There's a *.h.in and another *.in for example which only gets handled by the
./configure, otherwise the build poorly failed for me.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list