Darkice no fedora 10

De MochilaWiki
Revisão de 15h45min de 2 de janeiro de 2010 por Banto Palmarino (discussão | contribs)
Ir para navegaçãoIr para pesquisar

O pacote do darkice que vem no Fedora 10 não tem suporte ao jack:

$ ldd /usr/bin/darkice 
	linux-gate.so.1 =>  (0x00110000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x07bbf000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x07bc7000)
	libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00634000)
 	libasound.so.2 => /lib/libasound.so.2 (0x07aba000)
	librt.so.1 => /lib/librt.so.1 (0x0074d000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x00d1f000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0773f000)
	libm.so.6 => /lib/libm.so.6 (0x005ed000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x003f8000)
	libc.so.6 => /lib/libc.so.6 (0x00470000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00618000)
	libdl.so.2 => /lib/libdl.so.2 (0x005e6000)
	/lib/ld-linux.so.2 (0x0044b000)

Pré-configurações

Dependências

yum install lame-devel twolame-devel libvorbis-devel libogg-devel faac-devel alsa-lib-devel jack-audio-connection-kit-devel

Baixando o código-fonte

su -
yum install yum-utils
yumdownloader --source darkice
rpm -i darkice-0.19-3.fc10.src.rpm
cd rpmbuild/SOURCES
tar zxvf darkice-0.19.tar.gz
cd darkice-0.19
patch -p1 < ../darkice-0.19-configure.patch
wget -c http://pub.nkosi.org/patch/jack-darkice.patch
patch -p1 < jack-darkice.patch 
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/JackDspSource.cpp    2007-02-19 07:56:49.000000000 +0000
|+++ src_new/JackDspSource.cpp    2008-06-10 23:40:16.000000000 +0100
--------------------------
File to patch:  src/JackDspSource.cpp
patching file src/JackDspSource.cpp

instalando

./configure --prefix=/usr --sysconfdir=/etc
make
make install


referência