[lxtask] Update to 0.1.4

Christoph Wickert cwickert at fedoraproject.org
Sat Mar 3 17:19:18 UTC 2012


commit 0cdfbc745f88d0f4b67f15477cb8fecd13282236
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sat Mar 3 18:19:09 2012 +0100

    Update to 0.1.4
    
    - Fix crash (#732182)

 .gitignore                      |    1 +
 lxtask-0.1.3-remove-timer.patch |   20 ++++++++++++++++++++
 lxtask.spec                     |   11 +++++++++--
 sources                         |    2 +-
 4 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 59d915d..bbf2b6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 lxtask-0.1.3.tar.gz
+/lxtask-0.1.4.tar.gz
diff --git a/lxtask-0.1.3-remove-timer.patch b/lxtask-0.1.3-remove-timer.patch
new file mode 100644
index 0000000..8ee6c36
--- /dev/null
+++ b/lxtask-0.1.3-remove-timer.patch
@@ -0,0 +1,20 @@
+diff -uNrp lxtask-0.1.3.orig/src/callbacks.c lxtask-0.1.3.new/src/callbacks.c
+--- lxtask-0.1.3.orig/src/callbacks.c	2011-09-10 23:28:00.052455181 +0900
++++ lxtask-0.1.3.new/src/callbacks.c	2011-09-10 23:34:32.426446605 +0900
+@@ -26,6 +26,8 @@
+ 
+ #include "callbacks.h"
+ 
++extern guint rID;
++
+ void on_button3_toggled_event(GtkButton *button, GdkEventButton *event)
+ {
+     full_view = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button));
+@@ -137,6 +139,7 @@ void on_show_cached_as_free_toggled (Gtk
+ 
+ void on_quit(void)
+ {
++    g_source_remove(rID);
+     save_config();
+     free(config_file);
+ 
diff --git a/lxtask.spec b/lxtask.spec
index 99da534..4f9ba4a 100644
--- a/lxtask.spec
+++ b/lxtask.spec
@@ -1,12 +1,14 @@
 Name:           lxtask
-Version:        0.1.3
-Release:        4%{?dist}
+Version:        0.1.4
+Release:        1%{?dist}
 Summary:        Lightweight and desktop independent task manager
 
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            http://lxde.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+# https://bugzilla.redhat.com/show_bug.cgi?id=732182
+Patch0:         lxtask-0.1.3-remove-timer.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel > 2.6, gettext, intltool, desktop-file-utils
@@ -20,6 +22,7 @@ totally desktop independent and only requires pure gtk+.
 
 %prep
 %setup -q
+%patch0 -p1 -b .remove-timer
 
 
 %build
@@ -49,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Mar 03 2012 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.4-1
+- Update to 0.1.4
+- Fix crash (#732182)
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index dca2dee..af6b61e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eccfb69ee1a209248b22a5f0a34a4734  lxtask-0.1.3.tar.gz
+c4ab47d03d41a88696d64d3f1e78cf7f  lxtask-0.1.4.tar.gz


More information about the scm-commits mailing list