Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23099 - ruby-opengl ebuild
Summary: ruby-opengl ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-06-19 06:40 UTC by Mathias Gumz
Modified: 2004-02-21 02:44 UTC (History)
1 user (show)

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


Attachments
main ebuild (ruby-opengl-0.32b.ebuild,630 bytes, text/plain)
2003-06-19 06:42 UTC, Mathias Gumz
Details
the patch for the extconf.rb (extconf-patch,964 bytes, patch)
2003-06-19 06:43 UTC, Mathias Gumz
Details | Diff
digest (digest-ruby-opengl-0.32b,59 bytes, application/octet-stream)
2003-06-19 06:45 UTC, Mathias Gumz
Details
patch to enable glut-builtin-bitmapfonts (fontpatch,1.58 KB, patch)
2003-06-29 10:52 UTC, Mathias Gumz
Details | Diff
extconf diff to ruby-opengl-0.32c (ruby-opengl-0.32c-extconf-gentoo.diff,742 bytes, patch)
2004-01-31 01:52 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Gumz 2003-06-19 06:40:58 UTC
i made a ruby-opengl-ebuild. please try it out and gimme back some response

regards, mathias
Comment 1 Mathias Gumz 2003-06-19 06:42:14 UTC
Created attachment 13535 [details]
main ebuild
Comment 2 Mathias Gumz 2003-06-19 06:43:59 UTC
Created attachment 13536 [details, diff]
the patch for the extconf.rb

i had to patch the extconf.rb for detecting the GL and GLU libraries correct.
Comment 3 Mathias Gumz 2003-06-19 06:45:47 UTC
Created attachment 13537 [details]
digest
Comment 4 Mathias Gumz 2003-06-29 10:52:12 UTC
Created attachment 14005 [details, diff]
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 Tom Payne (RETIRED) gentoo-dev 2003-12-22 14:30:44 UTC
Sorry, I have very limited internet access at the moment. Please can someone else from the ruby herd take this. Thanks.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-01-31 01:51:45 UTC
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 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-01-31 01:52:44 UTC
Created attachment 24677 [details, diff]
extconf diff to ruby-opengl-0.32c
Comment 8 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-21 02:44:14 UTC
Committed. Thanks for submitting the ebuild and patch.