You are not logged in.

#1 2008-03-29 16:37:46

kwidzin
Member
From: Gdansk, Poland
Registered: 2007-02-04
Posts: 26

xine PKGBUILD

I just wondering why xine configure path for win32 codecs is: --with-w32-path=/usr/lib/win32.
I think it should be: --with-w32-path=/usr/lib/codecs. Please reply if I'm wrong.

Edit:
By the way. When I try to build package with PKGBUILD I recieved an error:

../libtool: line 456: CDPATH: command not found
../libtool: line 1259: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2
libtool: and run autoconf again.
make[1]: *** [libxineposix.la] Error 63
make[1]: Leaving directory `/home/michal/Desktop/src/xine-lib-1.1.10/lib'
make: *** [all-recursive] Error 1

Have no idea how to resolved. hmm

Last edited by kwidzin (2008-03-29 17:08:00)

Offline

#2 2008-03-30 00:24:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: xine PKGBUILD

try moving
  libtoolize --force
before
aclocal -I m4

The xine package no longer use codecs. Probably that configure switch has no effect anymore.

Offline

#3 2008-03-30 12:42:43

kwidzin
Member
From: Gdansk, Poland
Registered: 2007-02-04
Posts: 26

Re: xine PKGBUILD

Unfortunatelly I recieved other error:

./configure: line 6161: syntax error near unexpected token `build_old_libs,'
./configure: line 6161: `    _LT_DECL(build_old_libs, enable_static, 0,'

It seems I should be more patient and wait for official 1.1.10.1 or 1.1.11 package. neutral

Offline

#4 2008-03-31 17:25:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: xine PKGBUILD

You can actually remove all the autotools lines at the top, as all that stuff has been resolved. Last i tried to build the new version, the gcc update broke the build, and I didn't get back to it. Let me see is 1.1.11.1 (woah, lots of ones) builds now.

Offline

#5 2008-04-03 19:06:00

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: xine PKGBUILD

phrakture wrote:

You can actually remove all the autotools lines at the top, as all that stuff has been resolved. Last i tried to build the new version, the gcc update broke the build, and I didn't get back to it. Let me see is 1.1.11.1 (woah, lots of ones) builds now.

It doesn't sad

Offline

#6 2008-04-06 16:43:53

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: xine PKGBUILD

I've found a sollution for the gcc-4.3.0 problem:
--with-external-ffmpeg ... but this obviously will make xine-lib dependent on ffmpeg

This is my PKGBUILD for reference:

pkgname=xine-lib
pkgver=1.1.11.1
pkgrel=0
pkgdesc="A free video player for Unix"
arch=('i686' 'x86_64')
url="http://xinehq.de/"
license=('LGPL' 'GPL')
depends=('libgl' 'libxvmc' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng' 'libtheora'
         'libxcb' 'wavpack' 'ffmpeg')
makedepends=('pkgconfig' 'libtool' 'automake' 'autoconf' 'imagemagick'
             'smbclient' 'mesa' 'alsa-lib' 'vcdimager')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
        xine-lib-1.1.1-configure-no-mcpu-march.patch xine-pulse-rework.patch
        xine-lib-demux-quicktime.patch xine-lib-demux-matroska.patch)
md5sums=('7164410b533b35c0717a819bf251762e'
         '9776df4eb54d2f1f68d8268adbc3b5c2'
         '65c61b6012972aeaedc87385e09dd539'
         'f392f62b792c17dfe868a06b2f843747'
         '38ec1a7baa6f5f386d85af0aa1bfc9c0'
         )
options=('!libtool')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  patch -Np0 -i ${startdir}/src/xine-lib-1.1.1-configure-no-mcpu-march.patch || return 1
  patch -Np1 -i ${startdir}/src/xine-pulse-rework.patch || return 1
  patch -Np1 -i ${startdir}/src/xine-lib-demux-quicktime.patch || return 1
  patch -Np1 -i ${startdir}/src/xine-lib-demux-matroska.patch || return 1

  ./configure --prefix=/usr --with-w32-path=/usr/lib/win32 \
    --with-xv-path=/usr/lib --with-libflac --with-wavpack \
    --without-arts --without-esound --without-jack --without-speex \
    --disable-gnomevfs --disable-aalib --disable-modplug --with-external-ffmpeg
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

I added a --without-esound option there, and the following patches:
http://hg.debian.org/hg/xine-lib/xine-l … ;style=raw
http://hg.debian.org/hg/xine-lib/xine-l … ;style=raw
and much better support for pulseaudio:
http://0pointer.de/public/xine-pulse-rework.patch

Offline

#7 2008-04-15 18:21:09

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: xine PKGBUILD

xine-lib 1.1.12 is out, with the newest pulse-audio support and all the other patches

now only to make Arch devels remove esd and put pulseaudio instead.

Offline

Board footer

Powered by FluxBB