rpms/rsibreak/devel rsibreak-0.9.0-memory-leak.patch, NONE, 1.1 rsibreak.spec, 1.13, 1.14
Roland Wolters
liquidat at fedoraproject.org
Thu Feb 26 19:47:05 UTC 2009
Author: liquidat
Update of /cvs/extras/rpms/rsibreak/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23649
Modified Files:
rsibreak.spec
Added Files:
rsibreak-0.9.0-memory-leak.patch
Log Message:
Memory leak patch.
rsibreak-0.9.0-memory-leak.patch:
--- NEW FILE rsibreak-0.9.0-memory-leak.patch ---
Index: graywidget.cpp
===================================================================
--- rsibreak-0.9.0/src/graywidget.cpp (revision 932368)
+++ rsibreak-0.9.0/src/graywidget.cpp (working copy)
@@ -71,6 +71,7 @@
KWindowSystem::setState( winId(), NET::KeepAbove );
KWindowSystem::setState( winId(), NET::FullScreen );
+ delete m_gray;
m_gray = new GrayOutEffect( this, &m_complete );
connect( m_gray, SIGNAL( ready() ), m_dialog, SLOT( showDialog() ) );
m_gray->start();
Index: rsibreak.spec
===================================================================
RCS file: /cvs/extras/rpms/rsibreak/devel/rsibreak.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- rsibreak.spec 25 Feb 2009 20:36:21 -0000 1.13
+++ rsibreak.spec 26 Feb 2009 19:46:34 -0000 1.14
@@ -1,7 +1,7 @@
Name: rsibreak
Version: 0.9.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: A small utility which bothers you at certain intervals
Group: Amusements/Graphics
License: GPLv2+
@@ -9,6 +9,7 @@
Source0: http://rsibreak.org/files/rsibreak-%{version}.tar.bz2
# Patch to build against KDE 4.2, by Scott Kitterman from Kubuntu
Patch0: rsibreak-0.9.0-cmake-find-plasma.patch
+Patch1: rsibreak-0.9.0-graywidget.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdelibs4-devel desktop-file-utils gettext
@@ -24,6 +25,7 @@
%prep
%setup -q
%patch0 -p1 -b .find-plasma
+%patch1 -p1 -b .graywidget
%build
mkdir -p %{_target_platform}
@@ -77,6 +79,9 @@
%{_libdir}/kde4/plasma_applet_rsibreak.so
%changelog
+* Thu Feb 26 2009 Artem S. Tashkinov <t.artem at mailcity.com> 0.9.0-8
+- trunk fix for memory leak
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list