FreeBSD Bugzilla – Attachment 27043 Details for
Bug 45988
[NEW PORT]: x11/nvidia-driver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.86 KB, created by
stijn
on 2002-12-04 14:20:12 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
stijn
Created:
2002-12-04 14:20:12 UTC
Size:
5.86 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># nvidia-driver ># nvidia-driver/Makefile ># nvidia-driver/distinfo ># nvidia-driver/pkg-plist ># nvidia-driver/pkg-comment ># nvidia-driver/pkg-message ># nvidia-driver/pkg-descr ># >echo c - nvidia-driver >mkdir -p nvidia-driver > /dev/null 2>&1 >echo x - nvidia-driver/Makefile >sed 's/^X//' >nvidia-driver/Makefile << 'END-of-nvidia-driver/Makefile' >X# New ports collection makefile for: nvidia-driver >X# Date created: 4 December 2002 >X# Whom: Stijn Hoop <stijn@win.tue.nl> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= nvidia-driver >XPORTVERSION= 1.0.3203 >XCATEGORIES= x11 >XMASTER_SITES= http://download.nvidia.com/freebsd/1.0-3203/ >XDISTNAME= NVIDIA_FreeBSD-${PORTVERSION:S/0./0-/} >X >XMAINTAINER= ports@freebsd.org >X >XUSE_X_PREFIX= yes >XNO_PACKAGE= should be recompiled for a particular FreeBSD kernel >X >XXSERVVERSION!= pkg_info -O x11-servers/XFree86-4-Server | grep Server- >XXLIBVERSION!= pkg_info -O x11/XFree86-4-libraries | grep libraries- >X >XPLIST_SUB= XSERVVERSION=${XSERVVERSION} XLIBVERSION=${XLIBVERSION} \ >X LINUXBASE=${LINUXBASE} >X >X.if !defined(WITHOUT_LINUX) >XUSE_LINUX= yes >X.endif >X >X.if defined(WITH_FREEBSD_AGP) || defined(FORCE_AGP_RATE) >XUSE_REINPLACE= yes >X >Xpost-patch: >X.if defined(WITH_FREEBSD_AGP) >X @${REINPLACE_CMD} "s/undef USE_OS_AGP_GART/define USE_OS_AGP_GART/" \ >X ${WRKSRC}/src/nv-freebsd.h >X.endif >X.if defined(FORCE_AGP_RATE) >X @${REINPLACE_CMD} "s/4, 0/4, 1/" ${WRKSRC}/src/nvidia_os_registry.c >X.endif >X.endif >X >X.if defined(WITHOUT_LINUX) >Xpre-install: >X @${MKDIR} ${LINUXBASE}/usr/lib >X.endif >X >Xpost-install: >X.for dev in 0 1 2 3 >X @mknod /dev/nvidia${dev} c 180 ${dev} >X @${CHMOD} 0666 /dev/nvidia${dev} >X.endfor >X @mknod /dev/nvidiactl c 180 255 >X @${CHMOD} 0666 /dev/nvidiactl >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.mk> >END-of-nvidia-driver/Makefile >echo x - nvidia-driver/distinfo >sed 's/^X//' >nvidia-driver/distinfo << 'END-of-nvidia-driver/distinfo' >XMD5 (NVIDIA_FreeBSD-1.0-3203.tar.gz) = b982db9e898a0f3a46c2bf9d15c320d2 >END-of-nvidia-driver/distinfo >echo x - nvidia-driver/pkg-plist >sed 's/^X//' >nvidia-driver/pkg-plist << 'END-of-nvidia-driver/pkg-plist' >X@comment I can't add the below files to the package because pkg_delete >X@comment will complain when removing this package: >X@comment lib/modules/extensions/XXX-libglx.a.%%XLIBVERSION%% >X@comment lib/modules/extensions/XXX-libGLcore.a.%%XLIBVERSION%% >X@comment lib/XXX-libGL.a.%%XLIBVERSION%% >X@comment lib/XXX-libGL.so.1.%%XLIBVERSION%% >X@comment They are however restored when this package is removed: >X@unexec mv -f %D/lib/modules/extensions/XXX-libglx.a.%%%%.%%XSERVVERSION%% %D/lib/modules/extensions/libglx.a >X@unexec mv -f %D/lib/modules/extensions/XXX-libGLcore.a.%%%%.%%XSERVVERSION%% %D/lib/modules/extensions/libGLcore.a >X@unexec mv -f %D/lib/XXX-libGL.a.%%%%.%%XLIBVERSION%% %D/lib/libGL.a >Xlib/libGL.so.1 >X@unexec mv -f %D/lib/XXX-libGL.so.1.%%%%.%%XLIBVERSION%% %D/lib/libGL.so.1 >X@exec ln -sf %D/lib/libGL.so.1 %D/lib/libGL.so >X@comment no rm -f %D/lib/libGL.so because default XFree needs this also >Xlib/libGLcore.so.1 >X@exec ln -sf %D/lib/libGLcore.so.1 %D/lib/libGLcore.so >X@unexec rm -f %D/lib/libGLcore.so >Xlib/libXvMCNVIDIA.so.1 >X@exec ln -sf %D/lib/libXvMCNVIDIA.so.1 %D/lib/libXvMCNVIDIA.so >X@unexec rm -f %D/lib/libXvMCNVIDIA.so >Xlib/libXvMCNVIDIA.a >Xlib/modules/drivers/nvidia_drv.o >Xlib/modules/extensions/libglx.so.1 >X@exec ln -sf %D/lib/modules/extensions/libglx.so.1 %D/lib/modules/extensions/libglx.so >X@unexec rm -f %D/lib/modules/extensions/libglx.so >Xshare/doc/NVIDIA/README >Xshare/doc/NVIDIA/README.Linux >Xshare/doc/NVIDIA/XF86Config.sample >Xshare/doc/NVIDIA/license.txt >X@cwd /modules >Xnvidia.ko >X@cwd /dev >XMAKEDEV.nvidia >X@exec mknod /dev/nvidia0 c 180 0 >X@exec chmod 0666 /dev/nvidia0 >X@exec mknod /dev/nvidia1 c 180 1 >X@exec chmod 0666 /dev/nvidia1 >X@exec mknod /dev/nvidia2 c 180 2 >X@exec chmod 0666 /dev/nvidia2 >X@exec mknod /dev/nvidia3 c 180 3 >X@exec chmod 0666 /dev/nvidia3 >X@exec mknod /dev/nvidiactl c 180 255 >X@exec chmod 0666 /dev/nvidiactl >X@unexec rm -f /dev/nvidia0 >X@unexec rm -f /dev/nvidia1 >X@unexec rm -f /dev/nvidia2 >X@unexec rm -f /dev/nvidia3 >X@unexec rm -f /dev/nvidiactl >X@cwd %%LINUXBASE%% >Xusr/lib/libGL.so.1.0.3203 >Xusr/lib/libGLcore.so.1.0.3203 >X@exec ln -sf %D/usr/lib/libGL.so.1.0.3203 %D/usr/lib/libGL.so.1 >X@exec ln -sf %D/usr/lib/libGLcore.so.1.0.3203 %D/usr/lib/libGLcore.so.1 >END-of-nvidia-driver/pkg-plist >echo x - nvidia-driver/pkg-comment >sed 's/^X//' >nvidia-driver/pkg-comment << 'END-of-nvidia-driver/pkg-comment' >XNVidia graphics card binary drivers for hardware OpenGL rendering >END-of-nvidia-driver/pkg-comment >echo x - nvidia-driver/pkg-message >sed 's/^X//' >nvidia-driver/pkg-message << 'END-of-nvidia-driver/pkg-message' >X >X***WARNING***: THESE ARE BETA QUALITY DRIVERS AND MAY RENDER YOUR SYSTEM >X UNSTABLE, UNUSABLE OR PRONE TO LOCKUP! INSTALL AT YOUR >X OWN RISK! >X >XTo use these drivers, make sure that you have loaded the nvidia kernel >Xmodule, by doing >X >X# kldload nvidia >X >XIf you compile this package with USE_FREEBSD_AGP=yes, you must load >Xthe agp.ko kernel module *at boot time* by putting the following >Xline into your /boot/loader.conf: >X >Xagp_load="YES" >X >XOtherwise the nvidia kernel module will not load. >X >XSee ${PREFIX}/share/doc/NVIDIA/README for more information. >X >END-of-nvidia-driver/pkg-message >echo x - nvidia-driver/pkg-descr >sed 's/^X//' >nvidia-driver/pkg-descr << 'END-of-nvidia-driver/pkg-descr' >XThese are the NVidia binary drivers for hardware OpenGL rendering in X, using >Xthe GLX/DRI extensions. >X >X***WARNING***: THESE ARE BETA QUALITY DRIVERS AND MAY RENDER YOUR SYSTEM >X UNSTABLE, UNUSABLE OR PRONE TO LOCKUP! INSTALL AT YOUR >X OWN RISK! >END-of-nvidia-driver/pkg-descr >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45988
: 27043