FreeBSD Bugzilla – Attachment 209913 Details for
Bug 242625
Somewhat limited WoW64 support for emulators/wine-devel, emulators/i386-wine-devel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
wow64-option.patch
wow64-option.patch (text/plain), 3.82 KB, created by
Alex S
on 2019-12-13 14:50:36 UTC
(
hide
)
Description:
wow64-option.patch
Filename:
MIME Type:
Creator:
Alex S
Created:
2019-12-13 14:50:36 UTC
Size:
3.82 KB
patch
obsolete
>diff --git a/emulators/i386-wine-devel/Makefile.i386 b/emulators/i386-wine-devel/Makefile.i386 >index 2044c8ab616a..6b73f4d2a4c0 100644 >--- a/emulators/i386-wine-devel/Makefile.i386 >+++ b/emulators/i386-wine-devel/Makefile.i386 >@@ -14,7 +14,7 @@ PKGDEINSTALL= ${PKGINSTALL} > > RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri > >-CONFLICTS_INSTALL?= wine-[0-9]* wine-staging-[0-9]* wine-devel-[0-9]* \ >+CONFLICTS_INSTALL?= wine-[0-9]* wine-staging-[0-9]* \ > i386-wine-[0-9]* i386-wine-staging-[0-9]* > > ACTUAL-PACKAGE-DEPENDS= ${DO_NADA} >@@ -77,3 +77,7 @@ post-install-script: > ${ECHO_CMD} ${DATADIR:S|$(PREFIX)/||}/patch-nvidia.sh >> ${TMPPLIST} > > .include "${MASTERDIR}/Makefile" >+ >+.if empty(PORT_OPTIONS:MWOW64) >+CONFLICTS_INSTALL+= wine-devel-[0-9]* >+.endif >diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile >index 09bd72019831..494bcce4cfe9 100644 >--- a/emulators/wine-devel/Makefile >+++ b/emulators/wine-devel/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= wine > DISTVERSION= 4.21 >-PORTEPOCH= 1 >+PORTEPOCH= 2 > CATEGORIES= emulators > MASTER_SITES= SF/${PORTNAME}/Source \ > http://mirrors.ibiblio.org/wine/source/4.x/ >@@ -27,7 +27,7 @@ LIB_DEPENDS= libFAudio.so:audio/faudio \ > USES= bison desktop-file-utils gmake localbase shebangfix tar:xz xorg > > CONFLICTS_INSTALL= wine-[0-9]* wine-staging-[0-9]* i386-wine-[0-9]* \ >- i386-wine-staging-[0-9]* i386-wine-devel-[0-9]* >+ i386-wine-staging-[0-9]* > > GNU_CONFIGURE= yes > CONFIGURE_ARGS+=--verbose \ >@@ -55,9 +55,7 @@ SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \ > > SUB_FILES= pkg-message > >-PORTDATA= l_intl.nls wine.inf >- >-OPTIONS_DEFINE= CUPS DOCS DOSBOX GCC GNUTLS HAL LDAP LIBXSLT MPG123 OPENAL STAGING V4L VKD3D VULKAN WINEMAKER X11 GECKO MONO >+OPTIONS_DEFINE= CUPS DOCS DOSBOX GCC GNUTLS HAL LDAP LIBXSLT MPG123 OPENAL STAGING V4L VKD3D VULKAN WINEMAKER X11 GECKO MONO WOW64 > OPTIONS_DEFAULT=GCC GNUTLS X11 > OPTIONS_SUB= yes > >@@ -122,6 +120,14 @@ X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ > > .include <bsd.port.pre.mk> > >+.if empty(PORT_OPTIONS:MWOW64) || ${ARCH} == amd64 >+PORTDATA= l_intl.nls wine.inf >+.endif >+ >+.if empty(PORT_OPTIONS:MWOW64) >+CONFLICTS_INSTALL+= i386-wine-devel-[0-9]* >+.endif >+ > .if ${ARCH} == amd64 > # Wine is composed of three parts: > # - wine (aka this port) is the 32-bit component and runs 32-bit programs (on FreeBSD/i386) >@@ -137,12 +143,6 @@ X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ > CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib > PLIST_SUB+= WINE32="@comment " WINE64="" > >-# Wine assumes a WoW64 package is available, however WoW64 is not yet >-# available on FreeBSD. Also fix the desktop file. >-post-patch: >- ${REINPLACE_CMD} 's|/wine|/wine64|g' ${WRKSRC}/tools/wineapploader.in >- ${REINPLACE_CMD} '/Exec/s|wine|wine64|g' ${WRKSRC}/loader/wine.desktop >- > .else > PLIST_SUB+= WINE32="" WINE64="@comment " > .endif >@@ -175,6 +175,21 @@ post-install: > .endfor > ${INSTALL_DATA} ${WRKSRC}/programs/winedbg/README ${STAGEDIR}${DOCSDIR}/README.winedbg > ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${STAGEDIR}${DOCSDIR}/README.winedump >+.if ${ARCH} == i386 && ${PORT_OPTIONS:MWOW64} >+ for i in `${GREP} ^bin ${TMPPLIST} | ${XARGS} -n1 basename` ; do \ >+ [ "$${i}" = "wine" ] || ${RM} ${STAGEDIR}${PREFIX}/bin/$${i} ${STAGEDIR}${PREFIX}/bin32/$${i} ; \ >+ done >+ ${RM} -r ${STAGEDIR}${PREFIX}/include/wine >+ ${RM} -r ${STAGEDIR}${PREFIX}/man >+ ${RM} -r ${STAGEDIR}${PREFIX}/share/applications/wine.desktop >+ ${RM} -r ${STAGEDIR}${PREFIX}/share/wine/fonts >+ ${RM} -r ${STAGEDIR}${PREFIX}/share/wine/gecko >+ ${RM} -r ${STAGEDIR}${PREFIX}/share/wine/mono >+ ${RM} -r ${STAGEDIR}${PREFIX}/share/wine/*.inf >+ ${RM} -r ${STAGEDIR}${PREFIX}/share/wine/*.nls >+ ${RM} -r ${STAGEDIR}${DOCSDIR} >+ ${REINPLACE_CMD} -n -E -e "/^(@|bin\/wine$$|lib\/)/p" ${TMPPLIST} >+.endif > > check-wine-devel-vs-staging: > @${GREP} %%STAGING%% pkg-plist | while read f; do \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242625
:
209913
|
209954
|
210022
|
210029
|
210031
|
210388