Bug 23099 - ruby-opengl ebuild
Bug#: 23099 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: ruby@gentoo.org Reported By: akira@fluxbox.org
Component: Library
URL: 
Summary: ruby-opengl ebuild
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2003-06-19 06:40 0000
Description:   Opened: 2003-06-19 06:40 0000
i made a ruby-opengl-ebuild. please try it out and gimme back some response

regards, mathias

------- Comment #1 From Mathias Gumz 2003-06-19 06:42:14 0000 -------
Created an attachment (id=13535) [details]
main ebuild

------- Comment #2 From Mathias Gumz 2003-06-19 06:43:59 0000 -------
Created an attachment (id=13536) [details]
the patch for the extconf.rb

i had to patch the extconf.rb for detecting the GL and GLU libraries correct.

------- Comment #3 From Mathias Gumz 2003-06-19 06:45:47 0000 -------
Created an attachment (id=13537) [details]
digest

------- Comment #4 From Mathias Gumz 2003-06-29 10:52:12 0000 -------
Created an attachment (id=14005) [details]
patch to enable glut-builtin-bitmapfonts

i was playing around a bit with ruby-opengl and was stepping over the missing
builtin-glut-bitmap-fonts. so i wrote this little patch to make them work.
works here for me but comments and critic is welcome.

------- Comment #5 From Tom Payne (RETIRED) 2003-12-22 14:30:44 0000 -------
Sorry, I have very limited internet access at the moment. Please can someone
else from the ruby herd take this. Thanks.

------- Comment #6 From Mamoru KOMACHI (RETIRED) 2004-01-31 01:51:45 0000 -------
Hi, sorry for the delay. Your extconf patch needs reworking a bit
to apply cleanly to ruby-opengl-0.32c (your ebuild was for
ruby-opengl-0.32b but 0.32c is the latest). Here's some comments
on the ebuild.

* KEYWORDS must be the arches you tested the ebuild on. You cannot
write alpha, arm, hppa and so on unless you actually test it.
* LICENSE should be one of /usr/portage/licenses/* . In this case,
we don't have "Ruby's" but "Ruby", so it should be "Ruby".
* Patching process must be done in src_unpack(). You shouldn't do
it inside src_compile().
* Please add "|| die" after make in src_compile() and src_install().
If you don't, it may result incomplete installation.
* It would be nice to include sample ruby scripts under /usr/share/${PN}.
You could use insinto/doins functions to do it.

I'll attach a new diff to extconf.rb. If you're still interested in
the ebuild, please rewrite it according to instruction I suggested
above with the diff file so that we can include it into Portage.
If you aren't (sorry if you loose interest because of the delay),
I'll make necessary changes and commit it. Thanks for your time
and effort.

------- Comment #7 From Mamoru KOMACHI (RETIRED) 2004-01-31 01:52:44 0000 -------
Created an attachment (id=24677) [details]
extconf diff to ruby-opengl-0.32c

------- Comment #8 From Mamoru KOMACHI (RETIRED) 2004-02-21 02:44:14 0000 -------
Committed. Thanks for submitting the ebuild and patch.