You are not logged in.
Can someone please add this package: gjiten.
Gjiten is a Japanese dictionary program for GNOME.
Gjiten also has a kanji dictionary. Any combination of stroke count, radicals and search key can be used for kanji lookups.
The ultimate Archlinux release name: "I am your father"
Offline
tried out making a pkgbuild for the first time.. but cant figure out why compiling gjiten I get this error:
ead-2.0 -lglib-2.0
make[2]: Leaving directory `/root/gjiten/test/src/gjiten-2.6/src'
Making all in data
make[2]: Entering directory `/root/gjiten/test/src/gjiten-2.6/data'
LC_ALL=C ../intltool-merge -s -u -c ../po/.intltool-merge-cache ../po gjiten.schemas.in gjiten.schemas
LC_ALL=C ../intltool-merge -s -u -c ../po/.intltool-merge-cache ../po gjiten-dicfiles.schemas.in gjiten-dicfiles.schemas
Generating and caching the translation database
Generating and caching the translation database
Merging translations into gjiten-dicfiles.schemas.
Merging translations into gjiten.schemas.
make[2]: Leaving directory `/root/gjiten/test/src/gjiten-2.6/data'
Making all in help
make[2]: Entering directory `/root/gjiten/test/src/gjiten-2.6/help'
Making all in C
make[3]: Entering directory `/root/gjiten/test/src/gjiten-2.6/help/C'
for file in gjiten-C.omf; do
scrollkeeper-preinstall /usr/share/gnome/help/gjiten/C/gjiten.xml ./$file $file.out;
done
xmlto txt gjiten.xml
touch omf_timestamp
No way to convert HTML to text found.
make[3]: *** [../../README] Error 1
make[3]: Leaving directory `/root/gjiten/test/src/gjiten-2.6/help/C'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/gjiten/test/src/gjiten-2.6/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gjiten/test/src/gjiten-2.6'
make: *** [all] Error 2
The ultimate Archlinux release name: "I am your father"
Offline
post your PKGBUILD
Offline
its not the pkgbuild.. i downloaded the source, ran .configure, then make.
If i cant compile it through manual way, it wouldnt compile with the pkgbuild anyway. When it compiles without error, i will finish the pkgbuild for it.
The ultimate Archlinux release name: "I am your father"
Offline
made a pkgbuild for kanjipad, which is used with gjiten.
http://aur.archlinux.org/packages.php?d … hans=&SeB=
The ultimate Archlinux release name: "I am your father"
Offline
well, gimme a few hours to get back home and i'll try installing it myself.
Offline
# Contributor: tardo <tardo>
pkgname=gjiten
pkgver=2.6
pkgrel=1
pkgdesc="Gjiten is a Japanese dictionary program for GNOME"
url="http://gjiten.sourceforge.net/"
license="GPL"
depends=('gtk2')
makedepends=('lynx' 'xmlto' 'perlxml')
source=(http://gjiten.sourceforge.net/$pkgname-$pkgver.tar.gz
'http://ftp.cc.monash.edu.au/pub/nihongo/edict.gz'
'http://ftp.cc.monash.edu.au/pub/nihongo/kanjidic.gz')
md5sums=('44a5d9640e37d8b0547f9c7e3d7ac67a'
'fbbba3225ce5dcd7cf694613168185ef'
'b0cc30caa6d8c61b20990222074bd974')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
cd $startdir/src
iconv -f EUC-JP -t UTF-8 edict -o edict.utf8
iconv -f EUC-JP -t UTF-8 kanjidic -o kanjidic.utf8
mkdir -p $startdir/pkg/usr/share/gjiten/dics
mv edict.utf8 $startdir/pkg/usr/share/gjiten/dics/
mv kanjidic.utf8 $startdir/pkg/usr/share/gjiten/dics/
}
Adds two basic dictionaries to /usr/share/gjiten/dics : edict and kanjidic. You still have to manually set the dictionaries in preferences. If it works for you, add it to the AUR (and vote for it)!
Offline
Thx.. it works just fine.. Just one thing I dont understand about making pkgbuilds. How do I know which makedependancies it requires? I did not have lynx and therefor it didnt compile for me..
Will definitively vote for it.
The ultimate Archlinux release name: "I am your father"
Offline
It think for it to work fully you need to make the perlscript run also, which sets alot of gconf settings besides downloading the dictionary files.
The ultimate Archlinux release name: "I am your father"
Offline
Thx.. it works just fine.. Just one thing I dont understand about making pkgbuilds. How do I know which makedependancies it requires? I did not have lynx and therefor it didnt compile for me..
There are two ways-
1) Check the program's website or README files to see which programs are required.
2) Use the "namcap" program in the extra repository. Simply run "namcap <built_package>" and it will analyze it for problems. For just depends, run "namcap -r depends <built_package>". Note that namcap is extremely useful, but doesn't always know all the required programs.
I would recommend doing both when making a PKGBUILD to cover all your bases.
EDIT: Er, wait. You said makedepends. Doh. Well, in that case, you only have option #1 available to you
Offline
namcap wasn't really helpful so I had to google the error make was giving
and i didn't include perlscript because I'm not running the perl script neither am I changing any gconf settings. once u start the program, go to prefs and select the dictionary and it'll automagically update ur gconf settings.
I WAS going to make a patch that'll do it automatically, but I ran out of time (and now my homework has crossed the deadlne) but I'll look into that sometime.
Offline
Hi,
Wow I wanna try gjiten & kanjipad. But trying to makepkg gjiten, I got errors saying the md5sums checks failed for edict.gz & kanjidic.gz.... Can anyone set me straight how to do this? Thanks!
VincentV
Somewhere in J-Pop Heaven...
Offline
That's normal since these files are updated quite often. Just update the md5sums in the PKGBUILD accordingly or even delete them (this will issue a warning but the build process will continue).
Offline