You are not logged in.

#1 2005-12-28 00:30:37

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

[request] ktorrent-cvs

Seeing as the current version of KTorrent caps out at a few KB/s on all torrents, and the CVS version fixes a lot of these bugs, methinks it would be nice to have a PKGBUILD of the CVS version.

Offline

#2 2005-12-28 02:42:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [request] ktorrent-cvs

Try this, G. I can't test it, not being a KDE user, but it grabs the source correctly (SVN by the way, not CVS). If anything needs changing let me know.

# Maintainer: Tom K <tomk@runbox.com>

pkgname=ktorrent-svn
pkgver=491933        
pkgrel=1
pkgdesc="KDE bittorrent client"
depends=('kdebase')
makedepends=('subversion')
conflicts=('ktorrent')
provides=('ktorrent')
source=()
md5sums=()

_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/network/
_svnmod=ktorrent

build() {
  cd $startdir/src

  svn co $_svntrunk/$_svnmod --config-dir ./ -r $pkgver
  cd $_svnmod
  svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
  svn cat svn://anonsvn.kde.org/home/kde/trunk/extragear/network/Makefile.cvs > Makefile.cvs
  cd ..
  
  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build

  make -f Makefile.cvs
  ./configure --prefix=/usr
  make all || return 1
  make DESTDIR=$startdir/pkg install
}

Recommend you use versionpkg to build it - very useful tool for cvs/svn stuff.

Offline

#3 2005-12-28 04:47:17

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [request] ktorrent-cvs

Should require kdebase, not the whole kde group.

Edit: other than that, it works perfectly.

Offline

#4 2005-12-28 09:19:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [request] ktorrent-cvs

Good stuff. I've edited depends line as advised, so I'll stick it in the AUR now.

Offline

#5 2005-12-28 17:08:22

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [request] ktorrent-cvs

I've voted for it.

Offline

#6 2005-12-28 22:06:22

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,642

Re: [request] ktorrent-cvs

I can´t understand voting for cvs/svn packages. From what I know votes should show the interest what package are wanted to move to cuurent or extra. And I guess cvs/svn packages will never go to the stable repos.

Offline

#7 2005-12-28 22:13:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [request] ktorrent-cvs

You probably have a point there, Andy. On the other hand, though, Gullible's vote makes me feel good - that's got to count for something, right? tongue

Offline

#8 2005-12-28 22:24:29

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [request] ktorrent-cvs

If a package gets enough votes, it can go into the Community repo, IIRC.

Offline

#9 2006-08-09 10:25:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [request] ktorrent-cvs

WARNING - Re-animated thread

ktorrent-svn is now available for adoption, as I don't use it, and am unable to maintain it properly.

First come, first served, and no fighting please. tongue

Offline

Board footer

Powered by FluxBB