--- /dev/null
+--- tomoe-0.6.0/lib/glib-utils.h~ 2007-04-25 09:35:58.000000000 +0200
++++ tomoe-0.6.0/lib/glib-utils.h 2012-04-18 19:56:43.196658521 +0200
+@@ -28,7 +28,7 @@
+ #include "config.h"
+ #endif /* HAVE_CONFIG_H */
+
+-#include <glib/garray.h>
++#include <glib.h>
+ #include <glib/gi18n-lib.h>
+ #include "glib-compat-file-utilities.h"
+ #include "glib-compat-key-file.h"
+--- tomoe-0.6.0/lib/tomoe.c~ 2007-06-06 09:35:53.000000000 +0200
++++ tomoe-0.6.0/lib/tomoe.c 2012-04-18 19:58:11.336657883 +0200
+@@ -26,7 +26,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <glib/garray.h>
++#include <glib.h>
+ #include "tomoe.h"
+
+ static gboolean initialized = FALSE;
Summary: Handwritten input system for Japanese and Chinese
Name: tomoe
Version: 0.6.0
-Release: 3
+Release: 4
License: LGPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/tomoe/%{name}-%{version}.tar.gz
Patch0: %{name}-multiarch-conflict.patch
Patch1: %{name}-bz502662.patch
Patch2: %{name}-svn-libs.patch
+Patch3: %{name}-glib2.32.patch
URL: http://tomoe.sourceforge.jp/
BuildRequires: gettext
BuildRequires: glib2-devel
%patch0 -p0
%patch1 -p0
%patch2 -p1
+%patch3 -p1
%{__sed} 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' data/xml2est.rb