Summary: | gnome-base/librsvg: introduce new USE to avoid X dependencies where possible | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Meier <maekke> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | CC: | kensington, pclouds |
Priority: | High | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Markus Meier
2008-02-16 17:01:01 UTC
I think it's going to be a tiny bit more complicated than that : From librsvg's configure.ac : PKG_CHECK_MODULES(LIBRSVG, \ gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \ <========== /!\ glib-2.0 >= $GLIB_REQUIRED \ libxml-2.0 >= $LIBXML_REQUIRED \ pangoft2 >= $PANGOFT2_REQUIRED \ pangocairo >= $PANGOCAIRO_REQUIRED \ cairo >= $CAIRO_REQUIRED \ cairo-png >= $CAIRO_REQUIRED \ fontconfig >= $FONTCONFIG_REQUIRED freetype2) $ qfile /usr/lib/pkgconfig/gdk-pixbuf-2.0.pc x11-libs/gtk+ (/usr/lib/pkgconfig/gdk-pixbuf-2.0.pc) <leio> you can have librsvg be without needing gtk+ if you don't compile pixbuf loader (gdk-pixbuf stuff, which is part of GTK+ package) and theme engine, it seems, but the check in configure.in is automagical right now apparently and lots of ebuilds depping on librsvg probably expect to find the pixbuf loader for usage ^^ I don't expect it to require gdk-pixbuf for other reasons than providing a pixbuf loader. Does it need it for other reasons? configure.in patching is needed either way if we want to go for changing this Might want to have a look at http://bugzilla.gnome.org/show_bug.cgi?id=326222 Intro from the librsvg site: Many software developers use the librsvg library to render SVG graphics. It is lightweight and portable, requiring only libxml and libart at a minimum, while providing extra features when used with libcroco, libgsf, and mozilla. My main issue is rrdtool now uses SVG which pulls librsvg -> gtk+ -> X. I refuse to install X on a production server (and gtk+ for that matter). (In reply to comment #4) > My main issue is rrdtool now uses SVG which pulls librsvg -> gtk+ -> X. > I refuse to install X on a production server (and gtk+ for that matter). 1) We're talking about the X _libraries_ here. Not the X _server_. 2) "refusing" will not get you far, it's hardly a constructive approach... There is a newer bug report with a patch and an upstream report to Gnome; closing this one. *** This bug has been marked as a duplicate of bug 234460 *** |