packages: scim-tomoe/scim-tomoe-gcc43-cstring.patch (NEW), scim-tomoe/scim-...

baggins baggins at pld-linux.org
Mon Jul 25 13:08:54 CEST 2011


Author: baggins                      Date: Mon Jul 25 11:08:54 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
packages/scim-tomoe:
   scim-tomoe-gcc43-cstring.patch (NONE -> 1.1)  (NEW), scim-tomoe.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/scim-tomoe/scim-tomoe-gcc43-cstring.patch
diff -u /dev/null packages/scim-tomoe/scim-tomoe-gcc43-cstring.patch:1.1
--- /dev/null	Mon Jul 25 13:08:54 2011
+++ packages/scim-tomoe/scim-tomoe-gcc43-cstring.patch	Mon Jul 25 13:08:49 2011
@@ -0,0 +1,11 @@
+diff -up scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp~ scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp
+--- scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp~	2007-05-07 17:49:15.000000000 +1000
++++ scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp	2008-04-14 16:47:34.000000000 +1000
+@@ -26,6 +26,7 @@
+ #include "scim_tomoe_prefs_widget.h"
+ #include "scim_tomoe_prefs.h"
+ #include <tomoe-gtk.h>
++#include <cstring>
+ 
+ enum {
+     HOGE_SIGNAL,

================================================================
Index: packages/scim-tomoe/scim-tomoe.spec
diff -u /dev/null packages/scim-tomoe/scim-tomoe.spec:1.1
--- /dev/null	Mon Jul 25 13:08:54 2011
+++ packages/scim-tomoe/scim-tomoe.spec	Mon Jul 25 13:08:49 2011
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary:	Tomoe module for SCIM for handwritten input
+Name:		scim-tomoe
+Version:	0.6.0
+Release:	0.1
+License:	GPL v2+
+Group:		Libraries
+Source0:	http://downloads.sourceforge.net/tomoe/%{name}-%{version}.tar.gz
+# Source0-md5:	21207dad4ceb5c00651673ec3737e010
+Patch0:		%{name}-gcc43-cstring.patch
+URL:		http://tomoe.sourceforge.net/
+BuildRequires:	perl(XML::Parser)
+BuildRequires:	gettext
+BuildRequires:	scim-devel
+BuildRequires:	tomoe-devel >= %{version}
+BuildRequires:	tomoe-gtk-devel >= %{version}
+Requires:	scim
+Requires:	tomoe >= %{version}
+Requires:	tomoe-gtk >= %{version}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Scim-tomoe allows handwritten input of Chinese and Japanese characters
+with tomoe using SCIM.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/*/*.{la,a}
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog
+%attr(755,root,root) %{_bindir}/scim-tomoe
+%attr(755,root,root) %{_libdir}/scim-1.0/*/Helper/tomoe.so
+%{_datadir}/scim/icons/scim-tomoe.png
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/07/25 11:08:49  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list