From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 13 02:13:21 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7DEC106566B for ; Wed, 13 Jan 2010 02:13:21 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 581578FC14 for ; Wed, 13 Jan 2010 02:13:21 +0000 (UTC) Received: by ywh35 with SMTP id 35so13847544ywh.7 for ; Tue, 12 Jan 2010 18:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to:cc :subject:from:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=7DHdSdHVGoCVP0+pJdkcDJ8bPK0FbBhooFUQ2GgxbEo=; b=X5/uhaC3fRsmz2H4mvrkr9nqxLghmln+xQmI/XgQptKmMs4chdqRnDsNVOQJiBjuEi l5wbUmNfH/N1OEcUjWg5ODftowsOhxWVK0V7v1+FSNpghALedVZVtLREMyTeicx7L8Wa z+Ym3t97dS71pGya/rdGkoKHr2Vs8fNEUijtY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=lvBmPpJHQzJ0KRXqyaidNozQ4leMCa6/v37WSEgMHXPlBPs96Ff2y9tz3whve6Mk5X IiuxnfeHu8HYrQ9nHDwTxqdYYI2f+gEvJ0qE+pUXTSc4Xzi5/cC3EfUvrOJS6J6pQEV9 sIj9r1DeZ856f4Fntk1uWyHVxSOT7d9JT9pQU= Received: by 10.91.161.28 with SMTP id n28mr1835920ago.84.1263348792634; Tue, 12 Jan 2010 18:13:12 -0800 (PST) Received: from localhost (rikad42.riken.jp [134.160.214.42]) by mx.google.com with ESMTPS id 20sm11077745yxe.20.2010.01.12.18.13.10 (version=SSLv3 cipher=RC4-MD5); Tue, 12 Jan 2010 18:13:11 -0800 (PST) Sender: Maho NAKATA Date: Wed, 13 Jan 2010 11:13:07 +0900 (JST) Message-Id: <20100113.111307.1024833258536727945.chat95@mac.com> To: naylor.b.david@gmail.com From: Maho NAKATA In-Reply-To: <200912182327.18986.naylor.b.david@gmail.com> References: <200912081524.03878.naylor.b.david@gmail.com> <200912182327.18986.naylor.b.david@gmail.com> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, gerald@pfeifer.com, ivoras@freebsd.org Subject: Re: [WIP] wine/i386 on FreeBSD/amd64 (take 2) 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, 13 Jan 2010 02:13:21 -0000 Hi David Naylor, ivoras@, and gerald@ I fetch the following package http://people.freebsd.org/~ivoras/temp/wine-amd64-8-1.1.30%2c1.tbz and it works without problem. I tested my library which I have been developing, crossbuilding with mingw32 compiler environment and run with Wine on FreeBSD 8.0-RELEASE-p2/amd64. So everything is on FreeBSD to develop Windows application :-) Many thanks! Nakata Maho From: David Naylor Subject: [WIP] wine/i386 on FreeBSD/amd64 (take 2) Date: Fri, 18 Dec 2009 23:27:15 +0200 > On Tuesday 08 December 2009 15:24:00 David Naylor wrote: >> Hi, >> >> I have developed a port that allows wine to be installed as a package under >> FreeBSD/amd64. This avoids having a i386 chroot environment (and is much >> easier to setup, once the package is built). > > I've changes the name of the port (should be obvious what it is for and not > conflict when wine/amd64 arrives). The port now also automagically determines > which third party shared libraries should be bundled with it. (See below on > how to handle nvidia-driver). > >> To get this working apply the attached patch and build the emulators/wine- >> amd64 port under FreeBSD/i386 then transfer that package to the amd64 host: >> >> (On FreeBSD/i386) >> # cd /usr/ports/emulators >> # patch < /tmp/wine-amd64.diff > > (patch name changed, fix arguments) > # patch -sp0 < /tmp/wine-fbsd64.diff > >> # cd wine-amd64 >> # make package clean >> >> (On FreeBSD/amd64) >> # pkg_add wine-amd64-8-1.1.34,1.tbz > > (package name changed) > # pkg_add wine-amd64.8-1.1.34,1.tbz > >> I have such a package for FreeBSD-8 if anyone is willing to host it. > > I'll update the patch when wine-1.1.35 gets into my ports. > >> There are a few TODO items (port options not supported). Any >> comments/suggestions are welcome. > > 1) Install from package on FreeBSD/amd64 (any suggestions on how to do that?) > 2) Which version of FreeBSD/amd64 supports FreeBSD/i386 well enough to run > wine? > 3) Any bugs reported? > >> Word of warning: nvidia-driver breaks everything. Make sure it is not >> installed on both i386/amd64 systems. If one really wants wine with >> nvidia- driver support then install the beta on both i386 and amd64 (very >> important it is the same version of the driver) and copy libGL.so.1, >> libGLcore.so.1 and libnvidia-tls.so.1 from i386 to $PREFIX/lib32 (on >> amd64). > > The above method still does work but now, if one installs nvidia-driver (of > the correct version) before building wine under FreeBSD/i386 then the required > libraries will be included (this makes the package unsuitable for any system > without the correct nvidia drivers installed). > > Regards, > > David > > P.S. I've included the shar archive as some people have not been able to apply > the patch cleanly