ports/opt (2.3): gl-select: made nvidia routine version-scheme-agnostic and moved the changelog out
commit ba9bbe3b0c84cd068456a636e8ce33d11f883e33 Author: Matt Housh <jaeger@crux.nu> Date: Thu Jul 5 11:56:37 2007 -0500 gl-select: made nvidia routine version-scheme-agnostic and moved the changelog out diff --git a/gl-select/.md5sum b/gl-select/.md5sum index b03ad70..93c7a88 100644 --- a/gl-select/.md5sum +++ b/gl-select/.md5sum @@ -1 +1 @@ -42663ce2ed4c073376eacf4d39d6dc4d gl-select +feb558cd1c98f66391a1501e79412987 gl-select diff --git a/gl-select/Pkgfile b/gl-select/Pkgfile index 75cef73..c29b016 100644 --- a/gl-select/Pkgfile +++ b/gl-select/Pkgfile @@ -3,7 +3,7 @@ # Maintainer: Matt Housh, jaeger at morpheus dot net name=gl-select -version=1.1.3 +version=1.1.4 release=1 source=($name) diff --git a/gl-select/gl-select b/gl-select/gl-select index 966ee61..8e34766 100755 --- a/gl-select/gl-select +++ b/gl-select/gl-select @@ -5,24 +5,9 @@ # Matt Housh, jaeger at morpheus dot net # Jose V Beneyto, joberui at ei dot upv dot es # - -##### CHANGELOG ############################################################## -# -# Jul 4, 2007 - version 1.1.3 -# updated nvidia section for new nvidia versioning scheme -# -# Apr 10, 2007 - version 1.1.2 -# removed extra libGL.a cp in the ati section -# -# Mar 14, 2007 - version 1.1.1 -# updated all sections for xorg 7.x -# removed extra libGL.a references (nvidia) -# -# Feb 20, 2007 - version 1.1 -# changelog was not kept prior to this date -# added abstractions and ati support contributed by Jose V Beneyto (sepen) +# For changelog, see: +# http://crux.nu/gitweb/?p=ports/opt.git;a=history;f=gl-select/Pkgfile;hb=2.3 # -############################################################################## infoUsage() { echo "Usage: $0 [xorg|nvidia|ati]" @@ -100,7 +85,8 @@ case "$1" in checkInstalled nvidia # get the .so version number - NV_VER="`pkginfo -i | grep "^nvidia " | awk '{ print $2 }' | cut -d- -f1`" + NV_VER="`pkginfo -i | grep "^nvidia " | awk '{ print $2 }' | sed -e 's/-[0-9]\+$//' | sed -e 's/-/\./'`" + echo "NV_VER=$NV_VER" # check for the existence of libglx_so and libGL_so_1_2 # if none, move the xorg stuff out of the way for nvidia's
participants (1)
-
crux@crux.nu