Subject: pkg/21560: emulators/wine: need to install winedefault.reg
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 05/12/2003 23:41:46
>Number:         21560
>Category:       pkg
>Synopsis:       emulators/wine: need to install winedefault.reg
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 03:43:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1_STABLE
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:
>Description:

winedefault.reg, shipped in the Wine distro, needs to be installed.  This
is a template registry init file that is critical for running many apps.
(Wine itself will tell you that winedefault.reg needs to be imported when
certain emulated DLLs are run and the registry settings are missing.)

>How-To-Repeat:
>Fix:

Note that the change below also changes `;' to `&&' to make sure all
commands are condition-chained (thus not suppressing failures in the
middle of the chained command set).

Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/emulators/wine/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile	2003/03/09 19:12:37	1.41
+++ Makefile	2003/05/13 03:38:05
@@ -42,9 +42,10 @@
 
 post-install:
 	${INSTALL_DATA_DIR} ${EGDIR}
-	cd ${WRKSRC}/documentation/samples;				\
-	${INSTALL_DATA} config ${EGDIR}/wine.conf;			\
-	${INSTALL_DATA} generic.ppd ${EGDIR}/generic.ppd;		\
+	${INSTALL_DATA} ${WRKSRC}/winedefault.reg ${EGDIR}/winedefault.reg
+	cd ${WRKSRC}/documentation/samples &&				\
+	${INSTALL_DATA} config ${EGDIR}/wine.conf &&			\
+	${INSTALL_DATA} generic.ppd ${EGDIR}/generic.ppd &&		\
 	${INSTALL_DATA} system.ini ${EGDIR}/system.ini
 
 .include "../../graphics/MesaLib/buildlink2.mk"
Index: PLIST
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/emulators/wine/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- PLIST	2003/03/04 11:45:58	1.9
+++ PLIST	2003/05/13 03:38:05
@@ -520,6 +520,7 @@
 share/examples/wine/generic.ppd
 share/examples/wine/system.ini
 share/examples/wine/wine.conf
+share/examples/wine/winedefault.reg
 @dirrm share/examples/wine
 @dirrm lib/wine
 @dirrm include/wine/windows
>Release-Note:
>Audit-Trail:
>Unformatted: