Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254471 - games-emulation/higan (ebuild request)
Summary: games-emulation/higan (ebuild request)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 3 votes (vote)
Assignee: Gentoo Games
Keywords: EBUILD
Depends on:
Reported: 2009-01-10 20:34 UTC by Yaroslav Isakov
Modified: 2013-06-09 19:18 UTC (History)
4 users (show)

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

bsnes-0.038.ebuild (bsnes-0.038.ebuild,1.92 KB, text/plain)
2009-01-12 21:00 UTC, Piotr Szymaniak
bsnes-makefile.patch (bsnes-makefile.patch,396 bytes, text/plain)
2009-01-12 21:01 UTC, Piotr Szymaniak
Updated ebuild from roslin uberlay (bsnes-0.039.ebuild,1.92 KB, text/plain)
2009-01-19 22:25 UTC, Michał Ziąbkowski
Updated makefile patch for bsnes 0.039 (bsnes-makefile.patch,347 bytes, patch)
2009-01-19 22:25 UTC, Michał Ziąbkowski
Details | Diff
Build Log (build.log,10.24 KB, text/plain)
2009-02-20 11:17 UTC, Bailey Kong
Environment Log (environment,94.34 KB, text/plain)
2009-02-20 11:54 UTC, Bailey Kong
bsnes 0.059 (bsnes-0.059.ebuild,1.97 KB, text/plain)
2010-01-19 17:42 UTC, Michał Ziąbkowski
Makefile patch (bsnes-0.047-makefile.patch,390 bytes, patch)
2010-01-19 17:43 UTC, Michał Ziąbkowski
Details | Diff
bsnes-0.059 (bsnes-0.059.ebuild,1.88 KB, text/plain)
2010-01-20 18:34 UTC, Michał Ziąbkowski
New Makefile patch, fixes stripping (bsnes-0.059-makefile.patch,581 bytes, patch)
2010-01-20 18:35 UTC, Michał Ziąbkowski
Details | Diff
dev-games/snesfilter - helper library for additional filters (snesfilter-0.009.ebuild,713 bytes, text/plain)
2010-01-20 18:37 UTC, Michał Ziąbkowski
dev-games/snesreader - helper library for patching and decompression (snesreader-0.011.ebuild,724 bytes, text/plain)
2010-01-20 18:38 UTC, Michał Ziąbkowski
dev-games/supergameboy - Super Gameboy emulation add-on (supergameboy-0.015.ebuild,659 bytes, text/plain)
2010-01-20 18:39 UTC, Michał Ziąbkowski
Moved sed to src_prepare (bsnes-0.059.ebuild,1.89 KB, text/plain)
2010-01-23 18:33 UTC, Michał Ziąbkowski
Added sys-devel/gcc[openmp] to deps (snesfilter-0.009.ebuild,736 bytes, text/plain)
2010-01-23 18:35 UTC, Michał Ziąbkowski
Bumped to bsnes-0.060 (bsnes-0.060.ebuild,2.54 KB, text/plain)
2010-02-09 15:16 UTC, Michał Ziąbkowski
Bumped ebuild with some rewrites (bsnes-0.064.ebuild,2.45 KB, text/plain)
2010-04-24 14:51 UTC, Michał Ziąbkowski
New, better Makefile patch (bsnes-0.064-makefile.patch,4.10 KB, patch)
2010-04-24 14:52 UTC, Michał Ziąbkowski
Details | Diff
games-emulation/higan/higan-092.ebuild (higan-092.ebuild,3.48 KB, text/plain)
2013-06-09 14:38 UTC, Julian Ospald
games-emulation/higan/files/higan-092-QA.patch (higan-092-QA.patch,1.38 KB, patch)
2013-06-09 14:39 UTC, Julian Ospald
Details | Diff
games-emulation/higan/files/higan-wrapper (higan-wrapper,957 bytes, application/x-shellscript)
2013-06-09 14:39 UTC, Julian Ospald
dev-games/higan-ananke/higan-ananke-092.ebuild (higan-ananke-092.ebuild,740 bytes, text/plain)
2013-06-09 14:40 UTC, Julian Ospald
dev-games/higan-ananke/files/higan-ananke-092-01-bps-path-fix.patch (higan-ananke-092-01-bps-path-fix.patch,393 bytes, patch)
2013-06-09 14:40 UTC, Julian Ospald
Details | Diff
dev-games/higan-ananke/files/higan-ananke-092-01-makefile.patch (higan-ananke-092-01-makefile.patch,698 bytes, patch)
2013-06-09 14:40 UTC, Julian Ospald
Details | Diff
games-util/higan-purify/higan-purify-03.ebuild (higan-purify-03.ebuild,1011 bytes, text/plain)
2013-06-09 14:40 UTC, Julian Ospald
games-util/higan-purify/files/higan-purify-03-QA.patch (higan-purify-03-QA.patch,304 bytes, patch)
2013-06-09 14:41 UTC, Julian Ospald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2009-01-10 20:34:32 UTC
Please add ebuild for this SNES emulator:
Comment 1 Piotr Szymaniak 2009-01-12 21:00:44 UTC
Created attachment 178223 [details]

bsnes ebuild from roslin uberlay.
Comment 2 Piotr Szymaniak 2009-01-12 21:01:04 UTC
Created attachment 178225 [details]
Comment 3 Yaroslav Isakov 2009-01-14 18:51:24 UTC
Comment 4 Michał Ziąbkowski 2009-01-19 22:25:21 UTC
Created attachment 179040 [details]
Updated ebuild from roslin uberlay
Comment 5 Michał Ziąbkowski 2009-01-19 22:25:59 UTC
Created attachment 179042 [details, diff]
Updated makefile patch for bsnes 0.039
Comment 6 Bailey Kong 2009-02-20 11:16:13 UTC
I'm having some trouble compiling this, things not being declared in various areas.
Comment 7 Bailey Kong 2009-02-20 11:17:31 UTC
Created attachment 182645 [details]
Build Log
Comment 8 Bailey Kong 2009-02-20 11:54:01 UTC
Created attachment 182646 [details]
Environment Log
Comment 9 Michał Ziąbkowski 2010-01-19 17:42:41 UTC
Created attachment 216918 [details]
bsnes 0.059

Uploading ebuild for newest stable version from roslin uberlay.
Comment 10 Michał Ziąbkowski 2010-01-19 17:43:17 UTC
Created attachment 216920 [details, diff]
Makefile patch
Comment 11 SpanKY gentoo-dev 2010-01-19 18:10:09 UTC
ebuild largely looks OK, but your style is a little non-standard

MY_PV should be above DESCRIPTION

cuddle if statements:
if foo ; then

the -i sed option should come first, and multilines need indenting:
sed -i -e .... files \
    || die ...

you dont need einfo with USE=debug

either enable the dodoc or delete the commented out line

drop the RESTRICT=strip
Comment 12 Michał Ziąbkowski 2010-01-20 18:34:40 UTC
Created attachment 216989 [details]
Comment 13 Michał Ziąbkowski 2010-01-20 18:35:50 UTC
Created attachment 216991 [details, diff]
New Makefile patch, fixes stripping
Comment 14 Michał Ziąbkowski 2010-01-20 18:37:14 UTC
Created attachment 216993 [details]
dev-games/snesfilter - helper library for additional filters
Comment 15 Michał Ziąbkowski 2010-01-20 18:38:24 UTC
Created attachment 216994 [details]
dev-games/snesreader - helper library for patching and decompression
Comment 16 Michał Ziąbkowski 2010-01-20 18:39:55 UTC
Created attachment 216996 [details]
dev-games/supergameboy - Super Gameboy emulation add-on
Comment 17 Michał Ziąbkowski 2010-01-20 18:40:43 UTC
Thanks for looking into this. Here's the updated ebuild plus optional deps.
Comment 18 Michał Ziąbkowski 2010-01-22 14:09:49 UTC
Actually, I've got two questions. First off, should I move the module disabling to src_prepare/src_configure? I'm not sure.

Second, snesfilter-0.009 has a hard dependency on openmp. What's the best way of checking if this is available? A USE-dep on gcc?
Comment 19 SpanKY gentoo-dev 2010-01-23 18:04:52 UTC
because you're modifying the source (sed Makefile), src_prepare is probably better ...

if snesfilter requires openmp, then use sys-devel/gcc[openmp] in the DEPEND
Comment 20 Michał Ziąbkowski 2010-01-23 18:33:42 UTC
Created attachment 217260 [details]
Moved sed to src_prepare
Comment 21 Michał Ziąbkowski 2010-01-23 18:35:15 UTC
Created attachment 217261 [details]
Added sys-devel/gcc[openmp] to deps
Comment 22 Michał Ziąbkowski 2010-02-09 15:16:58 UTC
Created attachment 219003 [details]
Bumped to bsnes-0.060

Upstream released a new version which is now packaged together with the plugins. The upshot of this is that the additional dev-games/* stuff is not needed anymore. I changed the deps and src_compile to match. The Makefile patch is still up-to-date.
Comment 23 Yaroslav Isakov 2010-03-09 20:13:04 UTC
Thanks for ebuilds, but I found that bsnes-0.61_p1 can't load snesreader because of missing symbol. I trace that error and found that link step miss -fopenmp flag, because of -e "/link += -s/d". In original Makefile, code was:
ifeq ($(platform),x)
  flags := -fPIC -fopenmp $(flags)
  link += -s -fopenmp -lpthread -lgomp
and after sed:
ifeq ($(platform),x)
  flags := -fPIC -fopenmp $(flags)
Comment 24 Michał Ziąbkowski 2010-03-09 21:15:45 UTC
You mean snesfilter? Sorry about that. Didn't happen here for some reason. Updated the ebuild. Does this fix the issue for you?
Comment 25 Yaroslav Isakov 2010-03-09 21:25:28 UTC
Yes, it was snesfilter. And yes, new ebuild fix that. Thanks for quick fix!
Comment 26 Michał Ziąbkowski 2010-04-24 14:51:56 UTC
Created attachment 229009 [details]
Bumped ebuild with some rewrites
Comment 27 Michał Ziąbkowski 2010-04-24 14:52:36 UTC
Created attachment 229011 [details, diff]
New, better Makefile patch
Comment 28 Claudio Roberto França Pereira 2011-05-31 13:55:51 UTC
Byuu has since moved to
Anyone is maintaining this ebuild yet?
Comment 29 cruzki 2013-01-07 22:11:02 UTC
Theres an ebuild in roslin overlay for versions up to 0.88. Moreover, bsnes is now higan and is a multi-system emulator.
Comment 30 Michał Ziąbkowski 2013-01-07 23:06:38 UTC
Actually, I was the one maintaining that ebuild in roslin. But constant changes to the build system and inner workings of the emulator which required some additional patches on my end kind of wore me down, so I dropped it. I might reconsider, but as it stands I'm not maintaining it anymore.
Comment 31 Michał Ziąbkowski 2013-01-18 15:42:52 UTC
In case you're wondering, I've just committed ebuilds for both higan and the ananke helper library to roslin.
Comment 32 cruzki 2013-01-18 16:34:01 UTC
Thanks, I will try them this weekend
Comment 33 James L. Hammons 2013-02-20 04:17:36 UTC
I installed higan + ananke from the roslin overlay on two different machines (both 64-bit) and it works fine on both. It would be nice if higan could make it into the tree as a nice alternative to bsnes.
Comment 34 Julian Ospald 2013-06-09 14:38:50 UTC
Created attachment 350516 [details]
Comment 35 Julian Ospald 2013-06-09 14:39:09 UTC
Created attachment 350518 [details, diff]
Comment 36 Julian Ospald 2013-06-09 14:39:32 UTC
Created attachment 350520 [details]
Comment 37 Julian Ospald 2013-06-09 14:40:01 UTC
Created attachment 350522 [details]
Comment 38 Julian Ospald 2013-06-09 14:40:16 UTC
Created attachment 350524 [details, diff]
Comment 39 Julian Ospald 2013-06-09 14:40:29 UTC
Created attachment 350526 [details, diff]
Comment 40 Julian Ospald 2013-06-09 14:40:50 UTC
Created attachment 350528 [details]
Comment 41 Julian Ospald 2013-06-09 14:41:03 UTC
Created attachment 350530 [details, diff]
Comment 42 Julian Ospald 2013-06-09 19:18:54 UTC
+*higan-092 (09 Jun 2013)
+  09 Jun 2013; Julian Ospald <> +higan-092.ebuild,
+  +files/higan-092-QA.patch, +files/higan-wrapper, +metadata.xml:
+  initial import wrt #254471

+*higan-ananke-092 (09 Jun 2013)
+  09 Jun 2013; Julian Ospald <> +higan-ananke-092.ebuild,
+  +files/higan-ananke-092-bps-path-fix.patch,
+  +files/higan-ananke-092-makefile.patch, +metadata.xml:
+  initial import

+*higan-purify-03 (09 Jun 2013)
+  09 Jun 2013; Julian Ospald <> +higan-purify-03.ebuild,
+  +files/higan-purify-03-QA.patch, +metadata.xml:
+  initial import