diff options
Diffstat (limited to 'extra/scim-uim')
-rw-r--r-- | extra/scim-uim/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/scim-uim/scim-uim-0.2.0-fix-gcc43-build.patch | 10 | ||||
-rw-r--r-- | extra/scim-uim/uim-1.5.5-header.diff | 13 |
3 files changed, 54 insertions, 0 deletions
diff --git a/extra/scim-uim/PKGBUILD b/extra/scim-uim/PKGBUILD new file mode 100644 index 000000000..b93293cf4 --- /dev/null +++ b/extra/scim-uim/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 92903 2010-10-01 19:04:42Z bisson $ +# Maintainer: damir <damir@archlinux.org> + +pkgname=scim-uim +pkgver=0.2.0 +pkgrel=4 +pkgdesc='UIM bridging input engine for SCIM' +arch=('i686' 'x86_64') +url='http://www.scim-im.org/' +license=('GPL') +depends=('scim>=1.4.8' 'uim>=1.5.5') +options=(!libtool) +source=("http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz" + 'scim-uim-0.2.0-fix-gcc43-build.patch' + 'uim-1.5.5-header.diff') +sha1sums=('456621d5969b6552c3c33c83cf295aa4134fff0a' + 'a9d67946f956d0572c73065e2b4b268bfdf149e3' + '3b083260910f7855b5446960ab1203c052f4b56c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 < ../scim-uim-0.2.0-fix-gcc43-build.patch + patch -p1 < ../uim-1.5.5-header.diff + ./configure --prefix=/usr --sysconfdir=/etc --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/extra/scim-uim/scim-uim-0.2.0-fix-gcc43-build.patch b/extra/scim-uim/scim-uim-0.2.0-fix-gcc43-build.patch new file mode 100644 index 000000000..d142fd7b7 --- /dev/null +++ b/extra/scim-uim/scim-uim-0.2.0-fix-gcc43-build.patch @@ -0,0 +1,10 @@ +--- scim-uim-0.2.0/src/scim_uim_imengine.cpp 2007-04-10 07:43:59.000000000 +0200 ++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp.gcc43buildfixed 2008-03-23 10:53:23.000000000 +0100 +@@ -32,6 +32,7 @@ + #include <config.h> + #endif + ++#include <string.h> + #include <scim.h> + #include "scim_uim_imengine.h" + #include <uim/uim-compat-scm.h> diff --git a/extra/scim-uim/uim-1.5.5-header.diff b/extra/scim-uim/uim-1.5.5-header.diff new file mode 100644 index 000000000..0e6565827 --- /dev/null +++ b/extra/scim-uim/uim-1.5.5-header.diff @@ -0,0 +1,13 @@ +--- scim-uim-0.2.0.orig/src/scim_uim_imengine.cpp ++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp +@@ -34,7 +34,8 @@ + + #include <scim.h> + #include "scim_uim_imengine.h" +-#include <uim/uim-compat-scm.h> ++#include <uim/uim-scm.h> ++#include <uim/uim-util.h> + + #define scim_module_init uim_LTX_scim_module_init + #define scim_module_exit uim_LTX_scim_module_exit + |