Browse Source

Add more Wine patches (menubuilder & crashdialog)

master
Pekka Helenius 5 years ago
parent
commit
fb4d7d7419
3 changed files with 77 additions and 1 deletions
  1. +1
    -1
      files_wine/README.md
  2. +21
    -0
      files_wine/patch_disable_crashdialog.patch
  3. +55
    -0
      files_wine/patch_disable_menubuilder.patch

+ 1
- 1
files_wine/README.md View File

@ -2,7 +2,7 @@
The included patch files hook necessary Steam libraries into Wine process, allowing Steam games to detect Steam client presence. Without these patches, it is impossible/difficult to run Steam client with system Wine. The included patch files hook necessary Steam libraries into Wine process, allowing Steam games to detect Steam client presence. Without these patches, it is impossible/difficult to run Steam client with system Wine.
Original patch code by Valve Corporation. Respective source code links are provided in headers of the provided patch files.
Some patch code is developed by Valve Corporation. Respective source code links are provided in headers of these patch files.
Patch name syntax: Patch name syntax:


+ 21
- 0
files_wine/patch_disable_crashdialog.patch View File

@ -0,0 +1,21 @@
From a7542e9e279970c2ab3ac9c6c986b300135286a0 Mon Sep 17 00:00:00 2001
From: Andrew Eikum <aeikum@codeweavers.com>
Date: Wed, 28 Mar 2018 09:17:30 -0500
Subject: [PATCH] wine.inf: Don't show crash dialog by default
---
loader/wine.inf.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 7fe2f49dcd9..e72d0dcaba1 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -540,6 +540,7 @@ HKLM,%CurrentVersionNT%\AeDebug,"Debugger",2,"winedbg --auto %ld %ld"
HKLM,%CurrentVersionNT%\AeDebug,"Auto",2,"1"
HKCU,Software\Wine\Debug,"RelayExclude",2,"ntdll.RtlEnterCriticalSection;ntdll.RtlTryEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.48;kernel32.49;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98;kernel32.TlsGetValue;kernel32.TlsSetValue;kernel32.FlsGetValue;kernel32.FlsSetValue;kernel32.SetLastError"
HKCU,Software\Wine\Debug,"RelayFromExclude",2,"winex11.drv;winemac.drv;user32;gdi32;advapi32;kernel32"
+HKCU,Software\Wine\WineDbg,"ShowCrashDialog",0x00010003,0x00000000
[DirectX]
HKLM,Software\Microsoft\DirectX,"Version",,"4.09.00.0904"

+ 55
- 0
files_wine/patch_disable_menubuilder.patch View File

@ -0,0 +1,55 @@
From 3340c66267ef04b05f4dfcb40dcdb8310f3f98a6 Mon Sep 17 00:00:00 2001
From: Andrew Eikum <aeikum@codeweavers.com>
Date: Wed, 28 Mar 2018 09:21:41 -0500
Subject: [PATCH] HACK: Don't build winemenubuilder
---
configure | 2 --
configure.ac | 1 -
loader/wine.inf.in | 1 -
3 files changed, 4 deletions(-)
diff --git a/configure b/configure
index 657ff9ae83c..0580d2e2972 100755
--- a/configure
+++ b/configure
@@ -1743,7 +1743,6 @@ enable_wineconsole
enable_winedbg
enable_winedevice
enable_winefile
-enable_winemenubuilder
enable_winemine
enable_winemsibuilder
enable_winepath
@@ -20105,7 +20104,6 @@ wine_fn_config_makefile programs/wineconsole enable_wineconsole
wine_fn_config_makefile programs/winedbg enable_winedbg
wine_fn_config_makefile programs/winedevice enable_winedevice
wine_fn_config_makefile programs/winefile enable_winefile
-wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
wine_fn_config_makefile programs/winemine enable_winemine
wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
wine_fn_config_makefile programs/winepath enable_winepath
diff --git a/configure.ac b/configure.ac
index 6936a71b6fd..31e1533fdc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3961,7 +3961,6 @@ WINE_CONFIG_MAKEFILE(programs/wineconsole)
WINE_CONFIG_MAKEFILE(programs/winedbg)
WINE_CONFIG_MAKEFILE(programs/winedevice)
WINE_CONFIG_MAKEFILE(programs/winefile)
-WINE_CONFIG_MAKEFILE(programs/winemenubuilder)
WINE_CONFIG_MAKEFILE(programs/winemine)
WINE_CONFIG_MAKEFILE(programs/winemsibuilder)
WINE_CONFIG_MAKEFILE(programs/winepath)
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index e72d0dcaba1..357a3b66b2d 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -3417,7 +3417,6 @@ HKR,Parameters,"ServiceDll",,"%11%\schedsvc.dll"
HKLM,%CurrentVersionNT%\SvcHost,"netsvcs",0x00010008,"Schedule"
[Services]
-HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -a -r"
HKLM,"System\CurrentControlSet\Services\Eventlog\Application",,16
HKLM,"System\CurrentControlSet\Services\Eventlog\System","Sources",0x10000,""
HKLM,"System\CurrentControlSet\Services\Tcpip\Parameters","DataBasePath",2,"%11%\drivers"

Loading…
Cancel
Save