[giggle] gtksourceview fix.
Jon Ciesla
limb at fedoraproject.org
Mon Feb 11 17:29:04 UTC 2013
commit c9d48378488f9f0996389752160a8134f8ceb2ad
Author: Jon Ciesla <limburgher at gmail.com>
Date: Mon Feb 11 11:25:56 2013 -0600
gtksourceview fix.
giggle-0.7-gtksourceview.patch | 21 +++++++++++++++++++++
giggle.spec | 3 +++
2 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/giggle-0.7-gtksourceview.patch b/giggle-0.7-gtksourceview.patch
new file mode 100644
index 0000000..0ed35a8
--- /dev/null
+++ b/giggle-0.7-gtksourceview.patch
@@ -0,0 +1,21 @@
+--- src/giggle-view-file.c~ 2012-11-01 00:29:01.000000000 -0500
++++ src/giggle-view-file.c 2013-02-11 10:59:57.786972991 -0600
+@@ -40,6 +40,7 @@
+
+ #include <gtksourceview/gtksourcelanguagemanager.h>
+ #include <gtksourceview/gtksourceview.h>
++#include <gtksourceview/gtksourcebuffer.h>
+
+ #define GIGGLE_TYPE_VIEW_FILE_SNAPSHOT (giggle_view_file_snapshot_get_type ())
+ #define GIGGLE_VIEW_FILE_SNAPSHOT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIGGLE_TYPE_VIEW_FILE_SNAPSHOT, GiggleViewFileSnapshot))
+--- src/giggle-diff-view.c~ 2012-11-01 00:29:01.000000000 -0500
++++ src/giggle-diff-view.c 2013-02-11 11:13:06.245955398 -0600
+@@ -29,6 +29,8 @@
+ #include <glib/gi18n.h>
+ #include <string.h>
+
++#include <gtksourceview/gtksourcebuffer.h>
++
+ typedef struct GiggleDiffViewPriv GiggleDiffViewPriv;
+ typedef struct GiggleDiffViewFile GiggleDiffViewFile;
+ typedef struct GiggleDiffViewHunk GiggleDiffViewHunk;
diff --git a/giggle.spec b/giggle.spec
index 9f48f75..92173c3 100644
--- a/giggle.spec
+++ b/giggle.spec
@@ -7,6 +7,7 @@ Group: Development/Tools
License: GPLv2+
URL: http://live.gnome.org/giggle
Source0: http://ftp.gnome.org/pub/GNOME/sources/giggle/0.6/%{name}-%{version}.tar.xz
+Patch0: giggle-0.7-gtksourceview.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: intltool
@@ -40,6 +41,8 @@ Headers for developing plugins for Giggle.
%prep
%setup -q
+%patch0 -p0
+
%build
%configure --enable-static=no
More information about the scm-commits
mailing list