I would like to install texlive-2010 on servers having USE="-X". texlive optionally depends on luatex, which depends on poppler, which depends on cairo. In the poppler ebuild dependency code, cairo and gtk+ are grouped together. gtk+ brings in the unwanted X dependency: cairo? ( dev-libs/glib:2 >=x11-libs/cairo-1.8.4 >=x11-libs/gtk+-2.14.0:2 ) Could the two be separated into separate tests, e.g. cairo? () and X? (), so that cairo can be installed on systems without X?: cairo? ( dev-libs/glib:2 >=x11-libs/cairo-1.8.4 ) X? ( >=x11-libs/gtk+-2.14.0:2 ) Apologies if I have assessed the above issue incorrectly. The objective is to remove a possibly unnecessary on X, by any means necessary. Thanks. Reproducible: Always
No, splitting cairo and gtk+ is not possible here. And luatex just needs old xpdf headers from poppler - you don't need glib/cairo/gtk bidnings at all for luatex so just disable cairo USE flag for poppler and you're done.
Apologies for reopening if that's frowned upon. New information: As of poppler-0.16, the poppler-glib dependency on GDK has been removed. glib: ... * Remove GDK API * Remove test-poppler-glib ... Hopefully this can ease the need to couple cairo and gtk coupling in poppler dependencies: cairo? ( dev-libs/glib:2 >=x11-libs/cairo-1.10.0 >=x11-libs/gtk+-2.20.1:2[introspection?] introspection? ( >=dev-libs/gobject-introspection-0.9.12 ) ) Regarding Maciej's suggestion to build poppler with USE="-cairo", will that affect more functionality than just "glib/cairo/gtk bindings for luatex"? Given my constraint to not install X on servers, my primary objective to to preserve the cairo capabilities in PDF, SVG and other backends, these are important in R (for rendering output to R's Cairo device), and I think for poppler if luatex is using it to render parts of output .e.g. PDF. Thank you.
GDK != GTK
Well if you look at poppler-0.18.0.ebuild: cairo? ( dev-libs/glib:2 >=x11-libs/cairo-1.10.0 introspection? ( >=dev-libs/gobject-introspection-0.9.12 ) ) So I guess it's solved.
(In reply to comment #4) > Well if you look at poppler-0.18.0.ebuild: > > cairo? ( > dev-libs/glib:2 > >=x11-libs/cairo-1.10.0 > introspection? ( >=dev-libs/gobject-introspection-0.9.12 ) > ) > > So I guess it's solved. Indeed.