A new version (2.0.0015) of the nvidia Cg Toolkit was released in May 2008 with improvements and bug fixes. From the release notes (extract): * Many performance improvements * Added support for samplerBUF to the runtime * Allow 'Texture' as a variable name * Fixed a bug in setting and getting string annotation values * Fixed a problem with cgGLSetOptimalOptions on the GPU Program4 profiles * New OpenGL examples (I apologize, if I was a bit fast, requesting a version bump. Since I send the ebuild for last version bump (see bug 217143), I thought, I do the same for the current one.)
Created attachment 154679 [details] proposed ebuild for 2.0.0015 version Ported from media-gfx/nvidia-cg-toolkit-2.0.0012.ebuild to the new version. Tested ebuild on my machine, works for me. It could be necessary to add a new license in the tree or simply update the NVIDIA license. The package contains a license file (usr/local/Cg/docs/license.txt). Apart from formatting changes, it includes two new paragraph in Section 2: a "Academic Exception" subsection (2.1.2) and a Redistribution subsection (2.1.5). If there is interest, I can write an advanced version for media-gfx/nvidia-cg-toolkit-2.0.0015 ebuild, which could include: * Only install documentation if doc use flag is set. * There are man-pages in the packages, which does use unknown sections (Cg and CgFx) (see usr/share/man/manCg and usr/share/man/manCgFX inside tar.gz archive). Those aren't installed currently, which could be changed. I have a few solutions in my mind, but I like to discuss those first. Feel free to contact me. (I'm also unsure, if some of my solutions doesn't violate the license.)
Thanks for the ebuild and license reminder. I added both to cvs. Feel free to open a new bug for the doc-useflag - patches are always welcome =)