Red Hat Bugzilla – Bug 231531
librsvg2 in ImageMagick comes at a big dependency chain cost
Last modified: 2014-07-16 07:43:18 EDT
Ditto for RHEL5 beta2. Seems rather unnecessary for a server without X. I
tried to install ImageMagick-perl (and ImageMagick) and it wanted to install
50 packages in total. Trying to install just librsvg2 pulls in 29 packages.
+++ This bug was initially created as a clone of Bug #212478 +++
I was about to upgrade a trimmed-down, headless FC5 PVR box to FC6, and
noticed that the upgrade wanted to pull in lots of GNOME related things. I
need ImageMagick on that box, and it turns out that the almost-certain culprit
is the librsvg2 support/dependency in it which has been added in FC6.
ImageMagick seems to have some internal practically dependencyless SVG
support, but when librsvg2 support is additionally built in, it seems to
result in these packages recursively being pulled in in my setup which I have
no need for and which were not required in FC5:
There might be some false positives in that list, but most of them seem to be
directly caused by librsvg2. I don't know what building ImageMagick with it
is needed for, but the amount of inflicted dependencies (~30 packages) sure
feels excessive to me...
Actually, the problem could be blamed instead on librsvg2, which requires
gnome-vfs2 - If I install gnome-vfs2, that pulls in 26 packages. I am going
to change the component of this bug report to librsvg2.
Created attachment 149658 [details]
spec file changes to not require gnome-vfs
Here's a patch of changes to the specfile that removes the gnome-vfs
requirement. I don't know if it breaks anything else that requires librsvg2 -
I'll leave that up to you to check that.
The patch was for the rawhide version - Maybe the bug should be cloned to
rawhide? I will leave that up to you, as I am not sure if the change is ok or
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).
*** Bug 477543 has been marked as a duplicate of this bug. ***
Fixed in EL6.