| Summary: | games-emulation/gnuboy optional display backends and clean up | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | James Rowe <jnrowe> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | walch.martin |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
gnuboy-remix.patch
gnuboy-cleanup-v2.patch gnuboy-fb_deps.patch gnuboy-fb_deps_fix.patch |
||
|
Description
James Rowe
2005-07-22 22:27:38 UTC
Created attachment 64106 [details, diff]
gnuboy-remix.patch
Having just spotted Bug #99546 I want to point out the attached patch fixes that bug too. Couple issues: What happens if they don't have any of the use flags set? There should be a default. Is there a missing dep for fbcon? First up sorry for the delay, holiday season. (In reply to comment #3) > Couple issues: > > What happens if they don't have any of the use flags set? There should be a > default. Oops, of course there should be. It just really didn't occur to me :/ I've updated the ebuild and defaulted it to SDL, mainly because IMO it is the most usable. Surely there is a simpler way to do the above than the ugly mess I've added though? Comments welcome! (including flames and a pointer at an ebuild in the tree) > Is there a missing dep for fbcon? Unless I'm missing something there aren't any non-system deps for the framebuffer build. It does strictly depend on sys-kernel/linux-headers mind you(linux/fb.h), so it isn't going to work as-is on freebsd(is that supposed to be handled some way?). Created attachment 65834 [details, diff]
gnuboy-cleanup-v2.patch
*** Bug 99546 has been marked as a duplicate of this bug. *** Ok, it's in there. resync/remerge for more GUIs. Thanks for the bug report and patch. games-emulation/gnuboy does have extra dependencies when building with support for fb, contrary to my *own* erroneous statement in comment #4. The attached patch adds the required fbset dep when fbcon USE is enabled, I really don't see why I didn't catch it before :/ Created attachment 84389 [details, diff]
gnuboy-fb_deps.patch
Created attachment 84390 [details, diff]
gnuboy-fb_deps_fix.patch
Should have changed RDEPEND, not DEPEND.
Fixed, thanks. |