Crash-m / thelastripper

Automatically exported from code.google.com/p/thelastripper
0 stars 0 forks source link

Can't Compile - No package 'rsvg-sharp-2.0' found #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description of the issue:

I am trying to install thelastripper from source on Fedora10

When I ./configure the package rsvg-sharp-2.0 is not found

I have yum installed gtk-sharp, rsvg*, gnome-sharp

I have found a discussion on this issue (below) elsewhere but don't
understand the advice:

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
Code:

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
}

What steps will reproduce the problem?
1.
2.
3.

What is the expected output?

GENERAL INFORMATION ABOUT YOUR SYSTEM:

TheLastRipper version?
Mono/.Net runtime version?
Operating system and version?

Original issue reported on code.google.com by mtom1...@gmail.com on 5 Feb 2009 at 7:59

GoogleCodeExporter commented 8 years ago
I'm working on a new release for Linux... I've attached a beta tarball that the
current beta release found in issue 144 is build from...

I'm aware that rsvg-sharp package is history, it should not be a dependency for 
the
new version... please try it... And let me know if it works... I'm just about to
release it as stable... :)

Original comment by jopsen@gmail.com on 5 Feb 2009 at 8:11

Attachments:

GoogleCodeExporter commented 8 years ago
This version compiles and runs.  It looks like I'm limited to just the channels
listed in the combobox.  Is this correct?  or is there some way I can add a 
station
to the list like for instance
http://www.last.fm/listen/artist/Gillian%2BWelch/similarartists

thanks

Original comment by mtom1...@gmail.com on 6 Feb 2009 at 12:08

GoogleCodeExporter commented 8 years ago
Nope, you're not limited to those channels... Take a look at the appendix here:
http://code.google.com/p/thelastripper/wiki/LastFM12UnofficialDocumentation

Original comment by jopsen@gmail.com on 6 Feb 2009 at 7:41

GoogleCodeExporter commented 8 years ago

Original comment by andreas....@gmail.com on 18 Feb 2009 at 5:54