GST cookbook/Trisquel6

From XiphWiki
Revision as of 23:14, 3 May 2013 by GChriss (talk | contribs) (add first-past Totem instructions + edits to main build instructions. Totem works just fine, if not a little rough on edges)
Jump to navigation Jump to search

Trisquel Release 6.0 (toutatis) GStreamer Build Instructions
Tested on a Lenovo x201i by GChriss / 15-April-2013

Prepare live USB key as documented:
wget "http://cdimage.trisquel.info/trisquel-images/trisquel_6.0_amd64.iso.torrent"
transmission-gtk trisquel_6.0_amd64.iso.torrent &
dd if=/path/to/trisquel_6.0_amd64.iso of=/dev/sdX bs=8M
sync
cd /media/trisquel\ 6.0\ amd64/
md5sum -c md5sum.txt

Boot USB key in BIOS -> Install to disk -> Manual partition
Use a smaller '/' partition (~20GB), ~2GB swap space, the remainder as '/home', all primary partitions

Run through install prompts and reboot
Works out-of-box: backlight, suspend, audio, USB, 10/100 Ethernet, graphics acceleration, Atheros AR5418 Wireless Network Adapter (168c:0024 -- BIOS modification required)

Trisquel Menu -> System Settings -> Disable screensaver, screen dimming, suspend-on-lid-close, sound effects, window animations

Open Terminal:
sudo su

Get this stuff outta here...
/etc/init.d/apparmor stop
update-rc.d -f apparmor remove
apt-get --purge remove apparmor apparmor-utils libapparmor-perl libapparmor1 gnash libjack-jackd2-0 pidgin-data gstreamer0.10-tools gnome-app-install

apt-get update


echo "linux-image-generic hold" | dpkg --set-selections
(To undo: echo "linux-image-generic install" | dpkg --set-selections )
apt-get dist-upgrade

apt-get install bzip2 wget curl bison flex fakeroot vim mlocate subversion git-core openssh-server build-essential libtool intltool checkinstall autoconf automake kernel-package libasound2-dev libcanberra-gtk3-dev libffi-dev libfftw3-dev libgconf2-dev libglade2-dev libgnome-media-profiles-dev libgtkmm-3.0-dev libjson0-dev libncurses5-dev libqt3-mt-dev libsamplerate0-dev libsdl1.2-dev libsndfile1-dev libspeexdsp-dev libudev-dev libv4l-dev libxi-dev libxml2-dev libxmu-dev libxv-dev pciutils-dev cu sysfsutils gtk-doc-tools gnome-doc-utils iasl alsa-tools lm-sensors mkvtoolnix mkvtoolnix-gui cpuburn indicator-multiload indicator-cpufreq qt4-dev-tools libfam-dev

chmod 0755 /usr/bin/cpufreq-selector

Create this file and add the line that follows:
vi /etc/modprobe.d/thinkpad_acpi.conf
options thinkpad_acpi fan_control=1

vi /etc/rc.local --> add the following:
chmod 666 /proc/acpi/ibm/fan

exit

indicator-multiload &


Optional but helpful step for realtime audio processing
sudo su
cd /usr/src
wget "http://linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-3.8.N/linux-libre-3.8.6-gnu.tar.bz2"
tar -xvjf linux-libre-3.8.6-gnu.tar.bz2
cd linux-3.8.6/
cp /boot/config-3.2.0-38-generic .config
make oldconfig -> hold down enter key to accept defaults
make gconfig
'CONFIG_PREEMPT=y' + ALSA built as modules, 'CONFIG_HZ_100=y'
Consider adding Easycap: CONFIG_MEDIA_ANALOG_TV_SUPPORT=y + CONFIG_VIDEO_STK1160=m
CONCURRENCY_LEVEL=4 fakeroot make deb-pkg &>gsc_make-deb-pkg.log
dpkg -i ../*.deb


reboot and check for PREEMPT in 'uname -a':
Linux x201 3.8.6-gnu #1 SMP PREEMPT Sat Apr 13 02:07:48 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux


sudo su
mkdir -p /packages/openvideopro && mkdir -p /packages/openvideopro/lib && mkdir -p /packages/openvideopro/bin
mkdir -p /packages/openvideopro/lib/pkgconfig
chown -R gchriss:users /packages
exit
rm -Rf ~/.gstreamer-0.10
vi ~/.bashrc -> add the following:
export GST_PLUGIN_SYSTEM_PATH="/packages/openvideopro/lib"
export GST_PLUGIN_PATH="/packages/openvideopro/lib"
export PKG_CONFIG_PATH=/packages/openvideopro/lib/pkgconfig:/packages/openvideopro/lib64/pkgconfig
export PATH=/packages/openvideopro/bin:$PATH


cd /packages && wget "http://ftp.gnu.org/gnu/automake/automake-1.13.1.tar.gz"
tar -xvzf automake-1.13.1.tar.gz && cd automake-1.13.1
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages
git clone git://repo.or.cz/nasm.git nasm_14april2013 && cd nasm_14april2013
./autogen.sh --no-configure &>gsc_autogen.log
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

YASM is optional:
cd /packages
git clone git://github.com/yasm/yasm.git yasm_14april2013 && cd yasm_14april2013
./autogen.sh --no-configure &>gsc_autogen.log
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages
git clone git://code.entropywave.com/git/orc.git orc_14april2013 && cd orc_14april2013
./autogen.sh &>gsc_autogen.log
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://jackaudio.org/downloads/jack-audio-connection-kit-0.121.3.tar.gz"
tar -xvzf jack-audio-connection-kit-0.121.3.tar.gz && cd jack-audio-connection-kit-0.121.3
./configure --enable-optimize --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

sudo su
vi /etc/security/limits.conf -> add the following line:
@audio - rtprio 99

vi /etc/security/limits.d/audio.conf -> create file with the following line:
@audio - rtprio 95
@audio - memlock unlimited

usermod -a -G audio gchriss --> subsitute 'gchriss' for your username
exit

At this point UI volume controls are missing/non-functional, but alsamixer works.
Build pulseaudio if needed, but otherwise optional:
rm -rf ~/.pulse* /tmp/.esd*
sudo -rf /tmp/pulse*
cd /packages && wget "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-3.0.tar.xz"
tar -xvJf pulseaudio-3.0.tar.xz
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install &>gsc_install.log
mkdir -p /packages/openvideopro/var/run/pulse && mkdir -p /packages/openvideopro/var/lib/pulse

Also optional (but recommended):
cd /packages && wget "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.36.tar.gz"
tar -xvzf gstreamer-0.10.36.tar.gz && cd gstreamer-0.10.36
make install &>gsc_install.log

Optional:
cd /packages && wget "http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.36.tar.gz"
tar -xvzf gst-plugins-base-0.10.36.tar.gz && cd gst-plugins-base-0.10.36
./configure --enable-orc --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

Optional:
cd /packages && wget "http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.31.tar.gz"
tar -xvzf gst-plugins-good-0.10.31.tar.gz && cd gst-plugins-good-0.10.31
See: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9f2aa8d47f835ea155aaf635f618c0fc1ca87012
--> Remove line containing 'vbuffer.input' in 'sys/v4l2/gstv4l2bufferpool.c'
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/packages/openvideopro/lib64/pkgconfig ./configure --enable-experimental --enable-orc --prefix=/packages/openvideopro &>gsc_configure.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

Optional:
cd /packages && wget https://launchpad.net/gnome-media/main/2.91.2/+download/gnome-media-2.91.2.tar.bz2
tar -xvjf gnome-media-2.91.2.tar.bz2 && cd gnome-media-2.91.2
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log

TODO: Figure out how to rebuild UI volume controls (e.g., keyboard volume buttons)
TODO: The following builds but fails to connect to pulseaudio... debug needed?
git clone git://git.0pointer.de/pavucontrol pavucontrol_15april2013 && cd pavucontrol_15april2013
./bootstrap.sh &>gsc_bootstrap.log
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log

TODO: Rebuild Totem + PiTiVi

cd /packages && wget "http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz"
tar -xvzf libogg-1.3.0.tar.gz && cd libogg-1.3.0
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.gz"
tar -xvzf libvorbis-1.3.3.tar.gz && cd libvorbis-1.3.3/
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2"
tar -xvjf libtheora-1.1.1.tar.bz2 && cd libtheora-1.1.1
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_config.log
make install &>gsc_install.log

Open abrowser, download:
http://sourceforge.net/projects/libjpeg-turbo/files/1.2.90%20%281.3beta1%29/libjpeg-turbo-1.2.90.tar.gz/download
cd /packages && tar -xvzf libjpeg-turbo-1.2.90.tar.gz && cd libjpeg-turbo-1.2.90
./configure --prefix=/packages/openvideopro --with-jpeg8 &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://dl.matroska.org/downloads/libebml/libebml-1.2.2.tar.bz2"
tar -xvjf libebml-1.2.2.tar.bz2 && cd libebml-1.2.2
make -C make/linux install_staticlib install_headers prefix=/packages/openvideopro &>gsc_make.log

cd /packages && wget "http://dl.matroska.org/downloads/libmatroska/libmatroska-1.3.0.tar.bz2"
tar -xvjf libmatroska-1.3.0.tar.bz2 && cd libmatroska-1.3.0/
CXXFLAGS='-I/packages/openvideopro/include' make -C make/linux install_staticlib install_headers prefix=/packages/openvideopro &>gsc_make.log

cd /packages && wget "http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz"
tar -xvzf libshout-2.3.1.tar.gz && cd libshout-2.3.1
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.37/glib-2.37.0.tar.xz"
tar -xvJf glib-2.37.0.tar.xz && cd glib-2.37.0
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
[all 'make check' tests pass]
make install &>gsc_install.log

cd /packages && wget "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.27.tar.bz2"
tar -xvjf alsa-lib-1.0.27.tar.bz2 && cd alsa-lib-1.0.27
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.0.6.tar.xz"
tar -xvJf gstreamer-1.0.6.tar.xz && cd gstreamer-1.0.6
./configure --enable-failing-tests --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make check &>gsc_check.log
make install &>gsc_install.log

cd /packages && wget "http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.0.6.tar.xz"
tar -xvJf gst-plugins-base-1.0.6.tar.xz && cd gst-plugins-base-1.0.6
./configure --enable-orc --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make check &>gsc_check.log
make install &>gsc_install.log

cd /packages && wget "http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.0.6.tar.xz"
tar -xvJf gst-plugins-good-1.0.6.tar.xz && cd gst-plugins-good-1.0.6
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/packages/openvideopro/lib64/pkgconfig ./configure --enable-experimental --enable-orc --prefix=/packages/openvideopro &>gsc_configure.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

Optional but really helpful:
cd /packages && wget "http://downloads.sourceforge.net/qjackctl/qjackctl-0.3.10.tar.gz"
tar -xvzf qjackctl-0.3.10.tar.gz && cd qjackctl-0.3.10
./configure --prefix=/packages/openvideopro --with-jack=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log



===
Create the following block entries for automatic execution @ user login
The first two entries are specific to managing Thinkpad-series laptops


gsc@host:~$ cat ~/.config/autostart/cpufreq-selector.desktop

[Desktop Entry]
Type=Application
Exec=sh -c "/usr/bin/cpufreq-selector -c 0 -g performance & /usr/bin/cpufreq-selector -c 1 -g performance & /usr/bin/cpufreq-selector -c 2 -g performance & /usr/bin/cpufreq-selector -c 3 -g performance"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=cpu-freq-selector
Name=cpufreq-selector
Comment[en_US]=Set 2.4GHz (x4)
Comment=Set 2.4GHz (x4)


gsc@host:~$ cat ~/.config/autostart/echo.desktop

[Desktop Entry]
Type=Application
Exec=sh -c "echo level 7 > /proc/acpi/ibm/fan"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Spin up x201i Fan
Name=Spin up x201i Fan
Comment[en_US]=Substitute 'disengaged' for '7' for max speed
Comment=Substitute 'disengaged' for '7' for max speed


gsc@host:~$ cat ~/.config/autostart/gnome-terminal.desktop

[Desktop Entry]
Type=Application
Exec=gnome-terminal
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=GNOME Terminal
Name=GNOME Terminal
Comment[en_US]=Just to get things started...
Comment=Just to get things started...


gsc@host:~$ cat ~/.config/autostart/qjackctl.desktop

[Desktop Entry]
Type=Application
Exec=sh -c "PATH=/packages/openvideopro/bin:$PATH LD_LIBRARY_PATH=/packages/openvideopro/lib64 /packages/openvideopro/bin/qjackctl"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=qjackctl
Name=qjackctl
Comment[en_US]=Launch openvideopro qjackctl / -GChriss
Comment=Launch openvideopro qjackctl / -GChriss

===


sudo updatedb

Stress-test CPU temperature stability (often necessary, proceed at own risk):
burnMMX & burnMMX & burnMMX & burnMMX


network-manager can sometimes be flaky, issue on an as-needed basis:
service network-manager restart


Start JACK either via command-line or 'Start' button in QjackCtl, launch GStreamer pipeline, then renice pipeline to -18 or so.


Pidgin

This section is for building Pidgin and Farsight from source.
Pidgin has XMMP videoconferencing abilities that may be helpful in a A/V production environment.

apt-get install cdbs dh-autoreconf dh-translations gir1.2-farstream-0.1 hardening-wrapper mercurial-git libavahi-glib-dev libdbus-glib-1-dev libenchant-dev libgadu3 libgadu-dev libgtkspell-dev libgtkspell-3-dev libidn11-dev libjson-glib-dev liblaunchpad-integration-dev libmeanwhile-dev libncursesw5-dev libnspr4-dev libnss3-dev libperl-dev libsasl2-dev libsqlite3-dev libstartup-notification0-dev libwebkitgtk-3.0-dev libxss-dev libzephyr-dev network-manager-dev python-dev python-gtk2-dev python-scour tcl tcl-dev tcl8.5 tcl8.5-dev tk tk-dev tk8.5 tk8.5-dev x11proto-scrnsaver-dev

cd /packages
wget http://gstreamer.freedesktop.org/src/gst-python/gst-python-0.10.22.tar.gz
tar -xvzf gst-python-0.10.22.tar.gz && cd gst-python-0.10.22
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages
wget "http://nice.freedesktop.org/releases/libnice-0.1.4.tar.gz"
tar -xvzf libnice-0.1.4.tar.gz && cd libnice-0.1.4
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

[Skip the following two blocks if building Pidgin against GStreamer 1.0]
wget http://freedesktop.org/software/farstream/releases/farstream/farstream-0.1.2.tar.gz
tar -xvzf farstream-0.1.2.tar && cd farstream-0.1.2
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

http://sourceforge.net/projects/pidgin/files/Pidgin/2.10.7/pidgin-2.10.7.tar.bz2 ==> download file
cd /packages
tar -xvjf pidgin-2.10.7.tar.bz2 && cd pidgin-2.10.7
./configure --prefix=/packages/openvideopro --with-gstreamer=0.10 &>gsc_config.log
make V=1 &>gsc_make.log
sudo make install &>gsc_install.log
[/skip]


[Experimental section; builds and launches but Pidgin<->GStreamer 1.0 lockups triggered on events...]
cd /packages
wget "http://freedesktop.org/software/farstream/releases/farstream/farstream-0.2.3.tar.gz"
tar -xvzf farstream-0.2.3.tar.gz && cd farstream-0.2.3
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages
hg clone http://hg.pidgin.im/pidgin/main pidgin_1may2013 && cd pidgin_1may2013
NOCONFIGURE=1 ./autogen.sh &>gsc_autogen.log
GTK_LIBS='-L/packages/openvideopro/lib -lgstvideo-1.0' ./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install [/end experimental section]




Totem

apt-get install itstool libclutter-gst-dev libclutter-gtk-1.0-dev gsettings-desktop-schemas-dev libbonobo2-dev libgail-dev libxtst-dev libgmime-2.6-dev libsoup-gnome2.4-dev gobject-introspection libpeas-dev libvala-0.16-dev valac-0.16-vapi valac-0.16 pylint liblircclient-dev

[Include support for non-libre standards implemented using free software...]
apt-get install libbz2-dev libcurl4-gnutls-dev libfaad-dev libmms-dev libgio2.0-cil-dev

cd /packages && wget "http://downloads.xiph.org/releases/opus/opus-1.0.2.tar.gz"
tar -xvzf opus-1.0.2.tar.gz && cd opus-1.0.2
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.0.7.tar.xz"
tar -xvJf gst-plugins-bad-1.0.7.tar.xz && cd gst-plugins-bad-1.0.7
OPUS_CFLAGS='-I/packages/openvideopro/include' ./configure --enable-experimental --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.acc.umu.se/pub/GNOME/sources/clutter-gst/2.0/clutter-gst-2.0.0.tar.xz"
tar -xvJf clutter-gst-2.0.0.tar.xz && cd clutter-gst-2.0.0
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.gnome.org/pub/GNOME/sources/atk/2.8/atk-2.8.0.tar.xz"
tar -xvJf atk-2.8.0.tar.xz && cd atk-2.8.0
./configure --prefix=/packages/openvideopro --disable-glibtest &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.8/at-spi2-core-2.8.0.tar.xz
tar -xvJf at-spi2-core-2.8.0.tar.xz && cd at-spi2-core-2.8.0
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.gnome.org/pub/GNOME/sources/at-spi2-atk/2.8/at-spi2-atk-2.8.1.tar.xz"
tar -xvJf at-spi2-atk-2.8.1.tar.xz && cd at-spi2-atk-2.8.1
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.gnome.org/pub/gnome/sources/gtk+/3.6/gtk+-3.6.4.tar.xz"
tar -xvJf gtk+-3.6.4.tar.xz && cd gtk+-3.6.4
./configure --prefix=/packages/openvideopro --disable-glibtest &>gsc_config.log

cd /packages && wget "http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.36/gobject-introspection-1.36.0.tar.xz"
tar -xvJf gobject-introspection-1.36.0.tar.xz && cd gobject-introspection-1.36.0
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2"
tar -xvjf py2cairo-1.10.0.tar.bz2 && cd py2cairo-1.10.0
./waf configure --prefix=/packages/openvideopro &>gsc_config.log
./waf build &>gsc_build.log
./waf install &>gsc_install.log

cd /packages && wget "http://ftp.acc.umu.se/pub/GNOME/sources/pygobject/3.9/pygobject-3.9.1.tar.xz"
tar -xvJf pygobject-3.9.1.tar.xz && cd pygobject-3.9.1
./configure --disable-glibtest --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.gnome.org/pub/gnome/sources/totem-pl-parser/3.4/totem-pl-parser-3.4.4.tar.xz"
tar -xvJf totem-pl-parser-3.4.4.tar.xz && cd totem-pl-parser-3.4.4
./configure --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.acc.umu.se/pub/GNOME/sources/grilo/0.2/grilo-0.2.5.tar.xz"
tar -xvJf grilo-0.2.5.tar.xz && cd grilo-0.2.5
./configure --disable-debug --prefix=/packages/openvideopro &>gsc_config.log
make V=1 &>gsc_make.log
make install &>gsc_install.log

cd /packages && wget "http://ftp.gnome.org/pub/GNOME/sources/totem/3.8/totem-3.8.0.tar.xz"
tar -xvJf totem-3.8.0.tar.xz && cd totem-3.8.0
./configure --prefix=/packages/openvideopro &>gsc_config.log