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.
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.
fixed in next gs version.
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}
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..
ghostscript-7.05.6-r3 now in portage ...