[vorbis] Re: redhat vorbis install

Bill Nottingham notting at redhat.com
Wed Jul 24 20:06:47 PDT 2002



Michael Smith (msmith at labyrinth.net.au) said: 
> At 06:27 PM 7/24/02 -0500, you wrote:
> >I've made significant progress on making RPMs that are friendlier to a 
> >stock redhat system.
> >
> >The libasound dependency in libao can be fixed by editing the libao spec 
> >file, building new rpms that don't attempt to interface to ALSA.
> 
> That's the wrong way to do it. There's no runtime dependency on alsa, so
> it's just incorrectly set in the RPM file. Removing the alsa plugin just
> removes functionality, which isn't a good thing.

In libao.spec:

%define __find_requires ao.req

ao.req is a file with contents:


--
#!/bin/sh

filelist=`sed "s/['\"]/\\\&/g"`
{ echo $filelist | tr [:blank:] \\n | /usr/lib/rpm/find-requires | \
        grep -v artsc | grep -v esd | grep -v audiofile
} | sort -u 
--

This strips out the output plugin dependencies.

Bill

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list