-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update windows stuff, update to latest camlib/libwpd
- Loading branch information
Showing
8 changed files
with
49 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > | ||
<asmv3:application> | ||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> | ||
<dpiAware>true</dpiAware> | ||
</asmv3:windowsSettings> | ||
<asmv3:windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings"> | ||
<ws2:longPathAware>true</ws2:longPathAware> | ||
</asmv3:windowsSettings> | ||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings"> | ||
<activeCodePage>UTF-8</activeCodePage> | ||
</asmv3:windowsSettings> | ||
</asmv3:application> | ||
<dependency> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
<assemblyIdentity | ||
version="1.0.0.0" | ||
processorArchitecture="*" | ||
name="CompanyName.ProductName.YourApplication" | ||
type="win32" | ||
/> | ||
<description>Your application description here.</description> | ||
<!-- we DO need comctl6 in the static case --> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="*" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="*" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
</dependentAssembly> | ||
</dependency> | ||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<security> | ||
<requestedPrivileges> | ||
<requestedExecutionLevel | ||
level="requireAdministrator" | ||
uiAccess="false"/> | ||
</requestedPrivileges> | ||
</security> | ||
</trustInfo> | ||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<!-- If you don't have those in your app, Windows 10's GetVersionEx() --> | ||
<!-- DELIBERATELY reports the WRONG version... which brings us to --> | ||
<!-- tonight's spelling bee: "How do you spell 'spineless morons'?" --> | ||
<!-- The answer: "M-I-C-R-O-S-O-F-T; 'spineless morons'!" --> | ||
</dependency> | ||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<application> | ||
<!-- Windows 10 --> | ||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> | ||
<!-- Windows 8.1 --> | ||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> | ||
<!-- Windows 8 --> | ||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | ||
<!-- Windows 7 --> | ||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> | ||
<!-- Windows Vista --> | ||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> | ||
</application> | ||
</compatibility> | ||
<!--The ID below indicates app support for Windows Vista --> | ||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> | ||
<!--The ID below indicates app support for Windows 7 --> | ||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> | ||
<!--The ID below indicates app support for Windows 8 --> | ||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | ||
<!--The ID below indicates app support for Windows 8.1 --> | ||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> | ||
<!--The ID below indicates app support for Windows 10 --> | ||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> | ||
</application> | ||
</compatibility> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,5 @@ | ||
ID ICON "favicon2.ico" | ||
|
||
1 VERSIONINFO | ||
FILEVERSION 1,0,0,0 | ||
PRODUCTVERSION 1,0,0,0 | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "080904E4" | ||
BEGIN | ||
VALUE "CompanyName", "Daniel Cook" | ||
VALUE "FileDescription", "Utility to help install Magic Lantern" | ||
VALUE "FileVersion", "" | ||
VALUE "InternalName", "mlinstall" | ||
VALUE "LegalCopyright", "GNU General Public License v2.0" | ||
VALUE "OriginalFilename", "mlinstall.exe" | ||
VALUE "ProductName", "ML Install" | ||
VALUE "ProductVersion", "" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0x809, 1252 | ||
END | ||
END | ||
|
||
#define UNICODE | ||
#define _UNICODE | ||
#define STRICT | ||
#define STRICT_TYPED_ITEMIDS | ||
|
||
// see https://github.com/golang/go/issues/9916#issuecomment-74812211 | ||
// TODO get rid of this | ||
#define INITGUID | ||
|
||
// for the manifest | ||
#ifndef _UI_STATIC | ||
#define ISOLATION_AWARE_ENABLED 1 | ||
#endif | ||
|
||
// get Windows version right; right now Windows Vista | ||
// unless otherwise stated, all values from Microsoft's sdkddkver.h | ||
// TODO is all of this necessary? how is NTDDI_VERSION used? | ||
// TODO platform update sp2 | ||
#define WINVER 0x0600 /* from Microsoft's winnls.h */ | ||
#define _WIN32_WINNT 0x0600 | ||
#define _WIN32_WINDOWS 0x0600 /* from Microsoft's pdh.h */ | ||
#define _WIN32_IE 0x0700 | ||
#define NTDDI_VERSION 0x06000000 | ||
|
||
// The MinGW-w64 header has an unverified IDWriteTypography definition. | ||
// TODO I can confirm this myself, but I don't know how long it will take for them to note my adjustments... Either way, I have to confirm this myself. | ||
// TODO change the check from _MSC_VER to a MinGW-w64-specific check | ||
// TODO keep track of what else is guarded by this | ||
#ifndef _MSC_VER | ||
#define __MINGW_USE_BROKEN_INTERFACE | ||
#endif | ||
|
||
#include <windows.h> | ||
|
||
// this is a UTF-8 file | ||
#pragma code_page(65001) | ||
|
||
// this is the Common Controls 6 manifest | ||
// we only define it in a shared build; static builds have to include the appropriate parts of the manifest in the output executable | ||
// LONGTERM set up the string values here | ||
#ifndef _UI_STATIC | ||
ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST "libui.manifest" | ||
#endif | ||
1 24 "libui.manifest" |
Submodule camlib
updated
54 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters