From cb4a7e678207fc4436a0c2e97c709e2c638e6553 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 25 Feb 2016 15:25:35 +0100 Subject: [PATCH] Added patch to announce WMP 12 as installed windows feature. --- patches/patchinstall.sh | 16 ++++++++++++ ...-WMP-12-as-installed-windows-feature.patch | 25 +++++++++++++++++++ patches/wine.inf-WMP_12/definition | 1 + 3 files changed, 42 insertions(+) create mode 100644 patches/wine.inf-WMP_12/0001-wine.inf-Add-WMP-12-as-installed-windows-feature.patch create mode 100644 patches/wine.inf-WMP_12/definition diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 445b7bec..7b71271f 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -325,6 +325,7 @@ patch_enable_all () enable_widl_SLTG_Typelib_Support="$1" enable_wine_inf_Performance="$1" enable_wine_inf_ProfileList_UserSID="$1" + enable_wine_inf_WMP_12="$1" enable_wineboot_DriveSerial="$1" enable_wineboot_HKEY_DYN_DATA="$1" enable_wineboot_drivers_etc_Stubs="$1" @@ -1120,6 +1121,9 @@ patch_enable () wine.inf-ProfileList_UserSID) enable_wine_inf_ProfileList_UserSID="$2" ;; + wine.inf-WMP_12) + enable_wine_inf_WMP_12="$2" + ;; wineboot-DriveSerial) enable_wineboot_DriveSerial="$2" ;; @@ -6559,6 +6563,18 @@ if test "$enable_wine_inf_ProfileList_UserSID" -eq 1; then ) >> "$patchlist" fi +# Patchset wine.inf-WMP_12 +# | +# | Modified files: +# | * loader/wine.inf.in +# | +if test "$enable_wine_inf_WMP_12" -eq 1; then + patch_apply wine.inf-WMP_12/0001-wine.inf-Add-WMP-12-as-installed-windows-feature.patch + ( + echo '+ { "Michael Müller", "wine.inf: Add WMP 12 as installed windows feature.", 1 },'; + ) >> "$patchlist" +fi + # Patchset wineboot-DriveSerial # | # | This patchset fixes the following Wine bugs: diff --git a/patches/wine.inf-WMP_12/0001-wine.inf-Add-WMP-12-as-installed-windows-feature.patch b/patches/wine.inf-WMP_12/0001-wine.inf-Add-WMP-12-as-installed-windows-feature.patch new file mode 100644 index 00000000..b13cdb78 --- /dev/null +++ b/patches/wine.inf-WMP_12/0001-wine.inf-Add-WMP-12-as-installed-windows-feature.patch @@ -0,0 +1,25 @@ +From 2ae1a26958e521ade74525d8f001d065138fb5f3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Thu, 25 Feb 2016 15:21:56 +0100 +Subject: wine.inf: Add WMP 12 as installed windows feature. + +--- + loader/wine.inf.in | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/loader/wine.inf.in b/loader/wine.inf.in +index d22b29b..717da09 100644 +--- a/loader/wine.inf.in ++++ b/loader/wine.inf.in +@@ -474,6 +474,8 @@ HKLM,%CurrentVersion%\PreviewHandlers,,16 + HKLM,%CurrentVersion%\Run,,16 + HKLM,%CurrentVersion%\Setup,"BootDir",,"%30%" + HKLM,%CurrentVersion%\Setup,"SharedDir",,"%25%" ++HKLM,%CurrentVersion%\Setup\WindowsFeatures\WindowsMediaVersion,,,"12.0.7601.18840" ++HKLM,%CurrentVersion%\Setup\WindowsFeatures\WindowsMediaVersion,"Version",1,00,00,0c,00,98,49,b1,1d + HKLM,%CurrentVersion%\Shell Extensions\Approved,,16 + HKLM,%CurrentVersion%\Uninstall,,16 + HKLM,%CurrentVersion%\Winlogon,,16 +-- +2.7.1 + diff --git a/patches/wine.inf-WMP_12/definition b/patches/wine.inf-WMP_12/definition new file mode 100644 index 00000000..ddf2bd86 --- /dev/null +++ b/patches/wine.inf-WMP_12/definition @@ -0,0 +1 @@ +Fixes: Announce WMP 12 as installed windows feature