Bug 22904 - ghostscript-7.05.6-r2 requires gimp, gnome, and X when using cups
Bug#: 22904 Product:  Gentoo Linux Version: 1.4_rc4 Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: printing@gentoo.org Reported By: reillyeon@reilly.dnsalias.net
Component: Ebuilds
URL: 
Summary: ghostscript-7.05.6-r2 requires gimp, gnome, and X when using cups
Keywords:  
Status Whiteboard: 
Opened: 2003-06-15 22:44 0000
Description:   Opened: 2003-06-15 22:44 0000
Even when I am using -gnome and -X the ghostscript ebuild tries to compile gimp
as  part of its cups support. This is a problem for my headless box because X is
not wanted. The ghostscript ebuild should use gimp-print-cups instead of
gimp-print when compiling without gnome.

------- Comment #1 From Gabe Yoder 2003-06-19 19:01:07 0000 -------
Neither gimp-print nor gimp-print-cups should be included as a result of the
cups flag (although gimp-print-cups would be an improvement since it pulls in
less extraneous stuff).  There should be a separate flag to control whether the
gimp stuff is used.  Tacking unrelated options to use flags kind of eliminates
the whole point of having the use flags.

------- Comment #2 From Heinrich Wendel (RETIRED) 2003-06-28 14:10:39 0000 -------
fixed in next gs version.

------- Comment #3 From Daniel Mettler 2003-07-13 07:15:10 0000 -------
nb: the bug should be upgraded to "critical" (may spoil servers).

the following fixes it for me

--- ghostscript-7.05.6-r2.ebuild        2003-07-04 16:36:57.000000000 +0000
+++ ghostscript-7.05.6-r3.ebuild        2003-07-13 14:08:07.000000000 +0000
@@ -25,7 +25,7 @@
        cjk? ( media-fonts/arphicfonts
                media-fonts/kochi-substitute
                media-fonts/baekmuk-fonts )
-       cups? ( || ( gimp-print gimp-print-cups ) )"
+       cups? ( gimp-print-cups )"

 S=${WORKDIR}/espgs-${PV}


------- Comment #4 From Daniel Mettler 2003-07-13 08:16:11 0000 -------
btw. it's just a way to get rid of the nasty x (etc.) dependencies. i don't
claim it to be the right[tm] solution..

------- Comment #5 From Heinrich Wendel (RETIRED) 2003-07-16 07:05:06 0000 -------
ghostscript-7.05.6-r3 now in portage ...