[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-emulation
Subject: Google Hangouts (!) on FreeBSD
From: Johannes Meixner <xmj () chaot ! net>
Date: 2014-03-28 7:30:57
Message-ID: 20140328073056.GA91841 () mx12 ! chaot ! net
[Download RAW message or body]
Hi everyone,
I've been working on porting Google Hangouts to FreeBSD. It seems to be possible
using the CentOS base/non-base ports I published at
https://github.com/xmj/linux-ports.
I ldd'd the relevant lib*.so files of the plugin, and all necessary libraries
are provided by the ports I uploaded.
I can hook Hangouts into Firefox' Plugin list (http://xmj.me/freebsd/google_hangout.png)
with a few modifications to ports/www/nspluginwrapper/files/patch-src__npw-config.c,
yet when trying to actually run a videochat I don't really get anywhere.
Here's the output of linux_ktrace'ing the npviewer.bin process that's responsible
for loading the 32-bit plugin:
1549 npviewer.bin RET write 67/0x43
1549 npviewer.bin CALL linux_fstat64(0x3,0xffff9be8)
1549 npviewer.bin UNKNOWN(8) 1549 npviewer.bin RET linux_fstat64 0
1549 npviewer.bin CALL linux_llseek(0x3,0,0x450d6d,0xffff9b74,0)
1549 npviewer.bin RET linux_llseek 0
1549 npviewer.bin CALL write(0x3,0x28fd7000,0x3c)
1549 npviewer.bin GIO fd 3 wrote 60 bytes
"*** NSPlugin Viewer *** NPN_UserAgent instance=0x80bdd70 "
1549 npviewer.bin RET write 60/0x3c
1549 npviewer.bin CALL linux_fstat64(0x3,0xffff9be8)
1549 npviewer.bin UNKNOWN(8) 1549 npviewer.bin RET linux_fstat64 0
1549 npviewer.bin CALL linux_llseek(0x3,0,0x450da9,0xffff9b74,0)
1549 npviewer.bin RET linux_llseek 0
1549 npviewer.bin CALL write(0x3,0x28fd7000,0x79)
1549 npviewer.bin GIO fd 3 wrote 121 bytes
"*** NSPlugin Viewer *** NPN_UserAgent return: 'Mozilla/5
When runnig firefox with
`NPW_DEBUG=1 NPW_LOG=nspluginwrapper.log firefox 2>&1`
I get
[4877:310] Error(flutemessagelistener.cc:80): Unable to bind socket handle named o1d1549-15000
[4877:310] Error(plugin.cc:154): Couldn't initialize flute message listener. Quitting.
[4877:311] [o1d1549-15000] Shutting down instance.
[4877:311] [o1d1549-15000] Client disconnected.
Can anyone lend me a hand and tell me what other steps I could try to debug this
plugin?
Best,
-J
--
xmj@chaot.net
`http://xmj.me
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic