Installing the svn and test versions of Freevo 1
The idea is that you can install the subversion of Freevo release 1 branch without breaking your current installation. Installing the subversion helps development by reporting bugs against the latest version no point in reporting fixed bugs and it helps test the next release.
- Checkout and install the kaa modules (Kaa is a collection of Python modules that Freevo depends on):
for module in base imlib2 display metadata; do git clone git://github.com/freevo/kaa-$module.git pushd $module python setup.py install --prefix=~/freevo-test popd done
You can remove --prefix=~/freevo-test if you want this to be a system-wide install.
- Get the freevo-1 branch from subversion
git clone git://github.com/freevo/freevo1.git
- Update the svn revision number module and the translations.
./autogen.sh nodocs
- Install freevo into the test directory
python setup.py install --prefix=~/freevo-test
- Change into the newly installed freevo directory
cd ~/freevo-test
- Copy your existing freevo configuration files to the current directory, this allows you to play with the options before messing up your existing configuration
cp -pv /etc/freevo/* ~/freevo-test
- Find the version of Python that is being used
version=$(python -V 2>&1 | sed -n 's/Python \(.\..\).*/\1/p')
- Export the installation path so that freevo picks up the modules from there and not a current installation, this depends on the version of Python that is installed
export PYTHONPATH=~/freevo-test/lib/python${version}/site-packages
- Update the local_conf.py for the new version with the command and update its version number
./bin/freevo convert_config ~/freevo-test/local_conf.py
- Lets go!
./bin/freevo
- Check the log messages for configuration warnings and fix them in the ~/freevo-test/local_conf.py
Updating
Easy as 123...
cd /to/svn/source/directory git pull rm -rf build/* ./autogen.sh nodocs python setup.py install --prefix=~/freevo-test