CLUTTER_BACKEND workaround to fix Gnome >= 3.16 apps [release 304.125-2mamba;Thu May 28 2015]
This commit is contained in:
parent
568fb6ed08
commit
482a3b2302
@ -3,7 +3,7 @@
|
|||||||
Name: nvidia_304
|
Name: nvidia_304
|
||||||
Version: 304.125
|
Version: 304.125
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel
|
Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -222,6 +222,13 @@ install -D -m755 libOpenCL.so.1.0.0 \
|
|||||||
ln -s libvdpau_nvidia.so.%{nvidia_current_libver} \
|
ln -s libvdpau_nvidia.so.%{nvidia_current_libver} \
|
||||||
%{buildroot}%{_libdir}/vdpau/libvdpau_nvidia.so
|
%{buildroot}%{_libdir}/vdpau/libvdpau_nvidia.so
|
||||||
|
|
||||||
|
# Clutter workaround (http://blog.sukimashita.com/2015/04/13/gnome-3-16-and-nvidia-binary-driver-crash-with-totem-gnome-maps-cheese-and-others/)
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
|
||||||
|
cat > %{buildroot}%{_sysconfdir}/profile.d/nvidia-clutter.sh << _EOF
|
||||||
|
export CLUTTER_BACKEND=x11
|
||||||
|
_EOF
|
||||||
|
chmod +x %{buildroot}%{_sysconfdir}/profile.d/nvidia-clutter.sh
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -346,6 +353,7 @@ exit 0
|
|||||||
|
|
||||||
%files -n xorg-drv-video-%{name}
|
%files -n xorg-drv-video-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_sysconfdir}/profile.d/nvidia-clutter.sh
|
||||||
%dir %{_prefix}/src/%{name}-%{version}
|
%dir %{_prefix}/src/%{name}-%{version}
|
||||||
%{_prefix}/src/%{name}-%{version}/*
|
%{_prefix}/src/%{name}-%{version}/*
|
||||||
%attr(0755,root,root) %{_sbindir}/update-alternatives-set-nvidia
|
%attr(0755,root,root) %{_sbindir}/update-alternatives-set-nvidia
|
||||||
@ -385,6 +393,9 @@ exit 0
|
|||||||
%doc current/{LICENSE,NVIDIA_Changelog,README.txt} current/html
|
%doc current/{LICENSE,NVIDIA_Changelog,README.txt} current/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 28 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 304.125-2mamba
|
||||||
|
- CLUTTER_BACKEND workaround to fix Gnome >= 3.16 apps
|
||||||
|
|
||||||
* Thu Mar 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 304.125-1mamba
|
* Thu Mar 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 304.125-1mamba
|
||||||
- update to 304.125
|
- update to 304.125
|
||||||
- don't call nvidia-autoselect-driver
|
- don't call nvidia-autoselect-driver
|
||||||
|
Reference in New Issue
Block a user