Date: Fri, 28 Mar 2014 09:30:57 +0200 From: Johannes Meixner <xmj@chaot.net> To: freebsd-emulation@freebsd.org Subject: Google Hangouts (!) on FreeBSD Message-ID: <20140328073056.GA91841@mx12.chaot.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJTNSUwAAoJEAy1bITjfmSMw54QAI4IihsnfFBayfdSsH8isN2N BcsPZBXtS8jdFiwGMroHmemosm5pkOzJ1yYTFLcqL4QgYbWRnfSEV7dE1+B+aGMA Z/8uUHHEDw1hhlghA5vhtVgLKQXvMOmDCSvO/Zr5rnBY/6JsAxGnmyEi9/RmMKGI gn7qxf9+yERv05Skf97PfNwpxrI+SaNo3/od/4BxHzK4dY3OVXM1R0hjDDF+4MYu sdW6LM8Sw/uGUOOsZwbDclsw9wGwt6LTymYJ97L68jwxxcoBf1+DzN+LBrFMzLIn y7cJYAhtRwa0BGet0mnFn/4LL6B9g5zIRH01QRa7MYHsohnHkeGwm2INGpLvsyOa hqLxG+NFP31ODwBdFWq7U5U+FM4wCNcIe7ywEY0Xlz6Bkh82m2i+kYGqop+N34vZ p5skV5NXQKJLJnpgwNBcppN/7pHeE6WKekgYtRpkHE2wirsHBSGy/OdffsQtKgAT 2XHCFS73pTztZkQdbX+7RL0MjQynJYrTlf8tQig4m3D9I7t7c1dGZOirGox0+2fJ 6orRjJ2uTTFH6SapyvUpDrWtRS1lTDzb396AvZocIG+xLgAtzsMoedRp0lAYnIYL QHMMptqdTXvURYLuXEaGVrqqsB+qjz0ri+oKDSAVXiIWFCA52junSjydl3ucQn4i twoQwJ+c3UQhjfSLTa6s =zHXz -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140328073056.GA91841>
