You are not logged in.

#1 2008-07-18 23:28:44

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

[request] thelastripper 1.1.1

Hello,
I've tried building thelastripper 1.0.2 from AUR but it complains about rsvg-sharp package. Then i've decided to build 1.1.1 (the latest version), but i got this:

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin//pkg-config
checking for a BSD-compatible install... /bin/install -c
checking for gmcs... /usr/bin//gmcs
checking pkg-config is at least version 0.9.0... yes
checking for GTK_SHARP_20... yes
checking for GLIB_SHARP_20... yes
checking for RSVG_SHARP_20... configure: error: Package requirements (rsvg-sharp-2.0) were not met:

No package 'rsvg-sharp-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables RSVG_SHARP_20_CFLAGS
and RSVG_SHARP_20_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Can someone share a working PKGBUILD that solves this problem?

Offline

#2 2008-07-19 00:41:32

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [request] thelastripper 1.1.1

Do you have rsvg-sharp installed? If so what version?


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2008-07-19 18:01:29

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [request] thelastripper 1.1.1

the rsvg-sharp-2.0 files are in the package gnome-desktop-sharp and not in gnome-sharp.

pkg-config is looking for /usr/lib/pkgconfig/rsvg-sharp-2.0.pc but in the arch gnome-desktop-sharp package the filename is /usr/lib/pkgconfig/rsvg2-sharp-2.0.pc

so, you have to change the dependency from gnome-sharp to gnome-desktop-sharp and set the environment variables RSVG_SHARP_20_CFLAGS and RSVG_SHARP_20_LIBS manually.

I was able to build version 1.1.1 with this PKGBUILD

pkgname=thelastripper
pkgver=1.1.1
pkgrel=1
pkgdesc="A Last.FM Ripper"
arch=('i686')
url="http://thelastripper.com/"
license=('GPL')
depends=('gnome-desktop-sharp' 'gnome-icon-theme')
makedepends=('pkgconfig')
source=("http://thelastripper.googlecode.com/files/$pkgname-$pkgver.tar.gz")
md5sums=('9a8653cc0cf450077b599cb8988ba8a3')

build() {
   export RSVG_SHARP_20_CFLAGS="/usr/share/rsvg2-sharp/2.0/rsvg2-api.xml"
   export RSVG_SHARP_20_LIBS="/usr/lib/mono/rsvg2-sharp-2.0/rsvg2-sharp.dll"
   cd $startdir/src/$pkgname-$pkgver
#  Bypass GMCS and fakeroot bug
   mkdir -p $startdir/src/$pkgname/.wabi
   export MONO_SHARED_DIR="$startdir/src/$pkgname/"
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg install
}

Offline

#4 2008-07-28 12:10:12

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 955

Re: [request] thelastripper 1.1.1

Till I saw the PKGDESC I wanted to ask: what are thelas, and from what are they stripped?

Offline

Board footer

Powered by FluxBB