You are not logged in.
Pages: 1
Kanjipad recognizes kanji you draw with the mouse or whatever you use for drawing
It can be run as a stand alone, or integrated into gjiten
http://bbs.archlinux.org/viewtopic.php?t=10035
There is no configure script coming with kanjipad, a simple modification has to be done to the makefile.
By the way, can someone explain to me why
sed 's/usr/local/usr/g' Makefile > Makefile
produces an empty file ??
PKGBUILD
# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=kanjipad
pkgver=1.2.1
pkgrel=1
pkgdesc="A program for handwriting recognition"
depends=('gtk>=1.2.0')
install=
url="http://www.gtk.org/~otaylor/kanjipad/"
license=GPL
source=(ftp://ftp.gtk.org/pub/users/otaylor/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
cd $startdir/src/$pkgname-$pkgver
sed 's/usr/local/usr/g' Makefile > Makefile.temp
cp Makefile.temp Makefile
rm Makefile.temp
make || return 1
make DESTDIR=$startdir/pkg/ install
}
Offline
I cannot explain why because I don't have time to think, but I can tell you how to do this to avoid the empty file:
sed -i 's/usr/local/usr/g' Makefile
Offline
Thanks for the advice
I have modified the PKGBUILD accordingly
# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=kanjipad
pkgver=1.2.1
pkgrel=1
pkgdesc="A program for handwriting recognition"
depends=('gtk>=1.2.0')
install=
url="http://www.gtk.org/~otaylor/kanjipad/"
license=GPL
source=(ftp://ftp.gtk.org/pub/users/otaylor/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
cd $startdir/src/$pkgname-$pkgver
sed -i 's/usr/local/usr/g' Makefile
make || return 1
make DESTDIR=$startdir/pkg/ install
}
Offline
Pages: 1