Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 22:29:39 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420496 - head/x11/nvidia-driver
Message-ID:  <201608192229.u7JMTdxs032864@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Aug 19 22:29:39 2016
New Revision: 420496
URL: https://svnweb.freebsd.org/changeset/ports/420496

Log:
  Deorbit support for nVidia driver legacy versions, part 3:
  
  - libnvidia-cfg.so* files are always installed since version 81.074
  - Au contraire, libnvidia-wfb.so.1 is not (since version 195.022)
  - Remove now useless checks for NVVERSIONs before 180.029 and 185.01829
    (always false) and after 304.128 (always true)
  - Unconditionally rename libGLcore -> libnvidia-glcore in pkg-plist
    (been that way since version 256.053)

Modified:
  head/x11/nvidia-driver/Makefile
  head/x11/nvidia-driver/pkg-plist

Modified: head/x11/nvidia-driver/Makefile
==============================================================================
--- head/x11/nvidia-driver/Makefile	Fri Aug 19 22:19:11 2016	(r420495)
+++ head/x11/nvidia-driver/Makefile	Fri Aug 19 22:29:39 2016	(r420496)
@@ -198,24 +198,9 @@ post-install: .SILENT
 	${INSTALL_SCRIPT} ${WRKSRC}/obj/nvidia-bug-report.sh \
 		${STAGEDIR}${PREFIX}/bin
 # pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's
-.if ${NVVERSION} < 81.074
-	${REINPLACE_CMD} -e '/libnvidia-cfg/d' ${TMPPLIST}
-.endif
-.if ${NVVERSION} < 97.046 || ${NVVERSION} >= 195.022
-	${REINPLACE_CMD} -e '/wfb/d' ${TMPPLIST}
-.endif
-.if ${NVVERSION} < 180.029
-	${REINPLACE_CMD} -e '/vdpau/d' ${TMPPLIST}
-.elif ${NVVERSION} >= 304.128 && ${NVVERSION} < 310.019
+.if ${NVVERSION} < 310.019
 	${REINPLACE_CMD} -E '/libvdpau(_trace)?\.so/d' ${TMPPLIST}
 .endif
-.if ${NVVERSION} < 185.01829
-	${REINPLACE_CMD} -e '/libcuda/d' ${TMPPLIST}
-.endif
-.if ${NVVERSION} >= 256.053
-	${REINPLACE_CMD} -E 's/libGLcore/libnvidia-glcore/ ; \
-		/usr.*(glcore|tls).*so\.1$$/d' ${TMPPLIST}
-.endif
 .if ${NVVERSION} >= 310.019
 	${REINPLACE_CMD} -e '/libXvMCNVIDIA/d' ${TMPPLIST}
 .else	# some applications need this symlink (see PR ports/72877)

Modified: head/x11/nvidia-driver/pkg-plist
==============================================================================
--- head/x11/nvidia-driver/pkg-plist	Fri Aug 19 22:19:11 2016	(r420495)
+++ head/x11/nvidia-driver/pkg-plist	Fri Aug 19 22:29:39 2016	(r420496)
@@ -7,8 +7,6 @@ lib/libGLESv1_CM.so
 lib/libGLESv1_CM.so.1
 lib/.nvidia/libGLESv2.so
 lib/.nvidia/libGLESv2.so.2
-lib/libGLcore.so
-lib/libGLcore.so.1
 lib/libXvMCNVIDIA.a
 lib/libXvMCNVIDIA.so
 lib/libXvMCNVIDIA.so.1
@@ -17,6 +15,8 @@ lib/libnvidia-cfg.so
 lib/libnvidia-cfg.so.1
 lib/libnvidia-eglcore.so
 lib/libnvidia-eglcore.so.1
+lib/libnvidia-glcore.so
+lib/libnvidia-glcore.so.1
 lib/libnvidia-glsi.so
 lib/libnvidia-glsi.so.1
 lib/libnvidia-tls.so
@@ -26,7 +26,6 @@ lib/vdpau/libvdpau_nvidia.so.1
 %%MODULESDIR%%/drivers/nvidia_drv.so
 %%MODULESDIR%%/extensions/.nvidia/libglx.so
 %%MODULESDIR%%/extensions/.nvidia/libglx.so.1
-%%MODULESDIR%%/libnvidia-wfb.so.1
 /%%KMODDIR%%/nvidia.ko
 %%LINUX%%%%LINUXBASE%%/usr/lib/libEGL.so.%%SHLIB_VERSION%%
 %%LINUX%%%%LINUXBASE%%/usr/lib/libEGL.so.1
@@ -36,14 +35,12 @@ lib/vdpau/libvdpau_nvidia.so.1
 %%LINUX%%%%LINUXBASE%%/usr/lib/libGLESv1_CM.so.1
 %%LINUX%%%%LINUXBASE%%/usr/lib/libGLESv2.so.%%SHLIB_VERSION%%
 %%LINUX%%%%LINUXBASE%%/usr/lib/libGLESv2.so.2
-%%LINUX%%%%LINUXBASE%%/usr/lib/libGLcore.so.%%SHLIB_VERSION%%
-%%LINUX%%%%LINUXBASE%%/usr/lib/libGLcore.so.1
 %%LINUX%%%%LINUXBASE%%/usr/lib/libcuda.so.%%SHLIB_VERSION%%
 %%LINUX%%%%LINUXBASE%%/usr/lib/libcuda.so.1
 %%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-eglcore.so.%%SHLIB_VERSION%%
+%%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-glcore.so.%%SHLIB_VERSION%%
 %%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-glsi.so.%%SHLIB_VERSION%%
 %%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-tls.so.%%SHLIB_VERSION%%
-%%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-tls.so.1
 %%LINUX%%%%LINUXBASE%%/usr/lib/libvdpau.so.%%SHLIB_VERSION%%
 %%LINUX%%%%LINUXBASE%%/usr/lib/libvdpau.so.1
 %%LINUX%%%%LINUXBASE%%/usr/lib/libvdpau_nvidia.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608192229.u7JMTdxs032864>