x11/nvidia-driver incompatible with portmaster?

Stephen Montgomery-Smith stephen at missouri.edu
Sun Jul 3 14:39:08 UTC 2011


On 07/03/2011 08:33 AM, b. f. wrote:
> On 7/3/11, b. f.<bf1783 at googlemail.com>  wrote:
>> On 7/3/11, Kostik Belousov<kostikbel at gmail.com>  wrote:
>>> On Sun, Jul 03, 2011 at 03:54:15AM +0000, b. f. wrote:
>>>> On 7/3/11, Stephen Montgomery-Smith<stephen at missouri.edu>  wrote:
>>>>> On 07/02/2011 09:02 PM, Stephen Montgomery-Smith wrote:
>>>>>> On 07/02/2011 08:39 PM, b. f. wrote:
>   ...
>>
>> and patch nvidia-driver so that it installs, e.g.,
>> ${PREFIX}/lib/xorg/modules/extensions/libglx-nvidia.so.1 instead of
>> ${PREFIX}/lib/xorg/modules/extensions/libglx.so.1, and
>> ${PREFIX}/lib/libGL-nvidia.so.1 instead of ${PREFIX}/lib/libGL.so.1;
>
> On second thought the renaming of these libraries is not very
> convenient, since they are built by nvidia, and not necessary if their
> mesa/xorg counterparts already have different names.

1.  I think your original renaming scheme is better - it will be more 
apparent to the casual onlooker what is going on.

2.  You need to make sure that if you "pkg_delete -f" and then reinstall 
xorg-server and/or libGL, but all this time nvidia-driver is installed, 
then at the end libglx.so still points to the nvidia drivers.  That is 
why I suggest some script installed by libGL that is responsible for 
properly setting these symlinks, and which is called by libGL, 
xorg-server and the nvidia-drivers.

3.  If we decide it is better to do this using symlinks, then this is 
well within my abilities, and I am prepared to take the lead.

Stephen


More information about the freebsd-x11 mailing list