packages: scim-fcitx/scim-fcitx-gcc43.patch (NEW), scim-fcitx/scim-fcitx.sp...

baggins baggins at pld-linux.org
Sun Jul 24 23:29:40 CEST 2011


Author: baggins                      Date: Sun Jul 24 21:29:40 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

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

---- Diffs:

================================================================
Index: packages/scim-fcitx/scim-fcitx-gcc43.patch
diff -u /dev/null packages/scim-fcitx/scim-fcitx-gcc43.patch:1.1
--- /dev/null	Sun Jul 24 23:29:40 2011
+++ packages/scim-fcitx/scim-fcitx-gcc43.patch	Sun Jul 24 23:29:34 2011
@@ -0,0 +1,33 @@
+diff -up fcitx/src/scim_fcitx_imengine.cpp.gcc43 fcitx/src/scim_fcitx_imengine.cpp
+--- fcitx/src/scim_fcitx_imengine.cpp.gcc43	2008-02-29 10:55:21.000000000 +0800
++++ fcitx/src/scim_fcitx_imengine.cpp	2008-02-29 10:55:38.000000000 +0800
+@@ -36,6 +36,7 @@
+ #define Uses_SCIM_CONFIG_PATH
+ 
+ #include <scim.h>
++#include <cstring>
+ #include "scim_fcitx_imengine.h"
+ #include "main.h"
+ #include "ime.h"
+diff -up fcitx/src/sp.cpp.gcc43 fcitx/src/sp.cpp
+--- fcitx/src/sp.cpp.gcc43	2008-02-29 10:56:32.000000000 +0800
++++ fcitx/src/sp.cpp	2008-02-29 10:56:46.000000000 +0800
+@@ -11,6 +11,7 @@ using namespace scim;
+ #include <sys/stat.h>
+ #include <limits.h>
+ #include <ctype.h>
++#include <cstring>
+ 
+ #include "main.h"
+ #include "sp.h"
+diff -up fcitx/src/ime.cpp.gcc43 fcitx/src/ime.cpp
+--- fcitx/src/ime.cpp.gcc43	2008-02-29 10:55:50.000000000 +0800
++++ fcitx/src/ime.cpp	2008-02-29 10:56:03.000000000 +0800
+@@ -5,6 +5,7 @@
+ #include <ctype.h>
+ 
+ #include <scim.h>
++#include <cstring>
+ #include "scim_fcitx_imengine.h"
+ using namespace scim;
+ 

================================================================
Index: packages/scim-fcitx/scim-fcitx.spec
diff -u /dev/null packages/scim-fcitx/scim-fcitx.spec:1.1
--- /dev/null	Sun Jul 24 23:29:40 2011
+++ packages/scim-fcitx/scim-fcitx.spec	Sun Jul 24 23:29:34 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary:	FCITX Input Method Engine for SCIM
+Name:		scim-fcitx
+Version:	3.1.1
+Release:	0.1
+License:	GPL v2+
+Group:		Libraries
+Source0:	http://downloads.sourceforge.net/scim/%{name}.%{version}.tar.bz2
+# Source0-md5:	781dc96ebce31e2949ecb0c3c1c769f6
+Patch0:		%{name}-gcc43.patch
+URL:		http://www.scim-im.org/projects/imengines/
+BuildRequires:	scim-devel
+Requires:	scim
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+scim-fcitx is a port of the fcitx Chinese input method for the SCIM
+input method platform. It provides Wubi, Erbi, Cangjie, and Pinyin
+styles of input.
+
+%package tools
+Summary:	Fcitx tables tools
+Group:		Development/Libraries
+
+%description tools
+This package contains input table tools from fcitx.
+
+%prep
+%setup -q -n fcitx
+%patch0 -p1
+
+%build
+%configure
+
+%{__make} -j1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/*/IMEngine/*.{la,a}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README ChangeLog
+%attr(755,root,root) %{_libdir}/scim-1.0/*/IMEngine/fcitx.so
+%{_datadir}/scim/fcitx
+%{_datadir}/scim/icons/fcitx
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+
+%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/24 21:29:34  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list