First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 109289
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Ruby Team <ruby@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Schirp <mbj@seonic.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109289 depends on: Show dependency tree
Bug 109289 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-14 10:45 0000
I'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 "X" useflag...

I'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="ruby16 ruby18 ruby19"

MY_P="${P/gd/GD}"
S="${WORKDIR}/${MY_P}"

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

LICENSE="Ruby"
SLOT="0"
KEYWORDS="~x86 ppc64"
IUSE="jpeg truetype X"

DEPEND="virtual/ruby
        >=media-libs/gd-2.0
        jpeg? ( media-libs/jpeg )
        truetype? ( media-libs/freetype )
        X? ( virtual/x11 )"

src_compile() {
        local myconf=""
        myconf="${myconf} --enable-gd2_0"

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

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

        if use truetype; then
                myconf="${myconf} --with-ttf --with-freetype"
        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/*
}

------- Comment #1 From Caleb Tennis 2005-11-01 06:35:41 0000 -------
fixed - thanks for the report. 

First Last Prev Next    No search results available      Search page      Enter new bug