<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>120413</bug_id>
          
          <creation_ts>2006-01-26 05:14 0000</creation_ts>
          <short_desc>ghostscript-esp 8.15.1 depends on gtk (while there is no dependancy defined)</short_desc>
          <delta_ts>2006-02-05 09:51:46 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Printing</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>cp@uni-wh.de</reporter>
          <assigned_to>printing@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>cp@uni-wh.de</who>
            <bug_when>2006-01-26 05:14:08 0000</bug_when>
            <thetext>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 &quot;data&quot;
src/dxmain.c:45: warning: function declaration isn&apos;t a prototype
src/dxmain.c:83: error: syntax error before &quot;data&quot;
src/dxmain.c:84: warning: function declaration isn&apos;t a prototype
src/dxmain.c: In function `read_stdin_handler&apos;:
src/dxmain.c:85: error: `data&apos; 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&apos; undeclared (first use in this function)
src/dxmain.c:87: error: `GDK_INPUT_EXCEPTION&apos; undeclared (first use in this
function)
src/dxmain.c:88: warning: implicit declaration of function `g_print&apos;
src/dxmain.c:91: error: `GDK_INPUT_READ&apos; undeclared (first use in this
function)
src/dxmain.c:93: error: `fd&apos; undeclared (first use in this function)
src/dxmain.c: In function `gsdll_stdin&apos;:
src/dxmain.c:108: error: `gint&apos; undeclared (first use in this function)
src/dxmain.c:108: error: syntax error before &quot;input_tag&quot;
src/dxmain.c:114: error: `input_tag&apos; undeclared (first use in this function)
src/dxmain.c:114: warning: implicit declaration of function `gdk_input_add&apos;
src/dxmain.c:115: error: `GdkInputCondition&apos; undeclared (first use in this
function)
src/dxmain.c:115: error: `GDK_INPUT_READ&apos; undeclared (first use in this
function)
src/dxmain.c:115: error: `GDK_INPUT_EXCEPTION&apos; undeclared (first use in this
function)

(Hundrets of messages deleted)

src/dxmain.c:332: warning: `cmyk_cyan&apos; defined but not used
src/dxmain.c:337: warning: `cmyk_magenta&apos; defined but not used
src/dxmain.c:342: warning: `cmyk_yellow&apos; defined but not used
src/dxmain.c:347: warning: `cmyk_black&apos; 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&apos;
make: *** [so] Error 2

I&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2006-01-26 05:16:35 0000</bug_when>
            <thetext>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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cp@uni-wh.de</who>
            <bug_when>2006-01-27 08:15:34 0000</bug_when>
            <thetext>The configure script of gs 8.15.1 offers an option &quot;--without-x&quot; but no &quot;--without-gtk&quot;, which is not so surprising because gtk doesn&apos;t make much sense without X11, or do I get something wrong here? But though &quot;--without-x&quot; 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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2006-02-05 09:51:46 0000</bug_when>
            <thetext>thanks, fixed in portage</thetext>
          </long_desc>
      
    </bug>

</bugzilla>