You are not logged in.

#1 2007-03-20 22:05:23

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

How do I use CVS?

Hi

I wanted to build gstreamer-bad by my self from cvs so that I can use the equilzer in exaile.
The problem is that I don't know how to use cvs to get the files hmm
It only says no cvs_root specified...

How do I do?

Here's a link to the site: http://webcvs.freedesktop.org/gstreamer … ugins-bad/

Offline

#2 2007-03-21 16:03:46

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: How do I use CVS?

i think this goes in newbie forum but whatever ...

you should get it to build (it it is possible) with

cd /tmp
cvs co http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad bad
cd bad
./autogen.sh && ./configure
make

then the usual make install or whatever ...

ps: it would be better to write a pkgbuidl to do this in a cleaner way..
unfortunately i have lecture in 5 minutes so i can't realy help with that right now..


---------------------
edit..
have you tried installign the gstreamer0.10 plugins?
i'm sure exaile uses them
pacman -S gstreamer0.10-bad

Last edited by noriko (2007-03-21 16:05:22)


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#3 2007-03-21 17:45:02

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: How do I use CVS?

You are right about the gstreamer plugins. Exaile uses them. The problem is that the equalizer plugin is not included in the newest build of: gstreamer0.10-bad it's only in the cvs at the moment.

Thanks a lot for the help smile

EDIT:

When running:

$ cvs co http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad bad

I get:

cvs checkout: No CVSROOT specified!  Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.

EDIT2:

Okey sorry I didn't read enough.

Found the info i needed here: http://gstreamer.freedesktop.org/data/d … l#cvs-anon
Thanks a lot for the help noriko smile

Last edited by Izuil (2007-03-21 22:11:05)

Offline

#4 2007-03-21 22:12:32

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: How do I use CVS?

woops .. that's the svn layout .. not to worry, this is correct ..
cvs -d:pserver:anoncvs@anoncvs.freedesktop.org:/cvs/gstreamer co gst-plugins-bad

....
i modified the pkgbuild from abs, afaik it should work, unfortunately i can't get it to build as it complains about missing macros and i can't look into it right now...
http://pub.inlane.org/tmp/gstreamer0.10-bad/

you'll most likely need to edit the badconf file and the pkgbuild to change pkg name and configs...


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#5 2007-03-21 22:22:35

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: How do I use CVS?

Didn't quite get that... Can I use the pkgbuild you linked?

Going to sleep, catch up tomorrow.

Thanks once again for the help smile

Offline

#6 2007-03-21 23:44:04

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: How do I use CVS?

np:)
yes .. it's just that the *bad-cvs doesn't build for me ... but other than that as far as i can tell everything else works..

Last edited by noriko (2007-03-21 23:44:20)


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#7 2007-03-22 22:45:19

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: How do I use CVS?

Hmm I can't seem to get it to build either hmm

EDIT: The pkg folder is empty when the package is created, how come?

Last edited by Izuil (2007-03-22 23:02:28)

Offline

#8 2007-03-23 12:38:23

fancris3
Member
Registered: 2007-03-18
Posts: 67

Re: How do I use CVS?

This seem to make a good pkg but have more file like gstreamer10-bad is possible to have file conflict whit another pkg

# Contributor: fancris3 <fancris3 at.com>
pkgname=gstreamer0.10bad-cvs
pkgver=`date +%Y%m%d`
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)"
arch=(i686)
url="http://gstreamer.freedesktop.org/"
license=('GPL')
depends=('gcc' 'gstreamer0.10-alsa>=0.10.11' 'mesa')
makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'gettext' 'pkgconfig' 'intltool')
conflicts=(gstreamer0.10-bad)
provides=(gstreamer0.10-bad)

_cvsroot=":pserver:anoncvs@anoncvs.freedesktop.org:/cvs/gstreamer"
_cvsmod="gst-plugins-bad"

build() {
  cd ${startdir}/src/
  msg "Connecting to $_cvsroot"
  
  cvs -z3 -d $_cvsroot co $_cvsmod
  cd $_cvsmod
  cp -r ../$_cvsmod ../$_cvsmod-build
  msg "CVS checkout done or server timeout"
  msg "Starting make..."
  cd ../$_cvsmod-build

  ./autogen.sh --prefix=/usr \
               --disable-docs-build \
               --disable-plugin-docs \
               --disable-gtk-doc\
               --disable-examples\

  make || return 1
  make DESTDIR=$startdir/pkg install

  rm -f $startdir/pkg/usr/lib/gstreamer-0.10/*.{,l}a
  rm -r $startdir/src/$_cvsmod-build
}

Offline

#9 2007-03-23 18:30:16

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: How do I use CVS?

You shouldn't use the `date` line, versionpkg will handle that for you.

Offline

Board footer

Powered by FluxBB