Github messages for voidlinux
 help / color / mirror / Atom feed
From: ardadem <ardadem@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] nvidia: update to 470.57.02.
Date: Wed, 21 Jul 2021 15:45:08 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32100@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1644 bytes --]

There is a new pull request by ardadem against master on the void-packages repository

https://github.com/ardadem/void-packages pr-nvidia-470
https://github.com/void-linux/void-packages/pull/32100

nvidia: update to 470.57.02.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

I am not nvidia user so can't test it locally.

A patch file from https://github.com/void-linux/void-packages/pull/32100.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr-nvidia-470-32100.patch --]
[-- Type: text/x-diff, Size: 2596 bytes --]

From 0c63976e53359cbee5a76e09e85eb77363b85af6 Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Wed, 21 Jul 2021 16:34:12 +0300
Subject: [PATCH] nvidia: update to 470.57.02.

---
 srcpkgs/nvidia/template | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index c659027b1bda..b709ec4d8efa 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -3,8 +3,8 @@
 _desc="NVIDIA drivers for linux"
 
 pkgname=nvidia
-version=460.84
-revision=2
+version=470.57.02
+revision=1
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="custom:NVIDIA Proprietary"
 homepage="https://www.nvidia.com"
@@ -19,7 +19,7 @@ conflicts="xserver-abi-video>24_1"
 
 _pkg="NVIDIA-Linux-x86_64-${version}"
 distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=a10d2171d6b2c55f63791f58264f9e92829ee4b2779b9b1d011274e63b46b960
+checksum=55d7ae104827faa79e975321fe2b60f9dd42fbff65642053443c0e56fdb4c47d
 # subpackages need to be processed in this specific order
 subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
 depends="nvidia-libs-${version}_${revision}
@@ -122,6 +122,9 @@ do_install() {
 	# X driver
 	vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers
 
+	# firmware
+	vinstall firmware/gsp.bin 644 usr/lib/firmware/nvidia/${version}
+
 	# GLX extension module for X
 	vinstall libglxserver_nvidia.so.${version} 755 usr/lib/nvidia/xorg
 	ln -sf libglxserver_nvidia.so.${version} \
@@ -129,8 +132,8 @@ do_install() {
 	ln -sf libglxserver_nvidia.so.${version} \
 		${DESTDIR}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1
 
-	vinstall libnvidia-egl-wayland.so.1.1.5 755 usr/lib
-	ln -sf libnvidia-egl-wayland.so.1.1.5 \
+	vinstall libnvidia-egl-wayland.so.1.1.7 755 usr/lib
+	ln -sf libnvidia-egl-wayland.so.1.1.7 \
 		${DESTDIR}/usr/lib/libnvidia-egl-wayland.so.1
 
 	vinstall 10_nvidia.json 755 usr/share/glvnd/egl_vendor.d
@@ -244,6 +247,13 @@ do_install() {
 	ln -sf libnvidia-ngx.so.1 \
 		${DESTDIR}/usr/lib/libnvidia-ngx.so
 
+	# nvvm compiler
+	vinstall libnvidia-nvvm.so.4.0.0 755 usr/lib
+	ln -sf libnvidia-nvvm.so.4.0.0 \
+		${DESTDIR}/usr/lib/libnvidia-nvvm.so.4
+	ln -sf libnvidia-nvvm.so.4 \
+		${DESTDIR}/usr/lib/libnvidia-nvvm.so
+
 	# Libraries (64bit)
 	_install_libs usr/lib
 	cd 32
@@ -271,6 +281,7 @@ nvidia-libs-32bit_package() {
 nvidia-libs_package() {
 	short_desc="${_desc} - common libraries"
 	depends="libglvnd"
+	nostrip_files="gsp.bin"
 	pkg_install() {
 		vmove usr/lib
 	}

             reply	other threads:[~2021-07-21 13:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 13:45 ardadem [this message]
2021-07-22 14:16 ` ArmedAviator
2021-07-22 14:16 ` ArmedAviator
2021-07-22 16:50 ` ardadem
2021-07-22 17:00 ` ArmedAviator
2021-07-22 17:00 ` ArmedAviator
2021-07-22 19:41 ` [PR PATCH] [Updated] " ardadem
2021-07-22 19:47 ` ardadem
2021-07-22 19:59 ` ardadem
2021-07-22 20:08 ` abenson
2021-07-22 21:09 ` ArmedAviator
2021-07-22 23:14 ` abenson
2021-07-23 20:01 ` [PR PATCH] [Merged]: " abenson
2021-07-26 11:27 ` kernle32dll
2021-07-21 22:21 [PR PATCH] " abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32100@inbox.vuxu.org \
    --to=ardadem@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).