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

[vidalia-svn] r3823: Add an icon for the crash reporter application, give it a pr (in vidalia/branches/breakpad/src/crashreporter: . res)



Author: edmanm
Date: 2009-06-08 20:34:33 -0400 (Mon, 08 Jun 2009)
New Revision: 3823

Added:
   vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.ico
   vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.rc.in
Modified:
   vidalia/branches/breakpad/src/crashreporter/CMakeLists.txt
Log:

Add an icon for the crash reporter application, give it a proper .rc file
that contains information for the executable (e.g., version), and add
it to the CMakeLists.txt.


Modified: vidalia/branches/breakpad/src/crashreporter/CMakeLists.txt
===================================================================
--- vidalia/branches/breakpad/src/crashreporter/CMakeLists.txt	2009-06-09 00:20:50 UTC (rev 3822)
+++ vidalia/branches/breakpad/src/crashreporter/CMakeLists.txt	2009-06-09 00:34:33 UTC (rev 3823)
@@ -29,6 +29,16 @@
 qt4_add_resources(crashreporter_SRCS
   res/CrashReporter.qrc
 )
+if (MSVC)
+  configure_file(
+    res/CrashReporter.rc.in
+    ${CMAKE_CURRENT_BINARY_DIR}/CrashReporter.rc
+  )
+  set(crashreporter_SRCS
+    ${crashreporter_SRCS}
+    ${CMAKE_CURRENT_BINARY_DIR}/CrashReporter.rc
+  )
+endif(MSVC)
 
 ## Create the crashreporter executable
 add_executable(crashreporter ${crashreporter_SRCS})

Added: vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.ico
===================================================================
(Binary files differ)


Property changes on: vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.ico
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.rc.in
===================================================================
--- vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.rc.in	                        (rev 0)
+++ vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.rc.in	2009-06-09 00:34:33 UTC (rev 3823)
@@ -0,0 +1,46 @@
+/*
+**  This file is part of Vidalia, and is subject to the license terms in the
+**  LICENSE file, found in the top level directory of this distribution. If you
+**  did not receive the LICENSE file with this file, you may obtain it from the
+**  Vidalia source package distributed by the Vidalia Project at
+**  http://www.vidalia-project.net/. No part of Vidalia, including this file,
+**  may be copied, modified, propagated, or distributed except according to the
+**  terms described in the LICENSE file.
+*/
+
+/*
+** \file CrashReporter.rc.in
+** \version $Id$
+** Defines resource identifiers for icons used on Win32.
+*/
+
+#include <winver.h>
+
+
+1 VERSIONINFO
+FILEVERSION     @VER_MAJOR@,@VER_MINOR@,@VER_PATCH@,0
+PRODUCTVERSION  @VER_MAJOR@,@VER_MINOR@,@VER_PATCH@,0
+FILEFLAGSMASK   0
+FILEOS          VOS__WINDOWS32
+FILETYPE        VFT_APP
+{
+    BLOCK "StringFileInfo"
+    {
+        BLOCK "040904E4"
+        {
+            VALUE "FileVersion",      "@VERSION@"
+            VALUE "ProductVersion",   "@VERSION@"
+            VALUE "InternalName",     "CrashReporter"
+            VALUE "ProductName",      "Vidalia Crash Reporter"
+            VALUE "FileDescription",  "Vidalia Crash Reporter"
+            VALUE "OriginalFilename", "CrashReporter.exe"
+            VALUE "CompanyName",      "vidalia-project.net"
+            VALUE "LegalCopyright",   "Copyright (C) 2009, Matt Edman"
+        }
+    }
+}
+
+
+/* Application icon */
+101 ICON DISCARDABLE "@CMAKE_CURRENT_SOURCE_DIR@/res/CrashReporter.ico"
+


Property changes on: vidalia/branches/breakpad/src/crashreporter/res/CrashReporter.rc.in
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native