rpms/xorg-x11-drv-nvidia/devel nvidia.conf, NONE, 1.1 xorg-x11-drv-nvidia.spec, 1.150, 1.151
Nicolas Chauvet
kwizart at rpmfusion.org
Sat Aug 16 17:32:59 CEST 2014
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29384
Modified Files:
xorg-x11-drv-nvidia.spec
Added Files:
nvidia.conf
Log Message:
Add outputclass support
--- NEW FILE nvidia.conf ---
#This file is provided by xorg-x11-drv-nvidia
#Do not edit
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
EndSection
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 15:21:20 -0000 1.150
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 15:32:59 -0000 1.151
@@ -24,6 +24,7 @@
Source7: alternate-install-present
Source8: 00-ignoreabi.conf
Source9: nvidia-settings.desktop
+Source10: nvidia.conf
ExclusiveArch: i686 x86_64 armv7hl
@@ -262,6 +263,12 @@
mkdir -p $RPM_BUILD_ROOT%{_datadir}/nvidia
install -p -m 0644 nvidia-application-profiles-%{version}-{rc,key-documentation} $RPM_BUILD_ROOT%{_datadir}/nvidia
+#Install the output class configuration file - xorg-server >= 1.16
+%if 0%{?fedora} >= 21
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
+install -pm 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/nvidia.conf
+%endif
+
#Install the initscript
tar jxf nvidia-persistenced-init.tar.bz2
%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
@@ -323,9 +330,11 @@
%systemd_post nvidia-persistenced.service
%endif
+%if 0%{?fedora} < 21
%posttrans
[ -f %{_sysconfdir}/X11/xorg.conf ] || \
cp -p %{_sysconfdir}/X11/nvidia-xorg.conf %{_sysconfdir}/X11/xorg.conf || :
+%endif
%preun
if [ "$1" -eq "0" ]; then
@@ -395,6 +404,9 @@
%{_libdir}/xorg/modules/drivers/nvidia_drv.so
%{_libdir}/xorg/modules/%{_nvidia_serie}-%{version}
#/no_multilib
+%if 0%{?fedora} >= 21
+%{_datadir}/X11/xorg.conf.d/nvidia.conf
+%endif
%dir %{_datadir}/nvidia
%{_datadir}/nvidia/nvidia-application-profiles-%{version}-*
%{_datadir}/applications/*nvidia-settings.desktop
More information about the rpmfusion-commits
mailing list