You are not logged in.
Pages: 1
Hi all
I created a PKGBUILD to get the latest version of Scribes and when I lunch the program, it fail.
PKGBUILD:
# Contributor: neodreams <yanbrodeur>
pkgname=scribes
pkgver=0.3
pkgrel=1
pkgdesc="A simple PyGTK+ text editor"
arch=(i686 x86_64)
url="http://scribes.sourceforge.net"
license="GPL"
groups=
provides=
depends=('dbus-python' 'gnome-python-desktop' 'gnome-python-extras' 'gtksourceview' 'yelp')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://neodreams.universfantastiques.org/src/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2abe30a606fcb6aa310c7322df8e5ab7')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/opt/gnome --disable-scrollkeeper
make || return 1
make prefix=${startdir}/pkg install
}
error:
[neodreams@arch ~]$ scribes
Traceback (most recent call last):
File "/bin/scribes", line 36, in ?
from SCRIBES.dbusmain import main
ImportError: No module named SCRIBES.dbusmain
A bug? Something missing in my PKGBUILD ? or what, I don't know.
Offline
this is what I used
# Contributor: neodreams <yanbrodeur>
pkgname=scribes
pkgver=0.3
pkgrel=1
pkgdesc="A simple PyGTK+ text editor"
url="http://scribes.sourceforge.net"
license="GPL"
depends=('dbus-python' 'gnome-python-desktop' 'gnome-python-extras' 'gtksourceview' 'yelp')
makedepends=()
source=(http://neodreams.universfantastiques.org/src/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2abe30a606fcb6aa310c7322df8e5ab7')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/opt/gnome --disable-scrollkeeper
make || return 1
make DESTDIR=${startdir}/pkg install
}
I can start it up from the gnome menu, otherwise i HAVE to use the full /opt/gnome/bin/scribes path and not just scribes in shell. I think this might be a bug in the way the python script starts it up.
Offline
Pages: 1