Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56555 - new dev-lang/icon-9.42 ebuild
Summary: new dev-lang/icon-9.42 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 10:46 UTC by Jens Troeger
Modified: 2005-08-11 13:07 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 Jens Troeger 2004-07-09 10:46:38 UTC
hello, the current ebuild for the programming language icon is outdated.  here it is:

MY_PV=${PV/./}
SRC_URI="http://www.cs.arizona.edu/icon/ftp/packages/unix/icon.v${MY_PV}src.tgz"
HOMEPAGE="http://www.cs.arizona.edu/icon/"
DESCRIPTION="very high level language"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 sparc ~ppc"
IUSE="X"

S=${WORKDIR}/icon.v${MY_PV}src

DEPEND="X? ( virtual/x11 )
    sys-devel/gcc"

src_unpack() {
    unpack ${A}
    cd ${S}/config/unix/intel_linux
    patch -p0 <${FILESDIR}/${P}-gentoo.diff
}

src_compile() {
    if use X; then
        make X-Configure name=linux || die
    else
        make Configure name=linux || die
    fi

    make || die

    # small builtin test
    make Samples || die
    # large builtin test
    make Test || die
}

src_install() {
    #make Install dest=${D}/opt/icon || die
    # fhs-problems, manual rectify
    into /usr

    cd ${S}/bin
    rm .placeholder libXpm.a rt.h
    dobin *

    cd ${S}/lib
    rm .placeholder
    dolib *

    cd ${S}/man/man1
    doman icont.1

    cd ${S}/doc
    dodoc * ../README
}

fairly simple... just changed to the latest version 9.42 and replaced the name=intel_linux with just "linux".  it should now compile on all platform.  i compiled it on ppc so you can at least add ~ppc

cheers,
jens



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2004-07-30 18:26:50 UTC
Hi Jens.

Thanks for your update notice. I have committed new version of ebuild. Please however in the future:
1. attach ebuilds or any other separate files (instead of pasting them in)
2. In the case of small changes it is actually even better to attach a diff rather than full file.

I made few cosmetic updates to the ebuild. Most significantly removed patch and instead did a sed one-liner.

However this version fails running tests, which I disabled for now (as compiler itself seems to function Ok). Can you please test the ebuild?
Please note, I changed the versioning scheme as well, to match the upstream. This version is 9.4.2 and it is not recognized as an update by portage because of that. My plan is to resolve this last issue and then remove old version from the tree..

George
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 13:07:26 UTC
In portage, closing a stale bug.