CLUTTER_BACKEND workaround to fix Gnome >= 3.16 apps [release 340.76-2mamba;Thu May 28 2015]
This commit is contained in:
parent
9ef77b3f8c
commit
e96ad04555
@ -3,7 +3,7 @@
|
||||
Name: nvidia_340
|
||||
Version: 340.76
|
||||
Epoch: 1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
@ -242,6 +242,13 @@ install -D -m755 libOpenCL.so.1.0.0 \
|
||||
ln -s libvdpau_nvidia.so.%{nvidia_current_libver} \
|
||||
%{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
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -366,6 +373,7 @@ exit 0
|
||||
|
||||
%files -n xorg-drv-video-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/profile.d/nvidia-clutter.sh
|
||||
%dir %{_prefix}/src/%{name}-%{version}
|
||||
%{_prefix}/src/%{name}-%{version}/*
|
||||
%attr(0755,root,root) %{_sbindir}/update-alternatives-set-nvidia
|
||||
@ -410,6 +418,9 @@ exit 0
|
||||
%doc current/{LICENSE,NVIDIA_Changelog,README.txt} current/html
|
||||
|
||||
%changelog
|
||||
* Thu May 28 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 340.76-2mamba
|
||||
- CLUTTER_BACKEND workaround to fix Gnome >= 3.16 apps
|
||||
|
||||
* Thu Mar 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 340.76-1mamba
|
||||
- update to 340.76
|
||||
- don't call nvidia-autoselect-driver
|
||||
|
Loading…
Reference in New Issue
Block a user