You are not logged in.

#1 2007-07-19 02:01:12

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

sourceforge cvs access (csound5)

hey, anyone have experience with (automated) checking out cvs from sourceforge?

problem is, the recommended command(s) require a dummy (blank) password, that does not seem to have an option on either the cvs or csup manpages:

 cvs -d:pserver:anonymous@csound.cvs.sourceforge.net:/cvsroot/csound login
 
cvs -z3 -d:pserver:anonymous@csound.cvs.sourceforge.net:/cvsroot/csound co -P modulename

i have not found another sourceforge cvs pkgbuild, but here's mine (checkout broken):

pkgname=csound5-cvs
pkgver=20070628
pkgrel=1
arch=('i686')
pkgdesc="a programming language designed and optimized for sound rendering and signal processing"
url="http://sourceforge.net/project/showfiles.php?group_id=81968"
license="LGPL"
depends=('fltk' 'portaudio' 'scons' 'swig')
provides=('csound5')
conflicts=('csound')
#mirror="switch"
source=('http://ccrma.stanford.edu/software/stk/release/stk-4.2.1.tar.gz' \
'http://switch.dl.sourceforge.net/sourceforge/loris/loris-1.4.tar.gz')
md5sums=()

_cvsroot=":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/csound"
_cvsmod="csound5"

#_components="buildVirtual=1 buildCSEditor=1 buildCsound5GUI=1 useDouble=0 buildTclcsound=1 buildLoris=1 useOSC=1 buildCsoundVST=0"
_components="buildCsoundVST=0 buildCsound5GUI=1 buildLoris=1 useOSC=1 buildPythonOpcodes=1 buildStkOpcodes=1 buildVirtual=1 buildInterfaces=0 buildCSEditor=1 buildvst4cs=0"


build() {
    cd $startdir/src
           # various broken checkouts
#         what sf recommends
           cvs -d:pserver:anonymous@csound.cvs.sourceforge.net:/cvsroot/csound login 
           cvs -z3 -d:pserver:anonymous@csound.cvs.sourceforge.net:/cvsroot/csound co -P csound5
#         from the wiki
#      cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod     
        cd $startdir/src/csound5
    mkdir Opcodes/loris
    mkdir Opcodes/stk 
    cp -r $startdir/src/loris-1.4/* ./Opcodes/loris
    cp -r $startdir/src/stk-4.2.1/* ./Opcodes/stk

    scons gcc4opt=0 noDebug=1 $_components || return 1
    ./install.py --prefix=/usr --instdir=$startdir/pkg --vimdir=/usr/share/vim
}

Also, I haven't checked it recently, but having the server written out in full (rather than as $_cvsroot) seems to get farther

I guess gentoo might have the solution in their ebuilds, haven't checked that yet (going about it soon)

[edit] nope, they haven't got csound at all

Last edited by vogt (2007-07-19 02:03:28)

Offline

#2 2007-07-19 02:11:52

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: sourceforge cvs access (csound5)

Offline

#3 2007-07-19 05:40:01

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: sourceforge cvs access (csound5)

you mean that sf might has the cvs trunk accessible as svn?

would some other variation on the following work (it would otherwise timout)

$ svn co https://csound.sourceforge.net/svn/project/trunk csound5                                                                                                                                         ~
svn: PROPFIND request failed on '/svn/project/trunk'
svn: PROPFIND of '/svn/project/trunk': could not connect to server (https://csound.sourceforge.net)

you think that if they had svn access, they would mention it somewhere on the csound page(s).

Offline

Board footer

Powered by FluxBB