[gimp/soc-2010-cage] Bug 574018 - Add a manifest to executables



commit d3e8baad59f88ea3d113fea2e80fb0152fc1a640
Author: Martin Nordholts <martinn src gnome org>
Date:   Tue Jun 22 19:35:16 2010 +0200

    Bug 574018 - Add a manifest to executables
    
    Patch from Jernej SimonÄ?iÄ?.

 app/Makefile.am   |    5 +++--
 app/gimp.manifest |   23 +++++++++++++++++++++++
 app/gimp.rc.in    |    2 ++
 3 files changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index 414020a..75bc67f 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -83,9 +83,10 @@ gimp_2_7_SOURCES = $(libapp_sources) main.c
 
 
 EXTRA_DIST = \
-	makefile.msc	\
-	gimp.rc.in	\
 	fileicon.ico	\
+	gimp.manifest	\
+	gimp.rc.in	\
+	makefile.msc	\
 	wilber.ico
 
 if OS_WIN32
diff --git a/app/gimp.manifest b/app/gimp.manifest
new file mode 100644
index 0000000..e12beae
--- /dev/null
+++ b/app/gimp.manifest
@@ -0,0 +1,23 @@
+<?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">
+	<assemblyIdentity version="2.0.0.0" name="gnu.gnome.gimp" type="win32"/>
+	<description>GIMP</description>
+	<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
+		<security>
+			<requestedPrivileges>
+				<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+			</requestedPrivileges>
+		</security>
+	</trustInfo>
+	<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
+		<application>
+			<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/><!-- Vista -->
+			<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/><!-- Win7 -->
+		</application>
+	</compatibility>
+	<asmv3:application>
+		<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings";>
+			<dpiAware>true</dpiAware>
+		</asmv3:windowsSettings>
+	</asmv3:application>
+</assembly>
diff --git a/app/gimp.rc.in b/app/gimp.rc.in
index 0ec375c..6364386 100644
--- a/app/gimp.rc.in
+++ b/app/gimp.rc.in
@@ -61,5 +61,7 @@ BEGIN
     END
 END
 
+#include "winuser.h"
 1	ICON	"wilber.ico"
 2	ICON	"fileicon.ico"
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gimp.manifest"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]