# xvid4conf
# ===========
# This is an optional prerequisite. The web site for it:
# http://zebra.fh-weingarten.de/~transcode/xvid4conf/
# linked to in the dvd::rip documentation is 404. I found the tarball on a
# Debian FTP mirror.
cd
test -f installed/xvid4conf_1.12.orig.tar.gz &&
mv installed/xvid4conf_1.12.orig.tar.gz .
test ! -f xvid4conf_1.12.orig.tar.gz &&
wget http://englanders.cc/pub/linux/misc/xvid4conf_1.12.orig.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "xvid4conf-*" -exec rm -r {} \;
tar xzvf ~/xvid4conf_1.12.orig.tar.gz
cd xvid4conf-1.12
test $UID = 0 && chown -R root:root .
./configure
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/xvid4conf??.*.tar.*
mv xvid4conf_1.12.orig.tar.gz installed/
# dvd::rip 0.98.2
# ===============
cd
test -f installed/dvdrip-0.98.2.tar.gz &&
mv installed/dvdrip-0.98.2.tar.gz .
test ! -f dvdrip-0.98.2.tar.gz &&
wget http://www.exit1.org/dvdrip/dist/dvdrip-0.98.2.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "Video-DVDRip-*" -exec rm -r {} \;
find -maxdepth 1 -type d -name "dvdrip-*" -exec rm -r {} \;
tar xzvf ~/dvdrip-0.98.2.tar.gz
cd dvdrip-0.98.2
test $UID = 0 && chown -R root:root .
perl Makefile.PL
make
make test
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/Video-DVDRip-*.tar.* installed/dvdrip-*.tar.*
mv dvdrip-0.98.2.tar.gz installed/
# If you use transcode 1.1.0 like I do, you'll need to open up
# /usr/lib/perl5/site_perl/x.x.x/Video/DVDRip/Depend.pm and change
# "max" for transcode in there to 1.1.0 (or downgrade transcode to 1.0.99)
# and replace occurances of "-M" in Title.pm with "--demuxer_sync".
# /usr/lib/perl5/site_perl/x.x.x/Video/DVDRip/icon.xpm can be used as a
# desktop icon