#!/bin/sh
#
# This script installs all required modules on a Ubuntu System
# This script does *NOT* install required dependancies for ptgrey module, 
#   so do that by yourself, or configure using 
#    $ configure --enable-all --enable-camera-ptgrey=no
#   to get by without it. 

# Add the ARToolKitPlus repo to our sources. 
# Copy, replace etc the file because otherwise it'll get run multipule times
# And that'll append multipule repos
# And that's probably bad. Better way to do this would be to check if repo's in 
# sources list, but that's alot of effort. Feel free to fix. 

cp /etc/apt/sources.list /etc/apt/sources.list.backup
echo '' >> /etc/apt/sources.list
echo '# ARToolKitPlus repository' >> /etc/apt/sources.list
echo 'deb http://ppa.launchpad.net/michael-the-drummer/wcl/ubuntu lucid main' >> /etc/apt/sources.list

apt-get update

apt-get install \
build-essential \
libtool \
automake \
libxext-dev \
flex \
bison \
libraw1394-dev \
libdc1394-22-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
artoolkitplus-dev \
libcwiid-dev \
vim 

# Replace the sources.list with the backup
mv /etc/apt/sources.list.backup /etc/apt/sources.list

#!/bin/sh
#
# This script installs all required modules on a Ubuntu System
# This script does *NOT* install required dependancies for ptgrey module, 
#   so do that by yourself, or configure using 
#    $ configure --enable-all --enable-camera-ptgrey=no
#   to get by without it. 

# Add the ARToolKitPlus repo to our sources. 
# Copy, replace etc the file because otherwise it'll get run multipule times
# And that'll append multipule repos
# And that's probably bad. Better way to do this would be to check if repo's in 
# sources list, but that's alot of effort. Feel free to fix. 

cp /etc/apt/sources.list /etc/apt/sources.list.backup
echo '' >> /etc/apt/sources.list
echo '# ARToolKitPlus repository' >> /etc/apt/sources.list
echo 'deb http://ppa.launchpad.net/michael-the-drummer/wcl/ubuntu lucid main' >> /etc/apt/sources.list

apt-get update

apt-get install \
build-essential \
libtool \
automake \
libxext-dev \
flex \
bison \
libraw1394-dev \
libdc1394-22-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
artoolkitplus-dev \
libcwiid-dev 

# Replace the sources.list with the backup
mv /etc/apt/sources.list.backup /etc/apt/sources.list

Revert "Added vim to the list of packages, as it's not installed in Ubuntu 10.04 LTS by default."
Revert "Added vim to the list of packages, as it's not installed in Ubuntu 10.04 LTS by default."

 o Vim is not a required library to get libwcl to build.
 o There are probably some people out there who use Emacs... maybe
 o It is the developers perogative to install their editor of choice.
 o vi is installed by default, we don't have to have any other editor.

This reverts commit 8898811d1207dc42c5ec67a26da84df5e5ce1847.
