Hi Fransisco,
thanks for the manual, I was considering doing a manual install on hardy
sometime soon and this is quite useful.
One question, the last time I did a manual install I handled
dependencies with
sudo apt-get build-dep freevo
is there a reason you did not opt for that approach to get the dependencies?
Paul
Francisco Eduardo Álvarez Solano wrote:
Hi,
I've written a quick guide to install Freevo in Ubuntu 8.04 Hardy
Heron. As Freevo packages in Ubuntu are broken, I've done a manual
installatio from source.
This approach has the advantage that is very easy to setup several
Freevo versions in the same machine, and switch between them without
problem.
These are the basic steps; below is an example script to save some
typing. I will add this guide to the wiki if it proves to be useful.
1.- Download Freevo sources from
http://sourceforge.net/project/showfiles.php?group_id=46652
===================================================================
Freevo-x.x.x.tar.gz
kaa-base-x.x.x.tar.gz
kaa-imlib2-x.x.x.tar.gz
kaa-metadata-x.x.x.tar.gz
2.- Make '~/src' directory and extract all the packages in it
3.- Install dependencies
===============
(It would be very wise to add 'Medibuntu' repository before this step)
libglib2.0-dev
libimlib2
libimlib2-dev
libdvdread-dev
python-xml
python-pygame
python-twisted
python-dev
python-beautifulsoup
xmltv
lsdvd
aumix
mplayer
libdvdcss2
4.- Optional packages
==============
w32codecs
python-pylirc
lirc
tvtime
xine-ui
5.- Install Freevo packages in order
=======================
kaa-base
kaa-imlib2
kaa-metadata
freevo
6.- Copy configuration files in Freevo directory
===============================
- If you are using Freevo for the first time:
- Exec 'freevo setup' to get 'freevo.conf'
- Move '~/.freevo/freevo.conf' to '~/freevo-1.8.1'
- Copy '~/src/freevo*/local_conf.py.example' to
'local_conf.py' in Freevo installation directory
- Edit and adapt 'local_conf.py'
- If you have a working Freevo
- Copy 'freevo.conf' and 'local_conf.py' in ~/freevo-1.8.1
- Run the /convert_config/ helper
To make things clear
==============
# 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
# Extract packages
mkdir ~/src
cd ~/src
cp ~/Desktop/*.tar.gz .
tar xvzf kaa-base*.tar.gz
tar xvzf kaa-imlib2*.tar.gz
tar xvzf kaa-metadata*.tar.gz
tar xvzf freevo*.tar.gz
# Installing Kaa
cd ~/src/kaa-base*
python setup.py install --prefix=~/freevo-1.8.1
# version=$(python -V 2>&1 | sed -n 's/Python \(.\..\).*/\1/p')
# export PYTHONPATH=~/freevo-1.8.1/lib/python${version}/site-packages
export
PYTHONPATH=~/freevo-1.8.1/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml
cd ~/src/kaa-imlib2*
python setup.py install --prefix=~/freevo-1.8.1
cd ~/src/kaa-metadata*
python setup.py install --prefix=~/freevo-1.8.1
# Install Freevo
cd ~/src/freevo*
python setup.py install --prefix=~/freevo-1.8.1
# Should the previous command fail:
# ---add the next line to 'setup.py' below 'import sys'---
sys.path.append('/usr/lib/python%s/site-packages/oldxml' %
sys.version[:3])
# ----------------------------------------------------
python setup.py install --prefix=~/freevo-1.8.1
* Excuting Freevo
============
cd ~/freevo-1.8.1
PYTHONPATH=~/freevo-1.8.1/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml
bin/freevo
* Now Freevo should work fine and you can remove ~/src and all its
contents.
* Two or more Freevo versions
=====================
-Download and extract Freevo packages as described before
-Make a symlink 'freevo' pointing to the version you want to use
-Make the directories 'cache' y 'log' inside every freevo directory
-In each 'local_conf.py' set these variables as needed:
FREEVO_STATICDIR=~/freevo-1.8.1/lib
FREEVO_LOGDIR=~/freevo-1.8.1/log
FREEVO_CACHEDIR=~/freevo-1.8.1/cache
-Run Freevo with:
cd ~/freevo
PYTHONPATH=~/freevo/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml
bin/freevo
-If you want to use another version of Freevo, you can change the
symlink or, simply, cd to that Freevo version directory and adapt
PYTHONPATH in the command line as needed.
Hope this will be useful. Hints are always welcome ;)
Eduardo
------------------------------------------------------------------------
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
------------------------------------------------------------------------
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users
--
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL http://www.sijben.net
tel:+31 334557522 fax:+31 33 4557523
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users