diff --git a/cpuleak.patch b/cpuleak.patch new file mode 100644 index 0000000..77d342f --- /dev/null +++ b/cpuleak.patch @@ -0,0 +1,12 @@ +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): diff --git a/sugar.spec b/sugar.spec index 0911b87..8bd7278 100644 --- a/sugar.spec +++ b/sugar.spec @@ -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 @@ License: GPL/LGPL 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 @@ multiple instances of sugar. %prep %setup -q +%patch1 -p1 -b .cpuleak + %build %configure make @@ -93,6 +97,9 @@ rm -rf %{buildroot} %{_bindir}/sugar-emulator %changelog +* Mon Sep 29 2008 C. Scott Ananian - 0.82.9-2 +- #8711 fix CPU leak (1-2% with each activity launched) + * Thu Sep 25 2008 Marco Pesenti Gritti - 0.82.9-1 - #7969 Accidental searches lead to a "blank" Home screen - #8662 xo man jumps around while zooming