[WIP] wine/i386 on FreeBSD/amd64 (take 2)
Maho NAKATA
chat95 at mac.com
Wed Jan 13 02:13:21 UTC 2010
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 <naylor.b.david at gmail.com>
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
More information about the freebsd-emulation
mailing list