You are not logged in.

#1 2008-02-02 05:16:38

cell
Member
Registered: 2007-10-23
Posts: 111

pigment from svn

Still very new to this but here is what I have been trying to do.

#copypaste
arch=(i686 x86_64)
pkgname=pigment-svn
pkgver=1032
pkgrel=2
pkgdesc="The Elisa GUI framework."
url="http://elisa.fluendo.com/"
license=('GPL')

depends=('libgl' 'gstreamer0.10-base' 'gstreamer0.10-python' 'pygtk' 'cairo' 'gtk-doc' 'cairo' 'pango' 'mesa')
makedepends=('subversion')
conflicts=('libg')
options=('!libtool' '!makeflags')
#provides=()
#source=(PKGBUILD)
#md5sums=()

_svntrunk="https://code.fluendo.com/pigment/svn/trunk"
_svnmod="pigment"

build() {
  cd $startdir/src

  touch ~/.subversion
  svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build/pigment

  ./autogen.sh --prefix=/opt/pigment
  make || return 1
   
  make DESTDIR=$startdir/pkg install

  rm -rf $startdir/src/$_svnmod-build
}

It will build pigment but not pigment-python, also pigment-python depends on pigment to build.
The README says to --prefix with /opt/pigment?

I would appreciate if someone could guide me through how to go about this as I don't quit understand it.

Offline

#2 2008-02-02 07:52:43

cell
Member
Registered: 2007-10-23
Posts: 111

Re: pigment from svn

If I run python elisa.py from a svn checkout elisa seems to work just fine.
However if I install it it complains about missing plugins when I run elisa.

#copypaste
arch=(i686 x86_64)
pkgname=elisa-svn
pkgver=4875
pkgrel=2
pkgdesc="The Elisa GUI framework."
url="http://elisa.fluendo.com/"
license=('GPL')

depends=('python' 'libdvdcss' 'gstreamer0.10-python'  'pigment-svn' 'pigment-python-svn' \
    'gstreamer0.10-bad' 'gstreamer0.10-ugly' 'gstreamer0.10-ffmpeg' \
    'gstreamer0.10-dvdread' 'gstreamer0.10-xvid' 'gnome-python-extras' \
    'python-pysqlite-legacy' 'pil' 'twisted' 'twisted-web')
makedepends=('subversion' 'setuptools')
conflicts=()
options=('!libtool' '!makeflags')
#provides=()
#source=(PKGBUILD)
#md5sums=()

_svntrunk="https://code.fluendo.com/elisa/svn/trunk"
_svnmod="elisa"

build() {
  cd $startdir/src

  touch ~/.subversion
  svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build/core

  python setup.py install --prefix=/usr --root=$startdir/pkg || return 1
   
  #make DESTDIR=$startdir/pkg install

  #rm -rf $startdir/src/$_svnmod-build
}

This is a segment lots more. smile

WARN  MainThread      service_manager             Feb 02 08:48:22  Traceback: <class 'elisa.plugin_registry.PluginNotFound'>: Plugin 'media_db' not found/usr/lib/python2.5/site-packages/twisted/internet/gtk2reactor.py:216:simulate/usr/lib/python2.5/site-packages/twisted/internet/base.py:561:runUntilCurrent/usr/lib/python2.5/site-packages/twisted/internet/task.py:236:_tick/usr/lib/python2.5/site-packages/elisa/manager.py:104:load_providers_iter--- <exception caught here> ---/usr/lib/python2.5/site-packages/twisted/internet/defer.py:107:maybeDeferred/usr/lib/python2.5/site-packages/elisa/plugin_registry.py:466:create_component/usr/lib/python2.5/site-packages/elisa/plugin_registry.py:528:_get_component_infos/usr/lib/python2.5/site-packages/elisa/plugin_registry.py:235:get_plugin_with_name (elisa/manager.py:97)

Very lost here.

Offline

Board footer

Powered by FluxBB