This is an ebuild for the ggencoder program. It encodes and decodes game genie coes to raw hex values (aka ProActionReplay codes). Useful for ROM hacking and new code creation. I haven't written many ebuilds. Sorry if it is not 100% correct. I based it on the jedit ebuild and have tried to read the docs on gentoo.org thoroughly. I suggest apps-misc/ggencoder for this. This is where I have put it currently. jdratlif Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 40502 [details] ggencoder-1.0.ebuild
Comment on attachment 40502 [details] ggencoder-1.0.ebuild ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 ppc sparc" > >DESCRIPTION="A program to decode/encode gamegenie codes from raw values (aka PAR codes)" >SRC_URI="http://games.technoplaza.net/ggencoder/history/ggencoder-${PV}.tar.bz2" >HOMEPAGE="http://games.technoplaza.net/" >IUSE="jikes doc" > >RDEPEND=">=virtual/jdk-1.1" >DEPEND="${RDEPEND} > >=dev-java/ant-1.5.4 > jikes? ( >=dev-java/jikes-1.17 )" > >src_compile() { > local antflags="" > > use jikes && antflags="${antflags} -Dbuild.compiler=jikes" > use doc && antflags="${antflags} javadoc" > ant build ${antflags} || die "compilation error" >} > >src_install() { > dodir /usr/share/ggencoder > dodir /usr/bin > > dodoc readme.txt docs/*.txt > use doc && cp -R javadocs ${D}/usr/share/doc/ggencoder-${PV}/ > > cp ggencoder.jar ${D}/usr/share/ggencoder > > cat >${D}/usr/share/ggencoder/ggencoder.sh <<-EOF > #! /bin/sh > > java -jar /usr/share/ggencoder/ggencoder.jar \$@ > EOF > chmod 755 ${D}/usr/share/ggencoder/ggencoder.sh > > ln -s ../share/ggencoder/ggencoder.sh ${D}/usr/bin/ggencoder >} >
Comment on attachment 40502 [details] ggencoder-1.0.ebuild ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 ppc sparc" > >DESCRIPTION="A program to decode/encode gamegenie codes from raw values (aka PAR codes)" >SRC_URI="http://games.technoplaza.net/ggencoder/history/ggencoder-${PV}.tar.bz2" >HOMEPAGE="http://games.technoplaza.net/" >IUSE="jikes doc" > >RDEPEND=">=virtual/jdk-1.1" >DEPEND="${RDEPEND} > >=dev-java/ant-1.5.4 > jikes? ( >=dev-java/jikes-1.17 )" > >src_compile() { > local antflags="" > > use jikes && antflags="${antflags} -Dbuild.compiler=jikes" > use doc && antflags="${antflags} javadoc" > ant build ${antflags} || die "compilation error" >} > >src_install() { > dodir /usr/share/ggencoder > dodir /usr/bin > > dodoc readme.txt docs/*.txt use doc && cp -R javadocs ${D}/usr/share/doc/ggencoder-${PV}/ > > cp ggencoder.jar ${D}/usr/share/ggencoder > > cat >${D}/usr/share/ggencoder/ggencoder.sh <<-EOF > #! /bin/sh > > java -jar /usr/share/ggencoder/ggencoder.jar \$@ > EOF > chmod 755 ${D}/usr/share/ggencoder/ggencoder.sh > > ln -s ../share/ggencoder/ggencoder.sh ${D}/usr/bin/ggencoder >} >
Created attachment 40503 [details] ggencoder-1.0.ebuild
The version should be changed to 1.1 now. No change is needed in the ebuild.
there where newer versions (last http://games.technoplaza.net/ggencoder/qt/history/ggencoder-0.91-x86-linux.tar.bz2 from 2006) ... if anyone still cares since last comment from 2004
*** Bug 279648 has been marked as a duplicate of this bug. ***
My report for the Qt/C++ version of this program, which is not the same as this java program has been closed as a duplicate. I guess I'll repost the ebuild for the Qt/C++ version here.
Created attachment 199850 [details] ebuild for the Qt/C++ version 0.91a. NOT THE JAVA VERSION
Created attachment 199872 [details] revised ebuild for 0.91a Qt/C++. revised ebuild based on suggestions from gentoo-dev-help
This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/proj/sunrise/browser/reviewed/games-util/ggencoder
Created attachment 199958 [details] final sunrise ebuild
in portage. thanks for the bug report and ebuild.