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

Bug 254471

Summary: games-emulation/higan (ebuild request)
Product: Gentoo Linux Reporter: Yaroslav Isakov <yaroslav.isakov>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: bailey, bugzie, cruzki123, mziab
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://byuu.org/higan/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: bsnes-0.038.ebuild
bsnes-makefile.patch
Updated ebuild from roslin uberlay
Updated makefile patch for bsnes 0.039
Build Log
Environment Log
bsnes 0.059
Makefile patch
bsnes-0.059
New Makefile patch, fixes stripping
dev-games/snesfilter - helper library for additional filters
dev-games/snesreader - helper library for patching and decompression
dev-games/supergameboy - Super Gameboy emulation add-on
Moved sed to src_prepare
Added sys-devel/gcc[openmp] to deps
Bumped to bsnes-0.060
Bumped ebuild with some rewrites
New, better Makefile patch
games-emulation/higan/higan-092.ebuild
games-emulation/higan/files/higan-092-QA.patch
games-emulation/higan/files/higan-wrapper
dev-games/higan-ananke/higan-ananke-092.ebuild
dev-games/higan-ananke/files/higan-ananke-092-01-bps-path-fix.patch
dev-games/higan-ananke/files/higan-ananke-092-01-makefile.patch
games-util/higan-purify/higan-purify-03.ebuild
games-util/higan-purify/files/higan-purify-03-QA.patch

Description Yaroslav Isakov 2009-01-10 20:34:32 UTC
Please add ebuild for this SNES emulator: http://byuu.cinnamonpirate.com/
Comment 1 Piotr Szymaniak 2009-01-12 21:00:44 UTC
Created attachment 178223 [details]
bsnes-0.038.ebuild

bsnes ebuild from roslin uberlay.
Comment 2 Piotr Szymaniak 2009-01-12 21:01:04 UTC
Created attachment 178225 [details]
bsnes-makefile.patch
Comment 3 Yaroslav Isakov 2009-01-14 18:51:24 UTC
Thanks!
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]
bsnes-0.059
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 http://byuu.org/bsnes/
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]
games-emulation/higan/higan-092.ebuild
Comment 35 Julian Ospald 2013-06-09 14:39:09 UTC
Created attachment 350518 [details, diff]
games-emulation/higan/files/higan-092-QA.patch
Comment 36 Julian Ospald 2013-06-09 14:39:32 UTC
Created attachment 350520 [details]
games-emulation/higan/files/higan-wrapper
Comment 37 Julian Ospald 2013-06-09 14:40:01 UTC
Created attachment 350522 [details]
dev-games/higan-ananke/higan-ananke-092.ebuild
Comment 38 Julian Ospald 2013-06-09 14:40:16 UTC
Created attachment 350524 [details, diff]
dev-games/higan-ananke/files/higan-ananke-092-01-bps-path-fix.patch
Comment 39 Julian Ospald 2013-06-09 14:40:29 UTC
Created attachment 350526 [details, diff]
dev-games/higan-ananke/files/higan-ananke-092-01-makefile.patch
Comment 40 Julian Ospald 2013-06-09 14:40:50 UTC
Created attachment 350528 [details]
games-util/higan-purify/higan-purify-03.ebuild
Comment 41 Julian Ospald 2013-06-09 14:41:03 UTC
Created attachment 350530 [details, diff]
games-util/higan-purify/files/higan-purify-03-QA.patch
Comment 42 Julian Ospald 2013-06-09 19:18:54 UTC
+*higan-092 (09 Jun 2013)
+
+  09 Jun 2013; Julian Ospald <hasufell@gentoo.org> +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 <hasufell@gentoo.org> +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 <hasufell@gentoo.org> +higan-purify-03.ebuild,
+  +files/higan-purify-03-QA.patch, +metadata.xml:
+  initial import