apt-get freevo on Ubuntu Hardy with packages from Intrepid

this is how i install freevo on ubuntu hardy using apt-get to get packages from ubuntu intrepid.
First, from Freevo Apt Ubuntu Doc

# Add Medibuntu
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo aptitude install medibuntu-keyring && sudo apt-get update

# Mandatory dependencies
sudo aptitude install libglib2.0-dev libimlib2 libimlib2-dev libdvdread-dev python-xml python-pygame python-twisted python-dev python-beautifulsoup xmltv lsdvd aumix mplayer libdvdcss2

# Optional packages
sudo aptitude install w32codecs python-pylirc lirc tvtime xine-ui

now, install Python XML

# install dependencies
sudo apt-get install python2.5-dev

# download and unzip pyxml
wget http://superb-west.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz
tar -xzf ./PyXML-0.8.4.tar.gz
cd PyXML-0.8.4

# build and install pyxml
python setup.py build
sudo python setup.py install

# remove temporary files, be careful where you point that loaded rm -rf!
cd ..
rm -rf ./PyXML-0.8.4

then, some apt pinning

# sudo vi  /etc/apt/preferences
# then paste these into it:
Package: *
Pin: release a=hardy
Pin-Priority: 900

Package: *
Pin: release a=intrepid
Pin-Priority: 90
now, get the intrepid repo:
# sudo vi /etc/apt/sources.list.d/intrepid.list
# then paste these into it:
deb http://archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
finally, do the install:
sudo apt-get update
sudo apt-get -t intrepid install freevo

that's all it. i got freevo up and running on my hardy

btw. similar setup can be used to make it work on debian stable.

tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain