[dia/dia-0-97] File is used in the Mac DMG.



commit c318c3b888eaab95177a9894ac9525273a9b3870
Author: Steffen Macke <sdteffen sdteffen de>
Date:   Sun Apr 17 12:13:11 2011 +0200

    File is used in the Mac DMG.

 installer/macosx/Info.plist.in |   55 ++++++++++++++++++++++++++++++++++++++++
 installer/macosx/Makefile.am   |    3 ++
 2 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/installer/macosx/Info.plist.in b/installer/macosx/Info.plist.in
new file mode 100644
index 0000000..228a4aa
--- /dev/null
+++ b/installer/macosx/Info.plist.in
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>Resources/bin/dia</string>
+	<key>CFBundleName</key>
+	<string>Dia</string>
+	<key>CFBundleGetInfoString</key>
+	<string>@VERSION, Copyright 1998-2011 Dia Developers</string>
+	<key>CFBundleIconFile</key>
+	<string>Dia.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>Dia</string>
+	<key>CFBundleDocumentTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>dia</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>image-svg+xml.icns</string>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>dia</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Dia Diagram File</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>dia </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+	</array>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>@VERSION</string>
+	<key>CFBundleSignature</key>
+	<string>Dia</string>
+	<key>CFBundleVersion</key>
+	<string>@VERSION</string>
+	<key>NSHumanReadableCopyright</key>
+	<string>Copyright 2010, 2011 Dia Developers, GNU General Public License.</string>
+	<key>LSMinimumSystemVersion</key>
+	<string>10.6</string>
+</dict>
+</plist>
diff --git a/installer/macosx/Makefile.am b/installer/macosx/Makefile.am
index fbbf27a..4848c28 100644
--- a/installer/macosx/Makefile.am
+++ b/installer/macosx/Makefile.am
@@ -2,3 +2,6 @@
 
 EXTRA_DIST = osx-app.sh osx-build.sh osx-dmg.sh
 
+Info.plist: Info.plist.in
+	sed -e 's/@VERSION/'$(VERSION)'/;' < $< > $@
+



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