Linux HOWTOs

About | Home | Search


HOWTO: zapping
Description: TV viewer for Gnome
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# Zapping 0.10cvs6
# ================
# Prerequisites:
# gawk
# grep
# sed
# intltool >= 0.22
# perl
# iconv
# gettext
# esd
# arts
# XFree86 or X.org
# gconf
# gtk+-2.0 >= 2.4
# libgnomeui-2.0
# libglade-2.0
# glib
# zvbi (optional; for Teletext, subtitles and Closed Captioning)
# libjpeg
# libpng
# rte (optional; for recording)
# lirc (optional; for remote control support)
# Python
# libxml2
# scrollkeeper
# libxslt

cd
test -f installed/zapping-0.10cvs6.tar.bz2 &&
 mv installed/zapping-0.10cvs6.tar.bz2 .
test ! -f zapping-0.10cvs6.tar.bz2 &&
 wget http://download.sf.net/zapping/zapping-0.10cvs6.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "zapping-*" -exec rm -r {} \;
tar xjvf ~/zapping-0.10cvs6.tar.bz2
cd zapping-0.10cvs6
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

make install

# I only read/write English (well), so I remove the internationalization
# files
find /usr/share/locale -type f -name zapping.mo -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/zapping-*.tar.*
mv zapping-0.10cvs6.tar.bz2 installed/

# /usr/share/pixmaps/zapping/gnome-television.png can be used as a desktop
# icon


# If you ever want to uninstall Zapping, this should do it:
cd
su
test -d src/zapping-* && ( cd src/zapping-* ; make uninstall )
( cd /usr/bin ; rm -f zapping zapping_remote )
test -d /usr/lib/zapping && rm -r /usr/lib/zapping
( cd /usr/man/man1 ; rm -f zapping.1 zapping_remote.1 zapping_setup_fb.1 )
test -d /usr/share/gnome/help/zapping && rm -r /usr/share/gnome/help/zapping
test -d /usr/share/omf/zapping && rm -r /usr/share/omf/zapping
test -d /usr/share/pixmaps/zapping && rm -r /usr/share/pixmaps/zapping
test -d /usr/share/zapping && rm -r /usr/share/zapping
rm -f /etc/gconf/schemas/zapping.schemas /usr/sbin/zapping_setup_fb \
 /usr/share/applications/zapping.desktop
exit
find ~/src -maxdepth 1 -type d -name "zapping-*" -exec rm -r {} \;
rm -f ~/installed/zapping-*.tar.*

Back to the list


Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>