From 3917cbf2aed9c11cae63acfda5073ea1dfe05490 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 16 Jan 2016 09:06:53 +0100 Subject: [PATCH] Added patch for api-ms-win-appmodel-runtime-l1-1-1 dll. --- ...-appmodel-runtime-l1-1-1-Add-new-dll.patch | 90 +++++++++++++++++++ patches/api-ms-win-crt-Stub_DLLs/definition | 1 + patches/patchinstall.sh | 11 ++- 3 files changed, 98 insertions(+), 4 deletions(-) create mode 100644 patches/api-ms-win-crt-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch diff --git a/patches/api-ms-win-crt-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch b/patches/api-ms-win-crt-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch new file mode 100644 index 00000000..aeedfddc --- /dev/null +++ b/patches/api-ms-win-crt-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch @@ -0,0 +1,90 @@ +From fa095669c3bad1091523c6133c6a12541555dfbd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Fri, 15 Jan 2016 13:37:26 +0100 +Subject: api-ms-win-appmodel-runtime-l1-1-1: Add new dll. + +--- + configure.ac | 1 + + .../api-ms-win-appmodel-runtime-l1-1-1/Makefile.in | 1 + + .../api-ms-win-appmodel-runtime-l1-1-1.spec | 36 ++++++++++++++++++++++ + tools/make_specfiles | 1 + + 4 files changed, 39 insertions(+) + create mode 100644 dlls/api-ms-win-appmodel-runtime-l1-1-1/Makefile.in + create mode 100644 dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec + +diff --git a/configure.ac b/configure.ac +index 1ebf17a..2d2108b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2623,6 +2623,7 @@ WINE_CONFIG_DLL(advpack,,[implib]) + WINE_CONFIG_TEST(dlls/advpack/tests) + WINE_CONFIG_DLL(amstream,,[clean]) + WINE_CONFIG_TEST(dlls/amstream/tests) ++WINE_CONFIG_DLL(api-ms-win-appmodel-runtime-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-com-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-com-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-console-l1-1-0) +diff --git a/dlls/api-ms-win-appmodel-runtime-l1-1-1/Makefile.in b/dlls/api-ms-win-appmodel-runtime-l1-1-1/Makefile.in +new file mode 100644 +index 0000000..289d96f +--- /dev/null ++++ b/dlls/api-ms-win-appmodel-runtime-l1-1-1/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-appmodel-runtime-l1-1-1.dll +diff --git a/dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec b/dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec +new file mode 100644 +index 0000000..2e5fbf1 +--- /dev/null ++++ b/dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win-appmodel-runtime-l1-1-1.spec +@@ -0,0 +1,36 @@ ++@ stub ClosePackageInfo ++@ stub FindPackagesByPackageFamily ++@ stub FormatApplicationUserModelId ++@ stub GetApplicationUserModelId ++@ stub GetApplicationUserModelIdFromToken ++@ stub GetCurrentApplicationUserModelId ++@ stdcall GetCurrentPackageFamilyName(ptr ptr) kernel32.GetCurrentPackageFamilyName ++@ stub GetCurrentPackageFullName ++@ stdcall GetCurrentPackageId(ptr ptr) kernel32.GetCurrentPackageId ++@ stub GetCurrentPackageInfo ++@ stub GetCurrentPackagePath ++@ stub GetPackageApplicationIds ++@ stub GetPackageFamilyName ++@ stub GetPackageFamilyNameFromToken ++@ stub GetPackageFullName ++@ stub GetPackageFullNameFromToken ++@ stub GetPackageId ++@ stub GetPackageInfo ++@ stub GetPackagePath ++@ stub GetPackagePathByFullName ++@ stub GetPackagesByPackageFamily ++@ stub GetStagedPackageOrigin ++@ stub GetStagedPackagePathByFullName ++@ stub OpenPackageInfoByFullName ++@ stub OpenPackageInfoByFullNameForUser ++@ stub PackageFamilyNameFromFullName ++@ stub PackageFamilyNameFromId ++@ stub PackageFullNameFromId ++@ stub PackageIdFromFullName ++@ stub PackageNameAndPublisherIdFromFamilyName ++@ stub ParseApplicationUserModelId ++@ stub VerifyApplicationUserModelId ++@ stub VerifyPackageFamilyName ++@ stub VerifyPackageFullName ++@ stub VerifyPackageId ++@ stub VerifyPackageRelativeApplicationId +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 05010cc..d2158d8 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -161,6 +161,7 @@ my @dll_groups = + ], + [ + "kernel32", ++ "api-ms-win-appmodel-runtime-l1-1-1", + "api-ms-win-downlevel-normaliz-l1-1-0", + "api-ms-win-core-processthreads-l1-1-0", + "api-ms-win-core-debug-l1-1-0", +-- +2.6.4 + diff --git a/patches/api-ms-win-crt-Stub_DLLs/definition b/patches/api-ms-win-crt-Stub_DLLs/definition index 55e33dbf..9135a862 100644 --- a/patches/api-ms-win-crt-Stub_DLLs/definition +++ b/patches/api-ms-win-crt-Stub_DLLs/definition @@ -2,6 +2,7 @@ Fixes: Add stub dlls required for MSVC 2015 runtime library (Windows 10) Fixes: Add api-ms-win-core-com-l1-1-1 dll Fixes: Add api-ms-win-core-quirks-l1-1-0 dll Fixes: Add api-ms-win-core-delayload-l1-1-1 dll +Fixes: Add api-ms-win-appmodel-runtime-l1-1-1 dll Fixes: Add kernelbase dll Depends: ole32-CoGetApartmentType Depends: kernel32-GetFinalPathNameByHandle diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index c7833b3b..ea2e64fb 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2490,10 +2490,11 @@ fi # | kernel32-InterlockedPushListSList, ole32-CoGetApartmentType # | # | Modified files: -# | * configure.ac, dlls/api-ms-win-core-com-l1-1-1/Makefile.in, dlls/api-ms-win-core-com-l1-1-1/api-ms-win-core- -# | com-l1-1-1.spec, dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in, dlls/api-ms-win-core-delayload-l1-1-1/api-ms-win- -# | core-delayload-l1-1-1.spec, dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in, dlls/api-ms-win-core-quirks-l1-1-0/api-ms- -# | win-core-quirks-l1-1-0.spec, dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec, +# | * configure.ac, dlls/api-ms-win-appmodel-runtime-l1-1-1/Makefile.in, dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win- +# | appmodel-runtime-l1-1-1.spec, dlls/api-ms-win-core-com-l1-1-1/Makefile.in, dlls/api-ms-win-core-com-l1-1-1/api-ms-win- +# | core-com-l1-1-1.spec, dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in, dlls/api-ms-win-core-delayload-l1-1-1/api-ms- +# | win-core-delayload-l1-1-1.spec, dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in, dlls/api-ms-win-core-quirks-l1-1-0/api- +# | ms-win-core-quirks-l1-1-0.spec, dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec, # | dlls/kernelbase/Makefile.in, dlls/kernelbase/kernelbase.spec, dlls/kernelbase/misc.c, dlls/ucrtbase/ucrtbase.spec, # | tools/make_specfiles # | @@ -2503,12 +2504,14 @@ if test "$enable_api_ms_win_crt_Stub_DLLs" -eq 1; then patch_apply api-ms-win-crt-Stub_DLLs/0003-kernelbase-Add-dll-and-add-stub-for-QuirkIsEnabled.patch patch_apply api-ms-win-crt-Stub_DLLs/0004-api-ms-win-core-quirks-l1-1-0-Add-dll.patch patch_apply api-ms-win-crt-Stub_DLLs/0005-api-ms-win-core-delayload-l1-1-1-Add-dll.patch + patch_apply api-ms-win-crt-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch ( echo '+ { "Martin Storsjo", "ucrtbase: Hook up some functions with new names to existing implementations.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-com-l1-1-1: Add dll.", 1 },'; echo '+ { "Michael Müller", "kernelbase: Add dll and add stub for QuirkIsEnabled.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-quirks-l1-1-0: Add dll.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-delayload-l1-1-1: Add dll.", 1 },'; + echo '+ { "Michael Müller", "api-ms-win-appmodel-runtime-l1-1-1: Add new dll.", 1 },'; ) >> "$patchlist" fi