From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 4 12:47:55 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4FD0A16A485 for ; Wed, 4 Apr 2007 12:47:55 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id D3E1A13C487 for ; Wed, 4 Apr 2007 12:47:54 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so266846muf for ; Wed, 04 Apr 2007 05:47:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cp0OrrYTl0QYzyjypWYbciGSsdve+3ufLNtn4zEA1BLpZvdFmOCM3J9aG78dsqJWpw+iaHkRcGMHn+gy2npKzIDPGLw6xIrRed8T6UWlyzVdF/scSrbLpoQZeK+mtMWGbaefH7EUV0n/QQ9eRitLsrLiIUQGgCAXaRuGFJehKKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wy0O5XgBQ6YDHdSs/+hBqmbD1dopgDxxYHnz5mw9+ul78wBbGYb//KSJ2+XNuUeEsBlf/RHKYHbup6tY73+HFgWDmM3d5mGTpbhe0dgKieLR+VA4uFSWedz9cFZHAPALvLKV9gt3uBPSQZ9t6/ph5vZQ1JEyG/tF1+gQncgV46g= Received: by 10.82.163.13 with SMTP id l13mr655984bue.1175690873474; Wed, 04 Apr 2007 05:47:53 -0700 (PDT) Received: by 10.82.106.12 with HTTP; Wed, 4 Apr 2007 05:47:53 -0700 (PDT) Message-ID: <6eb82e0704040547r36a396b7q8817d53a38cdb116@mail.gmail.com> Date: Wed, 4 Apr 2007 20:47:53 +0800 From: "Rong-en Fan" To: "Dave Grochowski" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6eb82e0704030258h5671b9d7g4dd1c1a164d0ef98@mail.gmail.com> <200704031850.15669.jkim@FreeBSD.org> Cc: freebsd-emulation@freebsd.org, jkim@freebsd.org Subject: Re: [RFC] Port for nspluginwrapper X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 04 Apr 2007 12:47:55 -0000 On 4/4/07, Dave Grochowski wrote: > Hey, > > Jung-uk Kim wrote: > > On Tuesday 03 April 2007 05:58 am, Rong-en Fan wrote: > > > >> On 3/31/07, Dave Grochowski wrote: > >> > >>> Hey all, > >>> > >>> I wrote a port for nspluginwrapper, which you can find at: > >>> > >>> http://elvis.rowan.edu/~grocho98/nspluginwrapper.tar.bz2 > >>> > >>> For those who do not know what it is, you can find the homepage > >>> at: > >>> > >>> http://gwenole.beauchesne.info/projects/nspluginwrapper/ > >>> > >> I polished the port a little bit: > >> > >> http://people.freebsd.org/~rafan/nspluginwrapper.shar > >> > >> It includes 1) installing to LOCALBASE 2) correct pkg-plist on > >> amd64, and 3) correct dependency. > >> > >> Can someone please verify this port still works on i386? Thanks! > >> > >> BTW, anyone tried on amd64? I can not get it work. It seems that > >> it dlopen(3) the plugin .so then it fails... I'm wondering why it > >> works on i386. > >> > > > > Here is a patch for amd64: > > > > http://people.freebsd.org/~jkim/patch-src-sysdeps.h > > > > I just briefly tested with Linux Flash plugin and it seems working > > correctly. > > > > Jung-uk Kim > > > > > Actually, the configure script has some Linuxisms in it for the arch > detection. Try the attached patch and see if that fixes the problem. It works! I updated the port at http://people.freebsd.org/~rafan/nspluginwrapper.shar I use REINPLACE_CMD instead of patch file there. I think this port is in good shape. If there is no big problem, I will commit it in few hours. Regards Rong-En Fan