[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/tools/kfile-plugins
From: Laurent Montel <montel () kde ! org>
Date: 2007-04-17 15:31:50
Message-ID: 1176823910.469140.18042.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 655033 by mlaurent:
Port gnumeric to strigi analyzer
(it works fine but my gnumeric program is buggy => it doesn't
store info)
M +1 -1 CMakeLists.txt
M +9 -13 gnumeric/CMakeLists.txt
AM gnumeric/gnumericthroughanalyzer.cpp [License: GPL]
--- trunk/koffice/tools/kfile-plugins/CMakeLists.txt #655032:655033
@@ -1,4 +1,4 @@
add_subdirectory( koffice )
#add_subdirectory( ooo )
-#add_subdirectory( gnumeric )
+add_subdirectory( gnumeric )
#add_subdirectory( abiword )
--- trunk/koffice/tools/kfile-plugins/gnumeric/CMakeLists.txt #655032:655033
@@ -1,19 +1,15 @@
include_directories( ${KOFFICECORE_INCLUDES})
-set(kfile_gnumeric_SRCS kfile_gnumeric.cpp )
+# build the analyzer as a module
+kde4_add_library(gnumeric MODULE gnumericthroughanalyzer.cpp)
-kde4_automoc(${kfile_gnumeric_SRCS})
+# link with the required libraries
+target_link_libraries(gnumeric ${STREAMANALYZER_LIBRARY} ${KDE4_KIO_LIBS})
-kde4_add_plugin(kfile_gnumeric ${kfile_gnumeric_SRCS})
+# adjust the name so the module is recognized as a strigi plugin
+set_target_properties(gnumeric PROPERTIES
+ PREFIX strigita_)
+# install the module in the right directory so it is picked up
+install(TARGETS gnumeric LIBRARY DESTINATION ${LIB_INSTALL_DIR}/strigi)
-
-target_link_libraries(kfile_gnumeric ${KDE4_KDECORE_LIBS} kofficecore )
-
-install(TARGETS kfile_gnumeric DESTINATION ${PLUGIN_INSTALL_DIR})
-
-
-########### install files ###############
-
-install( FILES kfile_gnumeric.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-
** trunk/koffice/tools/kfile-plugins/gnumeric/gnumericthroughanalyzer.cpp #property svn:eol-style
+ native
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic