pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/wine-devel
Module Name: pkgsrc
Committed By: maya
Date: Thu Sep 15 09:25:53 UTC 2016
Modified Files:
pkgsrc/emulators/wine-devel: Makefile distinfo options.mk
Added Files:
pkgsrc/emulators/wine-devel/patches: patch-configure.ac
patch-dlls_winepulse.drv_mmdevdrv.c patch-dlls_wininet_http.c
patch-include_config.h.in
Removed Files:
pkgsrc/emulators/wine-devel/patches: patch-configure
patch-dlls_ntdll_signal__x86__64.c patch-dlls_ntdll_string.c
patch-dlls_ws2__32_socket.c
Log Message:
wine-devel: update to 1.9.18
updated by Adrian Fernandes in pkgsrc-wip
tested on netbsd/i386, netbsd/amd64.
Linux and Darwin will likely need a PLIST update.
Possibly incomplete changelog 1.7.36 -> 1.9.18:
Support for multiple kernel drivers in a single process.
More WebServices reader support.
Various improvements in joystick support.
Some more work towards the Direct3D command stream.
GDI performance improvements.
Improved IME window handling.
Compatibility fixes in the clipboard support.
Better exception handling on 64-bit.
Various improvements in joystick support.
Some more stream support in the C++ runtime.
Font embedding improvements.
More metafile support in GDI+.
Better 64-bit binary compatibility on macOS.
Performance improvements in JavaScript.
More progress towards the Direct3D command stream.
More shader instructions in Direct3D.
Performance improvements in GDI.
More shader instructions in Direct3D.
Performance improvements in GDI.
Better multi-joystick support on macOS.
Active Scripting improvements.
Additional stream support in the C++ runtime.
More Shader Model 5 support in Direct3D.
Some more write support in WebServices.
Performance improvements in GDI.
Some more progress towards the Direct3D command stream.
New version of the Gecko engine based on Firefox 47.
More Shader Model 5 support in Direct3D.
Unicode data updated to Unicode 9.0.0.
Improvements to GDI paths and metafiles.
More progress towards the Direct3D command stream.
Joystick support improvements on Mac OS X.
Bug fix update of the Mono engine.
Initial version of a taskbar in desktop mode.
Fixes for right-to-left languages in Uniscribe.
More Shader Model 4 support in Direct3D.
Better metafile support in RichEdit.
Better support for long URLs in WinInet.
Various Direct3D 11 improvements.
Down-mixing support in DirectSound.
Some cosmetic improvements in desktop mode.
High resolution ("Retina") rendering option on Mac OS X.
More compatible directory enumeration.
A number of C++ runtime fixes.
Video output improvements.
More work towards the WineD3D command stream.
Service proxies in WebServices.
Query support in the builtin reg.exe utility.
Improved support for long URLs in WinInet.
More work towards the WineD3D command stream.
Bug fix update of the Mono engine.
More WebServices reader support.
Still more Shader Model 5 support.
Support for gradients in metafiles.
Improved table formatting in WinHelp.
More work towards the WineD3D command stream.
More support for Shader Model 5 shaders.
C++ exception handling on x86-64.
Support for Windows-style static import libraries.
Performance fixes in the XML writer.
Better video card detection when using Mesa.
Support for Shader Model 5 shaders.
C++ exception handling improvements.
New version of the Mono engine, with 64-bit support.
Beginnings of the WineD3D command stream.
Support for effect states in Direct3DX.
Drag & drop improvements.
Support for color glyphs and font fallbacks in DirectWrite.
Improvements to the WebServices reader.
Support for more formats in Direct3D 11.
Simplified syntax and clean up of tests marked todo.
Various bug fixes.
New version of the Gecko engine based on Firefox 44.
JSON support in JavaScript.
Improved line breaking in DirectWrite.
Some more write support in WebServices.
Still more Shader Model 4 instructions.
GStreamer 1.0 support.
Support for SHA hashes in BCrypt.
Synthesizing bold glyphs also for bitmap fonts.
Underlines support in DirectWrite.
Still more Shader Model 4 instructions.
A few more deferred fixes.
Support for debug registers on x86-64.
More Shader Model 4 instructions.
Support for the Mingw ARM toolchain.
A number of fixes that were deferred during code freeze.
WSAPoll implementation.
Standard font dialog fixes.
X11 drag&drop improvements.
Pulse audio driver.
Various fixes for Microsoft Office 2013 support.
Some more implementation of the Web Services DLL.
More fixes for the latest C runtime version.
Improvements to the Makefile generation.
Implementation of the TransmitFile function.
More implementation of the Web Services DLL.
Improved video decoding.
Alternative for the deprecated prelink tool.
Major Turkish translation update.
Support for the various versions of XAudio.
More implementation of the Web Services DLL.
Improved OLE object embedding.
Various code cleanups in Direct3D.
New MAINTAINERS file and Signed-off-by requirement to improve the patch review process.
Unicode data updated to Unicode 8.0.0.
Some implementation of the Web Services DLL.
More Direct3D 11 interfaces.
A few more functions in the C++ runtime.
Output standard glyph names in the PostScript driver.
XAudio2 implementation using OpenAL Soft.
Support for the new Universal C Runtime DLL.
Dropdown menu support in the standard Open Dialog.
Grayscale rendering mode in DirectWrite.
New version of the Gecko engine based on Firefox 40.
First steps of the Direct3D 11 implementation.
Better font matching in DirectWrite.
Support for OpenMP on ARM platforms.
DirectWrite is now good enough for rendering text in Steam.
A number of Direct2D improvements.
Some more OpenMP functions.
Support for namespaces in the IDL compiler.
Fleshed out OpenMP implementation.
I/O stream support in the MSVCIRT C++ runtime.
Support for pixel snapping in DirectWrite.
More support for OpenGL core contexts.
Text drawing in Direct2D.
Support for the new thread pool API.
Toolbar state saving.
Beginnings of an implementation for proper HID support.
Support for file objects in device drivers.
Improvements in the BITS file transfer service.
Still more progress on DirectWrite implementation.
Support for shared user data on 64-bit.
Various C++ runtime improvements.
Some more support for the 64-bit ARM platform.
Better debugging support on 64-bit Mac OS X.
Some more progress on DirectWrite implementation.
A number of RichEdit control fixes.
Beginning implementation of the old MSVCIRT C++ runtime.
More support for the COM interfaces of the RichEdit control.
Initial version of a SmartTee filter.
Some more support for the ARM64 platform.
Support for the null device kernel object.
Improved support for Shell Browser windows.
Some more API Sets libraries.
Read/write operations support with built-in devices.
Major Catalan translation update.
Support for WoW64 mode on ARM64.
Support for dynamic timezone information.
Initial desktop shell window support.
Some more Direct2D support.
More Known Folders supported in the shell.
Some more support for kernel job objects.
More MSI patches improvements.
Some theming fixes.
Support for kernel job objects.
Various fixes to the ListView control.
Better support for OOB data in Windows Sockets.
Support for DIB images in the OLE data cache.
Improved support for MSI patches.
Some fixes for ACL file permissions.
WinMM joystick support on Mac OS X.
Kerning support in DirectWrite.
Support for DirectX Media Objects filters.
Better support for animated GIFs in GdiPlus.
Improved support for Known Folders in Shell32.
New version of the Gecko engine based on Firefox 36.
Support for themed scrollbars.
Updated version of the Mono engine.
More compatible RPC interface for service control.
Support for X Drag & Drop version 5.
Threading fixes in IME support.
Interface change notifications.
Support for the UTF-7 encoding.
A number of graphical fixes for themed controls.
Wininet now implemented on top of Win32 sockets.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/emulators/wine-devel/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/emulators/wine-devel/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/wine-devel/options.mk
cvs rdiff -u -r1.2 -r0 pkgsrc/emulators/wine-devel/patches/patch-configure
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/wine-devel/patches/patch-configure.ac \
pkgsrc/emulators/wine-devel/patches/patch-dlls_winepulse.drv_mmdevdrv.c \
pkgsrc/emulators/wine-devel/patches/patch-dlls_wininet_http.c \
pkgsrc/emulators/wine-devel/patches/patch-include_config.h.in
cvs rdiff -u -r1.3 -r0 \
pkgsrc/emulators/wine-devel/patches/patch-dlls_ntdll_signal__x86__64.c
cvs rdiff -u -r1.1 -r0 \
pkgsrc/emulators/wine-devel/patches/patch-dlls_ntdll_string.c \
pkgsrc/emulators/wine-devel/patches/patch-dlls_ws2__32_socket.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/wine-devel/Makefile
diff -u pkgsrc/emulators/wine-devel/Makefile:1.57 pkgsrc/emulators/wine-devel/Makefile:1.58
--- pkgsrc/emulators/wine-devel/Makefile:1.57 Sat Aug 27 20:56:29 2016
+++ pkgsrc/emulators/wine-devel/Makefile Thu Sep 15 09:25:53 2016
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2016/08/27 20:56:29 joerg Exp $
+# $NetBSD: Makefile,v 1.58 2016/09/15 09:25:53 maya Exp $
-DISTNAME= wine-1.7.36
-PKGREVISION= 8
+DISTNAME= wine-1.9.18
CATEGORIES= emulators
MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \
${MASTER_SITE_SOURCEFORGE:=wine/}
@@ -18,16 +17,17 @@ ONLY_FOR_PLATFORM+= *-*-i386 *-*-x86_64
PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_NCURSES= yes
-USE_TOOLS+= bison flex gmake mktemp msgfmt
+USE_TOOLS+= bison flex gmake mktemp msgfmt autoconf
FLEX_REQD= 2.5.33
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-tests
UNLIMIT_RESOURCES= datasize
-REPLACE_PERL+= tools/winemaker tools/winedump/function_grep.pl
+REPLACE_PERL+= tools/winemaker/winemaker tools/winedump/function_grep.pl
# The Wine configure script has problems locating the libraries in the
# buildlink directory, so prepend all of the LDFLAGS necessary to link
@@ -48,18 +48,17 @@ PLIST_VARS+= oss wine16 wine32 wine64
#CONFIGURE_ENV+= ac_cv_prog_CXX=${CXX:Q}\ -m32
#CONFIGURE_ENV+= ac_cv_prog_AS=${AS:Q}\ --32
#CONFIGURE_ENV+= ac_cv_prog_LD=${LD:Q}\ -m\ elf_i386
-PLIST.wine16= yes
-PLIST.wine32= yes
+#PLIST.wine16= yes
+PLIST_SRC= PLIST.wine32
+NOT_PAX_MPROTECT_SAFE+= bin/wine
+#PLIST.wine32= yes
.endif
# Needs GCC >= 4.4; Experimental
.if !empty(MACHINE_ARCH:Mx86_64)
-CONFIGURE_ARGS+= --enable-win64
-PLIST.wine64= yes
-.endif
-
-.if ${OPSYS} == "NetBSD"
-# gethostbyname_r is in libc, but has a different calling convention
-CONFIGURE_ARGS+= wine_cv_linux_gethostbyname_r_6=no
+CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib
+NOT_PAX_MPROTECT_SAFE+= bin/wine64
+PLIST_SRC= PLIST.wine64
+#PLIST.wine64= yes
.endif
.if ${OPSYS} != "Darwin"
@@ -68,6 +67,9 @@ PLIST.oss= yes
.include "../../mk/oss.buildlink3.mk"
.endif
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
.include "options.mk"
.include "../../devel/ncurses/buildlink3.mk"
Index: pkgsrc/emulators/wine-devel/distinfo
diff -u pkgsrc/emulators/wine-devel/distinfo:1.26 pkgsrc/emulators/wine-devel/distinfo:1.27
--- pkgsrc/emulators/wine-devel/distinfo:1.26 Mon Jan 11 22:53:48 2016
+++ pkgsrc/emulators/wine-devel/distinfo Thu Sep 15 09:25:53 2016
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.26 2016/01/11 22:53:48 joerg Exp $
+$NetBSD: distinfo,v 1.27 2016/09/15 09:25:53 maya Exp $
-SHA1 (wine-1.7.36.tar.bz2) = 69c8bf7116572a4c1e5b1113612f461d88489663
-RMD160 (wine-1.7.36.tar.bz2) = 2cde7505154c656eb58145b4ad7df55251362931
-SHA512 (wine-1.7.36.tar.bz2) = c2d9687e1ab0a53ebff6973fdd83e4b54c397e2b51c172b7c58297776228a8bbb3d5321de27aac4b61f756575b60c6534d5e0a9bb4b830d429496b3e8b95b39f
-Size (wine-1.7.36.tar.bz2) = 22010371 bytes
-SHA1 (patch-configure) = 77b5259dfe3644ca17bb9af8aa1be045b5f88c7f
-SHA1 (patch-dlls_ntdll_signal__x86__64.c) = 92ad434b5d8de9d4dcca5004d2fadede58cfeea8
-SHA1 (patch-dlls_ntdll_string.c) = 5da7614b1ad59ac29d8582ef3104dc79a1a045e6
+SHA1 (wine-1.9.18.tar.bz2) = 738ef272b3faf898c47dfb64b93b80fcde7a0c24
+RMD160 (wine-1.9.18.tar.bz2) = c555406acaa0debd5c91276f734534717e0fbf36
+SHA512 (wine-1.9.18.tar.bz2) = fc8ccf844c5913bb9e351f244cf6ec610caabc9513761b140b129e70a56265133a0cbc7b585bf83b028421f29c5ddc0885abfc98cd9a2dc2b0863d6dbb9b59ee
+Size (wine-1.9.18.tar.bz2) = 23473716 bytes
+SHA1 (patch-configure.ac) = 304ab35b7a99c9da4782a5d527ce6c1a5813fc3e
SHA1 (patch-dlls_wineoss.drv_mmdevdrv.c) = 89f9d1c08dbfbed3eac971ee534944f7403246a4
-SHA1 (patch-dlls_ws2__32_socket.c) = 98ebaa7b0831e558f49a484ffb3a1b28adb9bcf2
+SHA1 (patch-dlls_winepulse.drv_mmdevdrv.c) = c9aad42d1fbfcc309dcc6ddc3dd9aefb9a556075
+SHA1 (patch-dlls_wininet_http.c) = 0021568efb075711f20b23e40515dc76868959c6
+SHA1 (patch-include_config.h.in) = 20d14d65ebaaca2dc9ba3f9dfbd644c5819de713
SHA1 (patch-include_wine_test.h) = af33ec675c67e2fc56cf52e9c6634cab3e6fdfd2
Index: pkgsrc/emulators/wine-devel/options.mk
diff -u pkgsrc/emulators/wine-devel/options.mk:1.7 pkgsrc/emulators/wine-devel/options.mk:1.8
--- pkgsrc/emulators/wine-devel/options.mk:1.7 Mon Feb 9 13:30:44 2015
+++ pkgsrc/emulators/wine-devel/options.mk Thu Sep 15 09:25:53 2016
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.7 2015/02/09 13:30:44 adam Exp $
+# $NetBSD: options.mk,v 1.8 2016/09/15 09:25:53 maya Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wine
-PKG_SUPPORTED_OPTIONS= cups dbus esound hal ldap opengl sane ssl x11
+PKG_SUPPORTED_OPTIONS= cups dbus esound hal ldap opengl sane ssl x11 pulseaudio
PKG_SUGGESTED_OPTIONS= opengl ssl x11
.include "../../mk/bsd.options.mk"
@@ -60,6 +60,13 @@ PLIST.x11= yes
CONFIGURE_ARGS+= --without-x
.endif
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CONFIGURE_ARGS+= --with-pulse
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-pulse
+.endif
+
.if !empty(PKG_OPTIONS:Mopengl) && !empty(PKG_OPTIONS:Mx11)
PLIST.opengl= yes
.include "../../graphics/glu/buildlink3.mk"
Added files:
Index: pkgsrc/emulators/wine-devel/patches/patch-configure.ac
diff -u /dev/null pkgsrc/emulators/wine-devel/patches/patch-configure.ac:1.1
--- /dev/null Thu Sep 15 09:25:53 2016
+++ pkgsrc/emulators/wine-devel/patches/patch-configure.ac Thu Sep 15 09:25:53 2016
@@ -0,0 +1,28 @@
+$NetBSD: patch-configure.ac,v 1.1 2016/09/15 09:25:53 maya Exp $
+
+Add check for pthread_mutexattr_setprotocol.
+
+Don't try to enable dtags in the wildcard case (i.e. non-linux),
+netbsd passes the compile test, but fails at runtime (PR pkg/51324)
+
+--- configure.ac.orig 2016-06-10 14:04:01.000000000 +0000
++++ configure.ac
+@@ -891,9 +891,6 @@ case $host_os in
+ [LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
+ LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"])])
+
+- WINE_TRY_CFLAGS([-Wl,--enable-new-dtags],
+- [LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"])
+-
+ case $host_cpu in
+ *i[[3456789]]86* | x86_64)
+ WINE_TRY_CFLAGS([-Wl,-Ttext-segment=0x7bc00000],
+@@ -1452,6 +1449,8 @@ then
+ [AC_CHECK_HEADERS(pulse/pulseaudio.h,
+ [AC_CHECK_LIB(pulse, pa_stream_is_corked,[:],[PULSE_LIBS=""],[$PULSE_LIBS])],
+ [PULSE_LIBS=""])])
++ AC_CHECK_FUNCS(pthread_mutexattr_setprotocol, [HAVE_PTHREAD_MUTEXATTR_SETPROTOCOL=1],
++ [HAVE_PTHREAD_MUTEXATTR_SETPROTOCOL=0])
+ fi
+ WINE_NOTICE_WITH(pulse, [test -z "$PULSE_LIBS"],
+ [libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.],
Index: pkgsrc/emulators/wine-devel/patches/patch-dlls_winepulse.drv_mmdevdrv.c
diff -u /dev/null pkgsrc/emulators/wine-devel/patches/patch-dlls_winepulse.drv_mmdevdrv.c:1.1
--- /dev/null Thu Sep 15 09:25:53 2016
+++ pkgsrc/emulators/wine-devel/patches/patch-dlls_winepulse.drv_mmdevdrv.c Thu Sep 15 09:25:53 2016
@@ -0,0 +1,16 @@
+$NetBSD: patch-dlls_winepulse.drv_mmdevdrv.c,v 1.1 2016/09/15 09:25:53 maya Exp $
+
+Check for pthread_mutexattr_setprotocol.
+
+--- dlls/winepulse.drv/mmdevdrv.c.orig 2016-06-10 14:04:01.000000000 +0000
++++ dlls/winepulse.drv/mmdevdrv.c
+@@ -98,7 +98,9 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD
+ DisableThreadLibraryCalls(dll);
+
+ pthread_mutexattr_init(&attr);
++#ifdef HAVE_PTHREAD_MUTEXATTR_SETPROTOCOL
+ pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT);
++#endif
+
+ if (pthread_mutex_init(&pulse_lock, &attr) != 0)
+ pthread_mutex_init(&pulse_lock, NULL);
Index: pkgsrc/emulators/wine-devel/patches/patch-dlls_wininet_http.c
diff -u /dev/null pkgsrc/emulators/wine-devel/patches/patch-dlls_wininet_http.c:1.1
--- /dev/null Thu Sep 15 09:25:53 2016
+++ pkgsrc/emulators/wine-devel/patches/patch-dlls_wininet_http.c Thu Sep 15 09:25:53 2016
@@ -0,0 +1,22 @@
+$NetBSD: patch-dlls_wininet_http.c,v 1.1 2016/09/15 09:25:53 maya Exp $
+
+--- dlls/wininet/http.c.orig 2016-09-02 16:39:28.000000000 +0000
++++ dlls/wininet/http.c
+@@ -35,14 +35,14 @@
+ # include <zlib.h>
+ #endif
+
+-#include "winsock2.h"
+-#include "ws2ipdef.h"
+-
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <time.h>
+ #include <assert.h>
+
++#include "winsock2.h"
++#include "ws2ipdef.h"
++
+ #include "windef.h"
+ #include "winbase.h"
+ #include "wininet.h"
Index: pkgsrc/emulators/wine-devel/patches/patch-include_config.h.in
diff -u /dev/null pkgsrc/emulators/wine-devel/patches/patch-include_config.h.in:1.1
--- /dev/null Thu Sep 15 09:25:53 2016
+++ pkgsrc/emulators/wine-devel/patches/patch-include_config.h.in Thu Sep 15 09:25:53 2016
@@ -0,0 +1,16 @@
+$NetBSD: patch-include_config.h.in,v 1.1 2016/09/15 09:25:53 maya Exp $
+
+Check for pthread_mutexattr_setprotocol.
+
+--- include/config.h.in.orig 2016-06-10 14:04:01.000000000 +0000
++++ include/config.h.in
+@@ -708,6 +708,9 @@
+ /* Define to 1 if you have the <pulse/pulseaudio.h> header file. */
+ #undef HAVE_PULSE_PULSEAUDIO_H
+
++/* Define to 1 if you have the `pthread_mutexattr_setprotocol' function. */
++#undef HAVE_PTHREAD_MUTEXATTR_SETPROTOCOL
++
+ /* Define to 1 if you have the <pwd.h> header file. */
+ #undef HAVE_PWD_H
+
Home |
Main Index |
Thread Index |
Old Index