You are not logged in.
hi i want to create a pkgbuild for the harpia program http://s2i.das.ufsc.br/harpia/en/home.html
searching in the aur and in the net i couldn't find something
harpia exist for ubuntu and the .deb file is hosted here http://packages.ubuntu.com/oneiric/all/harpia
can someone help me create a working pkgbuild for arch through the .deb file
i tried to create a first approach by creating the following PKGBUILD:
pkgname=harpia
pkgver=1.1
pkgrel=1
pkgdesc="Image Processing/Computer Vision Automatic Prgm. Tool"
arch=('any')
url="http://s2i.das.ufsc.br/harpia/en/home.html"
license=('GPL2')
depends=('')
source=("http://archive.ubuntu.com/ubuntu/pool/universe/h/harpia/${pkgname}_${pkgver}-0ubuntu1.1_all.deb")
md5sums=('56c6cb146ea5652e41b77506ad8ec263')
build() {
bsdtar -C "$pkgdir" -xvf data.tar.gz
}however when i am running the program i am taking the following error:
Traceback (most recent call last):
File "/usr/bin/harpia", line 32, in <module>
from harpia import harpiagcfrontend
ImportError: No module named harpiai guess that the problem might have to do with some dependencies or with the python library, can you provide me with some tips ![]()
thanks
Offline
The dependencies are listed in the deb; you need to look inside the deb, get the dependencies, find their analogues in Arch, and add these analogues to the list of dependencies in the PKGBUILD.
To get you started, this is how you might find the dependencies:
ar xv harpia_1.1-0ubuntu1.1_all.deb control.tar.gz && tar xf control.tar.bz2 './control' && cat control | grep -i "^depends"Offline
the dependencies according to http://packages.ubuntu.com/oneiric/all/harpia and from the control.tar.bz2 file are:
python (>= 2.5)
python-central (>= 0.6.11)
python-gobject
python-gnome2
python-glade2
python-4suite-xml
libcvaux-dev
libhighgui-dev
libcv-dev
libc6-dev
gccbut except gcc, python and python-gobject i cannot find the other ones
Offline
Well, I'm not going to tell you every little thing
.
I found a likely candidate for python-gnome2 in pacman using a judicious choice of search terms. As for the rest, I suggest you go to the Debian or Ubuntu package lists. The Debian ones are easy to find in Google. These lists contain lots of information about what packages contain and what they provide and where the source code is from.
Do some detective work, you will figure it out.
Offline
thanks @/dev/zero i will have a look and i will give feedback ![]()
Offline