Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235860 - games-emulation/fceultra version bump && project is renamed to FCEUX
Summary: games-emulation/fceultra version bump && project is renamed to FCEUX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Games
URL: http://fceux.com/
Whiteboard:
Keywords:
: 254477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-27 07:11 UTC by Denilson Sá Maia
Modified: 2009-09-29 05:18 UTC (History)
2 users (show)

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


Attachments
Initial fceux-2.0.3.ebuild (fceux-2.0.3.ebuild,1.20 KB, text/plain)
2008-11-04 18:12 UTC, Denilson Sá Maia
Details
Proposed gfceux-2.0.3.ebuild (gfceux-2.0.3.ebuild,735 bytes, text/plain)
2008-12-26 07:42 UTC, Mizery De Aria
Details
Proposed gfceux-2.0.3.gentoo.patch (gfceux-2.0.3-gentoo.patch,802 bytes, patch)
2008-12-26 08:48 UTC, Mizery De Aria
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2008-08-27 07:11:33 UTC
Quoting the project website:
"The concept behind FCEUX is to merge elements from FCE Ultra, FCEU rerecording, FCEUXD, FCEUXDSP, and FCEU-mm into a single branch of FCEU."
and...
"All users of FCE Ultra are encouraged to switch to FCEUX and bug us if something isn't working well."
http://fceux.com/

The following info is copied from the project download page:
This new version uses Scons to build.
It requires SDL, libz, zenity, and liblua5.1 libraries (with optional OpenGL).
A GTK2 GUI for fceux is included in the source release.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-08-27 14:38:23 UTC
Version on website is listed as 2.02. I'm not sure if a pkgmove is the best bet or a completely new ebuild and remove the old.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2008-08-29 19:13:01 UTC
I'd take an ebuild submission for this.  A package move is probably the right thing.
Comment 3 Denilson Sá Maia 2008-11-04 01:49:52 UTC
FCEUX 2.0.3 has been released yesterday, 02 November 2008
http://sourceforge.net/forum/forum.php?forum_id=883382
Comment 4 Denilson Sá Maia 2008-11-04 18:12:25 UTC
Created attachment 170721 [details]
Initial fceux-2.0.3.ebuild

Initial ebuild for fceux-2.0.3 that I wrote from scratch. It works for me (amd64 arch, should also work on x86, but I've not tested). There are a few things that I would like to point out:

1. Current build system copies a "auxlib.lua" file to fceu/bin directory, but does not install it (see the last lines of SConstruct file). Since I have no idea of where to install it, I don't even try to install it.

2. Current tarball extracts two directories: fceu and gfceux. I've contacted one of the developers via IRC and he might change that to extract to the versioned directory on the next version.

3. Current fceux tarball contains both fceux (the emulator) and gfceux (the frontend). The same developer said that the next version will have separate tarballs for each.

4. gfceux is written in PyGTK and its build system is distutils. I think it deserves a separate ebuild. (probably a package move of gfceu to gfceux)

As I said, this is just an initial version of this ebuild to let you people get started. Please feel free to improve it (and to make one for gfceux), as I probably won't edit it in future.
Comment 5 Denilson Sá Maia 2008-11-04 18:17:32 UTC
Oh, by the way, some possible improvements:
- Making OpenGL optional
- Maybe enabling CREATE_AVI and LOGO options (which will require libgd)
Comment 6 Alexandre Hamelin 2008-12-07 06:17:18 UTC
This ebuild works fine for me. Was about to write one myself. Thanks.
Comment 7 Mizery De Aria 2008-12-26 07:42:43 UTC
Created attachment 176405 [details]
Proposed gfceux-2.0.3.ebuild

I wasn't sure how to work in the epatch as seen in gfceu-0.6.0-r1.ebuild
Comment 8 Mizery De Aria 2008-12-26 07:45:19 UTC
Also, I manually made a symbolic link since one file contains both fceux and gfceux

# ln -s /usr/portage/distfiles/fceux-2.0.3.src.tar.bz2 /usr/portage/distfiles/gfceux-2.0.3.src.tar.bz2
Comment 9 Mizery De Aria 2008-12-26 08:46:46 UTC
Comment on attachment 176405 [details]
Proposed gfceux-2.0.3.ebuild

<HTML><HEAD/><BODY><PRE># Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit games python

DESCRIPTION="GTK frontend for the FCE Ultra NES emulator"
HOMEPAGE="http://fceux.com/"
SRC_URI="mirror://sourceforge/fceultra/${P}.src.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="games-emulation/fceultra
	&gt;=dev-python/pygtk-2.6
	dev-python/gnome-python"

src_unpack() {
	unpack ${A}
	mv gfceux ${P}
	cd "${S}"
	epatch "${FILESDIR}"/${P}-gentoo.patch
	sed -i \
		-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
		gfceux || die "sed on gfceux failed"
}

src_install() {
	dogamesbin ${PN} || die "dogamesbin failed"
	insinto "${GAMES_DATADIR}"/${PN}
	doins ${PN}.glade *.png || die "doins failed"
	dodoc ChangeLog TODO
	doman ${PN}.1
	doicon ${PN}.png
	make_desktop_entry ${PN} "GFCE UltraX" ${PN}
	prepgamesdirs
}</PRE></BODY></HTML>
Comment 10 Mizery De Aria 2008-12-26 08:48:41 UTC
Created attachment 176412 [details, diff]
Proposed gfceux-2.0.3.gentoo.patch
Comment 11 Mizery De Aria 2008-12-26 08:51:24 UTC
I figured out how to work in the epatch as seen in gfceu-0.6.0-r1.ebuild

gfceu-2.0.3.ebuild : http://pastebin.com/f5fffd393
gfceux-2.0.3-gentoo.patch : http://pastebin.com/f153aa2cc
Comment 12 Denilson Sá Maia 2008-12-26 15:41:43 UTC
(In reply to comment #8)
> Also, I manually made a symbolic link since one file contains both fceux and
> gfceux
> 
> # ln -s /usr/portage/distfiles/fceux-2.0.3.src.tar.bz2
> /usr/portage/distfiles/gfceux-2.0.3.src.tar.bz2

You don't, and shouldn't, do that. Just change the SRC_URI to point to the correct URL. If the URL has already been downloaded (by some other package), it is no problem.

Also, I guess you already know that you shouldn't paste the ebuild here. Just add as attachment.
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2009-09-29 03:22:01 UTC
*** Bug 254477 has been marked as a duplicate of this bug. ***
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2009-09-29 05:18:06 UTC
games-emulation/fceux is in portage.  thanks for the bug report and ebuild submissions.