--enable-pvr flag turned on, but also just to see if I could do it, I decided to build VLC 0.7.2 from source RPMs, including all other packages it depends on.
Now, since the canonical places to get extra rpms for Fedora Core 2 are Fedora.us and Livna.org in that order, I decided to try and use those RPMs instead of the ones provided with VLC, whenever available.
Here's the list of what I needed:| aalib-1.4.0-0.fdr.0.9.rc5.2.src.rpm | libmodplug-0.7-0.fdr.1.2.src.rpm | |
| graphviz-1.10-0.fdr.3.2.src.rpm | libsndfile-1.0.4-0.fdr.1.2.src.rpm | |
| id3lib-3.8.3-0.fdr.9.2.src.rpm | libtar-1.2.11-0.fdr.3.2.src.rpm | |
| imlib2-1.0.6-0.fdr.3.2.src.rpm | lzo-1.08-0.fdr.2.2.src.rpm | |
| libebml-0.7.0-0.fdr.1.2.src.rpm | openslp-1.0.11-0.fdr.6.1.90.src.rpm | |
| libid3tag-0.15.1-0.fdr.1.b.2.src.rpm | wxGTK-2.4.2-0.fdr.2.2.src.rpm | |
| libmatroska-0.7.0-0.fdr.1.2.src.rpm | xosd-2.2.7-0.fdr.1.2.src.rpm | |
| libcddb-0.9.4-0.fdr.2.2.src.rpm |
| a52dec-0.7.4-0.lvn.6.2.src.rpm | libdvdnav-0.1.9-0.lvn.2.2.src.rpm | |
| djbfft-0.76-0.lvn.1.2.src.rpm | libdvdplay-1.0.1-0.lvn.3.2.src.rpm | |
| libdvdcss-1.2.8-0.lvn.5.2.src.rpm | libdvdread-0.9.4-0.lvn.1.2.src.rpm | |
| ffmpeg-0.4.8-0.lvn.5.2.src.rpm | libmad-0.15.1-0.lvn.1.b.2.src.rpm | |
| libdvbpsi-0.1.3-0.lvn.4.2.src.rpm | mpeg2dec-0.4.0-0.lvn.2.2.src.rpm | |
| lame-3.96-0.lvn.1.2.src.rpm | live-0-0.lvn.7.2004.05.19.2.src.rpm | |
| xvidcore-1.0.1-0.lvn.1.2.src.rpm | mplayer-0.92.1-0.lvn.5.2.src.rpm |
| faad2-2.0-0.lvn.1.2.src.rpm |
| faac-1.24-1.1.fc2.fr.src.rpm | libdts-0.0.2-1.src.rpm | |
| lirc-0.6.6-2.1.fc2.fr.src.rpm | speex-1.1.5-1.src.rpm |
faad package in Livna stable (faad2-2.0-0.lvn.0.2.rc1.2.src.rpm), but its -devel subpackage is missing a header file required by faac. Hence, we need the one from Livna unstable...
Here's a list of things that gave me some (minor) trouble:
libpostproc, which is part of the mplayer package. When I tried to build mplayer-1.0-0.lvn.0.10.pre4.2.src.rpm from Livna.org's unstable, there were problems. The resulting libpostproc package had an undefined reference to fast_memcpy. To fix this, I had to add --disable-fastmemcpy to the list of configure flags, to make it use glibc's memcpy routine. Apparently, future versions of ffmpeg will contain their own version of libpostproc (it's currently in CVS). This raises the interesting question of whether ffmpeg and mplayer will attempt to supply conflicting versions of libpostproc... Anyway, my goal here was to build vlc using current packages, so I went back to the stable version mplayer-0.92.1-0.lvn.5.2.src.rpm, which builds the libpostproc package correctly.
vcdimager-0.7.20 and libcdio on VLC's download site. Both the vcdimager tarball (vcdimager.org site currently down) and libcdio-0.69.tar.gz had spec files provided with them./usr/share/info/dir which in FC2 is owned by the info-4.6-3 package.vcd_image_sink_write declaration in lib/image_sink.h conflicted with the definition in lib/image.c, a problem with /usr/share/info/dir similar to the one in libcdio, and an issue where the package info file libvcdinfo.pc contained a reference to libvcd, which is a private library and shouldn't be accessed by programs linking against libvcdinfo. I made patches and updated spec files and sent them to the maintainers -- hvr at gnu dot org and manfred dot tremmel at iiv dot de. The versions I currently have are here:libcdio-0.69-1.src.rpm, and vcdimager-0.7.20-3.src.rpm.speex (1.0.3-2.1). However, vlc insists on a version greater than 1.1.*, so I had to fetch the version available on the VLC download site: speex-1.1.5-1.src.rpm.
videolan-client-0.7.2-0.lvn.4.2.src.rpm). The specfile as shipped by both causes the mozilla plugin to be installed in /usr/lib/mozilla-1.6/plugins. I'd rather have it go into /usr/lib/mozilla/plugins, where it would survive an upgrade of Mozilla to a new version.--lpostproc to the linker command line.vlc vs. vlc-devel, but -mozilla for the plugin, -kde for the KDE-specific user inteface bits, etc). However, the Livna SRPM includes its own ffmpeg package from CVS to work around the libpostproc problem I mention above. I changed it so it will build against and use both libpostproc and ffmpeg from Livna.org stable.