From 9d92d67b7509adc7d79b23b3b7e49ec0a371b821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Wed, 26 Nov 2014 20:47:57 +0100 Subject: [PATCH] Added patch to implement stubs for additional api-ms-win-core-* dlls. --- debian/changelog | 1 + patches/Makefile | 32 +++++++++ ...pi-ms-win-core-fibers-l1-1-1-Add-dll.patch | 55 ++++++++++++++++ ...-api-ms-win-core-file-l2-1-0-Add-dll.patch | 65 +++++++++++++++++++ ...win-core-localization-l1-2-1-Add-dll.patch | 55 ++++++++++++++++ ...in-core-datetime-l1-1-1-Add-stub-dll.patch | 56 ++++++++++++++++ ...-win-core-xstate-l2-1-0-Add-stub-dll.patch | 60 +++++++++++++++++ ...s-win-core-winrt-l1-1-0-Add-stub-dll.patch | 50 ++++++++++++++ ...core-winrt-error-l1-1-1-Add-stub-dll.patch | 60 +++++++++++++++++ 9 files changed, 434 insertions(+) create mode 100644 patches/api-ms-win-core-Stubs/0001-api-ms-win-core-fibers-l1-1-1-Add-dll.patch create mode 100644 patches/api-ms-win-core-Stubs/0002-api-ms-win-core-file-l2-1-0-Add-dll.patch create mode 100644 patches/api-ms-win-core-Stubs/0003-api-ms-win-core-localization-l1-2-1-Add-dll.patch create mode 100644 patches/api-ms-win-core-Stubs/0004-api-ms-win-core-datetime-l1-1-1-Add-stub-dll.patch create mode 100644 patches/api-ms-win-core-Stubs/0005-api-ms-win-core-xstate-l2-1-0-Add-stub-dll.patch create mode 100644 patches/api-ms-win-core-Stubs/0006-api-ms-win-core-winrt-l1-1-0-Add-stub-dll.patch create mode 100644 patches/api-ms-win-core-Stubs/0007-api-ms-win-core-winrt-error-l1-1-1-Add-stub-dll.patch diff --git a/debian/changelog b/debian/changelog index 83d7fe22..154d4f5f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ wine-compholio (1.7.32) UNRELEASED; urgency=low * Added patch to fix issues with dragging layers between images in Adobe Photoshop 7.0. * Added patch to ensure wintrust resets data->pWintrustData->u.pFile->hFile after closing handle. * Added patch to add additional format conversions for DXT1 and DXT3. + * Added patch to implement stubs for additional api-ms-win-core-* dlls. * Removed patch to close server fd is there is no space in thread inflight fd list (accepted upstream). * Removed patch to fix bugs in StrStr functions (accepted upstream). * Removed patches to avoid sending messages in FindWindowExW (accepted upstream). diff --git a/patches/Makefile b/patches/Makefile index 1d59e345..327e888f 100644 --- a/patches/Makefile +++ b/patches/Makefile @@ -23,6 +23,7 @@ PATCHLIST := \ Miscellaneous.ok \ Pipelight.ok \ Staging.ok \ + api-ms-win-core-Stubs.ok \ atl-IOCS_Property.ok \ comctl32-LoadIconMetric.ok \ configure-Absolute_RPATH.ok \ @@ -246,6 +247,37 @@ Staging.ok: echo '+ { "Michael Müller", "loader: Add commandline option --check-libs.", 1 },'; \ ) > Staging.ok +# Patchset api-ms-win-core-Stubs +# | +# | Modified files: +# | * configure.ac, dlls/api-ms-win-core-datetime-l1-1-1/Makefile.in, dlls/api-ms-win-core-datetime-l1-1-1/api-ms-win-core- +# | datetime-l1-1-1.spec, dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in, dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win- +# | core-fibers-l1-1-1.spec, dlls/api-ms-win-core-file-l2-1-0/Makefile.in, dlls/api-ms-win-core-file-l2-1-0/api-ms-win-core- +# | file-l2-1-0.spec, dlls/api-ms-win-core-localization-l1-2-1/Makefile.in, dlls/api-ms-win-core-localization-l1-2-1/api-ms- +# | win-core-localization-l1-2-1.spec, dlls/api-ms-win-core-winrt-error-l1-1-1/Makefile.in, dlls/api-ms-win-core-winrt- +# | error-l1-1-1/api-ms-win-core-winrt-error-l1-1-1.spec, dlls/api-ms-win-core-winrt-l1-1-0/Makefile.in, dlls/api-ms-win- +# | core-winrt-l1-1-0/api-ms-win-core-winrt-l1-1-0.spec, dlls/api-ms-win-core-xstate-l2-1-0/Makefile.in, dlls/api-ms-win- +# | core-xstate-l2-1-0/api-ms-win-core-xstate-l2-1-0.spec, tools/make_specfiles +# | +.INTERMEDIATE: api-ms-win-core-Stubs.ok +api-ms-win-core-Stubs.ok: + $(call APPLY_FILE,api-ms-win-core-Stubs/0001-api-ms-win-core-fibers-l1-1-1-Add-dll.patch) + $(call APPLY_FILE,api-ms-win-core-Stubs/0002-api-ms-win-core-file-l2-1-0-Add-dll.patch) + $(call APPLY_FILE,api-ms-win-core-Stubs/0003-api-ms-win-core-localization-l1-2-1-Add-dll.patch) + $(call APPLY_FILE,api-ms-win-core-Stubs/0004-api-ms-win-core-datetime-l1-1-1-Add-stub-dll.patch) + $(call APPLY_FILE,api-ms-win-core-Stubs/0005-api-ms-win-core-xstate-l2-1-0-Add-stub-dll.patch) + $(call APPLY_FILE,api-ms-win-core-Stubs/0006-api-ms-win-core-winrt-l1-1-0-Add-stub-dll.patch) + $(call APPLY_FILE,api-ms-win-core-Stubs/0007-api-ms-win-core-winrt-error-l1-1-1-Add-stub-dll.patch) + @( \ + echo '+ { "Michael Müller", "api-ms-win-core-fibers-l1-1-1: Add dll.", 1 },'; \ + echo '+ { "Michael Müller", "api-ms-win-core-file-l2-1-0: Add dll.", 1 },'; \ + echo '+ { "Michael Müller", "api-ms-win-core-localization-l1-2-1: Add dll.", 1 },'; \ + echo '+ { "Michael Müller", "api-ms-win-core-datetime-l1-1-1: Add stub dll.", 1 },'; \ + echo '+ { "Michael Müller", "api-ms-win-core-xstate-l2-1-0: Add stub dll.", 1 },'; \ + echo '+ { "Michael Müller", "api-ms-win-core-winrt-l1-1-0: Add stub dll.", 1 },'; \ + echo '+ { "Michael Müller", "api-ms-win-core-winrt-error-l1-1-1: Add stub dll.", 1 },'; \ + ) > api-ms-win-core-Stubs.ok + # Patchset atl-IOCS_Property # | # | This patchset fixes the following Wine bugs: diff --git a/patches/api-ms-win-core-Stubs/0001-api-ms-win-core-fibers-l1-1-1-Add-dll.patch b/patches/api-ms-win-core-Stubs/0001-api-ms-win-core-fibers-l1-1-1-Add-dll.patch new file mode 100644 index 00000000..72522fff --- /dev/null +++ b/patches/api-ms-win-core-Stubs/0001-api-ms-win-core-fibers-l1-1-1-Add-dll.patch @@ -0,0 +1,55 @@ +From bd3a2f75d6d250ea0c1e0d29897c15f39c191c4a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Wed, 26 Nov 2014 18:09:04 +0100 +Subject: api-ms-win-core-fibers-l1-1-1: Add dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in | 1 + + dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec | 1 + + tools/make_specfiles | 1 + + 4 files changed, 4 insertions(+) + create mode 100644 dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in + create mode 100644 dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec + +diff --git a/configure.ac b/configure.ac +index 04bcbd8..28b5086 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2649,6 +2649,7 @@ WINE_CONFIG_DLL(api-ms-win-core-com-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-console-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-1) ++WINE_CONFIG_DLL(api-ms-win-core-fibers-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-file-l1-2-0) + WINE_CONFIG_DLL(api-ms-win-core-handle-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-heap-l1-2-0) +diff --git a/dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in b/dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in +new file mode 100644 +index 0000000..98b7880 +--- /dev/null ++++ b/dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-fibers-l1-1-1.dll +diff --git a/dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec b/dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec +new file mode 100644 +index 0000000..2ea1aea +--- /dev/null ++++ b/dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec +@@ -0,0 +1 @@ ++@ stdcall IsThreadAFiber() kernel32.IsThreadAFiber +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 9eae0ac..4420a32 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -134,6 +134,7 @@ my @dll_groups = + "api-ms-win-core-processthreads-l1-1-1", + "api-ms-win-core-debug-l1-1-1", + "api-ms-win-core-errorhandling-l1-1-1", ++ "api-ms-win-core-fibers-l1-1-1", + "api-ms-win-core-interlocked-l1-2-0", + "api-ms-win-core-profile-l1-1-0", + "api-ms-win-core-string-l1-1-0", +-- +1.9.1 + diff --git a/patches/api-ms-win-core-Stubs/0002-api-ms-win-core-file-l2-1-0-Add-dll.patch b/patches/api-ms-win-core-Stubs/0002-api-ms-win-core-file-l2-1-0-Add-dll.patch new file mode 100644 index 00000000..da64d70b --- /dev/null +++ b/patches/api-ms-win-core-Stubs/0002-api-ms-win-core-file-l2-1-0-Add-dll.patch @@ -0,0 +1,65 @@ +From dfade01bdb1e6e3cd7db6d21be6b7a35d7dd928e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Wed, 26 Nov 2014 18:33:41 +0100 +Subject: api-ms-win-core-file-l2-1-0: Add dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-file-l2-1-0/Makefile.in | 1 + + .../api-ms-win-core-file-l2-1-0.spec | 11 +++++++++++ + tools/make_specfiles | 1 + + 4 files changed, 14 insertions(+) + create mode 100644 dlls/api-ms-win-core-file-l2-1-0/Makefile.in + create mode 100644 dlls/api-ms-win-core-file-l2-1-0/api-ms-win-core-file-l2-1-0.spec + +diff --git a/configure.ac b/configure.ac +index 28b5086..7f26ce8 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2651,6 +2651,7 @@ WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-fibers-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-file-l1-2-0) ++WINE_CONFIG_DLL(api-ms-win-core-file-l2-1-0) + WINE_CONFIG_DLL(api-ms-win-core-handle-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-heap-l1-2-0) + WINE_CONFIG_DLL(api-ms-win-core-heap-obsolete-l1-1-0) +diff --git a/dlls/api-ms-win-core-file-l2-1-0/Makefile.in b/dlls/api-ms-win-core-file-l2-1-0/Makefile.in +new file mode 100644 +index 0000000..8edf54e +--- /dev/null ++++ b/dlls/api-ms-win-core-file-l2-1-0/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-file-l2-1-0.dll +diff --git a/dlls/api-ms-win-core-file-l2-1-0/api-ms-win-core-file-l2-1-0.spec b/dlls/api-ms-win-core-file-l2-1-0/api-ms-win-core-file-l2-1-0.spec +new file mode 100644 +index 0000000..914e0c0 +--- /dev/null ++++ b/dlls/api-ms-win-core-file-l2-1-0/api-ms-win-core-file-l2-1-0.spec +@@ -0,0 +1,11 @@ ++@ stub CopyFile2 ++@ stdcall CopyFileExW(wstr wstr ptr ptr ptr long) kernel32.CopyFileExW ++@ stdcall CreateDirectoryExW(wstr wstr ptr) kernel32.CreateDirectoryExW ++@ stdcall CreateHardLinkW(wstr wstr ptr) kernel32.CreateHardLinkW ++@ stub CreateSymbolicLinkW ++@ stdcall GetFileInformationByHandleEx(long long ptr long) kernel32.GetFileInformationByHandleEx ++@ stdcall MoveFileExW(wstr wstr long) kernel32.MoveFileExW ++@ stdcall MoveFileWithProgressW(wstr wstr ptr ptr long) kernel32.MoveFileWithProgressW ++@ stub ReOpenFile ++@ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr) kernel32.ReadDirectoryChangesW ++@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr) kernel32.ReplaceFileW +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 4420a32..2b321ce 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -143,6 +143,7 @@ my @dll_groups = + "api-ms-win-core-synch-l1-2-0", + "api-ms-win-core-console-l1-1-0", + "api-ms-win-core-file-l1-2-0", ++ "api-ms-win-core-file-l2-1-0", + "api-ms-win-core-handle-l1-1-0", + "api-ms-win-core-heap-l1-2-0", + "api-ms-win-core-heap-obsolete-l1-1-0", +-- +1.9.1 + diff --git a/patches/api-ms-win-core-Stubs/0003-api-ms-win-core-localization-l1-2-1-Add-dll.patch b/patches/api-ms-win-core-Stubs/0003-api-ms-win-core-localization-l1-2-1-Add-dll.patch new file mode 100644 index 00000000..8d0da13c --- /dev/null +++ b/patches/api-ms-win-core-Stubs/0003-api-ms-win-core-localization-l1-2-1-Add-dll.patch @@ -0,0 +1,55 @@ +From 378d82db88f4d82ebbaefd7a3863928280623fd6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Wed, 26 Nov 2014 18:46:49 +0100 +Subject: api-ms-win-core-localization-l1-2-1: Add dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-localization-l1-2-1/Makefile.in | 1 + + .../api-ms-win-core-localization-l1-2-1.spec | 1 + + tools/make_specfiles | 1 + + 4 files changed, 4 insertions(+) + create mode 100644 dlls/api-ms-win-core-localization-l1-2-1/Makefile.in + create mode 100644 dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec + +diff --git a/configure.ac b/configure.ac +index 7f26ce8..af6934f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2660,6 +2660,7 @@ WINE_CONFIG_DLL(api-ms-win-core-io-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-kernel32-legacy-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-libraryloader-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-localization-l1-2-0) ++WINE_CONFIG_DLL(api-ms-win-core-localization-l1-2-1) + WINE_CONFIG_DLL(api-ms-win-core-localization-obsolete-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-localregistry-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-memory-l1-1-1) +diff --git a/dlls/api-ms-win-core-localization-l1-2-1/Makefile.in b/dlls/api-ms-win-core-localization-l1-2-1/Makefile.in +new file mode 100644 +index 0000000..e5208a8 +--- /dev/null ++++ b/dlls/api-ms-win-core-localization-l1-2-1/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-localization-l1-2-1.dll +diff --git a/dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec b/dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec +new file mode 100644 +index 0000000..3e5d0f9 +--- /dev/null ++++ b/dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec +@@ -0,0 +1 @@ ++@ stdcall EnumSystemLocalesEx(ptr long long ptr) kernel32.EnumSystemLocalesEx +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 2b321ce..7f9eed7 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -151,6 +151,7 @@ my @dll_groups = + "api-ms-win-core-kernel32-legacy-l1-1-0", + "api-ms-win-core-libraryloader-l1-1-1", + "api-ms-win-core-localization-l1-2-0", ++ "api-ms-win-core-localization-l1-2-1", + "api-ms-win-core-localization-obsolete-l1-1-0", + "api-ms-win-core-memory-l1-1-1", + "api-ms-win-core-namedpipe-l1-2-0", +-- +1.9.1 + diff --git a/patches/api-ms-win-core-Stubs/0004-api-ms-win-core-datetime-l1-1-1-Add-stub-dll.patch b/patches/api-ms-win-core-Stubs/0004-api-ms-win-core-datetime-l1-1-1-Add-stub-dll.patch new file mode 100644 index 00000000..2d912e93 --- /dev/null +++ b/patches/api-ms-win-core-Stubs/0004-api-ms-win-core-datetime-l1-1-1-Add-stub-dll.patch @@ -0,0 +1,56 @@ +From a012b6e45a8a5fced9326bddfb192f63944643a3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Wed, 26 Nov 2014 18:53:12 +0100 +Subject: api-ms-win-core-datetime-l1-1-1: Add stub dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-datetime-l1-1-1/Makefile.in | 1 + + .../api-ms-win-core-datetime-l1-1-1.spec | 2 ++ + tools/make_specfiles | 1 + + 4 files changed, 5 insertions(+) + create mode 100644 dlls/api-ms-win-core-datetime-l1-1-1/Makefile.in + create mode 100644 dlls/api-ms-win-core-datetime-l1-1-1/api-ms-win-core-datetime-l1-1-1.spec + +diff --git a/configure.ac b/configure.ac +index af6934f..541ae88 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2647,6 +2647,7 @@ WINE_CONFIG_DLL(amstream,,[clean]) + WINE_CONFIG_TEST(dlls/amstream/tests) + WINE_CONFIG_DLL(api-ms-win-core-com-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-console-l1-1-0) ++WINE_CONFIG_DLL(api-ms-win-core-datetime-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-fibers-l1-1-1) +diff --git a/dlls/api-ms-win-core-datetime-l1-1-1/Makefile.in b/dlls/api-ms-win-core-datetime-l1-1-1/Makefile.in +new file mode 100644 +index 0000000..2bf9501 +--- /dev/null ++++ b/dlls/api-ms-win-core-datetime-l1-1-1/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-datetime-l1-1-1.dll +diff --git a/dlls/api-ms-win-core-datetime-l1-1-1/api-ms-win-core-datetime-l1-1-1.spec b/dlls/api-ms-win-core-datetime-l1-1-1/api-ms-win-core-datetime-l1-1-1.spec +new file mode 100644 +index 0000000..27985eb +--- /dev/null ++++ b/dlls/api-ms-win-core-datetime-l1-1-1/api-ms-win-core-datetime-l1-1-1.spec +@@ -0,0 +1,2 @@ ++@ stub GetDateFormatEx ++@ stub GetTimeFormatEx +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 7f9eed7..85a68b5 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -132,6 +132,7 @@ my @dll_groups = + "api-ms-win-downlevel-normaliz-l1-1-0", + "api-ms-win-core-processthreads-l1-1-0", + "api-ms-win-core-processthreads-l1-1-1", ++ "api-ms-win-core-datetime-l1-1-1", + "api-ms-win-core-debug-l1-1-1", + "api-ms-win-core-errorhandling-l1-1-1", + "api-ms-win-core-fibers-l1-1-1", +-- +1.9.1 + diff --git a/patches/api-ms-win-core-Stubs/0005-api-ms-win-core-xstate-l2-1-0-Add-stub-dll.patch b/patches/api-ms-win-core-Stubs/0005-api-ms-win-core-xstate-l2-1-0-Add-stub-dll.patch new file mode 100644 index 00000000..569c5cd4 --- /dev/null +++ b/patches/api-ms-win-core-Stubs/0005-api-ms-win-core-xstate-l2-1-0-Add-stub-dll.patch @@ -0,0 +1,60 @@ +From 4c4ccf14edf04d41d31110a461bf93ab0ecb9c68 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Wed, 26 Nov 2014 19:07:20 +0100 +Subject: api-ms-win-core-xstate-l2-1-0: Add stub dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-xstate-l2-1-0/Makefile.in | 1 + + .../api-ms-win-core-xstate-l2-1-0.spec | 6 ++++++ + tools/make_specfiles | 1 + + 4 files changed, 9 insertions(+) + create mode 100644 dlls/api-ms-win-core-xstate-l2-1-0/Makefile.in + create mode 100644 dlls/api-ms-win-core-xstate-l2-1-0/api-ms-win-core-xstate-l2-1-0.spec + +diff --git a/configure.ac b/configure.ac +index 541ae88..d29f375 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2683,6 +2683,7 @@ WINE_CONFIG_DLL(api-ms-win-core-url-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-util-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-winrt-error-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-winrt-string-l1-1-0) ++WINE_CONFIG_DLL(api-ms-win-core-xstate-l2-1-0) + WINE_CONFIG_DLL(api-ms-win-downlevel-advapi32-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-downlevel-advapi32-l2-1-0) + WINE_CONFIG_DLL(api-ms-win-downlevel-normaliz-l1-1-0) +diff --git a/dlls/api-ms-win-core-xstate-l2-1-0/Makefile.in b/dlls/api-ms-win-core-xstate-l2-1-0/Makefile.in +new file mode 100644 +index 0000000..9fafff3 +--- /dev/null ++++ b/dlls/api-ms-win-core-xstate-l2-1-0/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-xstate-l2-1-0.dll +diff --git a/dlls/api-ms-win-core-xstate-l2-1-0/api-ms-win-core-xstate-l2-1-0.spec b/dlls/api-ms-win-core-xstate-l2-1-0/api-ms-win-core-xstate-l2-1-0.spec +new file mode 100644 +index 0000000..0f9438d +--- /dev/null ++++ b/dlls/api-ms-win-core-xstate-l2-1-0/api-ms-win-core-xstate-l2-1-0.spec +@@ -0,0 +1,6 @@ ++@ stub CopyContext ++@ stub GetEnabledXStateFeatures ++@ stub GetXStateFeaturesMask ++@ stub InitializeContext ++@ stub LocateXStateFeature ++@ stub SetXStateFeaturesMask +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 85a68b5..2888459 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -160,6 +160,7 @@ my @dll_groups = + "api-ms-win-core-psapi-l1-1-0", + "api-ms-win-core-threadpool-legacy-l1-1-0", + "api-ms-win-core-timezone-l1-1-0", ++ "api-ms-win-core-xstate-l2-1-0", + ], + [ + "ole32", +-- +1.9.1 + diff --git a/patches/api-ms-win-core-Stubs/0006-api-ms-win-core-winrt-l1-1-0-Add-stub-dll.patch b/patches/api-ms-win-core-Stubs/0006-api-ms-win-core-winrt-l1-1-0-Add-stub-dll.patch new file mode 100644 index 00000000..75f6948f --- /dev/null +++ b/patches/api-ms-win-core-Stubs/0006-api-ms-win-core-winrt-l1-1-0-Add-stub-dll.patch @@ -0,0 +1,50 @@ +From f6c4bae2e142a4c067ea552482c3dd590a03c810 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Wed, 26 Nov 2014 19:56:40 +0100 +Subject: api-ms-win-core-winrt-l1-1-0: Add stub dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-winrt-l1-1-0/Makefile.in | 1 + + .../api-ms-win-core-winrt-l1-1-0.spec | 9 +++++++++ + 3 files changed, 11 insertions(+) + create mode 100644 dlls/api-ms-win-core-winrt-l1-1-0/Makefile.in + create mode 100644 dlls/api-ms-win-core-winrt-l1-1-0/api-ms-win-core-winrt-l1-1-0.spec + +diff --git a/configure.ac b/configure.ac +index d29f375..e72ec05 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2682,6 +2682,7 @@ WINE_CONFIG_DLL(api-ms-win-core-timezone-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-url-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-util-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-winrt-error-l1-1-0) ++WINE_CONFIG_DLL(api-ms-win-core-winrt-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-winrt-string-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-xstate-l2-1-0) + WINE_CONFIG_DLL(api-ms-win-downlevel-advapi32-l1-1-0) +diff --git a/dlls/api-ms-win-core-winrt-l1-1-0/Makefile.in b/dlls/api-ms-win-core-winrt-l1-1-0/Makefile.in +new file mode 100644 +index 0000000..1660441 +--- /dev/null ++++ b/dlls/api-ms-win-core-winrt-l1-1-0/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-winrt-l1-1-0.dll +diff --git a/dlls/api-ms-win-core-winrt-l1-1-0/api-ms-win-core-winrt-l1-1-0.spec b/dlls/api-ms-win-core-winrt-l1-1-0/api-ms-win-core-winrt-l1-1-0.spec +new file mode 100644 +index 0000000..08409ee +--- /dev/null ++++ b/dlls/api-ms-win-core-winrt-l1-1-0/api-ms-win-core-winrt-l1-1-0.spec +@@ -0,0 +1,9 @@ ++@ stub RoActivateInstance ++@ stub RoGetActivationFactory ++@ stub RoGetApartmentIdentifier ++@ stub RoInitialize ++@ stub RoRegisterActivationFactories ++@ stub RoRegisterForApartmentShutdown ++@ stub RoRevokeActivationFactories ++@ stub RoUninitialize ++@ stub RoUnregisterForApartmentShutdown +-- +1.9.1 + diff --git a/patches/api-ms-win-core-Stubs/0007-api-ms-win-core-winrt-error-l1-1-1-Add-stub-dll.patch b/patches/api-ms-win-core-Stubs/0007-api-ms-win-core-winrt-error-l1-1-1-Add-stub-dll.patch new file mode 100644 index 00000000..17588f85 --- /dev/null +++ b/patches/api-ms-win-core-Stubs/0007-api-ms-win-core-winrt-error-l1-1-1-Add-stub-dll.patch @@ -0,0 +1,60 @@ +From a91830333fe86ea6d162b7e342c6b755a37fff12 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Wed, 26 Nov 2014 20:13:34 +0100 +Subject: api-ms-win-core-winrt-error-l1-1-1: Add stub dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-winrt-error-l1-1-1/Makefile.in | 1 + + .../api-ms-win-core-winrt-error-l1-1-1.spec | 19 +++++++++++++++++++ + 3 files changed, 21 insertions(+) + create mode 100644 dlls/api-ms-win-core-winrt-error-l1-1-1/Makefile.in + create mode 100644 dlls/api-ms-win-core-winrt-error-l1-1-1/api-ms-win-core-winrt-error-l1-1-1.spec + +diff --git a/configure.ac b/configure.ac +index e72ec05..f4d329b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2682,6 +2682,7 @@ WINE_CONFIG_DLL(api-ms-win-core-timezone-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-url-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-util-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-winrt-error-l1-1-0) ++WINE_CONFIG_DLL(api-ms-win-core-winrt-error-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-winrt-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-winrt-string-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-xstate-l2-1-0) +diff --git a/dlls/api-ms-win-core-winrt-error-l1-1-1/Makefile.in b/dlls/api-ms-win-core-winrt-error-l1-1-1/Makefile.in +new file mode 100644 +index 0000000..fe36f7b +--- /dev/null ++++ b/dlls/api-ms-win-core-winrt-error-l1-1-1/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-winrt-error-l1-1-1.dll +diff --git a/dlls/api-ms-win-core-winrt-error-l1-1-1/api-ms-win-core-winrt-error-l1-1-1.spec b/dlls/api-ms-win-core-winrt-error-l1-1-1/api-ms-win-core-winrt-error-l1-1-1.spec +new file mode 100644 +index 0000000..b1ad813 +--- /dev/null ++++ b/dlls/api-ms-win-core-winrt-error-l1-1-1/api-ms-win-core-winrt-error-l1-1-1.spec +@@ -0,0 +1,19 @@ ++@ stub GetRestrictedErrorInfo ++@ stub IsErrorPropagationEnabled ++@ stub RoCaptureErrorContext ++@ stub RoClearError ++@ stub RoFailFastWithErrorContext ++@ stub RoGetErrorReportingFlags ++@ stub RoGetMatchingRestrictedErrorInfo ++@ stub RoInspectCapturedStackBackTrace ++@ stub RoInspectThreadErrorInfo ++@ stub RoOriginateError ++@ stub RoOriginateErrorW ++@ stub RoOriginateLanguageException ++@ stub RoReportFailedDelegate ++@ stub RoReportUnhandledError ++@ stub RoResolveRestrictedErrorInfoReference ++@ stub RoSetErrorReportingFlags ++@ stub RoTransformError ++@ stub RoTransformErrorW ++@ stub SetRestrictedErrorInfo +-- +1.9.1 +