[rkward/work/frameworks-Mac] rkward: Updated Info.plist and Info.plist.in files

R.J.V. Bertin null at kde.org
Wed May 17 19:42:55 UTC 2017


Git commit 9c1e494f19ddc51a24e9092909168c677e320e19 by R.J.V. Bertin.
Committed on 17/05/2017 at 19:37.
Pushed by rjvbb into branch 'work/frameworks-Mac'.

Updated Info.plist and Info.plist.in files

These work as intended with CMake's PROPERTY mechanism.
The LSUIElement key is dropped; it was appropriate for the old rkward
wrapper but not for a full-fledged GUI application

M  +38   -30   rkward/Info.plist
M  +38   -32   rkward/Info.plist.in

https://commits.kde.org/rkward/9c1e494f19ddc51a24e9092909168c677e320e19

diff --git a/rkward/Info.plist b/rkward/Info.plist
index 1563050b..5c94caac 100644
--- a/rkward/Info.plist
+++ b/rkward/Info.plist
@@ -2,35 +2,43 @@
 <!DOCTYPE plist PUBLIC "-//Apple Computer//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>rkward</string>
-        <key>CFBundleGetInfoString</key>
-        <string></string>
-        <key>CFBundleIconFile</key>
-        <string>rkward.icns</string>
-        <key>CFBundleIdentifier</key>
-        <string></string>
-        <key>CFBundleInfoDictionaryVersion</key>
-        <string>6.0</string>
-        <key>CFBundleLongVersionString</key>
-        <string></string>
-        <key>CFBundleName</key>
-        <string></string>
-        <key>CFBundlePackageType</key>
-        <string>APPL</string>
-        <key>CFBundleShortVersionString</key>
-        <string></string>
-        <key>CFBundleSignature</key>
-        <string>????</string>
-        <key>CFBundleVersion</key>
-        <string></string>
-        <key>CSResourcesFileMapped</key>
-        <true/>
-        <key>LSRequiresCarbon</key>
-        <true/>
-        <key>NSHumanReadableCopyright</key>
-        <string></string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
+	<key>CFBundleGetInfoString</key>
+	<string>${MACOSX_BUNDLE_INFO_STRING}</string>
+	<key>CFBundleIconFile</key>
+	<string>${MACOSX_BUNDLE_ICON_FILE}</string>
+	<key>CFBundleIdentifier</key>
+	<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleLongVersionString</key>
+	<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
+	<key>CFBundleName</key>
+	<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
+	<key>CFBundleDisplayName</key>
+	<string>${MACOSX_BUNDLE_DISPLAY_NAME}</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
+	<key>CFBundleVersion</key>
+	<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
+	<key>CSResourcesFileMapped</key>
+	<true/>
+	<key>LSRequiresCarbon</key>
+	<true/>
+	<key>NSAppSleepDisabled</key>
+	<true/>
+	<key>NSSupportsAutomaticTermination</key>
+	<false/>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
+	<key>NSHighResolutionCapable</key>
+	<string>True</string>
+	<key>NSHumanReadableCopyright</key>
+	<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
 </dict>
 </plist>
diff --git a/rkward/Info.plist.in b/rkward/Info.plist.in
index 2e356ae0..5c94caac 100644
--- a/rkward/Info.plist.in
+++ b/rkward/Info.plist.in
@@ -2,37 +2,43 @@
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
-        <key>LSUIElement</key>
-        <string>1</string>
-        <key>CFBundleDevelopmentRegion</key>
-        <string>English</string>
-        <key>CFBundleExecutable</key>
-        <string>rkward</string>
-        <key>CFBundleGetInfoString</key>
-        <string>KDE frontend to the R statistics language</string>
-        <key>CFBundleIconFile</key>
-        <string>rkward.icns</string>
-        <key>CFBundleIdentifier</key>
-        <string></string>
-        <key>CFBundleInfoDictionaryVersion</key>
-        <string>6.0</string>
-        <key>CFBundleLongVersionString</key>
-        <string>@RKVERSION_NUMBER@</string>
-        <key>CFBundleName</key>
-        <string>RKWard</string>
-        <key>CFBundlePackageType</key>
-        <string>APPL</string>
-        <key>CFBundleShortVersionString</key>
-        <string>@RKVERSION_NUMBER@</string>
-        <key>CFBundleSignature</key>
-        <string>????</string>
-        <key>CFBundleVersion</key>
-        <string></string>
-        <key>CSResourcesFileMapped</key>
-        <true/>
-        <key>LSRequiresCarbon</key>
-        <true/>
-        <key>NSHumanReadableCopyright</key>
-        <string></string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
+	<key>CFBundleGetInfoString</key>
+	<string>${MACOSX_BUNDLE_INFO_STRING}</string>
+	<key>CFBundleIconFile</key>
+	<string>${MACOSX_BUNDLE_ICON_FILE}</string>
+	<key>CFBundleIdentifier</key>
+	<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleLongVersionString</key>
+	<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
+	<key>CFBundleName</key>
+	<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
+	<key>CFBundleDisplayName</key>
+	<string>${MACOSX_BUNDLE_DISPLAY_NAME}</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
+	<key>CFBundleVersion</key>
+	<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
+	<key>CSResourcesFileMapped</key>
+	<true/>
+	<key>LSRequiresCarbon</key>
+	<true/>
+	<key>NSAppSleepDisabled</key>
+	<true/>
+	<key>NSSupportsAutomaticTermination</key>
+	<false/>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
+	<key>NSHighResolutionCapable</key>
+	<string>True</string>
+	<key>NSHumanReadableCopyright</key>
+	<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
 </dict>
 </plist>



More information about the rkward-tracker mailing list