You are not logged in.
Pages: 1
Hiya.
So, I'm trying to build Quodlibet 1.999, and it all goes well until this install_shortcuts routine from setup.py demands write access to /usr.
[...]
creating /var/abs/local/quodlibet-beta/pkg/usr/bin
copying build/scripts-2.5/quodlibet -> /var/abs/local/quodlibet-beta/pkg/usr/bin
copying build/scripts-2.5/exfalso -> /var/abs/local/quodlibet-beta/pkg/usr/bin
changing mode of /var/abs/local/quodlibet-beta/pkg/usr/bin/quodlibet to 755
changing mode of /var/abs/local/quodlibet-beta/pkg/usr/bin/exfalso to 755
running install_egg_info
Writing /var/abs/local/quodlibet-beta/pkg/usr/lib/python2.5/site-packages/quodlibet-1.999-py2.5.egg-info
running install_shortcuts
copying build/share/applications/quodlibet.desktop -> /usr/share/applications
error: /usr/share/applications/quodlibet.desktop: Permission denied
==> ERROR: Build Failed.Any ideas what could be done to fix this?
Also, here's the PKGBUILD
# Contributor: Jorge Mokross <mokross@gmail.com>
pkgname=quodlibet
pkgver=1.999
pkgrel=1
pkgdesc="An audio player written in pygtk"
arch=('i686')
license=('GPL')
url="http://code.google.com/p/quodlibet/"
depends=('gstreamer0.10-python>=0.10.2'
'gstreamer0.10-base-plugins'
'gstreamer0.10-good-plugins'
'gstreamer0.10-ugly-plugins'
'mutagen>=1.10'
'pygtk>=2.10'
'python>=2.4')
makedepends=('intltool')
source=(http://quodlibet.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=(480a5ac1515e42d66825eb1b0e1b26cf )
build() {
cd $startdir/src/${pkgname}-${pkgver}
./setup.py build
./setup.py install --prefix=/usr --root=$startdir/pkg
}Thanks.
Offline
It tries to copy the quodlibet.desktop file to /usr/share/applications/quodlibet.desktop but fails due to the fact that the owner of that folder is root.
I guess it issues that command before the package have been built and installed.
Take a look at the file setup.py and se if you can remove that line, and then manually copy quodlibet.desktop
Offline
version 2.0 is out
Offline
Pages: 1