A new version (2.1.0016) of the nvidia Cg Toolkit was released in November 2008 with improvements and bug fixes. From the release notes (extract): * Fixed crash when cgGL routines were called without a current GL context * Fixed a bug in compiling CgFX files with multiple geometry shaders * Shared parameter arrays were not being updated correctly
Created attachment 179884 [details, diff] patch for media-gfx/nvidia-cg-toolkit-2.1.0016.ebuild New ebuild is derived from media-gfx/nvidia-cg-toolkit-2.1.0012, but I changed the installation location to /opt/nvidia-cg-toolkit (which fixes bug 255867). I added a elog message, which notifies the user about this change. This ebuild installs: - bin - lib/lib64 - include to /opt/nvidia-cg-toolkit and - doc (share/doc/nvidia-cg-toolkit-2.1.0016) - man (share/man/) to /usr If doc or part of it should go also to /opt, I can do those changes. I needed to change also the 80cgc file for /etc/env.d . I renamed the changed file to 80cgc-opt and will post it to this bug.
Created attachment 179886 [details, diff] patch for 80cgc_opt In the previous comment was a typo, I named the file 80cgc_opt.
Created attachment 180082 [details, diff] patch for nvidia-cg-toolkit 2.1.0016 ebuild Fixed some issues: * Changed x86 and amd64 keywords to testing; * Changed elog to einfo, so user can read message in portage elog.
*nvidia-cg-toolkit-2.1.0016 (04 Feb 2009) 04 Feb 2009; Markus Meier <maekke@gentoo.org> +files/80cgc-opt, -nvidia-cg-toolkit-2.1.0009.ebuild, +nvidia-cg-toolkit-2.1.0016.ebuild: version bump by Jean-Marc Hengen in bug #256525; install into /opt wrt bug #255867; old thanks for the ebuild/patches, I added them with some changes.
(In reply to comment #4) > thanks for the ebuild/patches, I added them with some changes. Don't know, if it is wanted or just slip through, but in pkg_postinst, should't it be: einfo "is installed in /opt/${PN}."
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.first-world.info/ https://backroomsgame.io ftp://ftp.first-world.info/ " LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="fr" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"