Documentation to compile me-tv

Created by Frédéric Côté
Keywords:
documentation compile me-tv
Last updated by:
Frédéric Côté

### use the developpement version of me-tv
sudo add-apt-repository ppa:me-tv-development
sudo apt-get update
sudo apt-get install me-tv vlc
#to search for frequencies (channels)
sudo apt-get install w-scan
#find available countries
sudo w_scan -c?
sudo w_scan -c COUNTRYCODE -X > ~/channels.conf
# example : sudo w_scan -c FR -X > ~/channels.conf

## create a launchpad account
firefox https://launchpad.net/
#exemple : https://launchpad.net/~netpascal0123
# create a ssh key
ssh-keygen -t rsa
# Add launchpad.net to your ssh config file ~/.ssh/config
#Example : content of the ~/.ssh/config is :
Host bazaar.launchpad.net
    IdentityFile /home/pascal/.ssh/id_rsa
    User netpascal0123
# Add your ssh config to launchpad
cat ~/.ssh/id_dsa.pub
# the content of the file is your public key to be added to your profile

### to work on the source
# download the version control sofware
sudo apt-get install bzr
# retrieve the development branch,
bzr branch lp:me-tv MyBugOrFeature
# example this create a folder vlc_fix_remote_mrl : bzr branch lp:me-tv vlc_fix_remote_mrl

### to compile the source
# should retrive all dependancies but if seems not enough...why?
sudo apt-get build-dep me-tv
# retrive missing dependancies
sudo apt-get install libglibmm-2.4 libxml++2.6-dev libgtkmm-2.4-dev libgconfmm-2.6-dev libunique-dev libx11-dev libdbus-glib-1-dev libxine-dev libvlc-dev libgstreamer0.10-dev libgstreamer-interfaces-perl libgstreamer-plugins-base0.10-dev libsqlite3-dev libgconf2-4 libgconf2-dev
# retrive the automatic builder
sudo apt-get install gnome-common
# Create a makefile
./autogen.sh
# compile the sources
make
# install the compiled binary in the system
sudo make install

# commit to launchpad workflow
# setup bzr
bzr whoami "WhoYouAre <Email>"
example : bzr whoami "Pascal Noisette <netpascal0123@aol.com>"
# commit a modification locally
 bzr commit -m "Explain shortly what you have done"
# example : bzr commit -m "Force vlc to consider the mrl path as a remote location, not a relative path"
# send commited modification to launchpad in the custom branch folder
bzr push lp:~MyLaunchPadLogin/me-tv/MyBugOrFeature
# example : bzr push lp:~netpascal0123/me-tv/vlc_fix_remote_mrl