From 61f442cbfbf8ff60dfb9ec0d99851a18c5dd676b Mon Sep 17 00:00:00 2001 From: Tomáš Mráz Date: Aug 22 2007 21:22:10 +0000 Subject: - applet counters don't start properly - license tag fix --- diff --git a/workrave-1.8.4-applet-fix.patch b/workrave-1.8.4-applet-fix.patch new file mode 100644 index 0000000..fe5c0ff --- /dev/null +++ b/workrave-1.8.4-applet-fix.patch @@ -0,0 +1,14 @@ +--- workrave/trunk/frontend/gtkmm/src/GnomeAppletWindow.cc 2007/04/29 20:40:04 1175 ++++ workrave/trunk/frontend/gtkmm/src/GnomeAppletWindow.cc 2007/04/29 22:06:30 1176 +@@ -177,6 +177,11 @@ + + CORBA_exception_free(&ev); + } ++ ++ if (ok) ++ { ++ applet_active = true; ++ } + + TRACE_EXIT(); + return ok ? diff --git a/workrave.spec b/workrave.spec index eb1dfa0..e922705 100644 --- a/workrave.spec +++ b/workrave.spec @@ -1,15 +1,16 @@ Name: workrave Version: 1.8.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Program that assists in the recovery and prevention of RSI # Based on older packages by Dag Wieers and Steve Ratcliffe -License: GPL +License: GPLv2+ Group: Applications/Productivity URL: http://workrave.sourceforge.net/ # For some reason the upstream tarball contains the -2 added to the version. Source0: http://prdownloads.sourceforge.net/workrave/%{name}-%{version}-2.tar.gz Source1: workrave.desktop Patch1: workrave-1.8.4-applet-crash.patch +Patch2: workrave-1.8.4-applet-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext @@ -28,6 +29,7 @@ take micro-pauses, rest breaks and restricts you to your daily limit. %prep %setup -q -n %{name}-%{version} %patch1 -p2 -b .crash +%patch2 -p2 -b .appletfix %build if [ ! -x configure ]; then @@ -68,6 +70,10 @@ desktop-file-install --vendor fedora \ %{_datadir}/applications/fedora-workrave.desktop %changelog +* Wed Aug 22 2007 Tomas Mraz - 1.8.4-4 +- applet counters don't start properly +- license tag fix + * Wed Apr 18 2007 Tomas Mraz - 1.8.4-3 - fixed applet crash (#236543)