You are not logged in.

#1 2005-05-22 13:34:36

josephmc
Member
From: Texas,USA
Registered: 2005-03-16
Posts: 51
Website

amarok-devel for SVN

All kde development was switched to SVN so the amarok-devel PKGBUILD that i learned to love doesn't work anymore. With 1.3 coming up there is alot of cool new features there. I know not many people are familiar with SVN but if somebody is and could write a pkgbuild real quick that would be so awesome.

btw-i tried and failed

Offline

#2 2005-05-22 19:54:11

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: amarok-devel for SVN

only replace the lines from build() section of old pkgbuild:

build() {
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia
cd multimedia
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kde-common/admin
svn up amarok
make -f Makefile.cvs
  ./configure --prefix=/opt/kde 
                --enable-mysql   
  make || return 1               
  make prefix=$startdir/pkg/usr install
}

irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#3 2005-05-23 18:23:52

allanon
Member
From: Enschede, The Netherlands
Registered: 2004-02-10
Posts: 52

Re: amarok-devel for SVN

svn: Can't check path '/root/.subversion': Permission denied

Would you mind posting the whole PKGBUILD? I seem to be having some problems.

Offline

#4 2005-05-24 01:17:43

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: amarok-devel for SVN

pkgname=amarok-devel
pkgver=svn
pkgrel=1
url="http://amarok.sf.net"
license="GPL"
depends=('gstreamer' 'tunepimp' 'taglib' 'kdebase>=3.4.0''libvisual-plugins' 'gtk' 'libvisual>=0.2.0' 'python' 'ruby' 'kdemultimedia' 'mysql')
makedepends=('gst-plugins' 'xine-lib')
replaces=('amarok')
build() {
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia
cd multimedia
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kde-common/admin
svn up amarok
make -f Makefile.cvs
  ./configure --prefix=/opt/kde 
                --enable-mysql   
  make || return 1
  make prefix=$startdir/pkg/usr install
}

this is a fast pkgbuild, maybe it has some details but it works wink


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#5 2005-05-24 16:24:01

allanon
Member
From: Enschede, The Netherlands
Registered: 2004-02-10
Posts: 52

Re: amarok-devel for SVN

Thank you smile  Still got the same problem, but found solution in another thread: chmod a+x /root :]

Offline

#6 2005-08-07 09:17:37

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: amarok-devel for SVN

Although it used to work, this PKGBUILD currently gives:

*** YOU'RE USING automake (GNU automake) 1.9.5.
*** KDE requires unsermake 0.4 for the moment
make[1]: *** [cvs] Error 1
make: *** [all] Error 2

I'm uncertain as to whether installing unsermake will break automake.

Anyone have relevant experience?

Offline

#7 2005-08-07 10:50:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: amarok-devel for SVN

Before you start playing with unsermake, let me warn you: amarok-svn needs qt4 (it is in the AUR and it seems that qt3 and qt4 can coexist, but haven't tried it yet). As for unsermake, I just svn it to the package source dir, export it to the PATH and use it from there.

Offline

#8 2005-08-07 18:40:00

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: amarok-devel for SVN

Thanks for that warning lucke.  I'll give it a miss for now and wait for qt4 to go through Testing - don't want to break my main box at the moment.

Offline

#9 2005-08-08 09:54:00

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: amarok-devel for SVN

Actually, I've worked out this PKGBUILD, which builds properly (with qt3).

pkgname=amarok-devel
pkgver=1.3.svn.`date +%Y%m%d`
pkgrel=1
url="http://amarok.sf.net"
license="GPL"
depends=('gstreamer' 'tunepimp' 'taglib>=1.4' 'kdebase>=3.4.0' 'libvisual-plugins' 'gtk' 'libvisual>=0.2.0' 'python' 'ruby' 'kdemultimedia')
makedepends=('gst-plugins' 'xine-lib')
replaces=('amarok-base-mysqlfree' 'amarok-base')
build() {
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia
cd multimedia
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
svn up amarok
svn co -N svn://anonsvn.kde.org/home/kde/trunk/kdenonbeta/unsermake
export PATH=`pwd`/unsermake:$PATH
unsermake -f Makefile.cvs || return 1
./configure --prefix=/opt/kde --enable-new_ldflags
unsermake || return 1
unsermake prefix=$startdir/pkg/opt/kde install
}

Check it out and let me know about any possible pitfalls.

Offline

#10 2005-08-08 22:15:04

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: amarok-devel for SVN

That works fine.  Many thanks.  The only issue with the PKGBUILD is that taglib > 1.4 should be added as a dependency (straightforward to upgrade using ABS).

Regarding the app itself, people should be aware that amarok now takes it upon itself to delete cover art downloaded from Amazon that is over 90 days old, due to licence restrictions.  Apparently, it doesn't delete manually downloaded covers.

Don't you just love it when an app deletes stuff off your machine without even asking.  And thats only what they have told you is happening - what about the stuff they haven't mentioned....

Offline

#11 2005-08-09 09:37:51

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: amarok-devel for SVN

Working fine here as well. taglib 1.4 was directly installed from /testing


Microshaft delenda est

Offline

#12 2005-08-09 10:09:39

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: amarok-devel for SVN

Blaah, restrictions. Fortunately there are amarok scripts and copycover amongst them ;-)

Offline

#13 2005-08-12 18:09:46

oggb4mp3
Member
Registered: 2005-06-17
Posts: 77

Re: amarok-devel for SVN

lucke wrote:

Before you start playing with unsermake, let me warn you: amarok-svn needs qt4 (it is in the AUR and it seems that qt3 and qt4 can coexist, but haven't tried it yet). As for unsermake, I just svn it to the package source dir, export it to the PATH and use it from there.

amaroK svn does not require qt4, it just needs the admin directory from the 3.5 branch.  amaroK was left in trunk when kde 3.5 branched, but development to port it to kde4/qt4 has not begun yet.

Offline

#14 2005-08-12 18:16:00

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: amarok-devel for SVN

oggb4mp3 wrote:

amaroK svn does not require qt4, it just need the admin directory from the 3.5 branch.  amaroK was left in trunk when kde 3.5 branched, but development to port it to kde4/qt4 has not begun yet.

That's what I have come to ;-)

Offline

Board footer

Powered by FluxBB