You are not logged in.
Pages: 1
Hello,
UPDATE:
use this if you like to install aarddict:
my MAKEPKG:
# Contributor: Jeffery MacEachern (edited by xaver)
# Instruction:
# 0. get python-pyicu installed (look at AUR, was not easy to install)
# 1. download Zip it from http://github.com/aarddict/desktop/zipball/0.9.3 and rename it to 0.9.3.zip
# 2. rename folder in 0.9.3.zip file to aarddict
# 3. get md5sum of 0.9.3.zip and change it in MAKEPKG
pkgname=aarddict
pkgver=0.9.3
pkgrel=1
pkgdesc="Aard Dictionary is a multiplatform dictionary and offline Wikipedia reader."
arch=(any)
url="http://aarddict.org/"
license=(GPL)
depends=('python2' 'python-pyicu' 'python-simplejson' 'hicolor-icon-theme' 'setuptools' 'python2-pyqt')
makedepends=('setuptools')
install=aarddict.install
source=(http://bitbucket.org/itkach/${pkgname}/get/${pkgver}.zip aarddict.install)
md5sums=('fa7bb94d6dabed8ee76f25600fdb7931'
'4d14628e16252af7ddf562ad19e3bcb4')
build() {
cd $srcdir/$pkgname
python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
}
my aarddict.install:
post_install() {
gtk-update-icon-cache
}
post_remove() {
gtk-update-icon-cache
}
SOLVED PROBLEM:
I installed aarddict with a MAKEPKG based on http://stillstup.blogspot.de/2010/11/ed … after.html.
But now I get an error, when I try to start it:
$ aarddict
Traceback (most recent call last):
File "/usr/bin/aarddict", line 9, in <module>
load_entry_point('aarddict==0.9.3', 'gui_scripts', 'aarddict')()
File "/usr/lib/python2.7/site-packages/aarddict/__init__.py", line 93, in main
import aarddict.qtui
File "/usr/lib/python2.7/site-packages/aarddict/qtui.py", line 28, in <module>
from PyQt4.QtCore import (QObject, Qt, QThread, QTranslator, QLocale,
ImportError: No module named PyQt4.QtCore
I don't know python at all... I never used it before... so please help me
Xaver
Last edited by xaverlalo (2012-07-29 21:18:46)
Offline
Have you tried the one from the AUR: https://aur.archlinux.org/packages.php?ID=29614 ?
Edit: The current version of aard dictionary is 0.9.3 so you might need to update the PKGBUILD.
Last edited by karol (2012-07-29 16:33:40)
Offline
Yes I treid the one from the AUR... didn't work... made a built of 0.9.3 with a MAKEPKG based on http://stillstup.blogspot.de/2010/11/ed … after.html
Offline
The PKGBUILD says 'pyqt' as dependency but you need python2-pyqt instead, because pyqt is for python 3.
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
thank you very much! now it works!
Offline
Pages: 1