Commit 4c8c537d authored by Xuetian Weng's avatar Xuetian Weng

new fcitx upstream release

parent d5ca4337
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=brise
pkgver=0.16
pkgrel=1
pkgdesc="Rime schema repository"
arch=('i686' 'x86_64')
url="http://code.google.com/p/rimeime/"
license=('GPL3')
depends=()
makedepends=('cmake' 'librime>=0.9.3')
provides=('librime-data')
conflicts=('librime<0.9.3' 'ibus-rime<0.9.3')
source=("http://rimeime.googlecode.com/files/$pkgname-$pkgver.tar.gz")
build() {
cd "${srcdir}/$pkgname"
make
}
package() {
cd "${srcdir}/$pkgname"
make DESTDIR="$pkgdir" install
}
md5sums=('bc45f42852fd7bed59a171233d50cb79')
......@@ -7,21 +7,18 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-chewing
pkgver=0.1.3
pkgrel=2
pkgver=0.2.0
pkgrel=1
pkgdesc="Fcitx Wrapper for chewing."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.0' 'libchewing')
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz candidate.patch)
md5sums=('052e3f146b6e2805918c008005fc9591'
'c1038414e59376bfbbfd63824a93dc7a')
depends=('fcitx>=4.2.7' 'libchewing')
makedepends=('cmake' )
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
build(){
cd "$srcdir/${pkgname}-${pkgver}"
patch -i "${srcdir}/candidate.patch" -Np1 || return 1
rm -rf build
mkdir build
cd build
......@@ -35,3 +32,4 @@ package ()
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
md5sums=('d4dacf213673b5cac50db41427eb6b35')
diff --git a/src/eim.c b/src/eim.c
index e2a8226..47973bc 100644
--- a/src/eim.c
+++ b/src/eim.c
@@ -107,7 +107,6 @@ void* FcitxChewingCreate(FcitxInstance* instance)
FcitxChewing* chewing = (FcitxChewing*) fcitx_utils_malloc0(sizeof(FcitxChewing));
FcitxGlobalConfig* config = FcitxInstanceGetGlobalConfig(instance);
FcitxInputState *input = FcitxInstanceGetInputState(instance);
- FcitxCandidateWordSetChoose(FcitxInputStateGetCandidateList(input), DIGIT_STR_CHOOSE);
bindtextdomain("fcitx-chewing", LOCALEDIR);
@@ -270,9 +269,11 @@ INPUT_RETURN_VALUE FcitxChewingGetCandWords(void* arg)
FcitxMessages *clientPreedit = FcitxInputStateGetClientPreedit(input);
ChewingContext * ctx = chewing->context;
FcitxGlobalConfig* config = FcitxInstanceGetGlobalConfig(chewing->owner);
+ FcitxCandidateWordList* candList = FcitxInputStateGetCandidateList(input);
chewing_set_candPerPage(ctx, config->iMaxCandWord);
- FcitxCandidateWordSetPageSize(FcitxInputStateGetCandidateList(input), config->iMaxCandWord);
+ FcitxCandidateWordSetPageSize(candList, config->iMaxCandWord);
+ FcitxCandidateWordSetChoose(candList, DIGIT_STR_CHOOSE);
//clean up window asap
FcitxInstanceCleanInputWindow(chewing->owner);
@@ -299,7 +300,7 @@ INPUT_RETURN_VALUE FcitxChewingGetCandWords(void* arg)
cw.strExtra = NULL;
cw.strWord = strdup(str);
cw.wordType = MSG_OTHER;
- FcitxCandidateWordAppend(FcitxInputStateGetCandidateList(input), &cw);
+ FcitxCandidateWordAppend(candList, &cw);
chewing_free(str);
index ++;
}
......@@ -8,16 +8,15 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-cloudpinyin
pkgver=0.3.0
pkgver=0.3.1
pkgrel=1
pkgdesc="This is a standalone module for fcitx, it can use pinyin API on the internet to input."
arch=('i686' 'x86_64')
url="https://github.com/csslayer/fcitx-cloudpinyin"
license=('GPL')
depends=('fcitx>=4.2.6')
makedepends=('cmake' 'intltool')
depends=('fcitx>=4.2.7')
makedepends=('cmake')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
md5sums=('8bffd65fe2172d61edde46ad53380150')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
......@@ -33,3 +32,4 @@ package ()
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
md5sums=('3690930d1412258ad37524448268534e')
......@@ -8,16 +8,15 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-hangul
pkgver=0.2.0
pkgver=0.2.1
pkgrel=1
pkgdesc="Fcitx Wrapper for Hangul."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.1' 'libhangul')
makedepends=('cmake' 'intltool')
depends=('fcitx>=4.2.7' 'libhangul')
makedepends=('cmake')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
md5sums=('168b51487797879cf41ed6f6d086694a')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
......@@ -34,3 +33,4 @@ package ()
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
md5sums=('d3dac52b1a1697a4f8256e383c889216')
......@@ -8,16 +8,15 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-m17n
pkgver=0.1.2
pkgver=0.2.0
pkgrel=1
pkgdesc="Fcitx Wrapper for m17n."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.1' 'm17n-lib')
makedepends=('cmake' 'intltool')
depends=('fcitx>=4.2.7' 'm17n-lib')
makedepends=('cmake')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
md5sums=('b4051e4548ffa8d12ef26792def584b9')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
......@@ -34,3 +33,4 @@ package ()
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
md5sums=('6740e3a983c3e7647be3f082abdfc57c')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=fcitx-rime
pkgver=0.2.0
pkgrel=1
pkgdesc="Fcitx Wrapper for librime"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.7' "librime>=0.9.4" "brise")
makedepends=('cmake')
source=(
"http://fcitx.googlecode.com/files/$pkgname-$pkgver.tar.xz"
)
build() {
cd "$srcdir"
msg "Starting make..."
cd "$pkgname-$pkgver"
rm -rf build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
}
md5sums=('34e9bd76f96d93dd99a6af2ed25d8e26')
......@@ -8,16 +8,15 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-sunpinyin
pkgver=0.3.9
pkgver=0.4.0
pkgrel=1
pkgdesc="Fcitx Wrapper for sunpinyin."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.1' 'sunpinyin-git>=20120603')
makedepends=('cmake' 'intltool')
depends=('fcitx>=4.2.7' 'sunpinyin-git>=20120603')
makedepends=('cmake')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
md5sums=('de221daa7b3790b22f5a95d7091d0e38')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
......@@ -34,3 +33,4 @@ package ()
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
md5sums=('de2723baf8e5d9092706cd2baf2f21bb')
......@@ -7,16 +7,15 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx-unikey
pkgver=0.1.1
pkgver=0.2.0
pkgrel=1
pkgdesc="Fcitx Wrapper for Unikey (Vietnamese)."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.3')
makedepends=('cmake' 'intltool' 'qt')
depends=('fcitx>=4.2.7' 'qt')
makedepends=('cmake')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
md5sums=('91dc7bd6991df3c975a0b51a246836bf')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
......@@ -33,3 +32,4 @@ package ()
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
md5sums=('f1ffd6c8439e4d277eace994052d91da')
......@@ -8,7 +8,7 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx
pkgver=4.2.6.1
pkgver=4.2.7
pkgrel=1
pkgdesc="A Flexible Input Method Framework"
arch=("i686" "x86_64")
......@@ -17,9 +17,8 @@ url="http://code.google.com/p/fcitx"
depends=('pango' 'dbus-core' 'opencc' 'lua' 'iso-codes' 'icu' 'libxkbfile')
replaces=('fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-keyboard')
conflicts=('fcitx-utf8-svn' 'fcitx-svn' 'fcitx-hg' 'fcitx-keyboard' 'fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3')
makedepends=('libxkbfile' 'intltool' 'cmake' 'pango' 'qt' 'icu' 'dbus-core' 'wget' 'gtk2' 'gtk3' 'opencc' 'lua' 'iso-codes' 'enchant')
makedepends=('cmake' 'qt' 'icu' 'wget' 'gtk2' 'gtk3' 'opencc' 'lua' 'iso-codes' 'enchant')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
md5sums=('8a8fd129cdc7afc61fe6c4badec0a9db')
categories=('localization')
install=fcitx.install
......@@ -46,3 +45,4 @@ package(){
cd $srcdir/build
make DESTDIR=$pkgdir install
}
md5sums=('fb96dec8b023b59913082eac40f8ff1c')
# $Id$
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Ian Yang <doit.ian@gmail.com>
pkgname=google-glog
pkgver=0.3.2
pkgrel=1
pkgdesc="Logging library for C++"
arch=('i686' 'x86_64')
license=('custom:BSD3')
url="http://code.google.com/p/google-glog/"
depends=('gcc-libs')
makedepends=('make' 'gcc')
options=('!libtool')
source=("http://google-glog.googlecode.com/files/glog-${pkgver}.tar.gz")
md5sums=('897fbff90d91ea2b6d6e78c8cea641cc')
build() {
cd "$srcdir/glog-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/glog-${pkgver}"
make DESTDIR="$pkgdir" install
# Lazy way of dealing with conflicting man and info pages...
rm -rf "${pkgdir}/usr/share"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
......@@ -8,16 +8,15 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kcm-fcitx
pkgver=0.4.1
pkgver=0.4.2
pkgrel=1
pkgdesc="KDE Config Module for Fcitx"
arch=('i686' 'x86_64')
url="https://github.com/fcitx/kcm-fcitx"
license=('GPL')
depends=('fcitx>=4.2.5' 'kdebase-runtime')
makedepends=('cmake' 'intltool' 'automoc4')
depends=('fcitx>=4.2.7' 'kdebase-runtime')
makedepends=('cmake' 'automoc4')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
md5sums=('1a2a9802edf6df79d3883c362ba487f0')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
......@@ -34,3 +33,4 @@ package ()
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
md5sums=('3c45e7109bec4b6fa984f952fb94002d')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=kyotocabinet
pkgver=1.2.76
pkgrel=1
pkgdesc="a modern implementation of DBM in C++"
arch=('i686' 'x86_64')
url="http://fallabs.com/kyotocabinet"
license=('LGPL3')
makedepends=('gcc>=3.1' 'make' 'pkgconfig' 'zlib')
depends=('zlib' 'gcc-libs')
source=("http://fallabs.com/${pkgname}/pkg/${pkgname}-${pkgver}.tar.gz")
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir/"
}
sha512sums=('278db7b327eb4c21bf0137d9aa14fb67d74d5ce7ed1cb29fc9120d157a60de165ec0cf842903eb7952e8f998045ae585b958977fa973ba0e0773381de71d9f6a')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=librime
pkgver=0.9.7
pkgrel=1
pkgdesc="Rime input method engine"
arch=('i686' 'x86_64')
url="http://code.google.com/p/rimeime/"
license=('GPL3')
depends=('boost' 'google-glog' 'kyotocabinet' 'opencc' 'yaml-cpp0.3')
optdepends=('brise: Rime schema repository')
makedepends=('cmake')
source=("http://rimeime.googlecode.com/files/$pkgname-$pkgver.tar.gz")
build() {
cd "${srcdir}/$pkgname"
make
}
package() {
cd "${srcdir}/$pkgname"
make DESTDIR="$pkgdir" install
}
md5sums=('732fe5258ab4fced26e61475cdcffdb1')
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=yaml-cpp0.3
_pkgname=yaml-cpp
pkgver=0.3.0
pkgrel=2
pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
url="http://code.google.com/p/yaml-cpp/"
arch=('i686' 'x86_64')
license=('MIT')
conflicts=('yaml-cpp')
provides=('yaml-cpp=0.3')
makedepends=('cmake')
source=(http://yaml-cpp.googlecode.com/files/$_pkgname-$pkgver.tar.gz)
md5sums=('9aa519205a543f9372bf4179071c8ac6')
build() {
cd $srcdir/$_pkgname
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
make
}
package() {
cd $srcdir/$_pkgname
make DESTDIR=$pkgdir install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment