rpms/gdm/devel gdm.spec,1.110,1.111

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jan 13 21:31:12 UTC 2006


Author: rstrode

Update of /cvs/dist/rpms/gdm/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17047

Modified Files:
	gdm.spec 
Log Message:
- migrate X server configuration for pre-modular X configurations.
  Problems reported by Dennis Gregorovic <dgregor at redhat.com>



Index: gdm.spec
===================================================================
RCS file: /cvs/dist/rpms/gdm/devel/gdm.spec,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- gdm.spec	9 Jan 2006 19:27:38 -0000	1.110
+++ gdm.spec	13 Jan 2006 21:31:08 -0000	1.111
@@ -15,7 +15,7 @@
 Summary: The GNOME Display Manager.
 Name: gdm
 Version: 2.13.0.4
-Release: 2
+Release: 3
 Epoch: 1
 License: LGPL/GPL
 Group: User Interface/X
@@ -225,6 +225,11 @@
 # migrate it to the new location 
 if [ $1 -ge 2 ] && [ -f %{_sysconfdir}/X11/gdm/gdm.conf ]; then
     mv -f %{_sysconfdir}/X11/gdm/gdm.conf %{_datadir}/gdm/config/gdm.conf-custom
+
+    # Also migrate the X configuration to work with modular X
+    sed -ie 's@^command=/usr/X11R6/bin/X at command=/usr/bin/Xorg@' %{_datadir}/gdm/config/gdm.conf-custom
+    sed -ie 's@^Xnest=/usr/X11R6/bin/Xnest at Xnest=/usr/X11R6/bin/Xnest@' %{_datadir}/gdm/config/gdm.conf-custom
+    sed -ie 's@^BaseXsession=/etc/X11/xdm/Xsession at BaseXsession=/etc/X11/xinit/Xsession@' %{_datadir}/gdm/config/gdm.conf-custom
 fi
 
 %{_sbindir}/gdm-safe-restart || :
@@ -279,6 +284,10 @@
 %attr(1770, root, gdm) %dir %{_localstatedir}/gdm
 
 %changelog
+* Fri Jan 13 2006 Ray Strode <rstrode at redhat.com> - 1:2.13.0.4-3
+- migrate X server configuration for pre-modular X configurations.
+  Problems reported by Dennis Gregorovic <dgregor at redhat.com>
+
 * Mon Jan 9 2006 Ray Strode <rstrode at redhat.com> - 1:2.13.0.4-2
 - use xinit Xsession again.
 




More information about the fedora-cvs-commits mailing list