Ticket #45315: nepomuk-make-daemons-agents.patch

File nepomuk-make-daemons-agents.patch, 4.7 KB (added by RJVB (René Bertin), 10 years ago)

forgot the newly added Info.plist templates ...

  • services/filewatch/CMakeLists.txt

    diff --git services/filewatch/CMakeLists.txt services/filewatch/CMakeLists.txt
    index 88357a1..8193af8 100644
    kde4_install_auth_helper_files(kde_nepomuk_filewatch_raiselimit org.kde.nepomuk. 
    4141endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
    4242
    4343kde4_add_executable(nepomukfilewatch ${SRCS})
     44if (APPLE)
     45    set_target_properties(nepomukfilewatch PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template)
     46    set_target_properties(nepomukfilewatch PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.nepomuk.filewatch")
     47    set_target_properties(nepomukfilewatch PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Nepomuk file watch service")
     48endif (APPLE)
    4449
    4550target_link_libraries(nepomukfilewatch
    4651  nepomukcommon
  • new file services/filewatch/Info.plist.template

    diff --git services/filewatch/Info.plist.template services/filewatch/Info.plist.template
    new file mode 100644
    index 0000000..c39ddb9
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3<plist version="1.0">
     4<dict>
     5    <key>CFBundleDevelopmentRegion</key>
     6    <string>English</string>
     7    <key>CFBundleExecutable</key>
     8    <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
     9    <key>CFBundleGetInfoString</key>
     10    <string>${MACOSX_BUNDLE_INFO_STRING}</string>
     11    <key>CFBundleIconFile</key>
     12    <string>${MACOSX_BUNDLE_ICON_FILE}</string>
     13    <key>CFBundleIdentifier</key>
     14    <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
     15    <key>CFBundleInfoDictionaryVersion</key>
     16    <string>6.0</string>
     17    <key>CFBundleLongVersionString</key>
     18    <string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
     19    <key>CFBundleName</key>
     20    <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
     21    <key>CFBundlePackageType</key>
     22    <string>APPL</string>
     23    <key>CFBundleShortVersionString</key>
     24    <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
     25    <key>CFBundleVersion</key>
     26    <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
     27    <key>CSResourcesFileMapped</key>
     28    <true/>
     29    <key>LSRequiresCarbon</key>
     30    <true/>
     31    <key>LSUIElement</key>
     32    <string>1</string>
     33    <key>NSHumanReadableCopyright</key>
     34    <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
     35</dict>
     36</plist>
  • services/storage/CMakeLists.txt

    diff --git services/storage/CMakeLists.txt services/storage/CMakeLists.txt
    index b1ee6ac..fd1ffe8 100644
    qt4_add_dbus_adaptor(queryservice_SRCS 
    6969  Nepomuk2::Query::FolderConnection)
    7070
    7171kde4_add_executable(nepomukstorage ${storage_SRCS} ${queryservice_SRCS} ${Backup_SRCS})
     72if (APPLE)
     73    set_target_properties(nepomukstorage PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template)
     74    set_target_properties(nepomukstorage PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.nepomuk.storage")
     75    set_target_properties(nepomukstorage PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Nepomuk storage service")
     76endif (APPLE)
    7277
    7378target_link_libraries(nepomukstorage
    7479  ${SOPRANO_LIBRARIES}
  • new file services/storage/Info.plist.template

    diff --git services/storage/Info.plist.template services/storage/Info.plist.template
    new file mode 100644
    index 0000000..c39ddb9
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3<plist version="1.0">
     4<dict>
     5    <key>CFBundleDevelopmentRegion</key>
     6    <string>English</string>
     7    <key>CFBundleExecutable</key>
     8    <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
     9    <key>CFBundleGetInfoString</key>
     10    <string>${MACOSX_BUNDLE_INFO_STRING}</string>
     11    <key>CFBundleIconFile</key>
     12    <string>${MACOSX_BUNDLE_ICON_FILE}</string>
     13    <key>CFBundleIdentifier</key>
     14    <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
     15    <key>CFBundleInfoDictionaryVersion</key>
     16    <string>6.0</string>
     17    <key>CFBundleLongVersionString</key>
     18    <string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
     19    <key>CFBundleName</key>
     20    <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
     21    <key>CFBundlePackageType</key>
     22    <string>APPL</string>
     23    <key>CFBundleShortVersionString</key>
     24    <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
     25    <key>CFBundleVersion</key>
     26    <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
     27    <key>CSResourcesFileMapped</key>
     28    <true/>
     29    <key>LSRequiresCarbon</key>
     30    <true/>
     31    <key>LSUIElement</key>
     32    <string>1</string>
     33    <key>NSHumanReadableCopyright</key>
     34    <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
     35</dict>
     36</plist>