You are not logged in.

#1 2004-06-05 05:53:33

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

[multimedia: sound&audio] xmms-vqf

Hi, I've just prepared xmms-vqf plugin. PKGBUILD include dirty hack, if anyone known how remove it without compilation (linking phase) error let do it. Binary pack was created with flags:
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe"

PKGBUILD (relase 1):

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-vqf
pkgver=0.94
pkgrel=1
pkgdesc="Play VQF files"
url="http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/"
makedepends=('perl')
depends=('glibc' 'xmms' 'cdparanoia')
source=(http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/vqfplugin-$pkgver.tar.gz)
md5sums=('ce4f77b94303db473cc15aabf91649b5')
build() {
    mkdir -p $startdir/pkg/usr/lib/xmms/Input
    cd $startdir/src/vqfplugin-$pkgver
    ./configure --prefix=$startdir/pkg/usr
    # Aviod linker error. This trick turn off vqfinfo addition.
    # Please debug if needed.
    perl -pi -e 's/vqfinfo//g' $startdir/src/vqfplugin-$pkgver/Makefile  
    make || return 1
    make install
    }

PKGBUILD (relase 2):

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-vqf
pkgver=0.94
pkgrel=2
pkgdesc="Play VQF files"
url="http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/"
depends=('glibc' 'xmms')
source=(http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/vqfplugin-$pkgver.tar.gz)
md5sums=('ce4f77b94303db473cc15aabf91649b5')
build() {
    mkdir -p $startdir/pkg/usr/lib/xmms/Input
    cd $startdir/src/vqfplugin-$pkgver
    ./configure --prefix=$startdir/pkg/usr
    # Aviod linker error. This trick turn off vqfinfo addition.
    # Please debug if needed. 
    sed -i s+"vqfinfo"+""+g $startdir/src/vqfplugin-$pkgver/Makefile
    make || return 1
    make install
    }

Offline

#2 2004-06-05 10:45:46

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: [multimedia: sound&audio] xmms-vqf

I think you should have a

makedepends=('perl')

there... somebody please correct me if I'm wrong.
Alternatively, you could use sed to correct the makefile (if it does the same thing you do with perl there, I don't know perl)

Offline

#3 2004-06-05 17:37:37

aCoder
Member
From: Medina, OH
Registered: 2004-03-07
Posts: 359
Website

Re: [multimedia: sound&audio] xmms-vqf

Isn't perl part of 'base'?  Then everyone should have it already!


If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience.
  - John Cage

Offline

#4 2004-06-08 20:54:26

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [multimedia: sound&audio] xmms-vqf

aCoder wrote:

Isn't perl part of 'base'?  Then everyone should have it already!

you do not need to install all of base to have a running system - makedepends is in this case advicable

but instead of using perl, you can use sed instead to substitute this string --- and sed is more essential than perl in basic stuff, so it do not need makedepends (but is also advicable)

something like this:

sed -i s+"vqfinfo"+""+g $startdir/src/vqfplugin-$pkgver/Makefile

The impossible missions are the only ones which succeed.

Offline

#5 2004-06-08 21:08:11

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: [multimedia: sound&audio] xmms-vqf

As official policy everything in base is assumed to be installed.  As well wget, and unzip are not makedepends unless they are being used by the build function or build system.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#6 2004-06-08 21:26:09

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [multimedia: sound&audio] xmms-vqf

Xentac wrote:

As official policy everything in base is assumed to be installed.  As well wget, and unzip are not makedepends unless they are being used by the build function or build system.

ohh ... i didnt know that  :oops:

official policy? can anyone give me a link to it?


The impossible missions are the only ones which succeed.

Offline

#7 2004-06-08 21:30:07

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: [multimedia: sound&audio] xmms-vqf

Hmmm... I don't think we have a link... it was a bunch of emails last I recall.  We need to get Dusty in there...


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#8 2004-06-09 04:46:21

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

Re: [multimedia: sound&audio] xmms-vqf

IceRAM wrote:

I think you should have a

makedepends=('perl')

I think, you have right. PKGBUILD (relase 1) has been changed.

Greetings,

Miroslaw

Offline

#9 2004-06-09 04:55:08

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

Re: [multimedia: sound&audio] xmms-vqf

dp wrote:

but instead of using perl, you can use sed instead to substitute this string --- and sed is more essential than perl in basic stuff

You have right. I think that use perl in this plase is similar to kill fly with machine-gun. I've added relase 2 with your sed's substitution.

Greetings,

Miroslaw.

Offline

Board footer

Powered by FluxBB