From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 28 07:31:08 2014 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D1FCEAC for ; Fri, 28 Mar 2014 07:31:08 +0000 (UTC) Received: from dd16522.kasserver.com (dd16522.kasserver.com [85.13.137.124]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2616849 for ; Fri, 28 Mar 2014 07:31:07 +0000 (UTC) Received: from mx12.chaot.net (82.131.86.36.cable.starman.ee [82.131.86.36]) by dd16522.kasserver.com (Postfix) with ESMTPSA id EA0B14561B9 for ; Fri, 28 Mar 2014 08:30:58 +0100 (CET) Received: from localhost (1003@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id 35e4d459; for ; Fri, 28 Mar 2014 09:30:57 +0200 (EET) Date: Fri, 28 Mar 2014 09:30:57 +0200 From: Johannes Meixner To: freebsd-emulation@freebsd.org Subject: Google Hangouts (!) on FreeBSD Message-ID: <20140328073056.GA91841@mx12.chaot.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2014 07:31:08 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi everyone, I've been working on porting Google Hangouts to FreeBSD. It seems to be pos= sible 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 librari= es 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 respo= nsible 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=3D0x80bdd70 = "=20 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=20 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=3D1 NPW_LOG=3Dnspluginwrapper.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= =2E 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 --=20 xmj@chaot.net `http://xmj.me --opJtzjQTFsWo+cga Content-Type: application/pgp-signature -----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----- --opJtzjQTFsWo+cga--