csdOpenGL# is an OpenGL-binding for Mono and it comes with an Gtk#-widget. The binding is automatically generated by processing a DoxyGen-XML-representation of the GL-header files, so that all OpenGL and all GLUT functions are available. For more information and/or screenshots look at http://csdopenglnet.sourceforge.net/ I choosed dev-dotnet/csdOpenGL-sharp as location inside portage. Tim
Created attachment 35671 [details] csdOpenGL-sharp-0.1.1.ebuild
Unless there's a dire need for it, all packages should be entirely lowercase named. Ebuild looks mostly fine besides that, i'll try to look at it this week. If you can attach a version with the case stuff fixed, it'd be great.
Created attachment 35690 [details] opengl-sharp-0.1.1.ebuild just a renaming
Renaming wasn't a big problem ;) There was no need for the uppercases, it just looks fine; but your're right it's just baffling during typing.
Created attachment 35691 [details] opengl-sharp-0.1.1.ebuild just replaced LGPGL-2.1 with GPL-2
Created attachment 35705 [details] opengl-sharp-0.1.1.ebuild missing dependency media-libs/glut
Created attachment 36273 [details] opengl-sharp-0.1.2
Comment on attachment 35705 [details] opengl-sharp-0.1.1.ebuild because of newer version 0.1.2
Hi, from a quick look at the ebuild I'd suggest the following changes: Make the SRC_URI non-hardcoded e.g. make use ${PV} or even ${P}. Use "mirror://sourceforge/..." in SRC_URI, not a hardcoded single server (see profiles/thridparymirrors in your portage directory to see the list of mirrors used for an alias and any random SF project's ebuild to see how it works :) Replace the MAKEOPTS thing with "emake -j1". Use "" around KEYWORDS. Every ebuild needs to have an IUSE variable. If it doesn't make use of USE flags, set IUSE="". Once those changes are made, someone who is actively using mono and gtk# can probably test your package and get it into the tree then. Thank you for submitting the ebuild and good luck with your project!
Created attachment 36301 [details] opengl-sharp-0.1.2-r1.ebuild Sorry, my fault. I used a template for the ebuild, which I've created long ago. But I pledge betterment. One hint: currently the 0.1.2-release isn't distributed on all SF mirrors. I needed three startups to retrieve the file with the ebuild.
Created attachment 38881 [details] opengl-sharp-0.2.0.ebuild This is the ebuild for the new version of OpenGL#! It comes with a binding for the NVidia-Cg-Toolkit and some bug fixes.
I'm not sure, but shouldn't the nvidia-cg-toolkit stuff be optional? I don't think it applies to ATI users, does it?
Mmh, good hint Although the new ATI cards also support Cg, the old ATI and NVidia cards doesn't support Cg. I'll fix this soon
Created attachment 38922 [details] opengl-sharp-0.2.0.ebuild with nvidia option
There seems to be a problem with this ebuild: mono ../generator/csdGenerator.exe cg.xml Error Opening inputfile 'File' Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at csDragons.OpenGL.WrapperGenerator.Generator.loadTypeDefs () [0x00000] at csDragons.OpenGL.WrapperGenerator.Generator.createClass () [0x00000] at csDragons.OpenGL.WrapperGenerator.Generator..ctor (System.String[] args) [0x00000] at csDragons.OpenGL.WrapperGenerator.Generator.Main (System.String[] args) [0x00000] make: [csdCgBase.cs] Błąd 1 (zignorowany) mono ../generator/csdGenerator.exe cgGL.xml Error Opening inputfile 'File' Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at csDragons.OpenGL.WrapperGenerator.Generator.loadTypeDefs () [0x00000] at csDragons.OpenGL.WrapperGenerator.Generator.createClass () [0x00000] at csDragons.OpenGL.WrapperGenerator.Generator..ctor (System.String[] args) [0x00000] at csDragons.OpenGL.WrapperGenerator.Generator.Main (System.String[] args) [0x00000] make: [csdCgGLBase.cs] Błąd 1 (zignorowany) ln -sf ../GL/csdGL.dll mcs -target:library -r:csdGL.dll csdCgBase.cs csdCgGLBase.cs AssemblyInfo.cs csdCg.cs cgType.cs cgRessource.cs cgProfile.cs cgError.cs cgEnums.cs cgGLEnum.cs -out:csdCg.dll error CS0006: cannot find metadata file `csdGL.dll' Compilation failed: 1 error(s), 0 warnings make: [csdCg.dll] Błąd 1 (zignorowany) and so on...
No response from the bug reporter, upstream seems to be dead for a very long time, impossible to build the package without failure. Closing