Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120413 - ghostscript-esp 8.15.1 depends on gtk (while there is no dependancy defined)
Summary: ghostscript-esp 8.15.1 depends on gtk (while there is no dependancy defined)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 05:14 UTC by Christoph Peus
Modified: 2006-02-05 09:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Peus 2006-01-26 05:14:08 UTC
In contrary to ghostscript-esp 7.x the new ebuild seems to depend on gtk. Is
this by design? I get this error:

/bin/sh: gtk-config: command not found
/bin/sh: gtk-config: command not found
src/dxmain.c:36:21: gtk/gtk.h: No such file or directory
src/dxmain.c:44: error: syntax error before "data"
src/dxmain.c:45: warning: function declaration isn't a prototype
src/dxmain.c:83: error: syntax error before "data"
src/dxmain.c:84: warning: function declaration isn't a prototype
src/dxmain.c: In function `read_stdin_handler':
src/dxmain.c:85: error: `data' undeclared (first use in this function)
src/dxmain.c:85: error: (Each undeclared identifier is reported only once
src/dxmain.c:85: error: for each function it appears in.)
src/dxmain.c:87: error: `condition' undeclared (first use in this function)
src/dxmain.c:87: error: `GDK_INPUT_EXCEPTION' undeclared (first use in this
function)
src/dxmain.c:88: warning: implicit declaration of function `g_print'
src/dxmain.c:91: error: `GDK_INPUT_READ' undeclared (first use in this
function)
src/dxmain.c:93: error: `fd' undeclared (first use in this function)
src/dxmain.c: In function `gsdll_stdin':
src/dxmain.c:108: error: `gint' undeclared (first use in this function)
src/dxmain.c:108: error: syntax error before "input_tag"
src/dxmain.c:114: error: `input_tag' undeclared (first use in this function)
src/dxmain.c:114: warning: implicit declaration of function `gdk_input_add'
src/dxmain.c:115: error: `GdkInputCondition' undeclared (first use in this
function)
src/dxmain.c:115: error: `GDK_INPUT_READ' undeclared (first use in this
function)
src/dxmain.c:115: error: `GDK_INPUT_EXCEPTION' undeclared (first use in this
function)

(Hundrets of messages deleted)

src/dxmain.c:332: warning: `cmyk_cyan' defined but not used
src/dxmain.c:337: warning: `cmyk_magenta' defined but not used
src/dxmain.c:342: warning: `cmyk_yellow' defined but not used
src/dxmain.c:347: warning: `cmyk_black' defined but not used
make[1]: *** [bin/../sobin/gsx] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ghostscript-esp-8.15.1/work/espgs-8.15.1'
make: *** [so] Error 2

I'm using ghostscript for a server, no X, no Gnome or other graphical stuff
installed. I would really like to go on that way...
Thanks.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-26 05:16:35 UTC
well, we apply a gtk2-patch for USE=gtk
but for use=-gtk I guess there is a disable-gtkmissing somewhere. Can you see a way to get rid of this error?
Comment 2 Christoph Peus 2006-01-27 08:15:34 UTC
The configure script of gs 8.15.1 offers an option "--without-x" but no "--without-gtk", which is not so surprising because gtk doesn't make much sense without X11, or do I get something wrong here? But though "--without-x" was used when I tried to compile the packet, it complains about missing gtk includes. So it seems to be a bug of gs 8.15.1 and not a bug of the ebuild...
But my knowledge of ebuild internals is next to non existant, so my thoughts above may be complete nonsense....
What do you think?
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-05 09:51:46 UTC
thanks, fixed in portage