<?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>109289</bug_id>
          
          <creation_ts>2005-10-14 10:45 0000</creation_ts>
          <short_desc>dev-ruby/ruby-gd does not need depend on virtual/x11</short_desc>
          <delta_ts>2005-11-01 06:35:41 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>Ebuilds</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mbj@seonic.net</reporter>
          <assigned_to>ruby@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mbj@seonic.net</who>
            <bug_when>2005-10-14 10:45:15 0000</bug_when>
            <thetext>I&apos;ve tested to install ruby-gd on my non X server, the ruby-gd-0.7.4.ebuild
debends striktly on virtual/x11, maybe this should be managed by the &quot;X&quot; useflag...

I&apos;ve used this ebuild-mod to install:

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gd/ruby-gd-0.7.4.ebuild,v 1.5
2004/12/18 09:47:24 corsair Exp $

inherit ruby
USE_RUBY=&quot;ruby16 ruby18 ruby19&quot;

MY_P=&quot;${P/gd/GD}&quot;
S=&quot;${WORKDIR}/${MY_P}&quot;

DESCRIPTION=&quot;ruby-gd: an interface to Boutell GD library&quot;
HOMEPAGE=&quot;http://tam.0xfa.com/ruby-gd/&quot;
SRC_URI=&quot;http://tam.0xfa.com/ruby-gd/${MY_P}-1.tar.gz&quot;

LICENSE=&quot;Ruby&quot;
SLOT=&quot;0&quot;
KEYWORDS=&quot;~x86 ppc64&quot;
IUSE=&quot;jpeg truetype X&quot;

DEPEND=&quot;virtual/ruby
        &gt;=media-libs/gd-2.0
        jpeg? ( media-libs/jpeg )
        truetype? ( media-libs/freetype )
        X? ( virtual/x11 )&quot;

src_compile() {
        local myconf=&quot;&quot;
        myconf=&quot;${myconf} --enable-gd2_0&quot;

        if use X; then
                myconf=&quot;${myconf} --with-xpm&quot;
        fi

        if use jpeg; then
                myconf=&quot;${myconf} --with-jpeg&quot;
        fi

        if use truetype; then
                myconf=&quot;${myconf} --with-ttf --with-freetype&quot;
        fi

        ruby extconf.rb ${myconf} || die
        emake || die
}

src_install() {
        einstall || die
        dodoc Changes TODO readme.* doc/manual.rd doc/INSTALL.*
        dohtml doc/manual.html doc/manual_index.html
        insinto /usr/share/doc/${PF}/sample
        doins sample/*
}</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2005-11-01 06:35:41 0000</bug_when>
            <thetext>fixed - thanks for the report. </thetext>
          </long_desc>
      
    </bug>

</bugzilla>