rpms/xorg-x11-server/devel xorg-x11-server.spec,1.236,1.237
Adam Jackson (ajax)
fedora-extras-commits at redhat.com
Wed Jun 27 14:08:21 UTC 2007
- Previous message (by thread): rpms/c-ares/devel .cvsignore, 1.5, 1.6 c-ares.spec, 1.8, 1.9 sources, 1.5, 1.6
- Next message (by thread): rpms/NetworkManager/F-7 NetworkManager-0.6.5-no-killswitch-fix.patch, NONE, 1.1 NetworkManager.spec, 1.150, 1.151
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ajax
Update of /cvs/pkgs/rpms/xorg-x11-server/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6857
Modified Files:
xorg-x11-server.spec
Log Message:
* Wed Jun 27 2007 Adam Jackson <ajax at redhat.com> 1.3.0.0-12
- Tweak %post Xorg slightly to not demolish ModulePath lines installed by
the nvidia driver. (#244359)
Index: xorg-x11-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-server/devel/xorg-x11-server.spec,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -r1.236 -r1.237
--- xorg-x11-server.spec 27 Jun 2007 12:57:08 -0000 1.236
+++ xorg-x11-server.spec 27 Jun 2007 14:07:46 -0000 1.237
@@ -9,7 +9,7 @@
Summary: X.Org X11 X server
Name: xorg-x11-server
Version: 1.3.0.0
-Release: 11%{?dist}
+Release: 12%{?dist}
URL: http://www.x.org
License: MIT/X11
Group: User Interface/X
@@ -431,25 +431,30 @@
%if %{with_hw_servers}
%pre Xorg
{
- pushd /etc/X11
- for configfile in XF86Config XF86Config-4 ; do
- if [ -r $configfile ]; then
- if [ -r xorg.conf ]; then
- mv -f $configfile $configfile.obsoleted
- else
- mv -f $configfile xorg.conf
- fi
- fi
- done
- configfile="xorg.conf"
- if [ -r xorg.conf -a -w xorg.conf ]; then
+ pushd /etc/X11
+
+ for configfile in XF86Config XF86Config-4 ; do
+ if [ -r $configfile ]; then
+ if [ -r xorg.conf ]; then
+ mv -f $configfile $configfile.obsoleted
+ else
+ mv -f $configfile xorg.conf
+ fi
+ fi
+ done
+
+ [ -e xorg.conf ] || return 0
+
perl -p -i -e 's/^.*Load.*"(pex5|xie|xtt).*\n$"//gi' xorg.conf
perl -p -i -e 's/^\s*Driver(.*)"keyboard"/Driver\1"kbd"/gi' xorg.conf
perl -p -i -e 's/^.*Option.*"XkbRules".*"(xfree86|xorg)".*\n$//gi' xorg.conf
perl -p -i -e 's#^\s*RgbPath.*$##gi' xorg.conf
- perl -p -i -e 's#^\s*ModulePath.*$##gi' xorg.conf
- fi
- popd
+ # lame, the nvidia driver needs to override this
+ if ! grep -q 'ModulePath.*nvidia' xorg.conf ; then
+ perl -p -i -e 's#^\s*ModulePath.*$##gi' xorg.conf
+ fi
+
+ popd
} &> /dev/null || :
%endif
@@ -583,6 +588,10 @@
%changelog
+* Wed Jun 27 2007 Adam Jackson <ajax at redhat.com> 1.3.0.0-12
+- Tweak %%post Xorg slightly to not demolish ModulePath lines installed by
+ the nvidia driver. (#244359)
+
* Wed Jun 27 2007 Adam Jackson <ajax at redhat.com> 1.3.0.0-11
- Obsolete the joystick and elo2300 drivers, they never worked and shouldn't
be installed.
- Previous message (by thread): rpms/c-ares/devel .cvsignore, 1.5, 1.6 c-ares.spec, 1.8, 1.9 sources, 1.5, 1.6
- Next message (by thread): rpms/NetworkManager/F-7 NetworkManager-0.6.5-no-killswitch-fix.patch, NONE, 1.1 NetworkManager.spec, 1.150, 1.151
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list