Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262477 - media-gfx/nvidia-cg-toolkit should install also 32 bits libs when requested
Summary: media-gfx/nvidia-cg-toolkit should install also 32 bits libs when requested
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 141626
  Show dependency tree
 
Reported: 2009-03-14 20:43 UTC by Russell Harmon
Modified: 2012-11-15 22:07 UTC (History)
4 users (show)

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


Attachments
nvidia-cg-toolkit-2.1.0017_multilib.patch (nvidia-cg-toolkit-2.1.0017_multilib.patch,1.46 KB, patch)
2009-03-14 20:44 UTC, Russell Harmon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Harmon 2009-03-14 20:43:45 UTC
Some 32bit only apps need these libraries, specifically pcsx2 - see bug #141626. I have modified the ebuild to install both versions.
Comment 1 Russell Harmon 2009-03-14 20:44:14 UTC
Created attachment 185001 [details, diff]
nvidia-cg-toolkit-2.1.0017_multilib.patch
Comment 2 Dennis Schridde 2009-03-14 22:15:56 UTC
I think the standard way is to create an app-emulation/emul-linux-x86-* package for such libraries.
Comment 3 Russell Harmon 2009-03-14 22:22:36 UTC
Then let this bug be a request for a app-emulation/emul-linux-x86-nvidia-cg-toolkit.
Comment 4 Dennis Schridde 2009-03-14 22:59:46 UTC
I'd summarise bug #262484 and this one into a app-emulation/emul-linux-x86-gllibs package, to prevent creating too many of them.
Comment 5 Russell Harmon 2009-03-15 02:49:36 UTC
(In reply to comment #4)
> I'd summarise bug #262484 and this one into a
> app-emulation/emul-linux-x86-gllibs package, to prevent creating too many of
> them.
> 

There already is an opengl use flag for app-emulation/emul-linux-x86-xlibs which installs mesa. Also, the nvidia-cg-toolkit is a binary only package... I don't think the devs will want to include a binary only package with a package where you can at least get the source for it.
Comment 6 Pacho Ramos gentoo-dev 2009-12-27 14:19:35 UTC
I think that creating a new emul package simply for providing this binary package wouldn't make much sense, on the other hand, handling this from nvidia-cg-toolkit ebuild looks much more easy and reasonable for me (something like is currently being done with www-plugins/adobe-flash for example)
Comment 7 Dennis Schridde 2011-01-03 08:42:08 UTC
See the pcsx2 overlay [1] (now unmaintained) for an example how the ebuild could look like.

Was there any progress or investigation on this issue in the past year?

[1] https://github.com/eatnumber1/pcsx2-overlay/tree/master/media-gfx/nvidia-cg-toolkit
Comment 8 Agostino Sarubbo gentoo-dev 2012-02-01 13:03:14 UTC
cc back amd64 if you need our support
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2012-11-15 22:07:39 UTC
+*nvidia-cg-toolkit-3.1.0013 (15 Nov 2012)
+
+  15 Nov 2012; Justin Lecher <jlec@gentoo.org> files/80cgc-opt-2,
+  nvidia-cg-toolkit-2.1.0012.ebuild, -nvidia-cg-toolkit-2.1.0016.ebuild,
+  nvidia-cg-toolkit-2.1.0017.ebuild, nvidia-cg-toolkit-2.1.0017-r1.ebuild,
+  +nvidia-cg-toolkit-3.1.0013.ebuild:
+  Version BUmp, #270480, thanks Myckel Habets, Piotr Szymaniak and Jean-Marc
+  Hengen working on the ebuild; add multilib support, #262477, thanks Russell
+  Harmon and Dennis Schridde working on this; Add additional variables to
+  enviroment to find headers and libs, #344603
+