[nvidia-persistenced] Update to 465.24.02 release
by Leigh Scott
commit 61f6cb99f7f6760b88b791c231e9bf9b6f28237d
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Apr 15 13:23:02 2021 +0100
Update to 465.24.02 release
nvidia-persistenced.spec | 9 ++++++---
sources | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/nvidia-persistenced.spec b/nvidia-persistenced.spec
index 466ca49..79ff91d 100644
--- a/nvidia-persistenced.spec
+++ b/nvidia-persistenced.spec
@@ -2,13 +2,13 @@
Name: nvidia-persistenced
Epoch: 3
-Version: 465.19.01
+Version: 465.24.02
Release: 1%{?dist}
Summary: Daemon for maintaining persistent driver state
License: MIT and GPLv2+
-URL: https://download.nvidia.com/XFree86/%{name}/
-Source0: %{url}/%{name}-%{version}.tar.bz2
+URL: https://github.com/NVIDIA/%{name}/
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# This package is also available for 390xx/340xx
# So enable i686 and armv7hl
ExclusiveArch: x86_64 i686 armv7hl
@@ -76,6 +76,9 @@ chmod -x %{buildroot}%{_mandir}/man1/%{name}.1.*
%changelog
+* Thu Apr 15 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:465.24.02-1
+- Update to 465.24.02 release
+
* Wed Mar 31 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:465.19.01-1
- Update to 465.19.01 beta
diff --git a/sources b/sources
index 3d27a2f..cbeb4e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvidia-persistenced-465.19.01.tar.bz2) = b45c86b6a979f668e40e573cb5048b74ddfa7d48a9c3798281e0b88854e3c75d46b06a5eeda929a1cdcd05747e6434a245bedfaf067dbb56e9668dae8b962b59
+SHA512 (nvidia-persistenced-465.24.02.tar.gz) = 44f0b78809b22139ff05d3645cb056966f4a6e2144ecef79be5c2e2897cd38a1831ecfacaccecaeeb336ce928d25a841800acffb7cc19007b6a11388579370e0
3 years, 7 months
[nvidia-modprobe] Update to 465.24.02 release
by Leigh Scott
commit 6f9aaa343e397b6b07ac6a162c9c9783b6a3a2c4
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Apr 15 13:13:07 2021 +0100
Update to 465.24.02 release
nvidia-modprobe.spec | 9 ++++++---
sources | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/nvidia-modprobe.spec b/nvidia-modprobe.spec
index 5714b0d..52f7917 100644
--- a/nvidia-modprobe.spec
+++ b/nvidia-modprobe.spec
@@ -1,12 +1,12 @@
Name: nvidia-modprobe
Epoch: 3
-Version: 465.19.01
+Version: 465.24.02
Release: 1%{?dist}
Summary: Load the NVIDIA kernel module and create NVIDIA character device files
License: MIT and GPLv2+
-URL: https://download.nvidia.com/XFree86/%{name}/
-Source0: %{url}/%{name}-%{version}.tar.bz2
+URL: https://github.com/NVIDIA/%{name}/
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: x86_64
BuildRequires: gcc
@@ -42,6 +42,9 @@ chmod -x %{buildroot}%{_mandir}/man1/nvidia-modprobe.1.*
%changelog
+* Thu Apr 15 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:465.24.02-1
+- Update to 465.24.02 release
+
* Wed Mar 31 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:465.19.01-1
- Update to 465.19.01 beta
diff --git a/sources b/sources
index 5ff451d..29ab3c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvidia-modprobe-465.19.01.tar.bz2) = 2da59a3d426cdf2c7a878ef83e233a4ea4c8516ea3fb77a8ce820e94a9a41c76ae34f24b9146ad0ce1140d8b02ee54315f8549323352fd56d17dcbe0a15cb7d0
+SHA512 (nvidia-modprobe-465.24.02.tar.gz) = 82b9091a634ed94513e6b557bba8ce701609312d5e664db0f098800e345e58d9b7bdcfe032902c17c1b089b18edc9b4431e4d0b1e40812ddbe147d837638037d
3 years, 7 months
[xorg-x11-drv-nvidia] Update AppStream metadata generation
by Leigh Scott
commit a0a88e6285076f27debdbfabae02c8d272eb413c
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Apr 15 09:28:30 2021 +0100
Update AppStream metadata generation
parse-readme.py | 82 ++++++++++++++++++++--------------------
xorg-x11-drv-nvidia.metainfo.xml | 22 ++++++++---
xorg-x11-drv-nvidia.spec | 11 +++---
3 files changed, 63 insertions(+), 52 deletions(-)
---
diff --git a/parse-readme.py b/parse-readme.py
index 0baff3c..3a5d140 100755
--- a/parse-readme.py
+++ b/parse-readme.py
@@ -1,61 +1,61 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2016 Richard Hughes <richard(a)hughsie.com>
+# Copyright (C) 2021 Simone Caronni <negativo17(a)gmail.com>
# Licensed under the GNU General Public License Version or later
-from __future__ import print_function
import sys
def main():
- if len(sys.argv) != 3:
- print("usage: %s README.txt \"header to match\"" % sys.argv[0])
+ if len(sys.argv) != 2:
+ print("usage: %s README.txt" % sys.argv[0])
return 1
- # open file
f = open(sys.argv[1])
in_section = False
in_table = False
pids = []
- for line in f.readlines():
-
- # find the right data table
- if line.find(sys.argv[2]) != -1:
- in_section = True
- continue
- if not in_section:
- continue
-
- # remove Windows and Linux line endings
- line = line.replace('\r', '')
- line = line.replace('\n', '')
-
- # end of section
- if len(line) > 0 and not line.startswith(' '):
- in_section = False
- in_table = False
- continue
-
- # empty line
- if len(line) == 0:
- continue
-
- # skip the header
- if line.startswith(' ---'):
- in_table = True
- continue
- if not in_table:
- continue
-
- # get name
- pid = int(line[42:46], 16)
- if not pid in pids:
- pids.append(pid)
-
- # output
+ sections = ["NVIDIA GEFORCE GPUS", "NVIDIA RTX/QUADRO GPUS", "NVIDIA NVS GPUS", "NVIDIA TESLA GPUS", "NVIDIA GRID GPUS"]
+ for section in sections:
+
+ for line in f.readlines():
+
+ # Find the right data tables
+ if line.find(section) != -1:
+ in_section = True
+ continue
+ if not in_section:
+ continue
+
+ # Remove Windows and Linux line endings
+ line = line.replace('\r', '')
+ line = line.replace('\n', '')
+
+ # End of section
+ if len(line) > 0 and not line.startswith(' '):
+ in_section = False
+ in_table = False
+ continue
+
+ if len(line) == 0:
+ continue
+
+ # Skip the header
+ if line.startswith(' ---'):
+ in_table = True
+ continue
+ if not in_table:
+ continue
+
+ # PCI ID
+ pid = int(line[50:54], 16)
+ if not pid in pids:
+ pids.append(pid)
+
for pid in pids:
vid = 0x10de
print("pci:v%08Xd%08Xsv*sd*bc*sc*i*" % (vid, pid))
if __name__ == "__main__":
main()
+
diff --git a/xorg-x11-drv-nvidia.metainfo.xml b/xorg-x11-drv-nvidia.metainfo.xml
index 9c8248a..858cc5c 100644
--- a/xorg-x11-drv-nvidia.metainfo.xml
+++ b/xorg-x11-drv-nvidia.metainfo.xml
@@ -17,20 +17,32 @@
graphics driver supports all modern NVIDIA GPUs.
</p>
</description>
- <translation/>
<url type="homepage">http://www.nvidia.com/</url>
<icon type="local" width="128" height="128">/usr/share/pixmaps/xorg-x11-drv-nvidia.png</icon>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LicenseRef-proprietary:NVIDIA</project_license>
<developer_name>NVIDIA Corporation</developer_name>
<keywords>
- <keyword>NVIDIA</keyword>
- <keyword>driver</keyword>
- <keyword>GeForce</keyword>
<keyword>CUDA</keyword>
+ <keyword>GeForce</keyword>
+ <keyword>NVIDIA</keyword>
+ <keyword>OpenGL</keyword>
<keyword>Quadro</keyword>
+ <keyword>Tesla</keyword>
+ <keyword>Video</keyword>
<keyword>Vulkan</keyword>
- <keyword>OpenGL</keyword>
+ <keyword>av1</keyword>
+ <keyword>avc</keyword>
+ <keyword>driver</keyword>
+ <keyword>h264</keyword>
+ <keyword>h265</keyword>
+ <keyword>hevc</keyword>
+ <keyword>jpeg</keyword>
+ <keyword>mpeg2</keyword>
+ <keyword>vaapi</keyword>
+ <keyword>vc-1</keyword>
+ <keyword>vp8</keyword>
+ <keyword>vp9</keyword>
</keywords>
<url type="bugtracker">https://bugzilla.rpmfusion.org</url>
<update_contact>xorg-x11-drv-nvidia-owner(a)rpmfusion.org</update_contact>
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 18db718..1b92612 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -22,7 +22,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
Version: 465.24.02
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -332,11 +332,7 @@ EOF
# install AppData and add modalias provides
mkdir -p %{buildroot}%{_metainfodir}/
install -pm 0644 %{SOURCE8} %{buildroot}%{_metainfodir}/
-#fn=%{buildroot}%{_datadir}/appdata/xorg-x11-drv-nvidia.metainfo.xml
-#%{SOURCE9} README.txt "NVIDIA GEFORCE GPUS" | xargs appstream-util add-provide ${fn} modalias
-#%{SOURCE9} README.txt "NVIDIA RTX/QUADRO GPUS" | xargs appstream-util add-provide ${fn} modalias
-#%{SOURCE9} README.txt "NVIDIA NVS GPUS" | xargs appstream-util add-provide ${fn} modalias
-#%{SOURCE9} README.txt "NVIDIA TESLA GPUS" | xargs appstream-util add-provide ${fn} modalias
+%{SOURCE9} README.txt | xargs appstream-util add-provide %{buildroot}%{_metainfodir}/xorg-x11-drv-nvidia.metainfo.xml modalias
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -pm 0644 nvidia-settings.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%endif
@@ -531,6 +527,9 @@ fi ||:
%{_libdir}/libnvidia-encode.so
%changelog
+* Thu Apr 15 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:465.24.02-2
+- Update AppStream metadata generation
+
* Wed Apr 14 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:465.24.02-1
- Update to 465.24.02 release
3 years, 7 months