diff -Nru synapse-0.2.6/debian/changelog synapse-0.2.6/debian/changelog --- synapse-0.2.6/debian/changelog 2011-08-19 13:55:33.000000000 +0000 +++ synapse-0.2.6/debian/changelog 2011-09-25 11:56:40.000000000 +0000 @@ -1,3 +1,15 @@ +synapse (0.2.6-0ubuntu3~ppa1) oneiric; urgency=low + + * debian/patches: + - 90_init_libnotify.patch: From upstream, init libnotify, otherwise it + crashes in latest versions. + * debian/rules: + - Use --with autoreconf, needed by 90_init_libnotify.patch. + * debian/control: + - Build-depends on dh-autoreconf. + + -- Julien Lavergne Sun, 25 Sep 2011 13:56:11 +0200 + synapse (0.2.6-0ubuntu2) oneiric; urgency=low * No change upload to build against libnotify4 diff -Nru synapse-0.2.6/debian/control synapse-0.2.6/debian/control --- synapse-0.2.6/debian/control 2011-04-15 21:24:07.000000000 +0000 +++ synapse-0.2.6/debian/control 2011-09-25 11:56:40.000000000 +0000 @@ -17,7 +17,8 @@ libgtkhotkey-dev, libappindicator-dev (>= 0.0.7), librest-dev, - libnotify-dev + libnotify-dev, + dh-autoreconf Vcs-Bzr: http://bazaar.launchpad.net/~gilir/synapse-project/ubuntu-packaging Vcs-Browser: http://bazaar.launchpad.net/~gilir/synapse-project/ubuntu-packaging/files Homepage: https://launchpad.net/synapse-project diff -Nru synapse-0.2.6/debian/patches/90_init_libnotify.patch synapse-0.2.6/debian/patches/90_init_libnotify.patch --- synapse-0.2.6/debian/patches/90_init_libnotify.patch 1970-01-01 00:00:00.000000000 +0000 +++ synapse-0.2.6/debian/patches/90_init_libnotify.patch 2011-09-25 11:56:40.000000000 +0000 @@ -0,0 +1,26 @@ +Index: synapse/src/ui/Makefile.am +=================================================================== +--- synapse.orig/src/ui/Makefile.am 2011-05-27 18:37:42 +0000 ++++ synapse/src/ui/Makefile.am 2011-09-20 08:52:28 +0000 +@@ -15,6 +15,7 @@ + --pkg gee-1.0 \ + --pkg json-glib-1.0 \ + --pkg unique-1.0 \ ++ --pkg libnotify \ + --vapidir $(top_builddir)/src/core \ + --pkg synapse-core \ + --vapidir $(top_builddir)/src/plugins \ + +Index: synapse/src/ui/synapse-main.vala +=================================================================== +--- synapse.orig/src/ui/synapse-main.vala 2011-09-16 13:45:39 +0000 ++++ synapse/src/ui/synapse-main.vala 2011-09-20 08:52:28 +0000 +@@ -328,6 +328,7 @@ + /* Custom style loading must be done before Gtk.init */ + load_custom_style (); + Gtk.init (ref argv); ++ Notify.init ("synapse"); + + var app = new Unique.App ("org.gnome.Synapse", null); + if (app.is_running) + diff -Nru synapse-0.2.6/debian/patches/series synapse-0.2.6/debian/patches/series --- synapse-0.2.6/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ synapse-0.2.6/debian/patches/series 2011-09-25 11:56:40.000000000 +0000 @@ -0,0 +1 @@ +90_init_libnotify.patch diff -Nru synapse-0.2.6/debian/rules synapse-0.2.6/debian/rules --- synapse-0.2.6/debian/rules 2011-04-15 21:24:07.000000000 +0000 +++ synapse-0.2.6/debian/rules 2011-09-25 11:56:40.000000000 +0000 @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ + dh --with autoreconf $@ override_dh_install: dh_install --fail-missing