You are not logged in.
Pages: 1
Hi.
I started porting Zattoo for the lib32 environment. Atm I've updated many lib32 packages but I stuck with xulrunner-1.8. Anybody interested in helping me or is using the chroot environment the better solution?
Regards, Andreas
Offline
try zattoo-beta from aur.
you do not need xulrunner-1.8. the original zattooo package from their homepage has its own xulrunner libs.
http://aur.archlinux.org/packages.php?ID=18688
please post you PKGBUILD so far.
vlad
Offline
Hi.
Thanks for the advice. Atm I only update/create some dependency packages which were out of date/not available. Feel free to edit the Zattoo PKGBUILD...
I'll write a post when I get all dependencies.
Regards, Andreas
Last edited by echasslau (2009-01-03 14:09:18)
Offline
I create a "little" depency tree - I think I'll need a bit help...
bin32-zattoo
lib32-curl
lib32-openssl (update)
lib32-glibc (good)
lib32-zlib (create)
lib32-faac (good)
lib32-glibc (good)
lib32-libmp4v2 (good)
lib32-faad2 (good)
lib32-glibc (good)
lib32-ffmpeg (create)
flashplugin
lib32-gtk2 (good)
lib32-libxt (create)
mozilla-common (good)
lib32-gtkglext=>1.2.0
lib32-pango (create)
lib32-libgnomeui
lib32-gnome-keyring (good)
lib32-libbonoboui
lib32-libgnome
lib32-esound
lib32-alsa-lib (create)
lib32-audiofile (good)
lib32-glibc (good)
lib32-gnome-vfs
lib32-avahi
lib32-dbus (create)
lib32-glib2 (create)
lib32-glibc (good)
lib32-libcap (good)
lib32-bzip2 (good)
lib32-glibc (good)
lib32-gconf
lib32-gtk2 (create)
lib32-libxml2
lib32-readline (create)
lib32-orbit2
lib32-libidl2
lib32-glib2 (create)
lib32-gnutls (create)
lib32-gtk2 (create)
lib32-hal
lib32-dbus (create)
lib32-dbus-glib
lib32-dbus (create)
lib32-glib2 (create)
lib32-glib2 (create)
lib32-glibc (good)
lib32-heimdal
lib32-db (create)
lib32-e2fsprogs (update)
lib32-glibc (good)
lib32-openssl (update)
lib32-glibc (good)
lib32-smbclient
lib32-heimdal
lib32-db (create)
lib32-e2fsprogs (update)
lib32-glibc (good)
lib32-openssl (update)
lib32-glibc (good)
lib32-libcap
lib32-glibc (good)
lib32-libldap
lib32-libsasl (good)
lib32-glibc (good)
lib32-openssl (update)
lib32-glibc (good)
lib32-popt (good)
lib32-glibc (good)
lib32-libbonobo
lib32-libxml2
lib32-readline (create)
lib32-orbit2
lib32-libidl2
lib32-glib2 (create)
lib32-libgnomecanvas
lib32-libart-lgpl>=2.3.20 (good)
lib32-glibc (good)
lib32-libglade>=2.6.3
lib32-gtk2 (create)
lib32-libxml2
lib32-readline (create)
lib32-libidl2
lib32-glib2 (create)
lib32-libidn
lib32-konqueror-nsplugins
lib32-acl (update)
lib32-alsa-lib (create)
lib32-attr (update)
lib32-kdelibs (update)
lib32-libart-lgpl (good)
lib32-glibc (good)
lib32-libidn (update)
lib32-libpng (create)
lib32-qt (create)
bin32-mesa
lib32-gcc (create)
lib32-libgl (create)
lib32-libxt (create)
lib32-mesa (create)
mozilla-common (good)
lib32-nss (good)
lib32-nspr (good)
lib32-glibc (good)
lib32-sqlite3 (good)
lib32-glibc (good)
perl (good)
...
Offline
oh, i guess setting up a chroot environment would be less work.
do you need the hal/dbus as lib32? i guess it's sufficient that they only run.
Offline
Don't know. Only listed the dependences of the zattoo-beta package and renamed them to lib32-*.
But I think your right - dbus and hal should only run...
Offline
actually you could simply run zattoo_player and see what complaints there are about wrong ELF libraries.
then check which package owns these libs.
Offline
Dear all,
I am also interested in running zattoo on 64 bit, so I followed the advice given above.
I tried to run zattoo_player, looked at the error message about the lib with the wrong elf, found the lib in a i386 repository, unpacked it and moved the so files to /opt/lib32.
So far I had to repeat the process with the following libs:
gnome-keyring
gnome-vfs
libart-lgpl
libbonoboui
libgnome
libgnomecanvas
libgnomeui
popt
However, I have a problem. If I start zattoo_player now, I get the following error:
zattoo_player: error while loading shared libraries: libgnomeui-2.so.0: wrong ELF class: ELFCLASS64
Now, as you can see above, I already unpacked and copied libgnomeui. In fact:
[valerio@archlinux ~]$ ls -l /opt/lib32/libgnomeui-2.so.0
lrwxrwxrwx 1 root root 24 2009-01-11 10:18 /opt/lib32/libgnomeui-2.so.0 -> libgnomeui-2.so.0.2400.0
[valerio@archlinux lib32]$ ls -l /opt/lib32/libgnomeui-2.so.0.2400.0
-rwxr-xr-x 1 root root 685034 2009-01-11 10:18 libgnomeui-2.so.0.2400.0
And here I stopped. Why is it complaining about the missing 32 bit lib if it is there? It tried to dynamically load the 64 bit version first?
Thanks for your help
Valerio
Offline
the correct directory is /opt/lib32/usr/lib/...
but better try to keep your / directory clean.
make a directory under ~ called zattoo-testing and build the dir hierarchy needed by zattoo therin.
then set the lib paths with
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~/zattoo-testing/usr/lib
and copy the libs to that directory and not directly to /opt/lib32.
it is saner to leave the / directory to pacman.
then you can start your lib testing. when you found the libraries then you can build the lib32 packages for pacman.
here is a PKGBUILD-lib32.proto:
# Contributor: <>
pkgname=lib32-
pkgver=
pkgrel=
_pkgrel32=
_repo=
pkgdesc=""
arch=('x86_64')
url=""
depends=('')
license=('')
groups=lib32
source=(ftp://ftp.archlinux.org/${_repo}/os/i686/${pkgname/lib32-/}-${pkgver}-${_pkgrel32}.pkg.tar.gz)
build() {
mkdir -p ${pkgdir}/opt/arch32/usr/lib/...
cp -rPf ${srcdir}/usr/lib/.../*.so* ${pkgdir}/opt/arch32/usr/lib/...
vlad
Offline
Oh wonder - all dependencies are up to date. I found some lib32-* packages in community on the ftp server that are not within AUR. I thought every community package is within AUR!?!? The rest I created myself. So we can build an zattoo player for arch64.
I can do this I think, but what is the correct name of this package? lib32-zattoo or bin32-zattoo?
EDIT:
Stop! I need a lib32-ffmpeg package - can anybody do this?
Last edited by echasslau (2009-01-11 21:47:59)
Offline
search here for lib32: http://www.archlinux.de/?page=Packages
but what is the correct name of this package? lib32-zattoo or bin32-zattoo?
bin32-zattoo. it is not a library.
EDIT:
Stop! I need a lib32-ffmpeg package - can anybody do this?
do you?
have you tried with the 64bit ffmpeg?
Offline
Ok, but why does the official archlinux site not include community packages?
No, I dont tried it with 64bit ffmpeg - if you think it could work I'll do it this evening.
Thanks so far, Andreas
Offline
I tried but I allways get an error :
$ LD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:/opt/lib32/usr/lib/zattoo/:$LD_LIBRARY_PATH" zattoo_player
zattoo_player: /opt/lib32/usr/lib/zattoo/libcurl.so.3: no version information available (required by zattoo_player)
(zattoo_player:27536): GdkGLExt-WARNING **: Window system doesn't support OpenGL.
here my PKGBUILD so far:
# Contributor : Andreas Schönfelder <passtschu at freenet dot de>
pkgname=bin32-zattoo-beta
_zatpkgname=zattoo
_xulpkgname=xulrunner
pkgver=3.3.1.18350
_xulpkgver=1.8.0.4
_xullang=en-US
pkgrel=1
pkgdesc="Live-p2p-TV-Player BETA VERSION included Xulrunner 1.8.0.4. (account required, registration on www.zattoo.com)"
url="http://www.zattoo.com/"
license=('custom')
arch=('x86_64')
depends=('lib32-faac' 'lib32-gtkglext=>1.2.0' 'lib32-libidn' 'ffmpeg' 'lib32-libgnomeui' 'lib32-curl' 'lib32-flashplugin' 'lib32-libidl2' 'mozilla-common' 'lib32-nss' 'lib32-mesa' 'lib32-faad2' 'perl')
conflicts=('zattoo-ch' 'zattoo')
provides=('zattoo')
install=${pkgname}.install
source=(http://download.zattoo.com/${_zatpkgname}-${pkgver}-i386.tgz \
http://download.zattoo.com/${_xulpkgname}-${_xulpkgver}.${_xullang}.linux-i686.tar.gz \
readme.txt)
md5sums=('6f49464c8a5bd02603813eb2ff5d02d8' '1df0de4eabb9b9e4785a408a126818fc' '98f44cd7dd4243603aeb1513648fa4da')
build() {
# Zattoo License
mkdir -p ${srcdir}/dist/usr/share/licenses/${pkgname}/
install -m644 ${srcdir}/dist/usr/share/zattoo_player/License.txt ${srcdir}/dist/usr/share/licenses/${pkgname}/LICENSE
# Xulrunner License
install -m644 ${srcdir}/${_xulpkgname}/LICENSE ${srcdir}/dist/usr/share/licenses/${pkgname}/LICENSE_Xulrunner
# Xulrunner Program
mkdir -p ${srcdir}/dist/usr/lib/${_zatpkgname}/${_xulpkgname}
cp -R ${srcdir}/${_xulpkgname} ${srcdir}/dist/usr/lib/${_zatpkgname}/
# Informations for KDEMOD/KDE users :
mkdir -p ${srcdir}/dist/usr/lib/${_zatpkgname}/kde-scripts
install -m644 ${srcdir}/readme.txt ${srcdir}/dist/usr/lib/${_zatpkgname}/kde-scripts/readme.txt
# Zattoo Player
install -d $pkgdir/usr/bin
install -d $pkgdir/opt/lib32/usr/lib/zattoo
cp -R $srcdir/dist/usr/bin $pkgdir/usr/
cp -R $srcdir/dist/usr/share $pkgdir/usr/
cp -R $srcdir/dist/usr/lib $pkgdir/opt/lib32/usr/
# Additional symlinks
# Xulruner Libraries
ln -s /opt/lib32/usr/lib/zattoo/xulrunner/libgtkembedmoz.so $pkgdir/opt/lib32/usr/lib/zattoo/libgtkembedmoz.so.0d
ln -s /opt/lib32/usr/lib/zattoo/xulrunner/libmozjs.so $pkgdir/opt/lib32/usr/lib/zattoo/libmozjs.so.0d
ln -s /opt/lib32/usr/lib/zattoo/xulrunner/libnspr4.so $pkgdir/opt/lib32/usr/lib/zattoo/libnspr4.so.0d
ln -s /opt/lib32/usr/lib/zattoo/xulrunner/libplc4.so $pkgdir/opt/lib32/usr/lib/zattoo/libplc4.so.0d
ln -s /opt/lib32/usr/lib/zattoo/xulrunner/libplds4.so $pkgdir/opt/lib32/usr/lib/zattoo/libplds4.so.0d
ln -s /opt/lib32/usr/lib/zattoo/xulrunner/libxpcom.so $pkgdir/opt/lib32/usr/lib/zattoo/libxpcom.so.0d
ln -s /opt/lib32/usr/lib/zattoo/xulrunner/libxul.so $pkgdir/opt/lib32/usr/lib/zattoo/libxul.so.0d
# Curl Library
ln -s /opt/lib32/usr/lib/libcurl.so $pkgdir/opt/lib32/usr/lib/zattoo/libcurl.so.3
# Kerberos Libraries
ln -s /opt/lib32/usr/lib/libcrypto.so $pkgdir/opt/lib32/usr/lib/zattoo/libk5crypto.so.3
ln -s /opt/lib32/usr/lib/libkrb5.so $pkgdir/opt/lib32/usr/lib/zattoo/libkrb5.so.3
ln -s /opt/lib32/usr/lib/libkrb5.so $pkgdir/opt/lib32/usr/lib/zattoo/libkrb5support.so.0
ln -s /opt/lib32/usr/lib/libgssapi.so $pkgdir/opt/lib32/usr/lib/zattoo/libgssapi_krb5.so.2
}
and the bin32-zattoo-beta.install:
# Contributor : Andreas Schönfelder <passtschu at freenet dot de>
post_install() {
# Config
/sbin/ldconfig /usr/lib/zattoo
echo "For KDEMOD/KDE users:"
echo "Please read the informations on /usr/lib/zattoo/kde-scripts/readme.txt"
echo "for run correctly zattoo with your environment."
echo ""
echo "Zattoo informations:"
echo "Zattoo is currently available in Belgium, Denmark, France, Germany, Norway,"
echo "Spain, Switzerland, and the UK. We'll be launching in new countries and "
echo "continents soon, so check back frequently."
echo ""
echo "Use Zattoo-Player:"
echo "A account required. More informations and registration go to www.zattoo.com"
echo ""
}
post_upgrade() {
# Config
/sbin/ldconfig /usr/lib/zattoo
echo "For KDEMOD/KDE users:"
echo "Please read the informations on /usr/lib/zattoo/kde-scripts/readme.txt"
echo "for run correctly zattoo with your environment."
echo ""
echo "Zattoo informations:"
echo "Zattoo is currently available in Belgium, Denmark, France, Germany, Norway,"
echo "Spain, Switzerland, and the UK. We'll be launching in new countries and "
echo "continents soon, so check back frequently."
echo ""
echo "Use Zattoo-Player:"
echo "A account required. More informations and registration go to www.zatto.com"
echo ""
}
op=$1
shift
$op "$@"
After installing lib32-flashplugin I get allways an error with ldconfig - don't know if this is the problem:
# ldconfig /usr/bin/zattoo
ldconfig: Die Bibliotheken »libcurl.so.3« und »libcurl.so.4.1.1« im Verzeichnis /usr/lib haben den gleichen soname, aber verschiedene Typen.
I've updated lib32-flashplugin. The ldconfig error is gone, but zattoo_player still don'z work...
Last edited by echasslau (2009-01-12 20:07:19)
Offline
any ideas?
Offline
hi guys.
good news - it's running!!! but there are still some problems with flashplugin and some gtk stuff. you can try my progress so far http://aur.archlinux.org/packages.php?ID=23635
i would be very thankfull for every help.
thanks, andreas
Offline
tried it... like you said. its not usealbe yet. some flashplugin and gtk stuff is missing.
but i am very glad that you build it. hope it will work correctly anytimes.
just do it... ^^
Last edited by dazzy (2009-02-05 14:55:20)
Offline
i tried to fix the problem with flashplugin but i dont know how zattoo looks for flashplugin. i can't obtain any information for it. anybody ideas?
Offline
hi echasslau,
perhaps you have to set some paths.
do you need the lib32-flashplugin?
i would like to be more helpful, but i barely have time now. sry.
vlad
Offline
hi DonVla.
i use allready lib32-flashplugin but zattoo don't recongnize it. i think there is perhabs an env var but dont know...
andreas
Offline
i do not think anymore, that flashplugin is really a problem.
openning the "zattoo_player" in my 32bit archlinux, i do also get
an error message like this:
The Flash plugin does not seem to be installed. Please install the Adobe
Flash plugin, available at http://www.adobe.com
but this is no problem, "zattoo_player" work perfect. the error message
is not interesting. the problem seems to be somewhere else ^^
Offline
hey,
did another test on my 32bit archlinux. also concerning flashplayer
and maybe helpfull too. performing the following action disables
"zattoo_player" but makes the flashplugin running in my firefox.
# chmod 755 /usr/lib/mozilla
the output of zattoo is:
$ zattoo_player
zattoo_player: /usr/lib/zattoo/libcurl.so.3: no version information available (required by zattoo_player)
01:14:15 PM 02/22/2009 [MSG] Current locale is LC_CTYPE=en_US.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8
01:14:15 PM 02/22/2009 [MSG] Welcome to Zattoo (3.3.1.18350)
01:14:15 PM 02/22/2009 [MSG] Further log messages will be written to
/home/[[too_privat_information]]/.Zattoo/Data/logs/zattoo.debuglog
Segmentation fault
so, nothing usefull can be found on zattoo.debuglog
but performing the following disables flashplayer in my firefox, but makes "zattoo_player" working:
# chmod 700 /usr/lib/mozilla
so. this is what i know about flashplayer and zattoo in my 32bit archlinux. maybe it is helpfull for you.
Last edited by dazzy (2009-02-22 12:22:00)
Offline
Ok, but why does the official archlinux site not include community packages?
Because they're on the AUR, as community packages are AUR packages from trusted users.
Offline
Pages: 1