[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:07:09 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=25bad83

The following commit has been merged in the master branch:
commit 25bad837978533486383d7b9db4634957fcc1fc8
Author: George Goldberg <grundleborg at googlemail.com>
Date:   Thu Mar 4 17:46:21 2010 +0000

    Install the Telepathy ontology so we don't need a copy in other applications that use it.
    
    svn path=/trunk/playground/network/telepathy-integration-daemon/; revision=1098927
---
 kpeople/nepomuk-feeder/CMakeLists.txt        | 10 ++++++++++
 kpeople/nepomuk-feeder/telepathy.ontology.in |  7 +++++++
 2 files changed, 17 insertions(+)

diff --git a/kpeople/nepomuk-feeder/CMakeLists.txt b/kpeople/nepomuk-feeder/CMakeLists.txt
index c46fc99..0becc99 100644
--- a/kpeople/nepomuk-feeder/CMakeLists.txt
+++ b/kpeople/nepomuk-feeder/CMakeLists.txt
@@ -127,3 +127,13 @@ install (TARGETS telepathy-integration-daemon
          ${INSTALL_TARGETS_DEFAULT_ARGS}
 )
 
+
+# Install the ontology
+macro(INSTALL_ONTOLOGY _name _group)
+  set(ONTO_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/ontology/${_group})
+  configure_file("${_name}.ontology.in" "${CMAKE_CURRENT_BINARY_DIR}/${_name}.ontology")
+  install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${_name}.ontology" DESTINATION ${ONTO_INSTALL_DIR})
+  install(FILES "${_name}.trig" DESTINATION ${ONTO_INSTALL_DIR})
+endmacro(INSTALL_ONTOLOGY)
+
+install_ontology (telepathy telepathy)
diff --git a/kpeople/nepomuk-feeder/telepathy.ontology.in b/kpeople/nepomuk-feeder/telepathy.ontology.in
new file mode 100644
index 0000000..d4736d7
--- /dev/null
+++ b/kpeople/nepomuk-feeder/telepathy.ontology.in
@@ -0,0 +1,7 @@
+[Ontology]
+Name=Telepathy
+Comment=The Telepathy Ontology (Containing Telepathy Specific extensions for NCO)
+Namespace=http://nepomuk.kde.org/ontologies/2009/06/20/telepathy#
+Path=${ONTO_INSTALL_DIR}/telepathy.trig
+MimeType=application/x-trig
+Type=Data

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list