Summary: | ruby-opengl ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mathias Gumz <akira> |
Component: | [OLD] Library | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | akira |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
main ebuild
the patch for the extconf.rb digest patch to enable glut-builtin-bitmapfonts extconf diff to ruby-opengl-0.32c |
Description
Mathias Gumz
2003-06-19 06:40:58 UTC
Created attachment 13535 [details]
main ebuild
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.
Created attachment 13537 [details]
digest
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.
Sorry, I have very limited internet access at the moment. Please can someone else from the ruby herd take this. Thanks. 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. Created attachment 24677 [details, diff]
extconf diff to ruby-opengl-0.32c
Committed. Thanks for submitting the ebuild and patch. |