Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82552

Summary: [EBUILD] gGo-1.0
Product: Gentoo Linux Reporter: Christoph Brill (egore) (RESIGNED) <egore>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED LATER    
Severity: enhancement CC: flash3001
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://panda-igs.joyjoy.net/java/gGo/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: games-board/gGo-1.0
games-board/gGo-1.0
games-board/gGo-1.0
games-board/gGo-1.0
ggo-1.0.ebuild

Description Christoph Brill (egore) (RESIGNED) 2005-02-19 03:18:41 UTC
gGo is a GO game.

Reproducible: Always
Steps to Reproduce:
Comment 1 Christoph Brill (egore) (RESIGNED) 2005-02-19 03:21:10 UTC
Created attachment 51577 [details]
games-board/gGo-1.0

The ebuild
Comment 2 Alexandru Toma 2005-02-19 07:16:41 UTC
From the ebuild:
mkdir ${WORKDIR}/gGo
cd ${S}
unpack ${A}

I think you should use S=${WORKDIR} instead of that.

sed -i -e "s:/usr/local/gGo/lib/:${GAMES_DATADIR}/${PN}/:" usr/local/gGo/bin/ggo
You're actually modiffying usr/local/gGo/bin/ggo and that will not work.

LICENSE="AS-IS"
Shouldn't that be LICENSE="as-is"?

inherit games java
Maybe I'm wrong, but I don't see where you use any functionality from the java eclass.
Comment 3 Christoph Brill (egore) (RESIGNED) 2005-02-19 07:57:50 UTC
Created attachment 51600 [details]
games-board/gGo-1.0

Changes/Comments

1.)  changed to "S=${WORKDIR}"
2.)  "sed .... usr/local/gGo/bin/ggo" is right, since there is a directory
${WORKDIR}/usr/local/gGo/bin/ggo (the package is damn ugly)
3.)  changed to "LICENSE=as-is"
4.)  removed inherit java, still works

Thanks for the hints!
Comment 4 Christoph Brill (egore) (RESIGNED) 2005-02-19 08:03:25 UTC
Created attachment 51601 [details]
games-board/gGo-1.0

Removed the doc use flag
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-02-19 11:30:39 UTC
comments:

take out src_compile()
take out "gGo is" from the DESCRIPTION
add error checking for the cp and dogamesbin in src_install like the other games ebuilds.
quote ${S} in src_unpack
Comment 6 Christoph Brill (egore) (RESIGNED) 2005-02-20 05:22:46 UTC
Created attachment 51653 [details]
games-board/gGo-1.0

Add changes requested by Mr. Bones
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-05-12 22:27:14 UTC
doesn't seem to want to fire up gnugo.  Does that work for anyone else?
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-05-25 17:55:12 UTC
Created attachment 59835 [details]
ggo-1.0.ebuild

Well, here's the ebuild I used.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2005-05-25 17:56:11 UTC
Guess I'll try the next version to see if it's more obvious how to get it to
work with gnugo.