rpms/gnome-desktop/devel width-for-height.patch, NONE, 1.1 gnome-desktop.spec, 1.243, 1.244

Matthias Clasen mclasen at fedoraproject.org
Wed Apr 21 17:28:40 UTC 2010


Author: mclasen

Update of /cvs/pkgs/rpms/gnome-desktop/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31927

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/devel/gnome-desktop.spec,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -p -r1.243 -r1.244
--- gnome-desktop.spec	31 Mar 2010 00:15:10 -0000	1.243
+++ gnome-desktop.spec	21 Apr 2010 17:28:39 -0000	1.244
@@ -12,12 +12,14 @@
 Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
 Name: gnome-desktop
 Version: 2.30.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://www.gnome.org
 #VCS: git:git://git.gnome.org/gnome-desktop
 Source0: http://download.gnome.org/sources/gnome-desktop/2.30/%{name}-%{version}.tar.bz2
 # https://bugzilla.gnome.org/show_bug.cgi?id=612276
 Patch1: concatenate-edid-descriptors.patch
+# upstream fix
+Patch2: width-for-height.patch
 
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Libraries
@@ -76,6 +78,7 @@ libgnomedesktop.
 %prep
 %setup -q
 %patch1 -p1 -b .concatenate-edid-descriptors
+%patch2 -p1 -b .width-for-height
 
 
 %build
@@ -124,6 +127,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.30.0-2
+- Fix a typo that can lead to huge memory allocations in multihead setups
+
 * Tue Mar 30 2010 Matthias Clasen <mclasen at redhat.com> - 2.30.0-1
 - Update to 2.30.0
 



More information about the scm-commits mailing list