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

Bug#768892: marked as done (unblock: zathura/0.3.1-2)



Your message dated Mon, 10 Nov 2014 07:37:00 +0100
with message-id <54605D0C.6050405@thykier.net>
and subject line Re: Bug#768892: unblock: zathura/0.3.1-2
has caused the Debian Bug report #768892,
regarding unblock: zathura/0.3.1-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
768892: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768892
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package zathura. 0.3.1-1 in jessie crashes if
smooth-scroll is enabled [1]. This crash has been fixed upstream and a
package including the patch has been uploaded.

unblock zathura/0.3.1-2

Cheers

[1] https://bugs.pwmt.org/issue441
-- 
Sebastian Ramacher
diff -Nru zathura-0.3.1/debian/changelog zathura-0.3.1/debian/changelog
--- zathura-0.3.1/debian/changelog	2014-10-22 22:28:07.000000000 +0200
+++ zathura-0.3.1/debian/changelog	2014-11-09 23:09:47.000000000 +0100
@@ -1,3 +1,10 @@
+zathura (0.3.1-2) unstable; urgency=medium
+
+  * debian/patches/scrolling-SIGSEGV.patch: Apply upstream patch to fix
+    crashes if smooth-scroll is enabled.
+
+ -- Sebastian Ramacher <sramacher@debian.org>  Sun, 09 Nov 2014 23:09:45 +0100
+
 zathura (0.3.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru zathura-0.3.1/debian/patches/scrolling-SIGSEGV.patch zathura-0.3.1/debian/patches/scrolling-SIGSEGV.patch
--- zathura-0.3.1/debian/patches/scrolling-SIGSEGV.patch	1970-01-01 01:00:00.000000000 +0100
+++ zathura-0.3.1/debian/patches/scrolling-SIGSEGV.patch	2014-11-09 23:08:37.000000000 +0100
@@ -0,0 +1,29 @@
+Description: Fix crash if smooth-scrolling is enabled
+Origin: upstream,
+ https://git.pwmt.org/?p=zathura.git;a=commit;h=9712257b6201c514ca621751a9719fc66fa1ba34,
+ https://git.pwmt.org/?p=zathura.git;a=commit;h=cea37334cebb8613b7ce441a43865d9acc7731a9
+Bug: https://bugs.pwmt.org/issue441
+Last-Update: 2014-11-09
+
+diff --git a/shortcuts.c b/shortcuts.c
+index 210852c..33d5b64 100644
+--- a/shortcuts.c
++++ b/shortcuts.c
+@@ -347,7 +347,7 @@ sc_mouse_zoom(girara_session_t* session, girara_argument_t* argument, girara_eve
+       return false;
+   }
+ 
+-  return sc_zoom(session, argument, NULL, t);
++  return sc_zoom(session, argument, event, t);
+ }
+ 
+ bool
+@@ -1382,7 +1382,7 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
+       zathura_document_set_scale(zathura->document, t / 100.0);
+     }
+   } else if (argument->n == ZOOM_SMOOTH) {
+-     const double dy = event->y;
++     const double dy = (event != NULL) ? event->y : 1.0;
+      zathura_document_set_scale(zathura->document, old_zoom + zoom_step * dy);
+   } else {
+     zathura_document_set_scale(zathura->document, 1.0);
diff -Nru zathura-0.3.1/debian/patches/series zathura-0.3.1/debian/patches/series
--- zathura-0.3.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ zathura-0.3.1/debian/patches/series	2014-11-09 23:05:50.000000000 +0100
@@ -0,0 +1 @@
+scrolling-SIGSEGV.patch

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On 2014-11-09 23:24, Sebastian Ramacher wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package zathura. 0.3.1-1 in jessie crashes if
> smooth-scroll is enabled [1]. This crash has been fixed upstream and a
> package including the patch has been uploaded.
> 
> unblock zathura/0.3.1-2
> 
> Cheers
> 
> [...]

Unblocked, thanks.

~Niels

--- End Message ---

Reply to: