mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
update fcitx and add goldendict
This commit is contained in:
parent
d87cd13cb6
commit
faaf10cea4
35
fcitx-anthy/PKGBUILD
Normal file
35
fcitx-anthy/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
#
|
||||||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# Maintainer: Weng Xuetian <wengxt@gmail.com>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
|
pkgname=fcitx-anthy
|
||||||
|
pkgver=0.1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Japanese Input support (Anthy) for fcitx."
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://code.google.com/p/fcitx"
|
||||||
|
license=('GPL')
|
||||||
|
depends=('fcitx>=4.2.5' 'anthy')
|
||||||
|
makedepends=('cmake' 'intltool')
|
||||||
|
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
||||||
|
md5sums=('794b9a3e9d9de214fafa6d55c3cdb09d')
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cd "$srcdir/${pkgname}-${pkgver}"
|
||||||
|
rm -rf build
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package ()
|
||||||
|
{
|
||||||
|
cd "$srcdir/${pkgname}-${pkgver}/build"
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
|
}
|
@ -8,16 +8,16 @@
|
|||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=fcitx-cloudpinyin
|
pkgname=fcitx-cloudpinyin
|
||||||
pkgver=0.2.2
|
pkgver=0.2.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="This is a standalone module for fcitx, it can use pinyin API on the internet to input."
|
pkgdesc="This is a standalone module for fcitx, it can use pinyin API on the internet to input."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://github.com/csslayer/fcitx-cloudpinyin"
|
url="https://github.com/csslayer/fcitx-cloudpinyin"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('fcitx>=4.2.4')
|
depends=('fcitx>=4.2.5')
|
||||||
makedepends=('cmake' 'intltool')
|
makedepends=('cmake' 'intltool')
|
||||||
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
||||||
md5sums=('f3fd994e924174f6be98cafe619b2eda')
|
md5sums=('6d9028d3fabf68c5cd2671d0ba2b7247')
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
cd "$srcdir/${pkgname}-${pkgver}"
|
cd "$srcdir/${pkgname}-${pkgver}"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=fcitx-sunpinyin
|
pkgname=fcitx-sunpinyin
|
||||||
pkgver=0.3.7
|
pkgver=0.3.8
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Fcitx Wrapper for sunpinyin."
|
pkgdesc="Fcitx Wrapper for sunpinyin."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -17,7 +17,7 @@ license=('GPL')
|
|||||||
depends=('fcitx>=4.2.1' 'sunpinyin-git>=20120603')
|
depends=('fcitx>=4.2.1' 'sunpinyin-git>=20120603')
|
||||||
makedepends=('cmake' 'intltool')
|
makedepends=('cmake' 'intltool')
|
||||||
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
||||||
md5sums=('bc41d72941370a2b66fc6081dc2ea54b')
|
md5sums=('aefb43370520d00e1c6cf331c2d1a251')
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
cd "$srcdir/${pkgname}-${pkgver}"
|
cd "$srcdir/${pkgname}-${pkgver}"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=fcitx-table-extra
|
pkgname=fcitx-table-extra
|
||||||
pkgver=0.3.1
|
pkgver=0.3.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Extra table data for fcitx, including Zhengma, Cangjie, Boshiamy"
|
pkgdesc="Extra table data for fcitx, including Zhengma, Cangjie, Boshiamy"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -16,7 +16,7 @@ license=('GPL')
|
|||||||
depends=('fcitx>=4.2.4')
|
depends=('fcitx>=4.2.4')
|
||||||
makedepends=('cmake' 'intltool')
|
makedepends=('cmake' 'intltool')
|
||||||
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
||||||
md5sums=('651f2d14b3a6eefbfed057f575ef0aa6')
|
md5sums=('8bddeade93365f3497dbd3e8e3073e38')
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
cd "$srcdir/${pkgname}-${pkgver}"
|
cd "$srcdir/${pkgname}-${pkgver}"
|
||||||
|
@ -9,15 +9,15 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|||||||
|
|
||||||
pkgbase=fcitx
|
pkgbase=fcitx
|
||||||
pkgname=('fcitx' 'fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3')
|
pkgname=('fcitx' 'fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3')
|
||||||
pkgver=4.2.4.1
|
pkgver=4.2.5
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A Flexible Input Method Framework"
|
pkgdesc="A Flexible Input Method Framework"
|
||||||
arch=("i686" "x86_64")
|
arch=("i686" "x86_64")
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
url="http://code.google.com/p/fcitx"
|
url="http://code.google.com/p/fcitx"
|
||||||
makedepends=('intltool' 'cmake' 'pango' 'qt' 'icu' 'dbus-core' 'wget' 'gtk2' 'gtk3' 'opencc' 'lua' 'iso-codes')
|
makedepends=('intltool' 'cmake' 'pango' 'qt' 'icu' 'dbus-core' 'wget' 'gtk2' 'gtk3' 'opencc' 'lua' 'iso-codes' 'enchant')
|
||||||
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
|
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
|
||||||
md5sums=('554b9498e56556cac3d0b1869e909a71')
|
md5sums=('4301375f3abfec374d3899ffdc9c7e28')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/
|
cd $srcdir/
|
||||||
@ -39,7 +39,7 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package_fcitx(){
|
package_fcitx(){
|
||||||
depends=('pango' 'dbus-core' 'opencc' 'lua')
|
depends=('pango' 'dbus-core' 'opencc' 'lua' 'iso-codes' 'enchant' 'icu')
|
||||||
conflicts=('fcitx-utf8-svn' 'fcitx-svn' 'fcitx-hg' 'fcitx-keyboard')
|
conflicts=('fcitx-utf8-svn' 'fcitx-svn' 'fcitx-hg' 'fcitx-keyboard')
|
||||||
replaces=('fcitx-keyboard')
|
replaces=('fcitx-keyboard')
|
||||||
cd $srcdir/build
|
cd $srcdir/build
|
||||||
@ -60,7 +60,7 @@ package_fcitx-qt()
|
|||||||
package_fcitx-gtk2()
|
package_fcitx-gtk2()
|
||||||
{
|
{
|
||||||
pkgdesc='GTK2 IM Module for fcitx'
|
pkgdesc='GTK2 IM Module for fcitx'
|
||||||
depends=('gtk2' 'icu' 'fcitx')
|
depends=('gtk2' 'fcitx')
|
||||||
install=fcitx-gtk2.install
|
install=fcitx-gtk2.install
|
||||||
cd $srcdir/build/src/frontend/gtk2
|
cd $srcdir/build/src/frontend/gtk2
|
||||||
make DESTDIR=$pkgdir install
|
make DESTDIR=$pkgdir install
|
||||||
|
46
goldendict/PKGBUILD
Normal file
46
goldendict/PKGBUILD
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
#
|
||||||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
|
||||||
|
# Contributor: csslayer <wengxt AT gmail com>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
|
pkgname=goldendict
|
||||||
|
pkgver=1.0.1
|
||||||
|
pkgrel=5
|
||||||
|
pkgdesc="Feature-rich dictionary lookup program"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://goldendict.berlios.de/"
|
||||||
|
license=('GPL3')
|
||||||
|
depends=('hunspell' 'libvorbis' 'libxtst' 'libzip' 'qt' 'phonon')
|
||||||
|
provides=('stardict')
|
||||||
|
changelog=$pkgname.changelog
|
||||||
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2
|
||||||
|
$pkgname-paths.diff
|
||||||
|
fix-compile.patch)
|
||||||
|
sha256sums=('b3fb0405a5edb38f02ef881b48c36e46e2eacf641b0caf8d99403f595a4be9a6'
|
||||||
|
'1dacae7b7a7d7c20a22b4595c07dbd65fdad134a0d4cf283312ea3bdb5f42589'
|
||||||
|
'6d695b870fdd2411c72cf3202375c3aad68224e8b62163e72943c39275a18590')
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cd ${srcdir}
|
||||||
|
|
||||||
|
patch -Np0 -i ${srcdir}/$pkgname-paths.diff
|
||||||
|
patch -Np0 -i ${srcdir}/fix-compile.patch
|
||||||
|
|
||||||
|
qmake
|
||||||
|
make
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${srcdir}
|
||||||
|
|
||||||
|
make INSTALL_ROOT=${pkgdir} install
|
||||||
|
|
||||||
|
#removing unneeded
|
||||||
|
rm -rf ${pkgdir}/usr/share/app-install
|
||||||
|
}
|
||||||
|
|
21
goldendict/fix-compile.patch
Normal file
21
goldendict/fix-compile.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- qtsingleapplication/src/qtlocalpeer.cpp.orig 2012-07-19 15:01:51.610446745 +0000
|
||||||
|
+++ qtsingleapplication/src/qtlocalpeer.cpp 2012-07-19 15:01:10.499880379 +0000
|
||||||
|
@@ -49,6 +49,7 @@
|
||||||
|
static PProcessIdToSessionId pProcessIdToSessionId = 0;
|
||||||
|
#endif
|
||||||
|
#if defined(Q_OS_UNIX)
|
||||||
|
+#include <unistd.h>
|
||||||
|
#include <time.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
--- processwrapper.cc.orig 2012-07-19 14:59:46.495424725 +0000
|
||||||
|
+++ processwrapper.cc 2012-07-19 15:00:07.155695828 +0000
|
||||||
|
@@ -94,6 +94,8 @@
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
+#include <unistd.h>
|
||||||
|
+
|
||||||
|
unsigned int ProcessWrapper::currentProcessId()
|
||||||
|
{
|
||||||
|
return getpid();
|
10
goldendict/goldendict-paths.diff
Normal file
10
goldendict/goldendict-paths.diff
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- goldendict.pro~ 2010-12-27 22:52:21.000000000 +0100
|
||||||
|
+++ goldendict.pro 2010-12-27 22:52:21.000000000 +0100
|
||||||
|
@@ -63,2 +63,2 @@
|
||||||
|
- isEmpty( PREFIX ):PREFIX = /usr/local
|
||||||
|
- DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
|
||||||
|
+ isEmpty( PREFIX ):PREFIX = /usr
|
||||||
|
+ DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\"
|
||||||
|
@@ -66 +66 @@
|
||||||
|
- locale.path = $$PREFIX/share/apps/goldendict/locale/
|
||||||
|
+ locale.path = $$PREFIX/share/goldendict/locale/
|
8
goldendict/goldendict.changelog
Normal file
8
goldendict/goldendict.changelog
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
2010-12-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||||
|
* Update to major release 1.0.1
|
||||||
|
|
||||||
|
2010-02-16 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||||
|
* FS#18350 fixed in 0.9.0-5
|
||||||
|
|
||||||
|
2009-06-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||||
|
* Package moved to [community] in v0.9.0
|
@ -8,16 +8,16 @@
|
|||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=kcm-fcitx
|
pkgname=kcm-fcitx
|
||||||
pkgver=0.3.4
|
pkgver=0.4.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="KDE Config Module for Fcitx"
|
pkgdesc="KDE Config Module for Fcitx"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://github.com/fcitx/kcm-fcitx"
|
url="https://github.com/fcitx/kcm-fcitx"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('fcitx>=4.2.4' 'kdebase-runtime')
|
depends=('fcitx>=4.2.5' 'kdebase-runtime')
|
||||||
makedepends=('cmake' 'intltool' 'automoc4')
|
makedepends=('cmake' 'intltool' 'automoc4')
|
||||||
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
|
||||||
md5sums=('7af49109937f11c21b208ac2bf6c562d')
|
md5sums=('c54eb7ed04ecaf64e06b55acee3f30f6')
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
cd "$srcdir/${pkgname}-${pkgver}"
|
cd "$srcdir/${pkgname}-${pkgver}"
|
||||||
|
Loading…
Reference in New Issue
Block a user