Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256525 - media-gfx/nvidia-cg-toolkit-2.1.0016 version bump
Summary: media-gfx/nvidia-cg-toolkit-2.1.0016 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Graphics Project
URL: http://developer.nvidia.com/object/cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 15:00 UTC by Jean-Marc Hengen
Modified: 2024-08-14 01:46 UTC (History)
1 user (show)

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


Attachments
patch for media-gfx/nvidia-cg-toolkit-2.1.0016.ebuild (nvidia-cg-toolkit-2.1.0016.patch,1.11 KB, patch)
2009-01-27 15:14 UTC, Jean-Marc Hengen
Details | Diff
patch for 80cgc_opt (80cgc_opt.patch,356 bytes, patch)
2009-01-27 15:22 UTC, Jean-Marc Hengen
Details | Diff
patch for nvidia-cg-toolkit 2.1.0016 ebuild (nvidia-cg-toolkit-2.1.0016.patch,1.23 KB, patch)
2009-01-29 11:37 UTC, Jean-Marc Hengen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Marc Hengen 2009-01-27 15:00:47 UTC
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
Comment 1 Jean-Marc Hengen 2009-01-27 15:14:57 UTC
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.
Comment 2 Jean-Marc Hengen 2009-01-27 15:22:30 UTC
Created attachment 179886 [details, diff]
patch for 80cgc_opt

In the previous comment was a typo, I named the file 80cgc_opt.
Comment 3 Jean-Marc Hengen 2009-01-29 11:37:10 UTC
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.
Comment 4 Markus Meier gentoo-dev 2009-02-04 21:19:43 UTC
*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.
Comment 5 Jean-Marc Hengen 2009-02-04 22:16:21 UTC
(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}."
Comment 6 measrasy 2024-08-14 01:46:55 UTC
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"