nvidia: added gl-select to dependencies, removed nvhelper.sh
This commit is contained in:
parent
d348bc616b
commit
1732d9ae33
@ -1,9 +1,7 @@
|
||||
# Description: nVIDIA Linux Display Driver
|
||||
# URL: http://www.nvidia.com/
|
||||
# Maintainer: Matt Housh, jaeger at morpheus dot net
|
||||
# Depends on: x11
|
||||
|
||||
# Nice to have: gl-select
|
||||
# Depends on: x11, gl-select
|
||||
|
||||
name=nvidia
|
||||
version=1.0-9746
|
||||
|
@ -2,12 +2,6 @@
|
||||
README for nvidia 1.0-8178+
|
||||
|
||||
|
||||
***** NOTE for users of NV2X chipsets!!! *****
|
||||
1.0-9629 is confirmed broken for cards with NV2X chipsets, see:
|
||||
http://www.nvnews.net/vbulletin/showthread.php?t=79703. Until a new version
|
||||
is released, use 1.0-9626 or 1.0-8776.
|
||||
**********************************************
|
||||
|
||||
|
||||
*** NOTE for nvidia with udev ***
|
||||
|
||||
@ -38,7 +32,3 @@ refresh the libGLcore and libGL symlinks, like so:
|
||||
# prt-get update nvidia
|
||||
# gl-select x11; gl-select nvidia
|
||||
|
||||
|
||||
nvhelper.sh is still included in the port for the time being but
|
||||
gl-select is the preferred method.
|
||||
|
||||
|
@ -1,43 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
echo ""
|
||||
echo "nvhelper.sh - facilitate renaming/restoring of libGL.so.1.2"
|
||||
echo ""
|
||||
|
||||
case "$1" in
|
||||
--install)
|
||||
if [ ! -f /usr/X11R6/lib/libGL.so.1.2 ]
|
||||
then
|
||||
echo "/usr/X11R6/lib/libGL.so.1.2 doesn't exist! Exiting..."
|
||||
exit 1
|
||||
fi
|
||||
(cd /usr/X11R6/lib
|
||||
mv libGL.so.1.2 libGL_so_1_2
|
||||
mv libGL.a libGL_a
|
||||
cd modules/extensions
|
||||
mv libGLcore.a libGLcore.a.orig
|
||||
mv libglx.a libglx.a.orig
|
||||
/sbin/ldconfig)
|
||||
;;
|
||||
--restore)
|
||||
if [ ! -f /usr/X11R6/lib/libGL_so_1_2 ]
|
||||
then
|
||||
echo "/usr/X11R6/lib/libGL_so_1_2 doesn't exist! Exiting..."
|
||||
exit 1
|
||||
fi
|
||||
(cd /usr/X11R6/lib
|
||||
mv libGL_so_1_2 libGL.so.1.2
|
||||
mv libGL_a libGL.a
|
||||
cd modules/extensions
|
||||
mv libGLcore.a.orig libGLcore.a
|
||||
mv libglx.a.orig libglx.a
|
||||
/sbin/ldconfig)
|
||||
;;
|
||||
*)
|
||||
echo "Unrecognized option, please use --install or --restore."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "done."
|
Loading…
x
Reference in New Issue
Block a user