diff -Nru keepnote-0.7.8/debian/changelog keepnote-0.7.8/debian/changelog --- keepnote-0.7.8/debian/changelog 2013-06-30 16:36:13.000000000 +0400 +++ keepnote-0.7.8/debian/changelog 2014-10-10 15:58:16.000000000 +0400 @@ -1,3 +1,10 @@ +keepnote (0.7.8-1.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * fix-gdk-lock.patch: fixes crash at startup with GLib >= 2.41 + + -- Vlad Orlov Fri, 10 Oct 2014 15:57:49 +0400 + keepnote (0.7.8-1.1) unstable; urgency=low * Non-maintainer upload. diff -Nru keepnote-0.7.8/debian/patches/fix-gdk-lock.patch keepnote-0.7.8/debian/patches/fix-gdk-lock.patch --- keepnote-0.7.8/debian/patches/fix-gdk-lock.patch 1970-01-01 03:00:00.000000000 +0300 +++ keepnote-0.7.8/debian/patches/fix-gdk-lock.patch 2014-10-10 15:59:22.000000000 +0400 @@ -0,0 +1,21 @@ +Index: keepnote-0.7.8/bin/keepnote +=================================================================== +--- keepnote-0.7.8.orig/bin/keepnote ++++ keepnote-0.7.8/bin/keepnote +@@ -265,6 +265,7 @@ def start_gui(argv, options, args, cmd_e + + # setup threading environment + setup_threading() ++ gtk.gdk.threads_enter() + + # create app + app = keepnote.gui.KeepNote(basedir) +@@ -276,6 +277,8 @@ def start_gui(argv, options, args, cmd_e + if need_gui: + gtk.main() + ++ gtk.gdk.threads_leave() ++ + + def start_non_gui(argv, options, args, cmd_exec): + diff -Nru keepnote-0.7.8/debian/patches/series keepnote-0.7.8/debian/patches/series --- keepnote-0.7.8/debian/patches/series 2012-03-29 00:05:12.000000000 +0400 +++ keepnote-0.7.8/debian/patches/series 2014-10-10 15:58:23.000000000 +0400 @@ -1 +1,2 @@ desktop-desktop-entry-contains-encoding-key.patch +fix-gdk-lock.patch