Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65476 - ggencoder-1.1.ebuild (New Package)
Summary: ggencoder-1.1.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://games.technoplaza.net/
Whiteboard: sunrise-overlay
Keywords: EBUILD, InOverlay
: 279648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-26 18:24 UTC by John Ratliff
Modified: 2009-08-02 21:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ggencoder-1.0.ebuild (ggencoder-1.0.ebuild,1.13 KB, text/plain)
2004-09-26 18:24 UTC, John Ratliff
Details
ggencoder-1.0.ebuild (ggencoder-1.0.ebuild,1.11 KB, text/plain)
2004-09-26 18:29 UTC, John Ratliff
Details
ebuild for the Qt/C++ version 0.91a. NOT THE JAVA VERSION (ggencoder-0.91a.ebuild,711 bytes, text/plain)
2009-08-01 22:14 UTC, John Ratliff
Details
revised ebuild for 0.91a Qt/C++. (ggencoder-0.91a.ebuild,705 bytes, text/plain)
2009-08-02 00:27 UTC, John Ratliff
Details
final sunrise ebuild (ggencoder-0.91a.ebuild,699 bytes, text/plain)
2009-08-02 20:07 UTC, John Ratliff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Ratliff 2004-09-26 18:24:07 UTC
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.
Comment 1 John Ratliff 2004-09-26 18:24:55 UTC
Created attachment 40502 [details]
ggencoder-1.0.ebuild
Comment 2 John Ratliff 2004-09-26 18:26:41 UTC
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 3 John Ratliff 2004-09-26 18:27:46 UTC
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 4 John Ratliff 2004-09-26 18:29:34 UTC
Created attachment 40503 [details]
ggencoder-1.0.ebuild
Comment 5 John Ratliff 2004-12-28 07:52:43 UTC
The version should be changed to 1.1 now. No change is needed in the ebuild.
Comment 6 Anton Romanov 2008-12-18 15:00:05 UTC
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
Comment 7 James Earl Spahlinger 2009-07-30 20:07:04 UTC
*** Bug 279648 has been marked as a duplicate of this bug. ***
Comment 8 John Ratliff 2009-08-01 22:14:09 UTC
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.
Comment 9 John Ratliff 2009-08-01 22:14:38 UTC
Created attachment 199850 [details]
ebuild for the Qt/C++ version 0.91a. NOT THE JAVA VERSION
Comment 10 John Ratliff 2009-08-02 00:27:04 UTC
Created attachment 199872 [details]
revised ebuild for 0.91a Qt/C++.

revised ebuild based on suggestions from gentoo-dev-help
Comment 11 John Ratliff 2009-08-02 00:53:24 UTC
This is now in the sunrise overlay. You can find it at:
http://overlays.gentoo.org/proj/sunrise/browser/reviewed/games-util/ggencoder
Comment 12 John Ratliff 2009-08-02 20:07:30 UTC
Created attachment 199958 [details]
final sunrise ebuild
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2009-08-02 21:56:44 UTC
in portage.   thanks for the bug report and ebuild.