rpms/gnome-desktop/F-12 width-for-height.patch, NONE, 1.1 gnome-desktop.spec, 1.239, 1.240

Matthias Clasen mclasen at fedoraproject.org
Wed Apr 21 16:45:36 UTC 2010


Author: mclasen

Update of /cvs/pkgs/rpms/gnome-desktop/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26405

Modified Files:
	gnome-desktop.spec 
Added Files:
	width-for-height.patch 
Log Message:
fix a typo


width-for-height.patch:
 gnome-bg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE width-for-height.patch ---
diff -up gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c.width-for-height gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c
--- gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c.width-for-height	2010-04-21 12:40:03.985111930 -0400
+++ gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c	2010-04-21 12:40:12.654363778 -0400
@@ -1257,7 +1257,7 @@ gnome_bg_get_pixmap_from_root (GdkScreen
 	}
 
 	width = gdk_screen_get_width (screen);
-	height = gdk_screen_get_width (screen);
+	height = gdk_screen_get_height (screen);
 
 	pixmap = gdk_pixmap_new (source_pixmap != NULL? source_pixmap :
 				 gdk_screen_get_root_window (screen),


Index: gnome-desktop.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-desktop/F-12/gnome-desktop.spec,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -p -r1.239 -r1.240
--- gnome-desktop.spec	18 Feb 2010 21:30:32 -0000	1.239
+++ gnome-desktop.spec	21 Apr 2010 16:45:35 -0000	1.240
@@ -12,7 +12,7 @@
 Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
 Name: gnome-desktop
 Version: 2.28.2
-Release: 5%{?dist}
+Release: 6%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/gnome-desktop/2.28/%{name}-%{version}.tar.bz2
 Patch1: concatenate-edid-descriptors.patch
@@ -30,6 +30,8 @@ Patch6: gnome-desktop-crash.patch
 Patch7: randr-version.patch
 # upstream enhancement
 Patch8: spanned-background.patch
+# upstream fix
+Patch9: width-for-height.patch
 
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Libraries
@@ -96,6 +98,7 @@ libgnomedesktop.
 %patch6 -p1 -b .crash
 %patch7 -p1 -b .randr-version
 %patch8 -p1 -b .spanned-background
+%patch9 -p1 -b .width-for-height
 
 %build
 %configure --with-gnome-distributor="Red Hat, Inc" \
@@ -143,6 +146,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_datadir}/gtk-doc/html/gnome-desktop/
 
 %changelog
+* Wed Apr 21 2010 Matthias Clasen <mclasen at redhat.com> - 2.28.2-6
+- Fix a typo that can cause huge memory consumption on multihead setups
+
 * Thu Feb 18 2010 Matthias Clasen <mclasen at redhat.com> - 2.28.2-5
 - Add back a way to have spanned backgrounds
 



More information about the scm-commits mailing list