Commit ef051461 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

fix application and description into Info.plist file for OSX.

both must be different for digiKam and Showfoto.
parent cf41b2e4
......@@ -226,9 +226,11 @@ KDE4_ADD_EXECUTABLE(digikam ${digikam_SRCS})
# TO fill plist XML file for OSX #####################################################
SET(MACOSX_BUNDLE_LONG_VERSION_STRING ${DIGIKAM_VERSION_STRING})
SET(MACOSX_APP_NAME_STRING "digiKam")
SET(MACOSX_APP_DESCRIPTION "Advanced digital photo management application")
SET(MACOSX_BUNDLE_LONG_VERSION_STRING ${DIGIKAM_VERSION_STRING})
SET(MACOSX_BUNDLE_SHORT_VERSION_STRING ${DIGIKAM_VERSION_SHORT})
SET(MACOSX_BUNDLE_BUNDLE_VERSION ${DIGIKAM_VERSION_STRING})
SET(MACOSX_BUNDLE_BUNDLE_VERSION ${DIGIKAM_VERSION_STRING})
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/templates/Info.plist.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
SET_TARGET_PROPERTIES(digikam PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
......
......@@ -5,19 +5,19 @@
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>digiKam</string>
<string>${MACOSX_APP_NAME_STRING}</string>
<key>CFBundleGetInfoString</key>
<string>digiKam is an advanced digital photo management application for Linux, Windows, and Mac-OSX</string>
<string>${MACOSX_APP_DESCRIPTION}</string>
<key>CFBundleIconFile</key>
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
<key>CFBundleIdentifier</key>
<string>digiKam</string>
<string>${MACOSX_APP_NAME_STRING}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
<key>CFBundleName</key>
<string>digiKam</string>
<string>${MACOSX_APP_NAME_STRING}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
......
......@@ -42,9 +42,11 @@ KDE4_ADD_EXECUTABLE(showfoto ${showfoto_SRCS})
# To fill plist XML file for OSX #####################################################
SET(MACOSX_BUNDLE_LONG_VERSION_STRING ${DIGIKAM_VERSION_STRING})
SET(MACOSX_APP_NAME_STRING "Showfoto")
SET(MACOSX_APP_DESCRIPTION "Stand alone Photo Editor based on digiKam Image Editor")
SET(MACOSX_BUNDLE_LONG_VERSION_STRING ${DIGIKAM_VERSION_STRING})
SET(MACOSX_BUNDLE_SHORT_VERSION_STRING ${DIGIKAM_VERSION_SHORT})
SET(MACOSX_BUNDLE_BUNDLE_VERSION ${DIGIKAM_VERSION_STRING})
SET(MACOSX_BUNDLE_BUNDLE_VERSION ${DIGIKAM_VERSION_STRING})
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/templates/Info.plist.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
SET_TARGET_PROPERTIES(showfoto PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment