Accepting request 99253 from home:vuntz:branches:GNOME:Apps

Fix build with new glibmm from G:F

OBS-URL: https://build.opensuse.org/request/show/99253
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnote?expand=0&rev=20
This commit is contained in:
Vincent Untz 2012-01-06 14:48:02 +00:00 committed by Git OBS Bridge
parent eadfa5b0de
commit 72bffee58f
3 changed files with 29 additions and 1 deletions

20
gnote-new-glibmm.patch Normal file
View File

@ -0,0 +1,20 @@
From 7364a6fd55c46db5c5dbae6df6ac377d48919fa9 Mon Sep 17 00:00:00 2001
From: Hub Figuiere <hub@figuiere.net>
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 <algorithm>
#include <tr1/array>
+#include <glibmm/main.h>
#include "debug.hpp"
#include "notebuffer.hpp"
--
cgit v0.9.0.2

View File

@ -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

View File

@ -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