You are not logged in.

#1 2007-05-09 18:38:07

5ketcher
Member
From: Basel City
Registered: 2007-05-09
Posts: 5
Website

zattoo (TV via WAN)

Hi,

I'm new to Arch Linux. I just to watch TV through WAN with Zattoo on OSX. Today I saw that they now have a version for Linux, too! The problem is that they only offer packages for Suse, Fedora, Ubuntu ... (.rpm & deb). May someone please explain me how to convert/rebuild/install these files on my Arch Linux machine

Thanks in advance, Jan


UNIX is user friendly, it's just picky about who it's friends are.

Offline

#2 2007-05-09 18:42:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: zattoo (TV via WAN)

You need to make a PKGBUILD

I'd start here: http://wiki.archlinux.org/index.php/ABS … ild_System

There are many example PKGBUILDs at http://aur.archlinux.org

Offline

#3 2007-05-09 18:49:42

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: zattoo (TV via WAN)

rpmunpack / rpmextract to extract the rpm package and copy them into the right build directory by using the PKGBUILD.

I offer some help on irc or on the board here if you need further advice.


Ability is nothing without opportunity.

Offline

#4 2007-05-09 19:09:51

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

Take this for a start - doesn't work yet, just played around with it yesterday.
(has some issues with kerberos5, and make sure what license this thing is released under..)
Put the .deb in the same folder as this PKGBUILD and run makepkg.

pkgname=zattoo
pkgver=2.2.8.5376
pkgrel=1
pkgdesc="Zattoo is live TV on your PC"
arch=('i686' 'x86_64')
url="http://zattoo.com/"
license=('GPL')
depends=('ffmpeg' 'libidn' 'libgnomeui' 'gtkglext' 'mesa' 'curl')
makedepends=('deb2targz')
provides=()
conflicts=()
replaces=()
backup=()
source=(${pkgname}-${pkgver}-i386.deb)
noextract=()
md5sums=()

build() {
  deb2targz ${pkgname}-${pkgver}-i386.deb
  tar xfz ${pkgname}-${pkgver}-i386.tar.gz
  cp -R usr $startdir/pkg/
}

Last edited by Sigi (2007-05-09 19:13:07)


Haven't been here in a while. Still rocking Arch. smile

Offline

#5 2007-05-09 22:53:41

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

Some progress (update for krb5-crypto in AUR, will post it in its comments when I'm done wink ):

pkgname=krb5-crypto
pkgver=1.6.1
pkgrel=1
pkgdesc="The crypto part of Kerberos"
arch=('i686' 'x86_64')
url="http://web.mit.edu/kerberos/www/#what_is"
license="Kerberos-license"
depends=('glibc')
makedepends=('bison')
source=(http://web.mit.edu/kerberos/www/dist/krb5/1.6/krb5-$pkgver-signed.tar \
    license)
md5sums=('' '8d6cb4c10e939c240b07b7ed59a9e87d')

build()
{
  cd $startdir/src
  tar zxf krb5-$pkgver.tar.gz
  cd $startdir/src/krb5-$pkgver/src
  ./configure --prefix=/usr
  make || return 1
#  cp -d lib/libgss* $startdir/pkg/usr/lib/
#  cp -d lib/libk5* $startdir/pkg/usr/lib/
  install -Dm644 util/support/libkrb5support.so $startdir/pkg/usr/lib/libkrb5support.so
  ln -s /usr/lib/libkrb5support.so $startdir/pkg/usr/lib/libkrb5support.so.0
  ln -s /usr/lib/libkrb5support.so $startdir/pkg/usr/lib/libkrb5support.so.0.1

  install -Dm644 lib/crypto/libk5crypto.so $startdir/pkg/usr/lib/libk5crypto.so
  ln -s /usr/lib/libk5crypto.so $startdir/pkg/usr/lib/libk5crypto.so.3
  ln -s /usr/lib/libk5crypto.so $startdir/pkg/usr/lib/libk5crypto.so.3.1
  
  ln -s /usr/lib/libkrb5.so $startdir/pkg/usr/lib/libkrb5.so.3
  ln -s /usr/lib/libkrb5.so $startdir/pkg/usr/lib/libkrb5.so.3.3

  install -Dm644 lib/gssapi/libgssapi_krb5.so $startdir/pkg/usr/lib/libgssapi_krb5.so
  ln -s /usr/lib/libgssapi_krb5.so $startdir/pkg/usr/lib/libgssapi_krb5.so.2
  ln -s /usr/lib/libgssapi_krb5.so $startdir/pkg/usr/lib/libgssapi_krb5.so.2.2

  install -Dm644 $startdir/license $startdir/pkg/usr/share/licenses/$pkgname/Kerberos-license
}

Haven't been here in a while. Still rocking Arch. smile

Offline

#6 2007-05-10 00:25:06

bugix
Member
Registered: 2005-02-23
Posts: 4

Re: zattoo (TV via WAN)

Made this yesterday. Just a hack but it works tongue

pkgname=zattoo
pkgver=2.2.8.5376
pkgrel=1
pkgdesc="Live TV Player"
url="http://www.zatoo.com/"
depends=(gtkglext libidn)
makedepends=(rpmextract)
install=zattoo.install
source=(http://download.zattoo.com/$pkgname-$pkgver-1.i386.rpm)

build() {
  cd $startdir/pkg/
  rpmextract.sh $startdir/src/$pkgname-$pkgver-1.i386.rpm
  cd $startdir/pkg/usr/lib
  ln -s /usr/lib/libcrypto.so libk5crypto.so.3
  ln -s /usr/lib/libkrb5.so libkrb5.so.3
  ln -s /usr/lib/libkrb5.so libkrb5support.so.0
  ln -s /usr/lib/libgssapi.so libgssapi_krb5.so.2
}
post_install() {
/sbin/ldconfig /usr/lib/zattoo
}

op=$1
shift

$op $*

Offline

#7 2007-05-12 11:26:19

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

Cool, that worked! But I'm a little disappointed by the image quality...

zattoo license wrote:

You must not translate, reverse engineer, decompile, or disassemble
this software.  You must not modify this software or merge all or
any part of it into another product.  You must not rent, lend, or
lease this software, and you must not distribute copies of this
software to third parties.

Looks like it's forbidden to put this into the AUR...


Haven't been here in a while. Still rocking Arch. smile

Offline

#8 2007-05-12 14:55:52

cromo
Member
From: Czestochowa, Poland
Registered: 2006-09-20
Posts: 87

Re: zattoo (TV via WAN)

It's fine to put it in AUR, it just can't be put in community.

Offline

#9 2007-05-13 08:17:35

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

OK.


Haven't been here in a while. Still rocking Arch. smile

Offline

#10 2007-05-13 11:30:58

5ketcher
Member
From: Basel City
Registered: 2007-05-09
Posts: 5
Website

Re: zattoo (TV via WAN)

Thanks for the package. How do I install it now? I enabled the [community] repository and updated my local pacman database with "pacman -Sy". The command "pacman -S zattoo" says:

error: 'zattoo': not found in sync db

What am I doing wrong?

Cheers, Jan


UNIX is user friendly, it's just picky about who it's friends are.

Offline

#11 2007-05-13 14:37:31

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

[community] is a repo maintained by trusted users. It contains some of the packages of the AUR, but not all...

You'll have to build it yourself


Haven't been here in a while. Still rocking Arch. smile

Offline

#12 2007-05-13 18:59:08

5ketcher
Member
From: Basel City
Registered: 2007-05-09
Posts: 5
Website

Re: zattoo (TV via WAN)

I build and installed the package with no error or so. If I want to start zattoo_player the following error appears :

08:56:35 PM 05/13/2007 [MSG]    Welcome to Zattoo player (2.2.8.5376)
08:56:35 PM 05/13/2007 [MSG]    User needs to accept license
08:56:35 PM 05/13/2007 [DEBUG]  Fatal error: Could not display license agreement. You may need to reinstall Zattoo.
08:56:37 PM 05/13/2007 [DEBUG]  destroying instance

I checked if the license file is there. It's located in /usr/share/licenses/zattoo.

Last edited by 5ketcher (2007-05-13 19:03:23)


UNIX is user friendly, it's just picky about who it's friends are.

Offline

#13 2007-05-13 19:09:09

bugix
Member
Registered: 2005-02-23
Posts: 4

Re: zattoo (TV via WAN)

5ketcher wrote:

I build and installed the package with no error or so. If I want to start zattoo_player the following error appears :

08:56:35 PM 05/13/2007 [MSG]    Welcome to Zattoo player (2.2.8.5376)
08:56:35 PM 05/13/2007 [MSG]    User needs to accept license
08:56:35 PM 05/13/2007 [DEBUG]  Fatal error: Could not display license agreement. You may need to reinstall Zattoo.
08:56:37 PM 05/13/2007 [DEBUG]  destroying instance

I checked if the license file is there. It's located in /usr/share/licenses/zattoo.

Remover the last two lines of Sigis PKGBUILD

mkdir -p $startdir/pkg/usr/share/licenses/zattoo/
mv $startdir/pkg/usr/share/zattoo_player/License.txt $startdir/pkg/usr/share/licenses/zattoo/LICENSE

Zattoo can't find the license under /usr/share/licenses/

Offline

#14 2007-05-13 19:28:22

5ketcher
Member
From: Basel City
Registered: 2007-05-09
Posts: 5
Website

Re: zattoo (TV via WAN)

Great it works. Thank you!


UNIX is user friendly, it's just picky about who it's friends are.

Offline

#15 2007-05-13 19:59:05

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

bugix wrote:
5ketcher wrote:

I build and installed the package with no error or so. If I want to start zattoo_player the following error appears :

08:56:35 PM 05/13/2007 [MSG]    Welcome to Zattoo player (2.2.8.5376)
08:56:35 PM 05/13/2007 [MSG]    User needs to accept license
08:56:35 PM 05/13/2007 [DEBUG]  Fatal error: Could not display license agreement. You may need to reinstall Zattoo.
08:56:37 PM 05/13/2007 [DEBUG]  destroying instance

I checked if the license file is there. It's located in /usr/share/licenses/zattoo.

Remover the last two lines of Sigis PKGBUILD

mkdir -p $startdir/pkg/usr/share/licenses/zattoo/
mv $startdir/pkg/usr/share/zattoo_player/License.txt $startdir/pkg/usr/share/licenses/zattoo/LICENSE

Zattoo can't find the license under /usr/share/licenses/

oops, sorry about that one. I changed the AUR package accordingly...


Haven't been here in a while. Still rocking Arch. smile

Offline

#16 2007-06-06 19:04:23

Zap
Member
Registered: 2006-07-21
Posts: 41

Offline

#17 2007-06-06 22:42:18

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

AUR package updated. Thanks for your hint, Zap!
Note that xulrunner is now also needed as a dep. IMO zattoo performs better with the new version but this is hard to measure wink ...

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#18 2007-06-07 09:36:28

Zap
Member
Registered: 2006-07-21
Posts: 41

Re: zattoo (TV via WAN)

Thanks for Pkgbuild Sigi big_smile
it seem better but now it uses flash for ads
zattoo uses glade,it's easy remove ads  smile
http://img246.imageshack.us/img246/9857 … adegn5.png
no more spam or flash animation wink

Offline

#19 2007-09-05 16:51:24

yoburtu
Member
Registered: 2006-06-07
Posts: 103

Re: zattoo (TV via WAN)

Hello,

zattoo 3.0.5 is out!. The version from aur don't work.

Regards.

Offline

#20 2007-09-05 20:56:24

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: zattoo (TV via WAN)

What country are you from? In switzerland, the zattoo version in the AUR is still the newest one available online...


Haven't been here in a while. Still rocking Arch. smile

Offline

#21 2007-09-13 17:08:47

Zap
Member
Registered: 2006-07-21
Posts: 41

Re: zattoo (TV via WAN)

3.05 don't work for me ...
i can see only german channel and zattoo say that i can't see zattoo in my country, but i live in swiss :-\
edit:zattoo-ch work for me

Last edited by Zap (2007-09-13 17:12:50)

Offline

Board footer

Powered by FluxBB