Hello community, here is the log from the commit of package gdm checked in at Thu Sep 20 23:03:23 CEST 2007. -------- --- GNOME/gdm/gdm.changes 2007-09-18 20:44:38.000000000 +0200 +++ /mounts/work_src_done/STABLE/gdm/gdm.changes 2007-09-20 20:04:25.363622000 +0200 @@ -1,0 +2,8 @@ +Thu Sep 20 20:01:48 CEST 2007 - banderso@suse.de + +- added gdm-language-save.patch. Patch fixes a problem where the + .dmrc file was not getting created in the process of saving the + default selected language. + Novell bug #309066 + +------------------------------------------------------------------- Old: ---- fix-desktop-files.diff New: ---- gdm-language-save.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdm.spec ++++++ --- /var/tmp/diff_new_pack.G15635/_old 2007-09-20 23:02:59.000000000 +0200 +++ /var/tmp/diff_new_pack.G15635/_new 2007-09-20 23:02:59.000000000 +0200 @@ -22,7 +22,7 @@ License: GPL v2 or later Group: System/GUI/GNOME Version: 2.20.0 -Release: 1 +Release: 2 Summary: The GNOME 2.x Display Manager Source: %{name}-%{version}.tar.bz2 Source1: gdm.pamd @@ -54,8 +54,9 @@ # don't ask. Patch38: gdm-2.19.3-token-login2.patch Patch40: gdm-XKeepsCrashing-SaX2.patch -Patch42: fix-desktop-files.diff +#Patch42: fix-desktop-files.diff Patch43: gdm-language-hang.patch +Patch44: gdm-language-save.patch Url: http://www.gnome.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build DocDir: %{_defaultdocdir} @@ -112,6 +113,7 @@ %patch40 #%patch42 - dont think this patch is needed with suse_udpate_desktop_file -g working. %patch43 +%patch44 gnome-patch-translation-update %build @@ -243,8 +245,12 @@ %endif %files lang -f %{name}.lang - %changelog +* Thu Sep 20 2007 - banderso@suse.de +- added gdm-language-save.patch. Patch fixes a problem where the + .dmrc file was not getting created in the process of saving the + default selected language. + Novell bug #309066 * Tue Sep 18 2007 - hpj@suse.de - Updated gdm-2.8.0.0-any-hostname-auth.patch to use localhost instead of localhost.localdomain for xauth tokens. Related to ++++++ gdm-language-save.patch ++++++ --- daemon/gdm-daemon-config.c 2007-09-19 16:40:33.000000000 -0600 +++ daemon/gdm-daemon-config.c 2007-09-19 16:17:30.000000000 -0600 @@ -2846,10 +2846,20 @@ gchar *cfgstr; cfgstr = g_build_filename (home_dir, ".dmrc", NULL); - dmrc = gdm_common_config_load (cfgstr, NULL); if (dmrc == NULL) { - return; + gint fd = -1; + gdm_debug ("file: %s does not exist - creating it", cfgstr); + VE_IGNORE_EINTR (fd = g_open (cfgstr, O_CREAT | O_TRUNC | O_RDWR, 0644)); + if (fd < 0) return; + write (fd, "\n", 2); + close (fd); + dmrc = gdm_common_config_load (cfgstr, NULL); + if (dmrc == NULL) { + gdm_debug ("failed to open %s after creating it", cfgstr); + return; + } + } if (savesess) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org