[xorg-x11-drv-nvidia] add aarch64 support
by Nicolas Chauvet
commit 39a75af339e719d69a2801a5a79c764d21dd8002
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Sun Sep 25 17:17:08 2022 -0500
add aarch64 support
Signed-off-by: Dennis Gilmore <dennis(a)ausil.us>
Signed-off-by: Nicolas Chauvet <kwizart(a)gmail.com>
.gitignore | 1 +
sources | 1 +
xorg-x11-drv-nvidia.spec | 73 +++++++++++++++++++++++++++++++++++-------------
3 files changed, 55 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 08759ee..b0e1350 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
NVIDIA-Linux-armv7l-gnueabihf-*.run
NVIDIA-Linux-x86-*.run
NVIDIA-Linux-x86_64-*.run
+NVIDIA-Linux-aarch64-*.run
diff --git a/sources b/sources
index 48a2f68..d2c9e6b 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
+SHA512 (NVIDIA-Linux-aarch64-515.76.run) = 5a6819b24e174458da26ae6435577e8190feb39b58e462698fe1ae5854af90d3883f61d6f45e1bd3029ce16bf10170b39e970696421c36f5d168ae5935a490ac
SHA512 (NVIDIA-Linux-x86_64-515.76.run) = 517e23855acfcded81dc65290ff7354796c6c01a6cde255fa173ab26358f0fbeae79de2f5919787dbdb4c384a57c003045a461870439bc0acf81a501657d8775
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index ba78884..74aa8de 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -26,12 +26,13 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
Version: 515.76
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
URL: http://www.nvidia.com/
-Source0: https://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Lin...
+Source0: https://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-...
+Source1: https://download.nvidia.com/XFree86/Linux-aarch64/%{version}/NVIDIA-Linux...
Source5: alternate-install-present
Source6: nvidia.conf
Source7: 60-nvidia.rules
@@ -46,7 +47,7 @@ Source15: rhel_nvidia.conf
Source16: nvidia-power-management.conf
Source17: 70-nvidia.preset
-ExclusiveArch: x86_64 i686
+ExclusiveArch: x86_64 i686 aarch64
# Xorg with PrimaryGPU
Requires: Xorg >= 1.19.0-3
@@ -171,7 +172,7 @@ Requires: libglvnd-glx%{?_isa} >= 0.2
Requires: libglvnd-opengl%{?_isa} >= 0.2
%if 0%{?fedora} || 0%{?rhel} > 7
Requires: vulkan-loader%{?_isa}
-%ifarch x86_64
+%ifarch x86_64 aarch64
# Fedora 35 has early XWayland support using recent egl-wayland
Requires: egl-wayland%{?_isa} %{?fc35: >= 1.1.9-2}
%if 0%{?fedora} > 34
@@ -205,10 +206,15 @@ Advanced power management, preserve memory allocation on suspend/resume.
%prep
%setup -q -c -T
+%ifarch i686 x86_64
sh %{SOURCE0} \
- --extract-only --target nvidiapkg-x86_64
-ln -s nvidiapkg-x86_64 nvidiapkg
-
+ --extract-only --target nvidiapkg
+%else
+%ifarch aarch64
+sh %{SOURCE1} \
+ --extract-only --target nvidiapkg
+%endif
+%endif
%build
# Nothing to build
@@ -241,7 +247,7 @@ cp -a \
libnvidia-nvvm.so.%{version} \
libnvidia-opticalflow.so.%{version} \
libnvidia-ptxjitcompiler.so.%{version} \
-%ifarch x86_64
+%ifarch x86_64 aarch64
libnvidia-cfg.so.%{version} \
%if 0%{?fedora} < 35
libnvidia-egl-gbm.so.1.1.0 \
@@ -254,7 +260,9 @@ cp -a \
%{buildroot}%{_libdir}/
cp -af \
+%ifnarch aarch64
libnvidia-compiler.so.%{version} \
+%endif
libnvidia-opencl.so.%{version} \
libnvidia-tls.so.%{version} \
%{buildroot}%{_libdir}/
@@ -279,7 +287,7 @@ ln -sf ../libnvidia-allocator.so.%{version} %{buildroot}%{_libdir}/gbm/nvidia-dr
popd
%endif
-%ifarch x86_64
+%ifarch x86_64 aarch64
# Vulkan config and symlink
install -m 0755 -d %{buildroot}%{_datadir}/vulkan/{icd.d,implicit_layer.d}/
install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/
@@ -310,9 +318,11 @@ install -p -m 0644 %{SOURCE7} %{buildroot}%{_udevrulesdir}
# UDev rules for nvidia-uvm
install -p -m 0644 %{SOURCE10} %{buildroot}%{_udevrulesdir}
+%ifarch x86_64
# Install dbus config
install -m 0755 -d %{buildroot}%{_dbus_systemd_dir}
install -p -m 0644 nvidia-dbus.conf %{buildroot}%{_dbus_systemd_dir}
+%endif
# dracut.conf.d file, nvidia modules must never be in the initrd
install -p -m 0755 -d %{buildroot}%{_dracut_conf_d}/
@@ -320,8 +330,12 @@ install -p -m 0644 %{SOURCE12} %{buildroot}%{_dracut_conf_d}/
# Install binaries
install -m 0755 -d %{buildroot}%{_bindir}
-install -p -m 0755 nvidia-{bug-report.sh,debugdump,smi,cuda-mps-control,cuda-mps-server,ngx-updater,powerd} \
+install -p -m 0755 nvidia-{bug-report.sh,debugdump,smi,cuda-mps-control,cuda-mps-server,ngx-updater} \
%{buildroot}%{_bindir}
+%ifarch x86_64
+install -p -m 0755 nvidia-powerd \
+ %{buildroot}%{_bindir}
+%endif
# Install man pages
install -m 0755 -d %{buildroot}%{_mandir}/man1/
@@ -357,11 +371,12 @@ mkdir -p %{buildroot}%{_sysconfdir}/nvidia
#Install the nvidia kernel modules sources archive
mkdir -p %{buildroot}%{_datadir}/nvidia-kmod-%{version}
-tar Jcf %{buildroot}%{_datadir}/nvidia-kmod-%{version}/nvidia-kmod-%{version}-x86_64.tar.xz kernel kernel-open
-
+tar Jcf %{buildroot}%{_datadir}/nvidia-kmod-%{version}/nvidia-kmod-%{version}-%{_arch}.tar.xz kernel kernel-open
+%ifarch x86_64
#Install wine dll
mkdir -p %{buildroot}%{_winedir}
install -p -m 0644 _nvngx.dll nvngx.dll %{buildroot}%{_winedir}
+%endif
#RPM Macros support
mkdir -p %{buildroot}%{rpmmacrodir}
@@ -386,7 +401,10 @@ install -p -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}
# Systemd units and script for suspending/resuming
mkdir %{buildroot}%{_systemd_util_dir}/system-{sleep,preset}/
install -p -m 0644 %{SOURCE17} %{buildroot}%{_systemd_util_dir}/system-preset/
-install -p -m 0644 systemd/system/nvidia-{hibernate,powerd,resume,suspend}.service %{buildroot}%{_unitdir}
+install -p -m 0644 systemd/system/nvidia-{hibernate,resume,suspend}.service %{buildroot}%{_unitdir}
+%ifarch x86_64
+install -p -m 0644 systemd/system/nvidia-powerd.service %{buildroot}%{_unitdir}
+%endif
install -p -m 0755 systemd/system-sleep/nvidia %{buildroot}%{_systemd_util_dir}/system-sleep/
install -p -m 0755 systemd/nvidia-sleep.sh %{buildroot}%{_bindir}
@@ -468,7 +486,7 @@ fi ||:
%files kmodsrc
%dir %{_datadir}/nvidia-kmod-%{version}
%{rpmmacrodir}/macros.%{name}-kmodsrc
-%{_datadir}/nvidia-kmod-%{version}/nvidia-kmod-%{version}-x86_64.tar.xz
+%{_datadir}/nvidia-kmod-%{version}/nvidia-kmod-%{version}-%{_arch}.tar.xz
%endif
%ldconfig_scriptlets libs
@@ -493,7 +511,7 @@ fi ||:
%{_libdir}/gbm/
%{_libdir}/vdpau/libvdpau_nvidia.so.1
%{_libdir}/vdpau/libvdpau_nvidia.so.%{version}
-%ifarch x86_64
+%ifarch x86_64 aarch64
%{_datadir}/vulkan/implicit_layer.d/nvidia_layers.json
%{_datadir}/vulkan/icd.d/nvidia_icd.json
%{_libdir}/libnvidia-cfg.so.1
@@ -511,10 +529,12 @@ fi ||:
%exclude %{_libdir}/libnvidia-vulkan-producer.so.515
%{_libdir}/libnvoptix.so.1
%{_libdir}/libnvoptix.so.%{version}
+%ifarch x86_64
%{_winedir}/
%endif
+%endif
-%ifarch x86_64
+%ifarch x86_64 aarch64
%files cuda
%license nvidiapkg/LICENSE
%config %{_sysconfdir}/OpenCL/vendors/nvidia.icd
@@ -534,7 +554,9 @@ fi ||:
%{_libdir}/libcuda.so.%{version}
%{_libdir}/libnvcuvid.so.1
%{_libdir}/libnvcuvid.so.%{version}
+%ifnarch aarch64
%{_libdir}/libnvidia-compiler.so.%{version}
+%endif
%{_libdir}/libnvidia-encode.so.1
%{_libdir}/libnvidia-encode.so.%{version}
%{_libdir}/libnvidia-ml.so
@@ -549,7 +571,7 @@ fi ||:
%{_libdir}/libnvidia-opticalflow.so.%{version}
%{_libdir}/libnvidia-ptxjitcompiler.so.1
%{_libdir}/libnvidia-ptxjitcompiler.so.%{version}
-%ifarch x86_64
+%ifarch x86_64 aarch64
%{_modprobedir}/nvidia-uvm.conf
%{_udevrulesdir}/60-nvidia-uvm.rules
%endif
@@ -558,39 +580,50 @@ fi ||:
%{_libdir}/libnvcuvid.so
%{_libdir}/libnvidia-encode.so
-%ifarch x86_64
+%ifarch x86_64 aarch64
%post power
%systemd_post nvidia-hibernate.service
+%ifarch x86_64
%systemd_post nvidia-powerd.service
+%endif
%systemd_post nvidia-resume.service
%systemd_post nvidia-suspend.service
%preun power
%systemd_preun nvidia-hibernate.service
+%ifarch x86_64
%systemd_preun nvidia-powerd.service
+%endif
%systemd_preun nvidia-resume.service
%systemd_preun nvidia-suspend.service
%postun power
%systemd_postun nvidia-hibernate.service
+%ifarch x86_64
%systemd_postun nvidia-powerd.service
+%endif
%systemd_postun nvidia-resume.service
%systemd_postun nvidia-suspend.service
%files power
%config %{_modprobedir}/nvidia-power-management.conf
+%ifarch x86_64
%{_bindir}/nvidia-powerd
-%{_bindir}/nvidia-sleep.sh
+%{_unitdir}/nvidia-powerd.service
%{_dbus_systemd_dir}/nvidia-dbus.conf
+%endif
+%{_bindir}/nvidia-sleep.sh
%{_systemd_util_dir}/system-preset/70-nvidia.preset
%{_systemd_util_dir}/system-sleep/nvidia
%{_unitdir}/nvidia-hibernate.service
-%{_unitdir}/nvidia-powerd.service
%{_unitdir}/nvidia-resume.service
%{_unitdir}/nvidia-suspend.service
%endif
%changelog
+* Sun Sep 25 2022 Dennis Gilmore <dennis(a)ausil.us> - 3:515.76-2
+- add initial aarch64 support
+
* Wed Sep 21 2022 Leigh Scott <leigh123linux(a)gmail.com> - 3:515.76-1
- Update to 515.76
2 years, 1 month
[xine-lib] Rebuild for new flac
by Leigh Scott
commit 14470be1496bdf0da6fdf0113060a517263b1ff1
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Sep 26 15:52:14 2022 +0100
Rebuild for new flac
xine-lib.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/xine-lib.spec b/xine-lib.spec
index f17607e..7a7fb3d 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -44,7 +44,7 @@
Summary: A multimedia engine
Name: xine-lib
Version: 1.2.12
-Release: 7%{?snapshot:.%{date}hg%{revision}}%{?dist}
+Release: 8%{?snapshot:.%{date}hg%{revision}}%{?dist}
License: GPLv2+
URL: https://www.xine-project.org/
%if ! 0%{?snapshot}
@@ -364,6 +364,9 @@ mkdir -p %{buildroot}%{codecdir}
%changelog
+* Mon Sep 26 2022 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.12-8
+- Rebuild for new flac
+
* Sun Sep 04 2022 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.12-7
- Add requires ffmpeg-libs
2 years, 1 month
[vlc] Rebuild for new flac
by Leigh Scott
commit d4b1b493283310ae10440d20a6976f2e9a718aba
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Sep 26 15:35:29 2022 +0100
Rebuild for new flac
vlc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/vlc.spec b/vlc.spec
index 10df5ed..bf59e89 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -57,7 +57,7 @@ Summary: The cross-platform open-source multimedia framework, player and server
Epoch: 1
Name: vlc
Version: 3.0.18
-Release: 0.1.rc%{?dist}
+Release: 0.2.rc%{?dist}
License: GPLv2+
URL: https://www.videolan.org
Source0: https://code.videolan.org/videolan/vlc/-/archive/%{commit0}/vlc-%{shortco...
@@ -599,6 +599,9 @@ fi || :
%changelog
+* Mon Sep 26 2022 Leigh Scott <leigh123linux(a)gmail.com> - 1:3.0.18-0.2.rc
+- Rebuild for new flac
+
* Mon Aug 29 2022 Nicolas Chauvet <kwizart(a)gmail.com> - 1:3.0.18-0.1.rc
- Update to 3.0.18-rc
- Drop mmal downstream (rpi) patches
2 years, 1 month
[obs-studio] Update to 28.0.2
by Leigh Scott
commit e0e0d4f774568fb174d6ef1db631f3408429a98e
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Sep 26 14:35:51 2022 +0100
Update to 28.0.2
obs-studio.spec | 14 ++++++++++----
sources | 2 +-
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/obs-studio.spec b/obs-studio.spec
index a603681..9daf0a1 100644
--- a/obs-studio.spec
+++ b/obs-studio.spec
@@ -10,14 +10,14 @@
%endif
Name: obs-studio
-Version: 28.0.1
-Release: 4%{?dist}
+Version: 28.0.2
+Release: 1%{?dist}
Summary: Open Broadcaster Software Studio
License: GPLv2+
URL: https://obsproject.com/
Source0: https://github.com/obsproject/obs-studio/archive/%{version}/%{name}-%{ver...
-Patch0: %{name}-%{version}_fix_svg_names.patch
+Patch0: %{name}-28.0.1_fix_svg_names.patch
BuildRequires: gcc
BuildRequires: cmake >= 3.0
@@ -30,7 +30,6 @@ BuildRequires: fdk-aac-free-devel
BuildRequires: ffmpeg-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
-BuildRequires: pipewire-jack-audio-connection-kit-devel
BuildRequires: jansson-devel
BuildRequires: libcurl-devel
BuildRequires: libdrm-devel
@@ -48,6 +47,7 @@ BuildRequires: luajit-devel
BuildRequires: mbedtls-devel
BuildRequires: pciutils-devel
BuildRequires: pipewire-devel
+BuildRequires: pipewire-jack-audio-connection-kit-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: python3-devel
%if 0%{?fedora} && 0%{?fedora} > 37
@@ -111,6 +111,8 @@ sed -i 's|-Werror-implicit-function-declaration||g' CMakeLists.txt
-DUNIX_STRUCTURE=1 -GNinja \
-DBUILD_BROWSER=OFF \
-DENABLE_WEBSOCKET=OFF \
+ -DENABLE_JACK=ON \
+ -DENABLE_LIBFDK=ON \
-DENABLE_NEW_MPEGTS_OUTPUT=OFF \
-DENABLE_AJA=OFF \
%if ! %{with lua_scripting}
@@ -156,6 +158,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata
%{_includedir}/obs/
%changelog
+* Mon Sep 26 2022 Leigh Scott <leigh123linux(a)gmail.com> - 28.0.2-1
+- Update to 28.0.2
+- Enable jack (rfbz#6419)
+
* Tue Sep 13 2022 Leigh Scott <leigh123linux(a)gmail.com> - 28.0.1-4
- Use qt6 for rawhide only
diff --git a/sources b/sources
index fec9630..4245149 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (obs-studio-28.0.1.tar.gz) = fc7b03ce116f61da281af430c8bcc44baee6ebef62aacb6ec6d41efdfc6f5440d86c1679dafc3608c0ced1513f19ed8aead29e26d77e3d3eb6bacb4a1038f6d6
+SHA512 (obs-studio-28.0.2.tar.gz) = c09ebdc07778065c0110373be4ee09a5eafa2caac103fddc46f3d506f872afd660ea8a7170e2605eb7ce264b847097d5ec092e36ea82ed1f8db7e03c30f93908
2 years, 1 month
[megasync/f37] Update to 4.7.0.0.
by Vasiliy Glazov
Summary of changes:
9bff6ba... Update to 4.7.0.0. (*)
(*) This commit already existed in another branch; no separate mail sent
2 years, 1 month
[shotcut/f36] Update to 22.09.23
by Martin Gansser
commit c42dcee972eab3c5ff9f7dc98722cb4c82b5a08e
Author: Martin Gansser <mgansser(a)online.de>
Date: Mon Sep 26 12:00:19 2022 +0200
Update to 22.09.23
shotcut.spec | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/shotcut.spec b/shotcut.spec
index a529e84..f793293 100644
--- a/shotcut.spec
+++ b/shotcut.spec
@@ -190,7 +190,6 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/org.%{name}.S
* Mon Sep 26 2022 Martin Gansser <martinkg(a)fedoraproject.org> - 22.09.23-1
- Update to 22.09.23
-* Fri Jun 24 2022 Martin Gansser <martinkg(a)fedoraproject.org> - 22.06.07-2
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> - 22.06.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
2 years, 1 month
[shotcut] Update to 22.09.23
by Martin Gansser
Summary of changes:
0f01681... Update to 22.09.23 (*)
(*) This commit already existed in another branch; no separate mail sent
2 years, 1 month