Subject: Re: wine trouble
To: Stephen Nelson <st3phen@paradise.net.nz>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-pkg
Date: 01/06/2004 13:58:18
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Jan 06, 2004 at 09:39:25PM +0000, Stephen Nelson wrote:
> There is a thread on port-i386 mailing list discussing the same problem.
> I managed to get the 20031212 version to start by raising the datasize limit, 
> but wine still doesn't run. How do you disable opengl?

I'm currently using the previous version of wine, without opengl.
cd /usr/pkgsrc/emulators
mv wine wine.new
cvs up -D20031204 wine
mv wine wine.old
mv wine.new wine
cd wine.old
patch < attached_patch
make install

The updated patch does not work with the current wine package,
because of "bash: /usr/pkg/bin/wine: Cannot allocate memory"

Cheers,
 Thomas

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="wine.patch"

? wine.patch
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/wine/Makefile,v
retrieving revision 1.55
diff -u -r1.55 Makefile
--- Makefile	1 Dec 2003 15:59:50 -0000	1.55
+++ Makefile	6 Jan 2004 12:33:07 -0000
@@ -25,6 +25,7 @@
 
 GNU_CONFIGURE=		YES
 CONFIGURE_ARGS+=	--without-curses #--disable-debug --disable-trace
+CONFIGURE_ARGS+=	--without-opengl
 CONFIGURE_ENV+=		ac_cv_path_ARTSCCONFIG=${TRUE}
 CONFIGURE_ENV+=		ac_cv_prog_sane_devel=no
 
@@ -57,7 +58,7 @@
 
 .include "../../graphics/MesaLib/buildlink2.mk"
 .include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
+#.include "../../graphics/glu/buildlink2.mk"
 .include "../../graphics/jpeg/buildlink2.mk"
 .include "../../graphics/libungif/buildlink2.mk"
 .include "../../mk/pthread.buildlink2.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/wine/PLIST,v
retrieving revision 1.18
diff -u -r1.18 PLIST
--- PLIST	1 Dec 2003 15:59:50 -0000	1.18
+++ PLIST	6 Jan 2004 12:33:08 -0000
@@ -304,10 +304,7 @@
 lib/wine/ctl3d.dll.so
 lib/wine/ctl3d32.dll.so
 lib/wine/ctl3dv2.dll.so
-lib/wine/d3d8.dll.so
-lib/wine/d3d9.dll.so
 lib/wine/d3dim.dll.so
-lib/wine/d3dx8.dll.so
 lib/wine/dciman32.dll.so
 lib/wine/ddeml.dll.so
 lib/wine/ddraw.dll.so
@@ -332,7 +329,6 @@
 lib/wine/expand.exe.so
 lib/wine/gdi.exe.so
 lib/wine/gdi32.dll.so
-lib/wine/glu32.dll.so
 lib/wine/icinfo.exe.so
 lib/wine/icmp.dll.so
 lib/wine/imaadp32.acm.so
@@ -497,7 +493,6 @@
 lib/wine/olepro32.dll.so
 lib/wine/olesvr.dll.so
 lib/wine/olesvr32.dll.so
-lib/wine/opengl32.dll.so
 lib/wine/progman.exe.so
 lib/wine/psapi.dll.so
 lib/wine/qcap.dll.so
@@ -551,7 +546,6 @@
 lib/wine/wineboot.exe.so
 lib/wine/winecfg.exe.so
 lib/wine/wineconsole.exe.so
-lib/wine/wined3d.dll.so
 lib/wine/winedbg.exe.so
 lib/wine/winedos.dll.so
 lib/wine/winefile.exe.so

--nFreZHaLTZJo0R7j--