Registered Member
|
Logging in to server:anonymous@bluemchen.kde.org:2401/home/kde
cvs [login aborted]: connect to bluemchen.kde.org(199.232.41.13):2401 failed: Connection refused |
Registered Member
|
From what I undestand KDE has changed from cvs to svn. Instructions on how to get the dev version of amaroK is here
|
Registered Member
|
mortiferus wrote:
f*ck! never did an svn ebuild sofar, any help? |
Registered Member
|
hds wrote:
I was thinking about this myself, but I soon gave up. But I have never created any ebuild. From what I understand (from the wiki) if we give the gentoo developers some time they will implant the svn stuff in the kde eclass. But my idea was to create a ebuild in the meantime, cant stand living outside the edge for more than 1 week you know:P I get it to synch the actual amarok folder, but this is what I cant get it to do: svn co -N svn://anonsvn.kde.org/home/kde/trunk/ex ... multimedia cd multimedia svn co svn://anonsvn.kde.org/home/kde/trunk/KD ... mmon/admin Currently it just fetches the amarok svn folder, but not the admin or multimedia folder. Below is what I currently have. You see that it is mainly the cvs ebuild, with smal (and probarly faulty) changes. Would be wonderfull if you were able to fix up a svn ebuild, should be easy enough for those who know how to create ebuilds. [code:1] # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ #this has taken over for kde-base inherit kde need-kde 3.2 #The slot var is supposedly needed. SLOT="0" # The SVN adress. ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia/amarok" inherit kde-source inherit subversion IUSE="cjk gstreamer xmms arts opengl xine libvisual noamazon mysql pic" DESCRIPTION="amaroK is a music player for Linux and Unix with an intuitive interface. amaroK makes playing the music you love easier than ever before - and looks good doing it." HOMEPAGE="http://amarok.kde.org" LICENSE="GPL-2" KEYWORDS="x86 ~ppc ~amd64" DEPEND=">=kde-base/kdemultimedia-3.2 arts? ( >=kde-base/arts-1.2 ) gstreamer? ( >=media-libs/gst-plugins-0.8.1 ) opengl? ( virtual/opengl ) xmms? ( >=media-sound/xmms-1.2 ) xine? ( >=media-libs/xine-lib-1_rc4 ) libvisual? ( >=media-libs/libvisual-0.1.6 ) >=dev-util/pkgconfig-0.9.0 >=media-libs/taglib-1.3" src_compile() { if ! use arts && ! use gstreamer && ! use xine then die "You must enable either Arts, Gstreamer, or Xine" fi PREFIX="`kde-config --prefix`" myconf="$myconf `use_with arts` `use_with gstreamer` `use_with opengl` `use_with xine`" if use noamazon then myconf="$myconf --disable-amazon" fi if use mysql then myconf="$myconf --enable-mysql" fi if use pic then myconf="$myconf --with-pic" fi kde_src_compile myconf configure kde_src_compile make } src_install() { kde_src_install } [/code:1] |
Registered Member
|
well, for the time beeing i simply compiled it from source, works fine
|
|
|
|
|
|
|
|
Might be me, but the ebuild seem to update kplayer, kdetv, and k3b as well. Now I don\'t really mind, but it might be some unwanted side effect.
|
KDE Developer
|
Well, k3b makes sense since amaroK integrates support for k3b (I believe its a use flag.)
Those other packages don\'t make sense though.
Amarok Developer
|
|
I don\'t agree on your K3B argument.
K3B although used by Amarok, should not be checked out. Amarok should just use the version you already have. The ebuild doesn\'t have a USE flag either. Now I didn\'t check whether Amarok has one... I don\'t think it needs one, if K3B is found, Amarok only needs to send some files to K3B. It (K3B) will then burn the files. No Amarok involved anymore. So there actually is not a lot goin on between the programs. I had a longer look at the original SVN Ebuild. It seems to: [ul][*]correctly get the root of the multimedia directory [*]correctly get the admin part [*]not correctly get amarok[/ul] The checkout of amarok also checks out everything in multimedia since it uses an already modified ESVN_REPO_URI (have a look at the two subversion_src_unpack after eachother). A fixed src_unpack(), will look like this: [code:1]src_unpack() { # Get the root of the multimedia directory, since we seem to # need that one as well. ESVN_FETCH_CMD=\"svn co -N\" ESVN_REPO_URI=`dirname ${AMAROK_REPO_URI}` subversion_src_unpack # Get the admin directory as well ESVN_FETCH_CMD=\"svn co\" ESVN_REPO_URI=\"svn://anonsvn.kde.org/home/kde/trunk/KDE/kde-common/admin\" subversion_src_unpack # Get Amarok ESVN_FET_CMD=\"svn up\" ESVN_REPO_URI=$AMAROK_REPO_URI subversion_src_unpack cd ${S} make -f Makefile.cvs }[/code:1] If you want the whole file you can get it here. |
|
the only problem with the orignal ebuild posted before is, that it only works correctly (with not checking out k3b and the other stuff) when the initial import is done.
after the first checkout, the gentoo subversion.eclass recognizes that only an update is needed, but uses a default \"svn update\" statement and not the \"svn update -N\" to only get the root of the multimedia package. all that is needed is to modify the first line in the src_unpack function from [code:1]ESVN_FETCH_CMD=\"svn checkout -N\" ESVN_REPO_URI=`dirname ${ESVN_REPO_URI}` subversion_src_unpack[/code:1] to [code:1]ESVN_UPDATE_CMD=\"svn update -N\" ESVN_FETCH_CMD=\"svn checkout -N\" ESVN_REPO_URI=`dirname ${ESVN_REPO_URI}` subversion_src_unpack[/code:1] |
|
|
|
For the lazy, the new ebuild can be found [li=http://files.jordswart.org/amarok-svn-1.3.ebuild]here.
|
|
|
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]