View | Details | Raw Unified | Return to bug 270060 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11/linux-nvidia-libs/Makefile (-2 / +6 lines)
Lines 1-5 Link Here
1
PORTNAME=	nvidia-libs
1
PORTNAME=	nvidia-libs
2
DISTVERSION?=	515.86.01
2
DISTVERSION?=	525.89.02
3
# Always try to set PORTREVISION as it can be overridden by the slave ports
3
# Always try to set PORTREVISION as it can be overridden by the slave ports
4
PORTREVISION?=	0
4
PORTREVISION?=	0
5
CATEGORIES=	x11 linux
5
CATEGORIES=	x11 linux
Lines 122-128 PLIST_RE+= '\,${LINUXBASE}.*libGLESv(1_CM|2)_nvidia\.so,d' \ Link Here
122
		'\,${LINUXBASE}.*libGLX_(nvidia|indirect)\.so,d' \
122
		'\,${LINUXBASE}.*libGLX_(nvidia|indirect)\.so,d' \
123
		'\,${LINUXBASE}.*libnvidia-ptxjitcompiler\.so,d'
123
		'\,${LINUXBASE}.*libnvidia-ptxjitcompiler\.so,d'
124
.endif
124
.endif
125
.if ${NVVERSION} >= 495.02905 # 495.29.05
125
.if ${NVVERSION} >= 525.08902 # 525.89.02
126
LINUX_LIBS+=	libnvidia-egl-wayland.so.1.1.10
127
LINUX_LINKS+=	libnvidia-egl-wayland.so.1.1.10 libnvidia-egl-wayland.so.1
128
PLIST_RE+=	'\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.10/'
129
.elif ${NVVERSION} >= 495.02905 # 495.29.05
126
LINUX_LIBS+=	libnvidia-egl-wayland.so.1.1.9
130
LINUX_LIBS+=	libnvidia-egl-wayland.so.1.1.9
127
LINUX_LINKS+=	libnvidia-egl-wayland.so.1.1.9 libnvidia-egl-wayland.so.1
131
LINUX_LINKS+=	libnvidia-egl-wayland.so.1.1.9 libnvidia-egl-wayland.so.1
128
PLIST_RE+=	'\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.9/'
132
PLIST_RE+=	'\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.9/'
(-)b/x11/linux-nvidia-libs/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
TIMESTAMP = 1677612334
1
TIMESTAMP = 1678276890
2
SHA256 (NVIDIA-Linux-x86_64-515.86.01.run) = 141777e1ca2f11e97d8d33260213f1be327eb73922ae22f4ddab404bb2ef4664
2
SHA256 (NVIDIA-Linux-x86_64-525.89.02.run) = 0e412c88c5bd98f842a839a6f64614f20e4c0950ef7cffb12b158a71633593e9
3
SIZE (NVIDIA-Linux-x86_64-515.86.01.run) = 363743089
3
SIZE (NVIDIA-Linux-x86_64-525.89.02.run) = 414116295
4
SHA256 (NVIDIA-Linux-x86_64-470.161.03.run) = 5da82a7f8c76e781e7d7f0be7b798db4d344f26bd4facf9abcf3c71c71fe7640
4
SHA256 (NVIDIA-Linux-x86_64-470.161.03.run) = 5da82a7f8c76e781e7d7f0be7b798db4d344f26bd4facf9abcf3c71c71fe7640
5
SIZE (NVIDIA-Linux-x86_64-470.161.03.run) = 272397700
5
SIZE (NVIDIA-Linux-x86_64-470.161.03.run) = 272397700
6
SHA256 (NVIDIA-Linux-x86_64-390.154.run) = f4420280c55210964c008d5b724f2615845d47ad4c9c05d8ed26a62fc6331f7c
6
SHA256 (NVIDIA-Linux-x86_64-390.154.run) = f4420280c55210964c008d5b724f2615845d47ad4c9c05d8ed26a62fc6331f7c
(-)b/x11/nvidia-driver/Makefile (-2 / +15 lines)
Lines 12-18 Link Here
12
# ``make DISTVERSION=xxx.yy.zz -DNO_CHECKSUM'' should typically work.
12
# ``make DISTVERSION=xxx.yy.zz -DNO_CHECKSUM'' should typically work.
13
13
14
PORTNAME?=	nvidia-driver
14
PORTNAME?=	nvidia-driver
15
DISTVERSION?=	515.86.01
15
DISTVERSION?=	525.89.02
16
# Always try to set PORTREVISION as it can be overridden by the slave ports
16
# Always try to set PORTREVISION as it can be overridden by the slave ports
17
PORTREVISION?=	1
17
PORTREVISION?=	1
18
CATEGORIES=	x11
18
CATEGORIES=	x11
Lines 34-39 PATCH_DEPENDS= gsed:textproc/gsed Link Here
34
BUILD_DEPENDS=	pkg-config:devel/pkgconf
34
BUILD_DEPENDS=	pkg-config:devel/pkgconf
35
LIB_DEPENDS=	libOpenGL.so:graphics/libglvnd
35
LIB_DEPENDS=	libOpenGL.so:graphics/libglvnd
36
.endif
36
.endif
37
.if ${NVVERSION} >= 525.08902
38
LIB_DEPENDS+=	libnvidia-egl-wayland.so.1:graphics/egl-wayland
39
.endif
37
40
38
USES=		kmod uidfix xorg
41
USES=		kmod uidfix xorg
39
.if ${NVVERSION} >= 470.04201
42
.if ${NVVERSION} >= 470.04201
Lines 135-142 PLIST_SUB+= LIBGLDIR=${LIBGLDIR} LIBGLMAP="@comment " Link Here
135
.else
138
.else
136
PLIST_SUB+=	LIBGLDIR="@comment " LIBGLMAP=""
139
PLIST_SUB+=	LIBGLDIR="@comment " LIBGLMAP=""
137
.endif
140
.endif
141
.if ${NVVERSION} >= 525.08902
142
PLIST_SUB+=	NVEGL=""
143
.else
144
PLIST_SUB+=	NVEGL="@comment "
145
.endif
138
146
139
.if ${NVVERSION} >= 515.8601
147
.if ${NVVERSION} >= 515.08601
140
PLIST_FILES+=	lib/libnvidia-wayland-client.so.${DISTVERSION}
148
PLIST_FILES+=	lib/libnvidia-wayland-client.so.${DISTVERSION}
141
.endif
149
.endif
142
150
Lines 397-401 post-install: .SILENT Link Here
397
	@${ECHO_CMD} "libGLX_indirect.so.0 libGLX_nvidia.so.0" \
405
	@${ECHO_CMD} "libGLX_indirect.so.0 libGLX_nvidia.so.0" \
398
		>${STAGEDIR}${PREFIX}/etc/libmap.d/nvidia.conf
406
		>${STAGEDIR}${PREFIX}/etc/libmap.d/nvidia.conf
399
.endif
407
.endif
408
.if ${NVVERSION} >= 525.08902
409
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/gbm
410
	${LN} -sf ../libnvidia-allocator.so.1 \
411
		${STAGEDIR}${PREFIX}/lib/gbm/nvidia-drm_gbm.so
412
.endif
400
413
401
.include <bsd.port.post.mk>
414
.include <bsd.port.post.mk>
(-)b/x11/nvidia-driver/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
TIMESTAMP = 1677612209
1
TIMESTAMP = 1678263830
2
SHA256 (NVIDIA-FreeBSD-x86_64-515.86.01.tar.xz) = 5807c76dd6680754d68d33876ffbd8ab076398f28428ae0c85d67c89e13c589f
2
SHA256 (NVIDIA-FreeBSD-x86_64-525.89.02.tar.xz) = 2d032b8c0b311af0adb90e2f16d6345939d38de7eae9fbb7836038844d58f2f7
3
SIZE (NVIDIA-FreeBSD-x86_64-515.86.01.tar.xz) = 112400260
3
SIZE (NVIDIA-FreeBSD-x86_64-525.89.02.tar.xz) = 136622256
4
SHA256 (NVIDIA-FreeBSD-x86_64-470.161.03.tar.xz) = 54f87e6cadc4aedebc4f862e3d25657fddb867ddc3fe01ad06c9d54bcfa8d607
4
SHA256 (NVIDIA-FreeBSD-x86_64-470.161.03.tar.xz) = 54f87e6cadc4aedebc4f862e3d25657fddb867ddc3fe01ad06c9d54bcfa8d607
5
SIZE (NVIDIA-FreeBSD-x86_64-470.161.03.tar.xz) = 99719576
5
SIZE (NVIDIA-FreeBSD-x86_64-470.161.03.tar.xz) = 99719576
6
SHA256 (NVIDIA-FreeBSD-x86_64-390.154.tar.gz) = 5994c77c3510a4a89076ecf2bf402f1da635b250cca07655efc913f2a94bee84
6
SHA256 (NVIDIA-FreeBSD-x86_64-390.154.tar.gz) = 5994c77c3510a4a89076ecf2bf402f1da635b250cca07655efc913f2a94bee84
(-)b/x11/nvidia-driver/pkg-plist (-3 / +6 lines)
Lines 32-41 lib/libXvMCNVIDIA.so.1 Link Here
32
lib/libXvMCNVIDIA_dynamic.so.1
32
lib/libXvMCNVIDIA_dynamic.so.1
33
lib/libnvidia-cfg.so
33
lib/libnvidia-cfg.so
34
lib/libnvidia-cfg.so.1
34
lib/libnvidia-cfg.so.1
35
@comment lib/libnvidia-egl-gbm.so
35
%%NVEGL%%lib/libnvidia-egl-gbm.so
36
@comment lib/libnvidia-egl-gbm.so.1
36
%%NVEGL%%lib/libnvidia-egl-gbm.so.1
37
@comment lib/libnvidia-egl-wayland.so
37
@comment lib/libnvidia-egl-wayland.so
38
@comment lib/libnvidia-egl-wayland.so.1
38
@comment lib/libnvidia-egl-wayland.so.1
39
%%NVEGL%%lib/libnvidia-allocator.so
40
%%NVEGL%%lib/libnvidia-allocator.so.1
41
%%NVEGL%%lib/gbm/nvidia-drm_gbm.so
39
lib/libnvidia-eglcore.so
42
lib/libnvidia-eglcore.so
40
lib/libnvidia-eglcore.so.1
43
lib/libnvidia-eglcore.so.1
41
lib/libnvidia-glcore.so
44
lib/libnvidia-glcore.so
Lines 89-95 lib32/libnvidia-tls.so.1 Link Here
89
lib32/vdpau/libvdpau_nvidia.so.1
92
lib32/vdpau/libvdpau_nvidia.so.1
90
man/man1/nvidia-smi.1.gz
93
man/man1/nvidia-smi.1.gz
91
@comment share/egl/egl_external_platform.d/10_nvidia_wayland.json
94
@comment share/egl/egl_external_platform.d/10_nvidia_wayland.json
92
@comment share/egl/egl_external_platform.d/15_nvidia_gbm.json
95
%%NVEGL%%share/egl/egl_external_platform.d/15_nvidia_gbm.json
93
share/glvnd/egl_vendor.d/10_nvidia.json
96
share/glvnd/egl_vendor.d/10_nvidia.json
94
share/vulkan/icd.d/nvidia_icd.json
97
share/vulkan/icd.d/nvidia_icd.json
95
share/vulkan/implicit_layer.d/nvidia_layers.json
98
share/vulkan/implicit_layer.d/nvidia_layers.json

Return to bug 270060