From 27287d2e925cbbb77eddd7fbb6fe620773445a44 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 30 Dec 2009 13:13:53 +0000 Subject: [PATCH] - Update to 190.53 --- .gitignore | 4 ++-- sources | 4 ++-- xorg-x11-drv-nvidia.spec | 27 ++++++++++++++++++++------- 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 911fe84..b1539d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -NVIDIA-Linux-x86-190.42-pkg0.run -NVIDIA-Linux-x86_64-190.42-pkg0.run +NVIDIA-Linux-x86_64-190.53-pkg0.run +NVIDIA-Linux-x86-190.53-pkg0.run diff --git a/sources b/sources index 9f14ad2..962eaa4 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -f94806feee87de756d14fe3e9bcaf05a NVIDIA-Linux-x86-190.42-pkg0.run -ae431ff849ec01446e6724f9fcfe3bb4 NVIDIA-Linux-x86_64-190.42-pkg0.run +3d3e956366f9df0e4c64d2e0299d1029 NVIDIA-Linux-x86_64-190.53-pkg0.run +2e80419f6f9ac16beecd839874d0c5ab NVIDIA-Linux-x86-190.53-pkg0.run diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index a21bab6..e4b2d13 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -7,8 +7,8 @@ %endif Name: xorg-x11-drv-nvidia -Version: 190.42 -Release: 5%{?dist} +Version: 190.53 +Release: 1%{?dist} Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards Group: User Interface/X Hardware Support @@ -46,7 +46,11 @@ Requires(post): nvidia-kmod >= %{version} BuildRequires: prelink Requires: which Requires: livna-config-display >= 0.0.21 +%if 0%{?fedora} > 10 || 0%{?rhel} > 5 +Requires: %{name}-libs%{_isa} = %{version}-%{release} +%else Requires: %{name}-libs-%{_target_cpu} = %{version}-%{release} +%endif Requires(post): livna-config-display Requires(preun): livna-config-display @@ -98,6 +102,7 @@ such as OpenGL headers. Summary: Libraries for %{name} Group: User Interface/X Hardware Support Requires: %{name} = %{version}-%{release} +Requires: libvdpau%{_isa} >= 0.3 Provides: %{name}-libs-%{_target_cpu} = %{version}-%{release} %ifarch %{ix86} Provides: %{name}-libs-32bit = %{version}-%{release} @@ -147,7 +152,10 @@ rm -rf $RPM_BUILD_ROOT set +x for file in $(cd nvidiapkg &> /dev/null; find . -type f | grep -v -e 'makeself.sh$' -e 'mkprecompiled$' -e 'tls_test$' -e 'tls_test_dso.so$' -e 'nvidia-settings.desktop$' -e '^./Makefile' -e '^./nvidia-installer' -e '^./pkg-history.txt' -e '^./.manifest' -e '/usr/share/doc/' -e 'libGL.la$' -e 'drivers/nvidia_drv.o$' -e 'nvidia-installer.1.gz$' -e '^./usr/src/') do - if [[ ! "/${file##./usr/lib/}" = "/${file}" ]] + if [[ ! "/${file##./usr/lib/vdpau}" = "/${file}" ]] + then + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/%{_libdir}/vdpau/${file##./usr/lib/vdpau} + elif [[ ! "/${file##./usr/lib/}" = "/${file}" ]] then install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/%{nvidialibdir}/${file##./usr/lib/} elif [[ ! "/${file##./usr/X11R6/lib/modules/extensions}" = "/${file}" ]] @@ -217,7 +225,7 @@ ln -s libcuda.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libcuda.so.1 ln -s libcuda.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libcuda.so # This is 180.xx adds - vdpau libs and headers -ln -s libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libvdpau_nvidia.so +ln -s libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1 # X configuration script install -D -p -m 0755 %{SOURCE10} $RPM_BUILD_ROOT%{_sbindir}/nvidia-config-display @@ -304,10 +312,11 @@ fi ||: %{nvidialibdir}/*.so.* %{nvidialibdir}/libcuda.so %{nvidialibdir}/libGLcore.so -%{nvidialibdir}/libvdpau_nvidia.so -%exclude %{nvidialibdir}/libvdpau_trace.so* -%exclude %{nvidialibdir}/libvdpau.* %{nvidialibdir}/tls/*.so.* +%exclude %{nvidialibdir}/libvdpau.* +%{_libdir}/vdpau/libvdpau_nvidia.so.%{version} +%{_libdir}/vdpau/libvdpau_nvidia.so.1 +%exclude %{_libdir}/vdpau/libvdpau_trace.so* %files devel %defattr(-,root,root,-) @@ -325,6 +334,10 @@ fi ||: %changelog +* Wed Dec 30 2009 Nicolas Chauvet - 190.53-1 +- Update to 190.53 +- Switch to new libvdpau location in %%{_libdir}/vdpau + * Fri Nov 27 2009 Nicolas Chauvet - 190.42-5 - Remove duplicate desktop file.