More Packages - Debian

From TV-Browser Wiki
Revision as of 12:40, 23 December 2009 by Phobie (talk | contribs) (Compile for yourself: retranslated from german wiki)
Jump to: navigation, search

Introduction

This package installs TV-Browser for multi-user-systems and uses the Java-runtimes of Sun. These runtimes will be installed automatically by the packaging system.

Available Versions

Distribution TVB-Version Repository
Debian (Sid) 2.7.4 deb http://debian.zaubberer.net/debian sid main contrib non-free
Ubuntu (Karmic) 2.7.4 deb http://ppa.launchpad.net/phobie/ppa/ubuntu karmic main
Ubuntu (Karmic) 2.7.4 deb http://ppa.launchpad.net/blueyed/ppa/ubuntu karmic main
Ubuntu (Jaunty) 2.7.4 deb http://ppa.launchpad.net/blueyed/ppa/ubuntu jaunty main
Ubuntu (Intrepid) 2.7.4 deb http://ppa.launchpad.net/blueyed/ppa/ubuntu intrepid main
Ubuntu (Hardy) 2.7.4 deb http://ppa.launchpad.net/blueyed/ppa/ubuntu hardy main

TV-Browser is a Java-Application and therefore binary packages can be used on any arhcitecture (i386, amd64, ppc, ...)
Packages build under Debian should run seemless under Ubuntu and other DPKG-based distributions.
(Theoretically there could be dependency problems)

Brief instruction for phobies Personal Package Archive on Launchpad

sudo echo \"deb http://ppa.launchpad.net/phobie/ubuntu intrepid main\" >  /etc/apt/sources.list.d/ppa-phobie.list
sudo apt-get update
sudo apt-get install tvbrowser

Brief instruction for zaubberer.net

Open a console and type:

sudo "wget -O /etc/apt/sources.list.d/zaubberer.list http://debian.zaubberer.net/zaubberer.list"
sudo apt-get update
sudo apt-get install zaubberer-keyring tvbrowser

done!

Start TV-Browser via the startmenu (KDE --> Multimedia --> TV-Browser) or via "tvbrowser" in the console.

APT-sources

On DPKG-based distributions you can download packages seperately and install them with:

dpkg -i packagename.deb

But it is better to add downloadsources to the APT-sources and use APT-tools (apt-get, aptitude, synaptic, usw.) to install software.

On Debian you cann add the zaubberer sources with:

sudo "wget -O /etc/apt/sources.list.d/zaubberer.list http://debian.zaubberer.net/zaubberer.list"

If you do not use "sudo" replace "sudo" with "su -c" or become root.

It should make no difference if you chose Debian or Ubuntu.

Signatures

DPKG-packages are digitaly signed. This ensures than packages can not be modified by third parties. To check signatures you need the public key of the signer. The keys of your distribution are preinstalled (i.e. debian-archive-keyring). For alien repositories like zaubberer you need the public key of the corresponding repository.

Update your packagelist with:

sudo apt-get update

Install the keyring with

sudo apt-get install zaubberer-keyring

See the post of Georg on forum.ubuntuusers.de (german)

Binary packages

Update your packagelist with:

sudo apt-get update

Install TV-Browser with:

sudo apt-get install tvbrowser

You can also install TV-Browser with the packaging tool of your choice by searching for "tvbrowser".

Compile for yourself

If the precompiled packages do not work on you system or if you are paranoid, you should compile for yourself.

Download all needed files

dget http://debian.zaubberer.net/debian/pool/sid/main/tvbrowser/tvbrowser_2.7.4-0px1.dsc

Or download the original sourcecode separately

wget http://prdownloads.sourceforge.net/tvbrowser/tvbrowser-2.7.4-src.zip?download

Repack

unzip -d tvbrowser-2.7.4 tvbrowser-2.7.4-src.zip
tar -zcvf tvbrowser_2.7.4.orig.tar.gz tvbrowser-2.7.4
rm -rf tvbrowser-2.7.4

For the paranoids: Check the .diff.gz for evil commands like "rm -rf /x".

Unpack the files

dpkg-source -x tvbrowser_2.7.4-0px1.dsc

Change to the working dir

cd tvbrowser-2.7.4

If needed, modify the package. I.e. add more dependencies to the debian/control file...

Build the package

dpkg-buildpackage -rfakeroot -us -uc

If the build succeeds you can install you package by hand

cd ..
sudo dpkg -i tvbrowser_2.7.4-0px1_all.deb

Security

If you get a signature warning, do not install the package!
It's an error or the repository has been compromised.
I f you are in two minds contact the owner of the repository.

  • .deb are as dangerous as *.exe!

Every setup can delete your whole harddisk!

Links