shithub: choc

Download patch

ref: c0cc0ea1b4c7054ce97a11f2d156359e175ab4da
parent: 5014caee2a000ffd682f04bcbec76265b2163335
author: Simon Howard <fraggle@gmail.com>
date: Mon May 4 17:45:17 EDT 2009

Autogenerate setup-manifest.xml with the current version.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1507

--- a/configure.in
+++ b/configure.in
@@ -100,6 +100,7 @@
 pcsound/Makefile
 src/resource.rc
 src/setup-res.rc
+src/setup/setup-manifest.xml
 src/doom-screensaver.desktop
 ])
 
--- a/src/resource.rc.in
+++ b/src/resource.rc.in
@@ -9,7 +9,7 @@
  {
   BLOCK "040904E4"
   {
-   VALUE "FileVersion", "@PACKAGE_VERSION@"
+   VALUE "FileVersion", "@PACKAGE_VERSION@.0"
    VALUE "FileDescription", "@PACKAGE_STRING@"
    VALUE "InternalName", "@PACKAGE_TARNAME@"
    VALUE "CompanyName", "@PACKAGE_BUGREPORT@"
--- a/src/setup-res.rc.in
+++ b/src/setup-res.rc.in
@@ -11,7 +11,7 @@
  {
   BLOCK "040904E4"
   {
-   VALUE "FileVersion", "@PACKAGE_VERSION@"
+   VALUE "FileVersion", "@PACKAGE_VERSION@.0"
    VALUE "FileDescription", "@PACKAGE_STRING@ Setup"
    VALUE "InternalName", "@PACKAGE_TARNAME@"
    VALUE "CompanyName", "@PACKAGE_BUGREPORT@"
--- a/src/setup/Makefile.am
+++ b/src/setup/Makefile.am
@@ -21,6 +21,5 @@
 libsetup_a_SOURCES = $(SOURCE_FILES)
 
 EXTRA_DIST=                                     \
-    setup_icon.c                                \
-    setup-manifest.xml
+    setup_icon.c
 
--- a/src/setup/setup-manifest.xml
+++ /dev/null
@@ -1,16 +1,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
-  <!-- The "name" field in this tag should be the same as the executable's
-       name -->
-  <assemblyIdentity version="1.1.1.0" processorArchitecture="*"
-                    name="chocolate-setup" type="win32"/>
-  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
-    <security>
-      <requestedPrivileges>
-        <!-- Hi Vista! We don't require elevated privileges. Thanks! -->
-        <requestedExecutionLevel level="asInvoker"/>
-      </requestedPrivileges>
-    </security>
-  </trustInfo>
-</assembly>
-
--- /dev/null
+++ b/src/setup/setup-manifest.xml.in
@@ -1,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+  <!-- The "name" field in this tag should be the same as the executable's
+       name -->
+  <assemblyIdentity version="@PACKAGE_VERSION@.0" processorArchitecture="*"
+                    name="chocolate-setup" type="win32"/>
+  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
+    <security>
+      <requestedPrivileges>
+        <!-- Hi Vista! We don't require elevated privileges. Thanks! -->
+        <requestedExecutionLevel level="asInvoker"/>
+      </requestedPrivileges>
+    </security>
+  </trustInfo>
+</assembly>
+