You are not logged in.

#1 2008-09-12 06:15:00

lethaeus
Member
Registered: 2005-12-19
Posts: 6

Quodlibet 1.999

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

#2 2008-09-12 06:50:49

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Quodlibet 1.999

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

#3 2008-09-15 08:35:53

Grenshad
Member
Registered: 2007-02-19
Posts: 22

Re: Quodlibet 1.999

version 2.0 is out

Offline

Board footer

Powered by FluxBB