diff --git a/gnote-new-glibmm.patch b/gnote-new-glibmm.patch new file mode 100644 index 0000000..8452318 --- /dev/null +++ b/gnote-new-glibmm.patch @@ -0,0 +1,20 @@ +From 7364a6fd55c46db5c5dbae6df6ac377d48919fa9 Mon Sep 17 00:00:00 2001 +From: Hub Figuiere +Date: Fri, 06 Jan 2012 05:19:49 +0000 +Subject: Fix missing header for Glib::signal_idle. Closes #667349 + +--- +diff --git a/src/notebuffer.cpp b/src/notebuffer.cpp +index 48bca2d..df223f3 100644 +--- a/src/notebuffer.cpp ++++ b/src/notebuffer.cpp +@@ -23,6 +23,7 @@ + #include + #include + ++#include + + #include "debug.hpp" + #include "notebuffer.hpp" +-- +cgit v0.9.0.2 diff --git a/gnote.changes b/gnote.changes index 2397e29..515b832 100644 --- a/gnote.changes +++ b/gnote.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 6 14:11:23 UTC 2012 - vuntz@opensuse.org + +- Add gnote-new-glibmm.patch: fix build with recent versions of + glibmm, taken from git. + ------------------------------------------------------------------- Tue Jan 3 07:50:31 UTC 2012 - vuntz@opensuse.org diff --git a/gnote.spec b/gnote.spec index bd12866..2b6dce5 100644 --- a/gnote.spec +++ b/gnote.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: gnote Version: 0.8.2 Release: 0 @@ -24,6 +23,8 @@ License: GPL-3.0+ Group: Productivity/Text/Editors Url: http://live.gnome.org/Gnote Source: http://download.gnome.org/sources/gnote/0.8/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gnote-new-glibmm.patch bgo#667349 vuntz@opensuse.org -- Fix build with recent versions of glibmm; taken from git +Patch0: gnote-new-glibmm.patch BuildRequires: boost-devel >= 1.34 BuildRequires: fdupes BuildRequires: gcc-c++ @@ -49,6 +50,7 @@ to come). Synchronization support is being worked on. %lang_package %prep %setup -q +%patch0 -p1 %build %configure --disable-static --disable-scrollkeeper --enable-applet