[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

please unblock klavaro 1.9.4-2



Hello,

Please unblock klavaro 1.9.4-2.  This package fixes one important bug, 675386.
Debdiff attached.

Regards,

Bart Martens
diff -Nru klavaro-1.9.4/debian/changelog klavaro-1.9.4/debian/changelog
--- klavaro-1.9.4/debian/changelog	2012-05-08 20:50:27.000000000 +0000
+++ klavaro-1.9.4/debian/changelog	2012-07-12 19:45:26.000000000 +0000
@@ -1,3 +1,9 @@
+klavaro (1.9.4-2) unstable; urgency=low
+
+  * debian/patches/blinking_cursor_fix.diff: Added.  Closes: #675386.
+
+ -- Bart Martens <bartm@debian.org>  Thu, 12 Jul 2012 19:00:51 +0000
+
 klavaro (1.9.4-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru klavaro-1.9.4/debian/patches/blinking_cursor_fix.diff klavaro-1.9.4/debian/patches/blinking_cursor_fix.diff
--- klavaro-1.9.4/debian/patches/blinking_cursor_fix.diff	1970-01-01 00:00:00.000000000 +0000
+++ klavaro-1.9.4/debian/patches/blinking_cursor_fix.diff	2012-07-12 19:44:32.000000000 +0000
@@ -0,0 +1,58 @@
+From: Felipe Castro <fefcas@gmail.com>
+Subject: Re: Bug#675386: klavaro: (Blinking) cursor lags makes klavaro difficult to use
+Date: Thu, 12 Jul 2012 09:27:23 -0300
+
+diff -b -B -u -r klavaro-1.9.4/src/cursor.c klavaro-1.9.5/src/cursor.c
+--- klavaro-1.9.4/src/cursor.c	2011-07-03 12:30:30.000000000 -0300
++++ klavaro-1.9.5/src/cursor.c	2012-06-02 21:15:47.000000000 -0300
+@@ -222,9 +222,9 @@
+ 	gtk_text_buffer_get_iter_at_mark (buf, &end, gtk_text_buffer_get_insert (buf));
+ 	gtk_text_iter_forward_char (&end);
+ 	if (tutor_get_correcting ())
+-		gtk_text_buffer_apply_tag_by_name (buf, "cursor_blink", &start, &end);
+-	else
+ 		gtk_text_buffer_remove_tag_by_name (buf, "cursor_blink", &start, &end);
++	else
++		gtk_text_buffer_apply_tag_by_name (buf, "cursor_blink", &start, &end);
+ }
+ 
+ /**********************************************************************
+@@ -245,7 +245,7 @@
+ 	gtk_text_buffer_get_iter_at_mark (buf, &end, gtk_text_buffer_get_insert (buf));
+ 	gtk_text_iter_forward_char (&end);
+ 	if (tutor_get_correcting ())
+-		gtk_text_buffer_remove_tag_by_name (buf, "cursor_blink", &start, &end);
+-	else
+ 		gtk_text_buffer_apply_tag_by_name (buf, "cursor_blink", &start, &end);
++	else
++		gtk_text_buffer_remove_tag_by_name (buf, "cursor_blink", &start, &end);
+ }
+diff -b -B -u -r klavaro-1.9.4/src/tutor.c klavaro-1.9.5/src/tutor.c
+--- klavaro-1.9.4/src/tutor.c	2011-12-23 22:35:08.000000000 -0200
++++ klavaro-1.9.5/src/tutor.c	2012-06-02 21:24:36.000000000 -0300
+@@ -574,21 +575,23 @@
+ 	}
+ 	else
+ 	{
+-		cursor_on (NULL);
+-
+ 		switch (tutor.type)
+ 		{
+ 		case TT_BASIC:
++			cursor_on (NULL);
+ 			hints_update_from_char (cursor_get_char ());
+ 			tutor_speak_char ();
+ 			return;
+ 		case TT_ADAPT:
++			cursor_on (NULL);
+ 			tutor_speak_char ();
+ 			return;
+ 		case TT_VELO:
++			cursor_on (NULL);
+ 			tutor_speak_word ();
+ 			return;
+ 		case TT_FLUID:
++			cursor_off (NULL);
+ 			return;
+ 		}
+ 	}
diff -Nru klavaro-1.9.4/debian/patches/series klavaro-1.9.4/debian/patches/series
--- klavaro-1.9.4/debian/patches/series	2012-05-08 21:12:38.000000000 +0000
+++ klavaro-1.9.4/debian/patches/series	2012-07-12 19:44:46.000000000 +0000
@@ -1 +1,2 @@
 02_en_C.diff
+blinking_cursor_fix.diff

Reply to: