rpms/sugar/OLPC-3 cpuleak.patch,NONE,1.1 sugar.spec,1.26,1.27

C. Scott Ananian cscott at fedoraproject.org
Mon Sep 29 06:54:56 UTC 2008


Author: cscott

Update of /cvs/pkgs/rpms/sugar/OLPC-3
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16838

Modified Files:
	sugar.spec 
Added Files:
	cpuleak.patch 
Log Message:
dlo trac #8711:  fix CPU leak (1-2% with each activity launched)


cpuleak.patch:

--- NEW FILE cpuleak.patch ---
diff --git a/src/view/launchwindow.py b/src/view/launchwindow.py
index d954abc..e44b998 100644
--- a/src/view/launchwindow.py
+++ b/src/view/launchwindow.py
@@ -82,6 +82,7 @@ class LaunchBox(hippo.CanvasBox):
         self.connect('destroy', self.__destroy_cb)
 
     def __destroy_cb(self, box):
+        self._activity_icon.props.pulsing = False
         self._home.disconnect_by_func(self.__active_activity_changed_cb)
 
     def zoom_in(self):


Index: sugar.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sugar/OLPC-3/sugar.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sugar.spec	25 Sep 2008 19:18:06 -0000	1.26
+++ sugar.spec	29 Sep 2008 06:54:26 -0000	1.27
@@ -4,7 +4,7 @@
 Summary: OLPC desktop environment
 Name: sugar
 Version: 0.82.9
-Release: 1%{?dist}
+Release: 2%{?dist}
 #Release: 2.%{alphatag}%{?dist}
 URL: http://dev.laptop.org
 # git clone git://dev.laptop.org/sugar
@@ -16,6 +16,8 @@
 Group: System Environment/Libraries
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch1: cpuleak.patch
+
 BuildRequires: pkgconfig
 BuildRequires: perl-XML-Parser
 BuildRequires: gettext
@@ -49,6 +51,8 @@
 %prep
 %setup -q
 
+%patch1 -p1 -b .cpuleak
+
 %build
 %configure
 make
@@ -93,6 +97,9 @@
 %{_bindir}/sugar-emulator
 
 %changelog
+* Mon Sep 29 2008 C. Scott Ananian <cscott at laptop.org> - 0.82.9-2
+- #8711 fix CPU leak (1-2% with each activity launched)
+
 * Thu Sep 25 2008 Marco Pesenti Gritti <mpg at redhat.com> - 0.82.9-1
 - #7969 Accidental searches lead to a "blank" Home screen
 - #8662 xo man jumps around while zooming




More information about the fedora-extras-commits mailing list