On Fri, Feb 24, 2012 at 3:30 PM, Nicolas Chauvet <kwizart(a)gmail.com> wrote:
You missunderstood, more basically:
You pick the sox package, you rename it with sox-freeworld.
You add the lame-devel and others and remove the final files that are
already provided by sox.
Probably that the sox binary is more or less the same as the fedora package.
You will ends with a sox plugin for lame/mp3 support.
So I would need to remove all the files except what's shown here as
"added"?
$ rpmdiff ~/sox-14.3.2-1.fc16.x86_64.rpm sox-14.3.2-1.fc16.x86_64.rpm
added REQUIRES libamrnb.so.3()(64bit)
added REQUIRES libamrwb.so.3()(64bit)
added REQUIRES libao.so.4(LIBAO4_1.1.0)(64bit)
added REQUIRES libc.so.6(GLIBC_2.14)(64bit)
added REQUIRES libc.so.6(GLIBC_2.15)(64bit)
added REQUIRES libid3tag.so.0()(64bit)
added REQUIRES libmad.so.0()(64bit)
added REQUIRES libmp3lame.so.0()(64bit)
added PROVIDES libsox_fmt_amr_nb.so()(64bit)
added PROVIDES libsox_fmt_amr_wb.so()(64bit)
added PROVIDES libsox_fmt_mp3.so()(64bit)
..........T /usr/bin/play
..........T /usr/bin/rec
S.5.......T /usr/bin/sox
..........T /usr/bin/soxi
..........T /usr/lib64/libsox.so.1
S.5.......T /usr/lib64/libsox.so.1.0.0
..........T /usr/lib64/sox
S.5.......T /usr/lib64/sox/libsox_fmt_alsa.so
added /usr/lib64/sox/libsox_fmt_amr_nb.so
added /usr/lib64/sox/libsox_fmt_amr_wb.so
S.5.......T /usr/lib64/sox/libsox_fmt_ao.so
S.5.......T /usr/lib64/sox/libsox_fmt_caf.so
S.5.......T /usr/lib64/sox/libsox_fmt_fap.so
S.5.......T /usr/lib64/sox/libsox_fmt_flac.so
S.5.......T /usr/lib64/sox/libsox_fmt_lpc10.so
S.5.......T /usr/lib64/sox/libsox_fmt_mat4.so
S.5.......T /usr/lib64/sox/libsox_fmt_mat5.so
added /usr/lib64/sox/libsox_fmt_mp3.so
S.5.......T /usr/lib64/sox/libsox_fmt_oss.so
S.5.......T /usr/lib64/sox/libsox_fmt_paf.so
S.5.......T /usr/lib64/sox/libsox_fmt_pulseaudio.so
S.5.......T /usr/lib64/sox/libsox_fmt_pvf.so
S.5.......T /usr/lib64/sox/libsox_fmt_sd2.so
S.5.......T /usr/lib64/sox/libsox_fmt_sndfile.so
S.5.......T /usr/lib64/sox/libsox_fmt_vorbis.so
S.5.......T /usr/lib64/sox/libsox_fmt_w64.so
S.5.......T /usr/lib64/sox/libsox_fmt_wavpack.so
S.5.......T /usr/lib64/sox/libsox_fmt_xi.so
..........T /usr/share/doc/sox-14.3.2
..........T /usr/share/man/man1/play.1.gz
..........T /usr/share/man/man1/rec.1.gz
..........T /usr/share/man/man1/sox.1.gz
..........T /usr/share/man/man1/soxi.1.gz
..........T /usr/share/man/man7/soxeffect.7.gz
..........T /usr/share/man/man7/soxformat.7.gz
If the module support isn't enabled in sox, this probably need to
be
coordinated with the fedora package.
I remember to have sent a patch to sox upstream about that.
sox does have the configure options "--enable-dl-lame --enable-dl-mad"
but as I mentioned above I think it has to have access to the headers
to get the prototypes right.
From the comment[1]:
"""
The main issue is that currently, this feature still requires related
BuildRequires for lame/mad header files to get prototypes right. That could be
hacked around by patching in private mad/lame headers I suppose but its not
done upstream so far.
"""
Of course this bug was for F12 so this may have indeed been fixed. I
tried the "--enable-dl-lame --enable-dl-mad" and it did appear to work
(at least in ./configure) without the headers.
I'll see if I can create a set of packages that works.
Richard
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=611578#c3