You are not logged in.
Pages: 1
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
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
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
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.
Offline
Some progress (update for krb5-crypto in AUR, will post it in its comments when I'm done ):
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.
Offline
Made this yesterday. Just a hack but it works
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
Cool, that worked! But I'm a little disappointed by the image quality...
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.
Offline
It's fine to put it in AUR, it just can't be put in community.
Offline
Offline
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
[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.
Offline
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
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
Great it works. Thank you!
UNIX is user friendly, it's just picky about who it's friends are.
Offline
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.
Offline
New version 2.2.9.6023
https://zattoo.com/downloadlinux
http://91.123.96.20/zattoo-2.2.9.6023-i386.tgz
Offline
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 ...
Cheers Sigi
Haven't been here in a while. Still rocking Arch.
Offline
Thanks for Pkgbuild Sigi
it seem better but now it uses flash for ads
zattoo uses glade,it's easy remove ads
http://img246.imageshack.us/img246/9857 … adegn5.png
no more spam or flash animation
Offline
Hello,
zattoo 3.0.5 is out!. The version from aur don't work.
Regards.
Offline
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.
Offline
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
Pages: 1