You are not logged in.
Hi,
GNOME Translate is a GNOME interface to libtranslate. It can translate a text or web page between several natural languages, and it can automatically detect the source language as you type.
libtranslate is a library for translating text and web pages between natural languages. Its modular infrastructure allows to implement new translation services separately from the core library.
libtranslate:
pkgname=libtranslate
pkgver=0.99
pkgrel=1
pkgdesc="library for translating text and web pages between natural languages"
depends=('glib' 'libsoup' 'libxml2' )
source=(http://savannah.nongnu.org/download/libtranslate/$pkgname-$pkgver.tar.gz)
md5sums=()
build() {
[ -f /etc/profile.d/gnome.sh ] && . /etc/profile.d/gnome.sh
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome
# build & compile
make || return 1
# tweak: disable stupid schemas install procedure in build
sed -i 's|t(-GCONF_CONFIG_SOURCE)|t # 1|' data/Makefile
make DESTDIR=$startdir/pkg install
}
gnome-translate:
pkgname=gnome-translate
pkgver=0.99
pkgrel=1
pkgdesc="library for translating text and web pages between natural languages"
depends=('gtk2' 'libgnome' 'libtranslate' 'aspell')
source=(http://savannah.nongnu.org/download/libtranslate/$pkgname-$pkgver.tar.gz)
md5sums=()
build() {
[ -f /etc/profile.d/gnome.sh ] && . /etc/profile.d/gnome.sh
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome
# build & compile
make || return 1
# tweak: disable stupid schemas install procedure in build
sed -i 's|t(-GCONF_CONFIG_SOURCE)|t # 1|' data/Makefile
make DESTDIR=$startdir/pkg install
}
Greetings
Krzysiek Wojszko
Offline