[pkg-wine-party] Try 3: WoW64 implemented Re: Call for testing: automatically detect wine arch and WoW64

Jens Reyer jre.winesim at gmail.com
Fri Jan 8 04:30:49 UTC 2016


On 01/03/2016 07:58 PM, Jens Reyer wrote:
> WoW64 seems to be possible with an adjusted script (my previous tests as
> reported were all with the script removed): This requires wine64 and the
> 64-bit wineserver to be in PATH. The 32-bit wineserver must be neither
> in PATH nor in bindir (as configured on build).
> 
> 32-bit prefixes are possible with WINEARCH=win32, or permanently by
> installing wineserver:i386 instead of wineserver:amd64.
> 
> With wineserver:i386 64-bit prefixes are not possible. wine64 depends on
> wineserver from the same arch.
> 
> If there are any issues with 32-bit prefixes run by wineserver:amd64
> remains to be seen.
> 
> Remaining issues:
> W: wine64: binary-without-manpage usr/bin/wine64

I just committed another few changes.

I found an imo clean way to drop the wineserver package again, and even
make the wineserver binaries co-installable again, while only one of
them is visible to Wine (seems obvious in hindsight.

So we are back to our old package set.

The result of the changes boils down to (filename, type, package):

/usr/bin/wine	     script, wine
/usr/bin/wine64      -> /usr/lib/wine/wine64, wine64
/usr/lib/wine/wine   binary, wine32
/usr/lib/wine/wine32 -> /usr/lib/wine/wine, wine32
/usr/lib/wine/wine64 binary, wine64

/usr/bin/wineserver         script, wine
/usr/lib/wine/wineserver32  binary, wine32
/usr/lib/wine/wineserver64  binary, wine64

/usr/share/man/man1/wine.1.gz       wine
/usr/share/man/man1/wine64.1.gz     wine
/usr/share/man/man1/wineserver.1.gz wine

The wineserver script defaults to the 64-bit wineserver.
Without "wine" being installed e.g. /usr/lib/wine/wine will not work
anymore, unless you set WINESERVER. Since no wine32 or wine64 binary is
in path I'm ok with that. (wine32 and wine64 recommend wine, wine
depends on wine64|wine32.)

Now a wine64 manpage is built, using the wine manpage's source.
If after the build  the wine manpage is missing, the built wine64
manpage is used. So arch:all packages build again on amd64. For some
details see #807026 today. I'm ok with the possible mismatch of bindir
in the manpages, since it's not really relevant. Imo no sane way to
handle this better.

I successfully tested Steam, Origin (both 32-bit) and ImageMagick
(64-bit) in the same 64-bit prefix. The 32-bit apps also worked in a
win32 prefix (running the 64-bit wineserver).

Unless we spot anything, I guess the packages are ready now. Should we
place a NEWS entry? WoW64 is new, wine needs to be installed, and
~/.wine64 isn't used automatically any more.

Greets
jre



More information about the pkg-wine-party mailing list