You are not logged in.

#1 2004-11-05 14:44:53

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

[NEW] SCIM:A Input Method development platform

Last edit date: 2005.03.16
News: don't make gconf as a dependency any longer.
SCIM,  many Chinese user use it for input Chinese, of course, scim can support more languages than Chinese. I here ask for including in the official repo for especially CJK users.
all you need is to run 'makepkg' to compile and use it, Enjoy ABS's power and SCIM!

# Contributer: Gan Lu <rhythm.gan@gmail.com>
pkgname=scim
pkgver=1.2.1
pkgrel=1
pkgdesc="A Input Method development platform"
depends=('x-server' 'gtk2')
makedepends=('intltool')
install=scim.install
url="http://www.freedesktop.org/wiki/Software_2fscim"
license=GPL
source=(http://heanet.dl.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz scim.install)

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr
                    --sysconfdir=/etc
                    --disable-config-gconf
        make || return 1
        make DESTDIR=$startdir/pkg install
}

md5sums=('88469118178df981f992a673e0378ab2' '3c58b3d1258d1bec593c5312aeb81311')
# arg 1:  the new package version
post_install() {
  echo -n "updating gtk.immodules... "
  /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
  echo "done."
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  /bin/true
}

# arg 1:  the old package version
pre_remove() {
  /bin/true
}

# arg 1:  the old package version
post_remove() {
  echo -n "updating gtk.immodules... "
  /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
  echo "done."
}

op=$1
shift
$op $*

Offline

#2 2004-11-05 14:49:15

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: [NEW] SCIM:A Input Method development platform

Last edit date: 2005.02.14
News: rename scim-chinese for scim-pinyin, no big change.
and scim-pinyinfor chinese(both Simplified and Tranditional) input  method:

# Contributor: Gan Lu <rhythm.gan@gmail.com>
pkgname=scim-pinyin
pkgver=0.5.0
pkgrel=1
pkgdesc="Chinese PinYin input for SCIM"
url="http://www.scim-im.org/"
license=GPL
depends=('scim')
replaces=('scim-chinese')
source=(http://heanet.dl.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=$startdir/pkg install
}
md5sums=('3cb810f4ae252c7e05fc01b7e5548da9')

Offline

#3 2004-11-05 14:51:03

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: [NEW] SCIM:A Input Method development platform

and many other tables-based input methods including Korea, Japanese, Tailand and so on.

# Contributor: Gan Lu <rhythm.gan@gmail.com>

pkgname=scim-tables
pkgver=0.5.0
pkgrel=1
pkgdesc="Many table based input methods including CJK input for SCIM"
url="http://www.scim-im.org/"
license=GPL
depends=('scim')
source=(http://heanet.dl.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}
md5sums=('906e2ceec585b8f4de01e005828da694')

Offline

#4 2004-11-30 22:22:41

huge
Member
Registered: 2004-11-30
Posts: 3

Re: [NEW] SCIM:A Input Method development platform

Does anyone have the source for the latest version of scim?
It seems to have disappeared from freedesktop.org and I can't find it anywhere else... thanx.

Offline

#5 2005-01-03 13:48:32

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: [NEW] SCIM:A Input Method development platform

they moved to www.scim-im.org
also your urls for your PKGBUILD file should be updated, i would rather use the sourforge.net downloads

Offline

#6 2005-02-22 23:49:35

WaFuSan
Member
From: Nagoya
Registered: 2005-01-27
Posts: 39
Website

Re: [NEW] SCIM:A Input Method development platform

and here is the PKGBUILD for skim (KDE frontend for scim)
see http://bbs.archlinux.org/viewtopic.php?t=10035 and http://bbs.archlinux.org/viewtopic.php?t=10000  for more details about scim, skim, and the like...


PKGBUILD

# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=skim
pkgver=1.2.1
pkgrel=1
pkgdesc="KDE frontend for SCIM"
makedepends=()
depends=('scim>=1.1.3' 'kdelibs>=3.2.0')
install=
url="http://www.scim-im.org/news/skim_news"
license=""
source=(http://jaist.dl.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.bz2)
# md5sums=()

build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
} 

Edited on 05/03/20 to match the new version of scim.
Thanks gan-lu ^^

Offline

#7 2005-04-12 04:25:18

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: [NEW] SCIM:A Input Method development platform

I tried to install skim but it complained saying that I needed a version of scim which is later than 1.1.3. But  I installed scim 1.2.1 which is later.

Offline

#8 2005-04-12 23:46:51

WaFuSan
Member
From: Nagoya
Registered: 2005-01-27
Posts: 39
Website

Re: [NEW] SCIM:A Input Method development platform

What does 

# pacman -Q scim

says ?

Offline

#9 2005-05-08 07:45:30

huge
Member
Registered: 2004-11-30
Posts: 3

Re: [NEW] SCIM:A Input Method development platform

I was trying to use ganlu's PKGBUILD for scim but ABS kept aborting during compile.  I though this was weird because I had previously installed scim successfully from source by compiling it myslef without using ABS.

The PKGBUILD worked and scim installed fine after I commented out the "--disable-config-gconf" in the configure line.

I'm not sure what this means, I'm just posting what worked for me.

Offline

Board footer

Powered by FluxBB