[129224] trunk/dports/kde/nepomuk-core
mk at macports.org
mk at macports.org
Tue Dec 9 12:50:27 PST 2014
Revision: 129224
https://trac.macports.org/changeset/129224
Author: mk at macports.org
Date: 2014-12-09 12:50:27 -0800 (Tue, 09 Dec 2014)
Log Message:
-----------
nepomuk-core: add patch fixing #45315
Modified Paths:
--------------
trunk/dports/kde/nepomuk-core/Portfile
Added Paths:
-----------
trunk/dports/kde/nepomuk-core/files/patch-nepomuk-make-daemons-agents.diff
Modified: trunk/dports/kde/nepomuk-core/Portfile
===================================================================
--- trunk/dports/kde/nepomuk-core/Portfile 2014-12-09 20:30:52 UTC (rev 129223)
+++ trunk/dports/kde/nepomuk-core/Portfile 2014-12-09 20:50:27 UTC (rev 129224)
@@ -6,6 +6,7 @@
name nepomuk-core
version 4.13.3
+revision 1
categories kde kde4
maintainers nicos openmaintainer
license GPL-2+ LGPL-2.1+
@@ -32,7 +33,8 @@
port:mobipocket \
port:kfilemetadata
-patchfiles-append patch-cmake-baloo.diff
+patchfiles-append patch-cmake-baloo.diff \
+ patch-nepomuk-make-daemons-agents.diff
pre-activate {
#Deactivate hack for when nepomuk-core was splitted from kde4-runtime
Added: trunk/dports/kde/nepomuk-core/files/patch-nepomuk-make-daemons-agents.diff
===================================================================
--- trunk/dports/kde/nepomuk-core/files/patch-nepomuk-make-daemons-agents.diff (rev 0)
+++ trunk/dports/kde/nepomuk-core/files/patch-nepomuk-make-daemons-agents.diff 2014-12-09 20:50:27 UTC (rev 129224)
@@ -0,0 +1,116 @@
+diff --git services/filewatch/CMakeLists.txt services/filewatch/CMakeLists.txt
+index 88357a1..8193af8 100644
+--- services/filewatch/CMakeLists.txt
++++ services/filewatch/CMakeLists.txt
+@@ -41,6 +41,11 @@ kde4_install_auth_helper_files(kde_nepomuk_filewatch_raiselimit org.kde.nepomuk.
+ endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
+
+ kde4_add_executable(nepomukfilewatch ${SRCS})
++if (APPLE)
++ set_target_properties(nepomukfilewatch PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template)
++ set_target_properties(nepomukfilewatch PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.nepomuk.filewatch")
++ set_target_properties(nepomukfilewatch PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Nepomuk file watch service")
++endif (APPLE)
+
+ target_link_libraries(nepomukfilewatch
+ nepomukcommon
+diff --git services/filewatch/Info.plist.template services/filewatch/Info.plist.template
+new file mode 100644
+index 0000000..c39ddb9
+--- /dev/null
++++ services/filewatch/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 services/storage/CMakeLists.txt services/storage/CMakeLists.txt
+index b1ee6ac..fd1ffe8 100644
+--- services/storage/CMakeLists.txt
++++ services/storage/CMakeLists.txt
+@@ -69,6 +69,11 @@ qt4_add_dbus_adaptor(queryservice_SRCS
+ Nepomuk2::Query::FolderConnection)
+
+ kde4_add_executable(nepomukstorage ${storage_SRCS} ${queryservice_SRCS} ${Backup_SRCS})
++if (APPLE)
++ set_target_properties(nepomukstorage PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template)
++ set_target_properties(nepomukstorage PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.nepomuk.storage")
++ set_target_properties(nepomukstorage PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Nepomuk storage service")
++endif (APPLE)
+
+ target_link_libraries(nepomukstorage
+ ${SOPRANO_LIBRARIES}
+diff --git services/storage/Info.plist.template services/storage/Info.plist.template
+new file mode 100644
+index 0000000..c39ddb9
+--- /dev/null
++++ services/storage/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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141209/d04996d9/attachment.html>
More information about the macports-changes
mailing list