You are not logged in.
Pages: 1
Topic closed
pkgname=mumbles
pkgver=0.4_1
pkgrel=1
pkgdesc="A plugin driven, modern notification system for Gnome"
url="http://www.mumbles-project.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('python>=2.4' 'pygtk' 'pycairo' 'dbus-python' 'setuptools')
makedepends=('')
source=(http://downloads.sourceforge.net/mumbles/$pkgname_0.4-1.tar.gz)
md5sums=('a6b24223dc23e5022332586ffc454e84')
build() {
}
It's my first PKGBUILD but I'm not able to understand what I must do to put the files in the right place.
And I'm no sure about the " - " > " _ " conversion. Is there a possibility to use $pkgver in the download location for exemple ?
Thank you for the help
Offline
Yes. Might need to wrap it in curly brackets, i.e.: ${pkgver}
Offline
No, the version number originally is 0.4-1, contains a hyphen and so cannot be used in $pkgver. You can define another variable _pkgver=0.4-1 (with an underscore) and use that in the source array. This is not exactly allowed by the packaging standards, but a widespread compromise.
Curly braces may be needed sometimes when the variable's name starts with an underscore.
Offline
Ah, didn't notice the _ vs -
Defining and using $_pkgver is not recommended for packages in the AUR, because the AUR file list cannot replace it with its value.
Offline
Well, I wanted to suggest to define
pkgver=0.4_1
_pkgver=0.4-1
and to use pkgver for AUR and _pkgver for other issues within the PKGBUILD. This should work, but strongly spoken no user-defined variables are allowed at all.
Offline
Re putting files in the right places - man PKGBUILD and various wiki pages have the details. Generally best to read them before you start.
Offline
In fact you don't need to compile anything because it's a python script. I can launch it directly after extracting the tar.gz
You have differents plugins (pidgin, firefox etc...) you must copy in ~/.mumbles/plugins
I forgot to tell that I'm not familiar enought with linux folders :s
So my question is "where python scripts are supposed to be put ?"
Re putting files in the right places - man PKGBUILD and various wiki pages have the details. Generally best to read them before you start.
That's what I did, but I don't fully understand the PKGBUILD writing process. I'm sorry if my questions are trivials,
Else barkets work well thank you for the suggestion
Offline
Have a look at some python PKGBUILDS in our CVS and/or the AUR for some examples of how it's done.
Offline
pkgname=mumbles
pkgver=0.4_1
pkgrel=1
pkgdesc="A plugin driven, modern notification system for Gnome"
url="http://www.mumbles-project.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('python>=2.4' 'pygtk' 'pycairo' 'dbus-python' 'setuptools')
makedepends=('')
source=(http://downloads.sourceforge.net/mumbles/${pkgname}_0.4-1.tar.gz)
md5sums=('a6b24223dc23e5022332586ffc454e84')
build() {
cd $startdir/src/$pkgname-0.4
python setup.py install --root=$startdir/pkg/
}
Installation was fine, but after that, trying to launch mumbles returns me an error about MumblesGlobals which can't be imported. The file is located in /usr/lib/python2.5/site-packages/src/
I opened the mumble file in /usr/bin/ :
#!/usr/bin/python
#
# THIS FILE IS PART OF THE MUMBLES PROJECT AND IS LICENSED UNDER THE GPL.
# SEE THE 'COPYING' FILE FOR DETAILS
#
# Mumbles Launcher Script
#
#------------------------------------------------------------------------
import os, sys
sys.path.append("/usr/share/python-support/mumbles/src/")
os.environ.setdefault("MUMBLES_PATH", "/usr/share/mumbles/")
from MumblesGlobals import *
from Mumbles import *
mumbles = Mumbles()
sys.exit(mumbles.main())
How can I fix this issue ?
Offline
Did you ever get mumbles working? using pkgbuild in AUR have to tweak it to build, but getting errors when running it
Mr Green
Offline
mumbles PKGBUILD in AUR is troublesome...can't build it..can someone handle it?
Offline
Closing this thread, as it dates back to last April 2008.
merdenoms - I would suggest you start a new thread about your build issue, with details of the actual problem. Posting "can't build it" is pointless.
Also worth noting - there hasn't been a mumbles release since August 2007, and the mumbles package in the AUR is currently orphaned.
Offline
Pages: 1
Topic closed