--enable-pvrflag 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:
faadpackage in Livna stable (
faad2-2.0-0.lvn.0.2.rc1.2.src.rpm), but its
-develsubpackage 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
mplayerpackage. When I tried to build
mplayer-1.0-0.lvn.0.10.pre4.2.src.rpmfrom Livna.org's unstable, there were problems. The resulting
libpostprocpackage had an undefined reference to
fast_memcpy. To fix this, I had to add
--disable-fastmemcpyto 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
libcdioon 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/dirwhich in FC2 is owned by the
lib/image_sink.hconflicted with the definition in
lib/image.c, a problem with
/usr/share/info/dirsimilar 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.
vlcinsists 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.
--lpostprocto the linker command line.
-mozillafor the plugin,
-kdefor 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
ffmpegfrom Livna.org stable.