First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 99983
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: James Rowe <jnrowe@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnuboy-remix.patch gnuboy-remix.patch patch James Rowe 2005-07-22 22:28 0000 1.31 KB Details | Diff
gnuboy-cleanup-v2.patch gnuboy-cleanup-v2.patch patch James Rowe 2005-08-13 06:06 0000 1.37 KB Details | Diff
gnuboy-fb_deps.patch gnuboy-fb_deps.patch patch James Rowe 2006-04-10 13:57 0000 436 bytes Details | Diff
gnuboy-fb_deps_fix.patch gnuboy-fb_deps_fix.patch patch James Rowe 2006-04-10 14:02 0000 460 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 99983 depends on: Show dependency tree
Bug 99983 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-22 22:27 0000
The current gnuboy ebuild builds display backends based on whatever it
finds on the system, and doesn't record the deps either.  Also the package
enables some strange GCC options by default, which one would hope a user
would never add to their make.conf ;)  The package also installs to /usr
instead of the /usr/games heirachy that most games adhere to.  And finally
if you cross compile from an x86 box to a non-x86 target it wrongly tries to
build some x86 asm source by default[1].

  The attached patch changes the ebuild to:

	* Fix the deps, and allows the user to build only the frontends they
	  want.
	* Use the games eclass, and installs to the normal place.
	* Disable the hardcoded compiler optimisations, allowing the user to
	  set their own craziness.
	* Only enable the asm emulation core when building for an x86 box[2].

  As the changes edit almost every line of the ebuild I decided not to split
the patches up as they wouldn't easily apply out of order anyhow.

1.  Checks 'uname -m' on the host.
2.  To me this seems like the right thing to do in this instance, but maybe
there is a better way to reach the right result?  And I can't personally
see the value in making asm really optional on x86.  Hmm, nobody compiles to
x86 from non-x86 do they because of [1] :/


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From James Rowe 2005-07-22 22:28:12 0000 -------
Created an attachment (id=64106) [edit]
gnuboy-remix.patch

------- Comment #2 From James Rowe 2005-07-22 22:48:36 0000 -------
  Having just spotted Bug #99546 I want to point out the attached patch fixes
that bug too.

------- Comment #3 From Mr. Bones. 2005-07-31 21:57:36 0000 -------
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?


------- Comment #4 From James Rowe 2005-08-13 06:05:40 0000 -------
  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?).

------- Comment #5 From James Rowe 2005-08-13 06:06:35 0000 -------
Created an attachment (id=65834) [edit]
gnuboy-cleanup-v2.patch

------- Comment #6 From Mr. Anderson 2005-08-17 05:13:30 0000 -------
*** Bug 99546 has been marked as a duplicate of this bug. ***

------- Comment #7 From Mr. Bones. 2005-08-28 21:19:30 0000 -------
Ok, it's in there.  resync/remerge for more GUIs.  Thanks for the bug report
and
patch.

------- Comment #8 From James Rowe 2006-04-10 13:56:52 0000 -------
  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 :/

------- Comment #9 From James Rowe 2006-04-10 13:57:37 0000 -------
Created an attachment (id=84389) [edit]
gnuboy-fb_deps.patch

------- Comment #10 From James Rowe 2006-04-10 14:02:01 0000 -------
Created an attachment (id=84390) [edit]
gnuboy-fb_deps_fix.patch

  Should have changed RDEPEND, not DEPEND.

------- Comment #11 From Tristan Heaven 2006-09-28 05:46:31 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug