[[!template id=project title="Port Wine to amd64" contact=""" [port-amd64](mailto:port-amd64@NetBSD.org), [tech-kern](mailto:tech-kern@NetBSD.org) """ category="userland" difficulty="easy" done_by="Naveen Narayanan (GSoC 2019)" description=""" The Wine program is made of two components, Wine32 and Wine64, that respectively allow 32bit or 64bit Windows binaries to run on UNIX-like systems. Until now, Wine32 could not work on NetBSD-amd64, because the USER_LDT option was not available in the kernel. This option was recently added, so Wine32 can now be ported to NetBSD-amd64. Milestones: * Test a static Wine32 on amd64. That is, compile Wine32 statically on NetBSD-i386, and launch it on NetBSD-amd64 (which supports running native 32bit binaries). See if it works, and if not, apply the necessary fixes. At this stage, old Windows video games should work. * Make a dynamic Wine32 work on amd64. Compile Wine32 on NetBSD-i386 in a non-static way, and launch it on NetBSD-amd64. * Make Wine32+Wine64 work on amd64. See the WineHQ wiki on how to achieve this. At this stage, 64bit Windows binaries that use 32bit libraries should work. * Package Wine32+Wine64 for pkgsrc. Note that reaching the first step is already good. """ ]]