You are not logged in.

#1 2004-06-04 09:34:26

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

[multimedia: sound&audio] xmms-midi

I have build package to help anyone who want play midi simplest way by xmms. For full useful requied Timidity in 2.13.0 version (I have prepared it last time, see in incomming). If anyone want's use other version, please remember about:
1) Link or copy timidity.cfg to /etc
2) Don't use regular soundfont's (not support by xmms-midi yet)

PKGBUILD (relase 1):

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-midi
pkgver=0.03
pkgrel=1
pkgdesc="Allow play midi by xmms with timidity"
url="http://ban.joh.cam.ac.uk/~cr212/xmms-midi/"
depends=('glibc' 'xmms' 'timidity' 'gtk')
source=(http://sk5-26-1.tky.hut.fi/gentoo/distfiles/$pkgname-$pkgver.tar.gz)
md5sums=('a35c62378fc3ccdf420fe81636e5b2f8')
build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr/lib  
    make || return 1
    make 
    prefix=$startdir/pkg/usr/lib libdir=$startdir/pkg/usr/lib/xmms/Input 
    install
    }

Offline

#2 2006-01-17 16:06:00

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

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

I was fiddling around trying to get midi sound working through timidity
which wasn't easy and somhow I got it working with the timidity pkg
in extra and eawpats from trusted repos. then tried making this pkgbuild
to use with xmms. It wouldn't work so I started looking at recent pkgbuilds
and discovered that they all end different. I guess there's been a few
changes in the build proccess. I had to edit the last few lines and
change the mirror and changed depends to timidity++ and then it worked
like a charm. I really don't know much about setting up build files. I just
did what kind of made sense and maybe I just got lucky that it worked?
Anyway, after making the pkg and installing xmms plays midi through timidity
like a charm. smile

Here's the edited PKGBUILD for xmms-midi

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-midi
pkgver=0.03
pkgrel=1
pkgdesc="Allow play midi by xmms with timidity"
url="http://ban.joh.cam.ac.uk/~cr212/xmms-midi/"
depends=('glibc' 'xmms' 'timidity++' 'gtk')
source=(http://kreiger.linuxgods.com/files/sources/$pkgname-$pkgver.tar.gz)
md5sums=('a35c62378fc3ccdf420fe81636e5b2f8')
build() {
   cd $startdir/src/$pkgname-$pkgver
   ./configure --prefix=/usr/lib 
   make || return 1
   make libdir=$startdir/pkg/usr/lib/xmms/Input install
   find $startdir/pkg -name '*.la' -exec rm {} ;
   }


-- archlinux 是一个极好的 linux

Offline

#3 2006-07-15 12:07:10

sven
Member
Registered: 2005-02-01
Posts: 311

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

Thanks for the PKGBUILD! That download link doesn't work anymore, though - here's the one that worked for me: http://wuarchive.wustl.edu/pub/FreeBSD/ … .03.tar.gz
EDIT: I had to change the PKGBUILDs' make line like this:
make prefix=$startdir/pkg/usr/lib/xmms/Input install
for the package to compile. But then midis did seem to start to play but I did not hear anything. Also xmms froze.

Offline

Board footer

Powered by FluxBB