[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Akonadi] 5db9fc9: Add Info.plist for akonadi_agent_launcher and make
From: Frank Osterfeld <frank.osterfeld () kdab ! com>
Date: 2011-01-14 13:19:07
Message-ID: 20110114131907.9D395A6090 () git ! kde ! org
[Download RAW message or body]
A Info.plist.template [License: Trivialfile.]
commit 5db9fc9ac0220815e82314c4daf00c66837c7326
Author: Frank Osterfeld <frank.osterfeld@kdab.com>
Date: Fri Jan 14 14:11:57 2011 +0100
Add Info.plist for akonadi_agent_launcher and make it an app bundle on OS X.
Using LSUIElement property in the plist, the agent launchers don't get a dock \
icon, albeit they can show UI (config dialogs).
diff --git a/Info.plist.template b/Info.plist.template
new file mode 100644
index 0000000..c39ddb9
--- /dev/null
+++ b/Info.plist.template
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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>${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>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>LSUIElement</key>
+ <string>1</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+</dict>
+</plist>
diff --git a/agentserver/CMakeLists.txt b/agentserver/CMakeLists.txt
index 39f7500..9c2b279 100644
--- a/agentserver/CMakeLists.txt
+++ b/agentserver/CMakeLists.txt
@@ -35,13 +35,19 @@ if(NOT WINCE)
agentlauncher.cpp
)
- automoc4_add_executable(akonadi_agent_launcher ${akonadi_agent_launcher_SRCS})
+ automoc4_add_executable(akonadi_agent_launcher MACOSX_BUNDLE \
${akonadi_agent_launcher_SRCS}) target_link_libraries(akonadi_agent_launcher
${QT_QTGUI_LIBRARY}
${AKONADI_SYSTEM_LIBS}
${AKONADI_PROTOCOLINTERNALS_LIBS}
)
+ if (Q_WS_MAC)
+ set_target_properties(akonadi_agent_launcher PROPERTIES MACOSX_BUNDLE_INFO_PLIST \
${CMAKE_CURRENT_SOURCE_DIR}/../Info.plist.template) + \
set_target_properties(akonadi_agent_launcher PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER \
"org.kde.Akonadi.agentlauncher") + set_target_properties(akonadi_agent_launcher \
PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Akonadi Agent Launcher") + endif (Q_WS_MAC)
+
target_link_libraries(akonadi_agent_launcher ${Boost_PROGRAM_OPTIONS_LIBRARY})
endif(NOT WINCE)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic