summaryrefslogtreecommitdiffstats
path: root/redhat/kdesdk
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/kdesdk')
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13-add_forgotten_cmake_files.patch1921
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13-cmake_port.patch100
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch32
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13-misc_ftbfs.patch21
-rw-r--r--redhat/kdesdk/trinity-kdesdk-3.5.13.spec1133
5 files changed, 3095 insertions, 112 deletions
diff --git a/redhat/kdesdk/kdesdk-3.5.13-add_forgotten_cmake_files.patch b/redhat/kdesdk/kdesdk-3.5.13-add_forgotten_cmake_files.patch
new file mode 100644
index 000000000..7571e552c
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13-add_forgotten_cmake_files.patch
@@ -0,0 +1,1921 @@
+commit adee843c4d5c8fbce75abd3a768d643392e4ea90
+Author: Serghei Amelian <serghei.amelian@gmail.com>
+Date: 1329245722 +0200
+
+ [tdesdk/cmake] added forgotten files
+
+diff --git a/kdeaccounts-plugin/CMakeLists.txt b/kdeaccounts-plugin/CMakeLists.txt
+new file mode 100644
+index 0000000..2a14486
+--- /dev/null
++++ b/kdeaccounts-plugin/CMakeLists.txt
+@@ -0,0 +1,34 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES kdeaccountsplugin.desktop
++ DESTINATION ${DATA_INSTALL_DIR}/kabc/formats )
++
++
++##### kabcformat_kdeaccounts (module) ###########
++
++tde_add_kpart( kabcformat_kdeaccounts
++ SOURCES kdeaccountsformat.cpp
++ LINK kabc-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kfile-plugins/CMakeLists.txt b/kfile-plugins/CMakeLists.txt
+new file mode 100644
+index 0000000..6b769e5
+--- /dev/null
++++ b/kfile-plugins/CMakeLists.txt
+@@ -0,0 +1,14 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( diff )
++add_subdirectory( c++ )
++add_subdirectory( ts )
+diff --git a/kfile-plugins/c++/CMakeLists.txt b/kfile-plugins/c++/CMakeLists.txt
+new file mode 100644
+index 0000000..9b56e9d
+--- /dev/null
++++ b/kfile-plugins/c++/CMakeLists.txt
+@@ -0,0 +1,35 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES kfile_cpp.desktop kfile_h.desktop
++ DESTINATION ${SERVICES_INSTALL_DIR} )
++
++
++##### kfile_cpp (module) ########################
++
++tde_add_kpart( kfile_cpp AUTOMOC
++ SOURCES kfile_cpp.cpp
++ LINK kio-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kfile-plugins/diff/CMakeLists.txt b/kfile-plugins/diff/CMakeLists.txt
+new file mode 100644
+index 0000000..292372c
+--- /dev/null
++++ b/kfile-plugins/diff/CMakeLists.txt
+@@ -0,0 +1,34 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES kfile_diff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
++
++
++##### kfile_diff (module) #######################
++
++tde_add_kpart( kfile_diff AUTOMOC
++ SOURCES kfile_diff.cpp
++ LINK kio-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kfile-plugins/ts/CMakeLists.txt b/kfile-plugins/ts/CMakeLists.txt
+new file mode 100644
+index 0000000..4e68beb
+--- /dev/null
++++ b/kfile-plugins/ts/CMakeLists.txt
+@@ -0,0 +1,35 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES kfile_ts.desktop
++ DESTINATION ${SERVICES_INSTALL_DIR} )
++
++
++##### kfile_ts (module) #########################
++
++tde_add_kpart( kfile_ts AUTOMOC
++ SOURCES kfile_ts.cpp
++ LINK kio-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kioslave/CMakeLists.txt b/kioslave/CMakeLists.txt
+new file mode 100644
+index 0000000..a23a176
+--- /dev/null
++++ b/kioslave/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( svn )
+diff --git a/kioslave/svn/CMakeLists.txt b/kioslave/svn/CMakeLists.txt
+new file mode 100644
+index 0000000..9d3c496
+--- /dev/null
++++ b/kioslave/svn/CMakeLists.txt
+@@ -0,0 +1,46 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include( ConfigureChecks.cmake )
++
++add_subdirectory( ksvnd )
++add_subdirectory( svnhelper )
++add_subdirectory( icons )
++
++include_directories(
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++ ${APR_INCLUDE_DIRS}
++ ${SVN_INCLUDE_DIR}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++ ${APR_LIBRARY_DIRS}
++ ${SVN_LIBRARY_DIR}
++)
++
++
++##### other data ################################
++
++install( FILES
++ svn+http.protocol svn+https.protocol svn+file.protocol
++ svn+ssh.protocol svn.protocol
++ DESTINATION ${SERVICES_INSTALL_DIR} )
++
++
++##### kio_svn (module) ##########################
++
++tde_add_kpart( kio_svn
++ SOURCES svn.cpp
++ LINK kio-shared ${APR_LIBRARIES} ${SVN_LIBRARIES}
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kioslave/svn/ConfigureChecks.cmake b/kioslave/svn/ConfigureChecks.cmake
+new file mode 100644
+index 0000000..81358c6
+--- /dev/null
++++ b/kioslave/svn/ConfigureChecks.cmake
+@@ -0,0 +1,50 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++pkg_search_module( APR apr-1 )
++if( APR_FOUND )
++ set( HAVE_APR 1 )
++else( )
++ tde_message_fatal( "apr-1 is required, but was not found on your system" )
++endif( )
++
++
++# check for subversion library
++
++check_library_exists( "svn_client-1" "svn_pool_create_ex" "${SVN_LIBRARY_DIR}" HAVE_SVN_POOL_CREATE_EX )
++
++if( HAVE_SVN_POOL_CREATE_EX )
++ set( SVN_LIBRARIES "svn_client-1;svn_subr-1;svn_ra-1" )
++else( )
++ tde_message_fatal( "svn_client-1 library was not found on your system.\n Subversion is installed?\n Try to set SVN_LIBRARY_DIR to subversion library directory." )
++endif( )
++
++
++# check for subversion headers
++
++set( CMAKE_REQUIRED_FLAGS "-I${APR_INCLUDE_DIRS}" )
++set( CMAKE_REQUIRED_DEFINITIONS "${APR_CFLAGS}" )
++
++if( SVN_INCLUDE_DIR )
++ set( CMAKE_REQUIRED_INCLUDES "${SVN_INCLUDE_DIR}" )
++ check_include_file( "svn_types.h" HAVE_SVN_TYPES_H )
++ tde_restore( CMAKE_REQUIRED_INCLUDES )
++else( )
++ # FIXME must be improved
++ check_include_file( "/usr/include/subversion-1/svn_types.h" HAVE_SVN_TYPES_H )
++ set( SVN_INCLUDE_DIR "/usr/include/subversion-1" )
++endif( )
++
++tde_restore( CMAKE_REQUIRED_FLAGS CMAKE_REQUIRED_DEFINITIONS )
++
++if( NOT HAVE_SVN_TYPES_H )
++ tde_message_fatal( "svn_types.h file was not found on your system.\n Subversion devel files are installed?\n Try to set SVN_INCLUDE_DIR to subversion include directory." )
++endif( )
+diff --git a/kioslave/svn/icons/CMakeLists.txt b/kioslave/svn/icons/CMakeLists.txt
+new file mode 100644
+index 0000000..96bca44
+--- /dev/null
++++ b/kioslave/svn/icons/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++tde_install_icons( )
+diff --git a/kioslave/svn/ksvnd/CMakeLists.txt b/kioslave/svn/ksvnd/CMakeLists.txt
+new file mode 100644
+index 0000000..d377ee7
+--- /dev/null
++++ b/kioslave/svn/ksvnd/CMakeLists.txt
+@@ -0,0 +1,36 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES ksvnd.desktop
++ DESTINATION ${SERVICES_INSTALL_DIR}/kded )
++
++
++##### kded_ksvnd (module) #######################
++
++tde_add_kpart( kded_ksvnd AUTOMOC
++ SOURCES commitdlg.ui ksvnd.cpp ksvnd.skel
++ LINK kio-shared kdeinit_kded-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kioslave/svn/svnhelper/CMakeLists.txt b/kioslave/svn/svnhelper/CMakeLists.txt
+new file mode 100644
+index 0000000..ad82d38
+--- /dev/null
++++ b/kioslave/svn/svnhelper/CMakeLists.txt
+@@ -0,0 +1,38 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES
++ subversion.desktop subversion_toplevel.desktop
++ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
++
++
++##### kio_svn_helper (executable) ###############
++
++tde_add_executable( kio_svn_helper AUTOMOC
++ SOURCES
++ kio_svn_helper.cpp subversioncheckout.ui subversionswitch.ui
++ subversionlog.ui subversiondiff.ui
++ LINK kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/kmtrace/CMakeLists.txt b/kmtrace/CMakeLists.txt
+new file mode 100644
+index 0000000..600391b
+--- /dev/null
++++ b/kmtrace/CMakeLists.txt
+@@ -0,0 +1,76 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++set( LD_FLAGS "-Wl,-Bstatic -liberty -Wl,-Bdynamic" )
++
++
++##### other data ################################
++
++configure_file( kminspector.cmake kminspector @ONLY )
++
++install( FILES kde.excludes
++ DESTINATION ${DATA_INSTALL_DIR}/kmtrace )
++
++install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/kminspector
++ DESTINATION ${BIN_INSTALL_DIR} )
++
++
++##### ktrace_s (static) #########################
++
++tde_add_library( ktrace_s STATIC
++ SOURCES ktrace.c
++ DESTINATION ${LIB_INSTALL_DIR}
++)
++
++
++##### ktrace (shared) ###########################
++
++tde_add_library( ktrace SHARED
++ SOURCES ksotrace.cpp ktrace.c
++ LINK dl
++ DESTINATION ${LIB_INSTALL_DIR}/kmtrace
++)
++
++
++##### kmtrace (executable) ######################
++
++tde_add_executable( kmtrace
++ SOURCES kmtrace.cpp
++ LINK ${LD_FLAGS} kdecore-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
++
++
++##### demangle (executable) #####################
++
++tde_add_executable( demangle
++ SOURCES demangle.cpp
++ LINK ${LD_FLAGS} ${TQT_LIBRARIES}
++ DESTINATION ${BIN_INSTALL_DIR}
++)
++
++
++##### kmmatch (executable) ######################
++
++tde_add_executable( kmmatch
++ SOURCES match.cpp
++ LINK ${TQT_LIBRARIES}
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/kmtrace/kminspector.cmake b/kmtrace/kminspector.cmake
+new file mode 100644
+index 0000000..c572ba7
+--- /dev/null
++++ b/kmtrace/kminspector.cmake
+@@ -0,0 +1,9 @@
++#! /bin/sh
++
++export MALLOC_TREE=kminspector.tree
++export MALLOC_THRESHOLD=2000
++export LD_PRELOAD=@LIB_INSTALL_DIR@/kmtrace/libktrace.so
++
++$*
++
++cat kminspector.tree | less
+diff --git a/kompare/CMakeLists.txt b/kompare/CMakeLists.txt
+new file mode 100644
+index 0000000..42d5d45
+--- /dev/null
++++ b/kompare/CMakeLists.txt
+@@ -0,0 +1,55 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( interfaces )
++add_subdirectory( libdiff2 )
++add_subdirectory( libdialogpages )
++add_subdirectory( komparenavtreepart )
++add_subdirectory( komparepart )
++add_subdirectory( pics )
++
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}/libdiff2
++ ${CMAKE_CURRENT_SOURCE_DIR}/libdialogpages
++ ${CMAKE_CURRENT_SOURCE_DIR}/komparenavtreepart
++ ${CMAKE_CURRENT_SOURCE_DIR}/komparepart
++ ${CMAKE_CURRENT_SOURCE_DIR}/interfaces
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES kompare.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
++install( FILES kompareui.rc DESTINATION ${DATA_INSTALL_DIR}/kompare )
++
++install( FILES
++ komparenavigationpart.desktop kompareviewpart.desktop
++ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
++
++
++##### kompare (executable) ######################
++
++tde_add_executable( kompare AUTOMOC
++ SOURCES
++ main.cpp kompare_shell.cpp kompareurldialog.cpp
++ LINK
++ dialogpages-static kompareinterface-shared kio-shared
++ kparts-shared ktexteditor-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/kompare/interfaces/CMakeLists.txt b/kompare/interfaces/CMakeLists.txt
+new file mode 100644
+index 0000000..bd6583e
+--- /dev/null
++++ b/kompare/interfaces/CMakeLists.txt
+@@ -0,0 +1,28 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### kompareinterface (shared) #################
++
++tde_add_library( kompareinterface SHARED
++ SOURCES kompareinterface.cpp
++ LINK ${TQT_LIBRARIES}
++ DESTINATION ${LIB_INSTALL_DIR}
++)
+diff --git a/kompare/komparenavtreepart/CMakeLists.txt b/kompare/komparenavtreepart/CMakeLists.txt
+new file mode 100644
+index 0000000..32af473
+--- /dev/null
++++ b/kompare/komparenavtreepart/CMakeLists.txt
+@@ -0,0 +1,36 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}/../libdiff2
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES komparenavtreepart.desktop
++ DESTINATION ${SERVICES_INSTALL_DIR} )
++
++
++##### libkomparenavtreepart (module) ############
++
++tde_add_kpart( libkomparenavtreepart AUTOMOC
++ SOURCES komparenavtreepart.cpp
++ LINK diff2-static kparts-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kompare/komparepart/CMakeLists.txt b/kompare/komparepart/CMakeLists.txt
+new file mode 100644
+index 0000000..00fe0e0
+--- /dev/null
++++ b/kompare/komparepart/CMakeLists.txt
+@@ -0,0 +1,46 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}/../libdiff2
++ ${CMAKE_CURRENT_SOURCE_DIR}/../libdialogpages
++ ${CMAKE_CURRENT_SOURCE_DIR}/../interfaces
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES komparepart.desktop
++ DESTINATION ${SERVICES_INSTALL_DIR} )
++
++install( FILES komparepartui.rc
++ DESTINATION ${DATA_INSTALL_DIR}/kompare )
++
++
++##### libkomparepart (module) ###################
++
++tde_add_kpart( libkomparepart AUTOMOC
++ SOURCES
++ kompare_part.cpp kompareconnectwidget.cpp komparesplitter.cpp
++ komparelistview.cpp kompareprefdlg.cpp komparesaveoptionsbase.ui
++ komparesaveoptionswidget.cpp
++ LINK
++ dialogpages-static diff2-static kompareinterface-shared
++ kparts-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/kompare/libdialogpages/CMakeLists.txt b/kompare/libdialogpages/CMakeLists.txt
+new file mode 100644
+index 0000000..40f61bd
+--- /dev/null
++++ b/kompare/libdialogpages/CMakeLists.txt
+@@ -0,0 +1,26 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}/../libdiff2
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### dialogpages (static) ######################
++
++tde_add_library( dialogpages STATIC_PIC AUTOMOC
++ SOURCES
++ settingsbase.cpp diffsettings.cpp filessettings.cpp viewsettings.cpp
++ pagebase.cpp diffpage.cpp filespage.cpp viewpage.cpp
++)
+diff --git a/kompare/libdiff2/CMakeLists.txt b/kompare/libdiff2/CMakeLists.txt
+new file mode 100644
+index 0000000..65dd77e
+--- /dev/null
++++ b/kompare/libdiff2/CMakeLists.txt
+@@ -0,0 +1,31 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}/../libdialogpages
++ ${CMAKE_CURRENT_SOURCE_DIR}/../komparepart
++ ${CMAKE_CURRENT_SOURCE_DIR}/../interfaces
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### diff2 (static) ############################
++
++tde_add_library( diff2 STATIC_PIC AUTOMOC
++ SOURCES
++ kompareprocess.cpp komparemodellist.cpp diffmodellist.cpp
++ diffmodel.cpp difference.cpp diffhunk.cpp levenshteintable.cpp
++ parser.cpp parserbase.cpp cvsdiffparser.cpp diffparser.cpp
++ perforceparser.cpp
++)
+diff --git a/kompare/pics/CMakeLists.txt b/kompare/pics/CMakeLists.txt
+new file mode 100644
+index 0000000..96bca44
+--- /dev/null
++++ b/kompare/pics/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++tde_install_icons( )
+diff --git a/kprofilemethod/CMakeLists.txt b/kprofilemethod/CMakeLists.txt
+new file mode 100644
+index 0000000..85ad07e
+--- /dev/null
++++ b/kprofilemethod/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( FILES kprofilemethod.h DESTINATION ${INCLUDE_INSTALL_DIR} )
+diff --git a/kspy/CMakeLists.txt b/kspy/CMakeLists.txt
+new file mode 100644
+index 0000000..2dee53a
+--- /dev/null
++++ b/kspy/CMakeLists.txt
+@@ -0,0 +1,40 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### headers ###################################
++
++install( FILES
++ kspy.h
++ DESTINATION ${INCLUDE_INSTALL_DIR} )
++
++
++##### kspy (shared) #############################
++
++tde_add_library( kspy SHARED AUTOMOC
++ SOURCES
++ navviewitem.cpp propsview.cpp navview.cpp spy.cpp sigslotview.cpp
++ receiversview.cpp classinfoview.cpp
++ VERSION 1.2.0
++ LINK kdeui-shared
++ DESTINATION ${LIB_INSTALL_DIR}
++)
+diff --git a/kstartperf/CMakeLists.txt b/kstartperf/CMakeLists.txt
+new file mode 100644
+index 0000000..5d377e7
+--- /dev/null
++++ b/kstartperf/CMakeLists.txt
+@@ -0,0 +1,38 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### kstartperf (shared) #######################
++
++tde_add_library( kstartperf SHARED AUTOMOC
++ SOURCES libkstartperf.c
++ VERSION 1.0.0
++ LINK ltdl
++ DESTINATION ${LIB_INSTALL_DIR}
++)
++
++
++##### kstartperf (executable) ###################
++
++tde_add_executable( kstartperf
++ SOURCES kstartperf.cpp
++ LINK kdecore-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/kuiviewer/CMakeLists.txt b/kuiviewer/CMakeLists.txt
+new file mode 100644
+index 0000000..0376ea1
+--- /dev/null
++++ b/kuiviewer/CMakeLists.txt
+@@ -0,0 +1,69 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++tde_install_icons( kuiviewer )
++
++install( FILES
++ kuiviewerui.rc
++ DESTINATION ${DATA_INSTALL_DIR}/kuiviewer )
++
++install( FILES
++ kuiviewer.desktop
++ DESTINATION ${XDG_APPS_INSTALL_DIR} )
++
++install( FILES
++ kuiviewer_part.desktop designerthumbnail.desktop
++ DESTINATION ${SERVICES_INSTALL_DIR} )
++
++install( FILES
++ kuiviewer_part.rc
++ DESTINATION ${DATA_INSTALL_DIR}/kuiviewerpart )
++
++
++##### libkuiviewerpart (module) #################
++
++tde_add_kpart( libkuiviewerpart AUTOMOC
++ SOURCES kuiviewer_part.cpp
++ LINK ktexteditor-shared qui
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
++
++
++##### quithumbnail (module) #####################
++
++tde_add_kpart( quithumbnail
++ SOURCES quicreator.cpp
++ LINK ${TQT_LIBRARIES} qui
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
++
++
++##### kuiviewer (executable) ####################
++
++tde_add_executable( kuiviewer AUTOMOC
++ SOURCES main.cpp kuiviewer.cpp
++ LINK ktexteditor-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/kunittest/CMakeLists.txt b/kunittest/CMakeLists.txt
+new file mode 100644
+index 0000000..6b3aefd
+--- /dev/null
++++ b/kunittest/CMakeLists.txt
+@@ -0,0 +1,49 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### headers ###################################
++
++install( FILES
++ runnergui.h
++ DESTINATION ${INCLUDE_INSTALL_DIR}/kunittest )
++
++install( PROGRAMS
++ kunittest kunittestmod kunittest_debughelper
++ DESTINATION ${BIN_INSTALL_DIR} )
++
++
++##### kunittestgui (shared) #####################
++
++tde_add_library( kunittestgui SHARED AUTOMOC
++ SOURCES testerwidget.ui runnergui.cpp dcopinterface.skel
++ LINK kunittest-shared
++ DESTINATION ${LIB_INSTALL_DIR}
++)
++
++
++##### kunittestguimodrunner (executable) ########
++
++tde_add_executable( kunittestguimodrunner
++ SOURCES guimodrunner.cpp
++ LINK kunittestgui-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/poxml/CMakeLists.txt b/poxml/CMakeLists.txt
+new file mode 100644
+index 0000000..ed6c1ae
+--- /dev/null
++++ b/poxml/CMakeLists.txt
+@@ -0,0 +1,70 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_definitions( -fexceptions )
++
++add_subdirectory( antlr )
++
++
++include_directories(
++ ${CMAKE_CURRENT_SOURCE_DIR}/antlr
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### split2po (executable) #####################
++
++tde_add_executable( split2po
++ SOURCES split.cpp parser.cpp
++ LINK kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
++
++
++##### xml2pot (executable) ######################
++
++tde_add_executable( xml2pot
++ SOURCES xml2pot.cpp parser.cpp
++ LINK kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
++
++
++##### po2xml (executable) #######################
++
++tde_add_executable( po2xml
++ SOURCES GettextLexer.cpp GettextParser.cpp po2xml.cpp parser.cpp
++ LINK antlr-static kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
++
++
++##### swappo (executable) #######################
++
++tde_add_executable( swappo
++ SOURCES GettextLexer.cpp GettextParser.cpp swappo.cpp parser.cpp
++ LINK antlr-static kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
++
++
++##### transxx (executable) ######################
++
++tde_add_executable( transxx
++ SOURCES GettextLexer.cpp GettextParser.cpp transxx.cpp parser.cpp
++ LINK antlr-static kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/poxml/antlr/CMakeLists.txt b/poxml/antlr/CMakeLists.txt
+new file mode 100644
+index 0000000..636d2f7
+--- /dev/null
++++ b/poxml/antlr/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( src )
+diff --git a/poxml/antlr/src/CMakeLists.txt b/poxml/antlr/src/CMakeLists.txt
+new file mode 100644
+index 0000000..cc54d00
+--- /dev/null
++++ b/poxml/antlr/src/CMakeLists.txt
+@@ -0,0 +1,33 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++string( REPLACE ${TQT_CXX_FLAGS} "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
++
++include_directories(
++ ${CMAKE_CURRENT_SOURCE_DIR}/..
++)
++
++
++##### antlr (static) ############################
++
++tde_add_library( antlr STATIC_PIC
++ SOURCES
++ ANTLRException.cpp ASTFactory.cpp ASTRefCount.cpp BaseAST.cpp
++ BitSet.cpp CharBuffer.cpp CharScanner.cpp CommonAST.cpp
++ CommonASTWithHiddenTokens.cpp CommonHiddenStreamToken.cpp
++ CommonToken.cpp InputBuffer.cpp LLkParser.cpp
++ LexerSharedInputState.cpp MismatchedCharException.cpp
++ MismatchedTokenException.cpp NoViableAltException.cpp
++ NoViableAltForCharException.cpp Parser.cpp ParserSharedInputState.cpp
++ RecognitionException.cpp String.cpp Token.cpp TokenBuffer.cpp
++ TokenStreamBasicFilter.cpp TokenStreamHiddenTokenFilter.cpp
++ TokenStreamSelector.cpp TreeParser.cpp TreeParserSharedInputState.cpp
++)
+diff --git a/scheck/CMakeLists.txt b/scheck/CMakeLists.txt
+new file mode 100644
+index 0000000..bef3a46
+--- /dev/null
++++ b/scheck/CMakeLists.txt
+@@ -0,0 +1,34 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES scheck.themerc DESTINATION ${DATA_INSTALL_DIR}/kstyle/themes )
++
++
++##### scheck (module) ############################
++
++tde_add_kpart( scheck AUTOMOC
++ SOURCES scheck.cpp
++ LINK kdeui-shared
++ DESTINATION ${PLUGIN_INSTALL_DIR}
++)
+diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
+new file mode 100644
+index 0000000..6ed8ca8
+--- /dev/null
++++ b/scripts/CMakeLists.txt
+@@ -0,0 +1,43 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( PROGRAMS
++ create_makefile create_makefiles adddebug cheatmake makeobj kde-build
++ build-progress.sh pruneemptydirs cvsbackport cvsversion cvscheck
++ cvslastchange cvslastlog cvsrevertlast noncvslist cvs-clean cvs2dist
++ cvsblame cvsforwardport create_cvsignore colorsvn create_svnignore
++ nonsvnlist svn2dist svnaddcurrentdir svnbackport svnforwardport
++ svn-clean svngettags svnlastchange svnlastlog svnrevertlast
++ svnversions svnchangesince findmissingcrystal kdesvn-build
++ kdedoc qtdoc extractrc extractattr zonetab2pot.py licensecheck
++ fixkdeincludes fixuifiles includemocs cxxmetric extend_dmalloc
++ kdekillall kdelnk2desktop.py package_crystalsvg png2mng.pl
++ kdemangen.pl
++ DESTINATION ${BIN_INSTALL_DIR} )
++
++
++install( FILES
++ kdesvn-buildrc.xml
++ DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax )
++
++
++macro( _pod2man )
++ foreach( _pod ${ARGN} )
++ add_custom_command(
++ OUTPUT ${_pod}.1
++ COMMAND pod2man ${CMAKE_CURRENT_SOURCE_DIR}/${_pod} > ${_pod}.1
++ DEPENDS ${_pod} )
++ add_custom_target( "${_pod}-man" ALL DEPENDS ${_pod}.1 )
++ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${_pod}.1 DESTINATION ${MAN_INSTALL_DIR} )
++ endforeach( )
++endmacro()
++
++_pod2man( kde-build kdesvn-build cvsversion cvscheck noncvslist cvsblame includemocs )
+diff --git a/kcachegrind/CMakeLists.txt b/kcachegrind/CMakeLists.txt
+new file mode 100644
+index 0000000..8c2da80
+--- /dev/null
++++ b/kcachegrind/CMakeLists.txt
+@@ -0,0 +1,21 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include( ConfigureChecks.cmake )
++
++set( KCACHEGRIND_VERSION "0.4.6kde" )
++configure_file( version.h.in version.h @ONLY )
++configure_file( kcachegrind.spec.in kcachegrind.spec @ONLY )
++configure_file( kcachegrind.lsm.in kcachegrind.lsm @ONLY )
++
++add_subdirectory( kcachegrind )
++add_subdirectory( pics )
++add_subdirectory( converters )
+diff --git a/kcachegrind/ConfigureChecks.cmake b/kcachegrind/ConfigureChecks.cmake
+new file mode 100644
+index 0000000..e9b5cc2
+--- /dev/null
++++ b/kcachegrind/ConfigureChecks.cmake
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++check_function_exists( mmap HAVE_MMAP )
+diff --git a/kcachegrind/converters/CMakeLists.txt b/kcachegrind/converters/CMakeLists.txt
+new file mode 100644
+index 0000000..03e86bc
+--- /dev/null
++++ b/kcachegrind/converters/CMakeLists.txt
+@@ -0,0 +1,15 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( PROGRAMS
++ hotshot2calltree op2calltree pprof2calltree
++ dprof2calltree memprof2calltree
++ DESTINATION ${BIN_INSTALL_DIR} )
+diff --git a/kcachegrind/pics/CMakeLists.txt b/kcachegrind/pics/CMakeLists.txt
+new file mode 100644
+index 0000000..ee29446
+--- /dev/null
++++ b/kcachegrind/pics/CMakeLists.txt
+@@ -0,0 +1,14 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( hicolor )
++
++tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kcachegrind/icons )
+diff --git a/kcachegrind/pics/hicolor/CMakeLists.txt b/kcachegrind/pics/hicolor/CMakeLists.txt
+new file mode 100644
+index 0000000..1c162a1
+--- /dev/null
++++ b/kcachegrind/pics/hicolor/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kcachegrind/icons )
+diff --git a/kcachegrind/kcachegrind/CMakeLists.txt b/kcachegrind/kcachegrind/CMakeLists.txt
+new file mode 100644
+index 0000000..cd284c3
+--- /dev/null
++++ b/kcachegrind/kcachegrind/CMakeLists.txt
+@@ -0,0 +1,50 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++tde_install_icons( )
++install( FILES kcachegrind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
++install( FILES kcachegrindui.rc tips DESTINATION ${DATA_INSTALL_DIR}/kcachegrind )
++install( FILES x-kcachegrind.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
++
++
++##### kcachegrind (executable) ##################
++
++tde_add_executable( kcachegrind AUTOMOC
++ SOURCES
++ functionselectionbase.ui stackselectionbase.ui partselectionbase.ui
++ configdlgbase.ui loader.cpp cachegrindloader.cpp treemap.cpp pool.cpp
++ main.cpp configuration.cpp functionselection.cpp coverage.cpp
++ partgraph.cpp toplevel.cpp stackselection.cpp stackbrowser.cpp
++ subcost.cpp tracedata.cpp partselection.cpp configdlg.cpp
++ utils.cpp fixcost.cpp traceitemview.cpp instrview.cpp tabview.cpp
++ sourceview.cpp callmapview.cpp callview.cpp coverageview.cpp
++ costtypeview.cpp partview.cpp listutils.cpp costtypeitem.cpp
++ multiview.cpp callitem.cpp coverageitem.cpp sourceitem.cpp
++ costlistitem.cpp partlistitem.cpp functionitem.cpp instritem.cpp
++ stackitem.cpp callgraphview.cpp
++ LINK kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/umbrello/CMakeLists.txt b/umbrello/CMakeLists.txt
+new file mode 100644
+index 0000000..5429f5a
+--- /dev/null
++++ b/umbrello/CMakeLists.txt
+@@ -0,0 +1,19 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include( ConfigureChecks.cmake )
++
++# generate version.h
++file( READ VERSION text )
++string( REGEX REPLACE "\n" "" text "${text}" )
++file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/version.h "#define UMBRELLO_VERSION \"${text}\"\n" )
++
++add_subdirectory( umbrello )
+diff --git a/umbrello/ConfigureChecks.cmake b/umbrello/ConfigureChecks.cmake
+new file mode 100644
+index 0000000..2167ab9
+--- /dev/null
++++ b/umbrello/ConfigureChecks.cmake
+@@ -0,0 +1,20 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++pkg_search_module( XML2 libxml-2.0 )
++if( NOT XML2_FOUND )
++ tde_message_fatal( "libxml-2.0 is required, but was not found on your system" )
++endif( )
++
++pkg_search_module( XSLT libxslt )
++if( NOT XSLT_FOUND )
++ tde_message_fatal( "libxslt is required, but was not found on your system" )
++endif( )
+diff --git a/umbrello/umbrello/CMakeLists.txt b/umbrello/umbrello/CMakeLists.txt
+new file mode 100644
+index 0000000..f7c299b
+--- /dev/null
++++ b/umbrello/umbrello/CMakeLists.txt
+@@ -0,0 +1,86 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( codeimport )
++add_subdirectory( dialogs )
++add_subdirectory( docgenerators )
++add_subdirectory( clipboard )
++add_subdirectory( pics )
++add_subdirectory( codegenerators )
++add_subdirectory( headings )
++add_subdirectory( refactoring )
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_BINARY_DIR}/.. # for version.h
++ ${CMAKE_CURRENT_BINARY_DIR}/dialogs
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++tde_install_icons( )
++install( FILES x-umbrello.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
++install( FILES tips umbrelloui.rc DESTINATION ${DATA_INSTALL_DIR}/umbrello )
++install( FILES umbrello.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
++
++
++##### umbrello (executable) #####################
++
++tde_add_executable( umbrello AUTOMOC
++ SOURCES
++ activitywidget.cpp actor.cpp actorwidget.cpp aligntoolbar.cpp
++ artifact.cpp artifactwidget.cpp association.cpp associationwidget.cpp
++ assocrules.cpp attribute.cpp boxwidget.cpp classifier.cpp
++ classifiercodedocument.cpp classifierlistitem.cpp
++ classifierwidget.cpp cmdlineexportallviewsevent.cpp
++ codeaccessormethod.cpp codeblock.cpp codeblockwithcomments.cpp
++ codeclassfield.cpp codeclassfielddeclarationblock.cpp
++ codecomment.cpp codedocument.cpp codegenerationpolicy.cpp
++ codegenerator.cpp codegenobjectwithtextblocks.cpp codemethodblock.cpp
++ codeoperation.cpp codeparameter.cpp component.cpp componentwidget.cpp
++ configurable.cpp datatypewidget.cpp dialog_utils.cpp
++ docwindow.cpp entity.cpp entityattribute.cpp entitywidget.cpp
++ enum.cpp enumliteral.cpp enumwidget.cpp floatingtextwidget.cpp
++ floatingtextwidgetcontroller.cpp folder.cpp forkjoinwidget.cpp
++ kplayerslideraction.cpp hierarchicalcodeblock.cpp import_rose.cpp
++ kstartuplogo.cpp linepath.cpp linkwidget.cpp listpopupmenu.cpp
++ main.cpp messagewidget.cpp messagewidgetcontroller.cpp
++ model_utils.cpp node.cpp nodewidget.cpp notewidget.cpp
++ notewidgetcontroller.cpp objectwidget.cpp objectwidgetcontroller.cpp
++ object_factory.cpp operation.cpp optionstate.cpp ownedcodeblock.cpp
++ ownedhierarchicalcodeblock.cpp package.cpp packagewidget.cpp
++ petalnode.cpp petaltree2uml.cpp plugin.cpp pluginloader.cpp
++ seqlinewidget.cpp statewidget.cpp stereotype.cpp template.cpp
++ textblock.cpp toolbarstate.cpp toolbarstatearrow.cpp
++ toolbarstateassociation.cpp toolbarstatefactory.cpp
++ toolbarstatemessages.cpp toolbarstateother.cpp toolbarstatepool.cpp
++ uml.cpp umlattributelist.cpp umlentityattributelist.cpp
++ umlcanvasobject.cpp umlclassifierlistitemlist.cpp umldoc.cpp
++ umllistview.cpp umllistviewitem.cpp umlnamespace.cpp umlobject.cpp
++ umlobjectlist.cpp umlrole.cpp umlview.cpp umlviewcanvas.cpp
++ umlviewimageexporter.cpp umlviewimageexporterall.cpp
++ umlviewimageexportermodel.cpp umlwidget.cpp umlwidgetcontroller.cpp
++ uniqueid.cpp usecase.cpp usecasewidget.cpp widgetbase.cpp
++ widget_factory.cpp widget_utils.cpp worktoolbar.cpp
++ LINK
++ refactoring-static codeimport-static kdevcppparser-static clipboard-static
++ codegenerator-static docgenerators-static dialogs-static
++ kdeprint-shared kio-shared ${XML2_LIBRARIES} ${XSLT_LIBRARIES}
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+diff --git a/umbrello/umbrello/clipboard/CMakeLists.txt b/umbrello/umbrello/clipboard/CMakeLists.txt
+new file mode 100644
+index 0000000..a2e6113
+--- /dev/null
++++ b/umbrello/umbrello/clipboard/CMakeLists.txt
+@@ -0,0 +1,25 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### clipboard (static) ########################
++
++tde_add_library( clipboard STATIC AUTOMOC
++ SOURCES
++ umldrag.cpp umlclipboard.cpp idchangelog.cpp
++)
+diff --git a/umbrello/umbrello/codegenerators/CMakeLists.txt b/umbrello/umbrello/codegenerators/CMakeLists.txt
+new file mode 100644
+index 0000000..7d68333
+--- /dev/null
++++ b/umbrello/umbrello/codegenerators/CMakeLists.txt
+@@ -0,0 +1,54 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_BINARY_DIR}/../dialogs
++ ${CMAKE_CURRENT_SOURCE_DIR}/../dialogs
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### codegenerator (static) ####################
++
++tde_add_library( codegenerator STATIC AUTOMOC
++ SOURCES
++ codegenfactory.cpp classifierinfo.cpp javacodegenerator.cpp
++ javaantcodedocument.cpp javacodeclassfield.cpp
++ javaclassifiercodedocument.cpp javacodecomment.cpp
++ javacodedocumentation.cpp javacodeoperation.cpp
++ javacodeaccessormethod.cpp javaclassdeclarationblock.cpp
++ javacodeclassfielddeclarationblock.cpp javacodegenerationpolicy.cpp
++ javacodegenerationpolicypage.cpp javacodegenerationformbase.ui
++ cppcodegenerator.cpp cppcodedocumentation.cpp cppcodeclassfield.cpp
++ cppcodecomment.cpp cppmakecodedocument.cpp cppsourcecodedocument.cpp
++ cppsourcecodeoperation.cpp cppsourcecodeaccessormethod.cpp
++ cppsourcecodeclassfielddeclarationblock.cpp
++ cppheadercodedocument.cpp cppheaderclassdeclarationblock.cpp
++ cppheadercodeoperation.cpp cppheadercodeaccessormethod.cpp
++ cppheadercodeclassfielddeclarationblock.cpp
++ cppcodegenerationpolicy.cpp cppcodegenerationpolicypage.cpp
++ cppcodegenerationformbase.ui cppcodegenerationform.cpp
++ rubycodegenerator.cpp rubycodeclassfield.cpp
++ rubyclassifiercodedocument.cpp rubycodecomment.cpp
++ rubycodedocumentation.cpp rubycodeoperation.cpp
++ rubycodeaccessormethod.cpp rubyclassdeclarationblock.cpp
++ rubycodeclassfielddeclarationblock.cpp rubycodegenerationpolicy.cpp
++ rubycodegenerationpolicypage.cpp rubycodegenerationformbase.ui
++ simplecodegenerator.cpp adawriter.cpp aswriter.cpp cppwriter.cpp
++ csharpwriter.cpp dwriter.cpp javawriter.cpp jswriter.cpp
++ idlwriter.cpp pascalwriter.cpp perlwriter.cpp php5writer.cpp
++ phpwriter.cpp pythonwriter.cpp rubywriter.cpp sqlwriter.cpp
++ tclwriter.cpp xmlschemawriter.cpp xmlelementcodeblock.cpp
++ xmlcodecomment.cpp codegen_utils.cpp
++)
+diff --git a/umbrello/umbrello/codeimport/CMakeLists.txt b/umbrello/umbrello/codeimport/CMakeLists.txt
+new file mode 100644
+index 0000000..d616ca6
+--- /dev/null
++++ b/umbrello/umbrello/codeimport/CMakeLists.txt
+@@ -0,0 +1,29 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( kdevcppparser )
++
++
++include_directories(
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### codeimport (static) ########################
++
++tde_add_library( codeimport STATIC
++ SOURCES
++ adaimport.cpp classimport.cpp cppimport.cpp idlimport.cpp
++ import_utils.cpp javaimport.cpp nativeimportbase.cpp pascalimport.cpp
++ pythonimport.cpp
++)
+diff --git a/umbrello/umbrello/codeimport/kdevcppparser/CMakeLists.txt b/umbrello/umbrello/codeimport/kdevcppparser/CMakeLists.txt
+new file mode 100644
+index 0000000..6c16fe3
+--- /dev/null
++++ b/umbrello/umbrello/codeimport/kdevcppparser/CMakeLists.txt
+@@ -0,0 +1,24 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### kdevcppparser (static) ####################
++
++tde_add_library( kdevcppparser STATIC
++ SOURCES
++ ast.cpp driver.cpp errors.cpp lexer.cpp lookup.cpp parser.cpp
++ tree_parser.cpp urlutil.cpp ast_utils.cpp cpptree2uml.cpp
++)
+diff --git a/umbrello/umbrello/dialogs/CMakeLists.txt b/umbrello/umbrello/dialogs/CMakeLists.txt
+new file mode 100644
+index 0000000..fbe04fa
+--- /dev/null
++++ b/umbrello/umbrello/dialogs/CMakeLists.txt
+@@ -0,0 +1,40 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### dialogs (static) ##########################
++
++tde_add_library( dialogs STATIC AUTOMOC
++ SOURCES
++ codegenerationoptionsbase.ui codegenerationpolicybase.ui
++ codegenerationwizardbase.ui codeviewerdialogbase.ui
++ codevieweroptionsbase.ui diagrampropertiespage.ui
++ exportallviewsdialogbase.ui umlrolepropertiesbase.ui
++ activitydialog.cpp activitypage.cpp assocgenpage.cpp
++ assocpage.cpp assocpropdlg.cpp assocrolepage.cpp classgenpage.cpp
++ classifierlistpage.cpp classoptionspage.cpp classpropdlg.cpp
++ classwizard.cpp codeeditor.cpp codegenerationoptionspage.cpp
++ codegenerationpolicypage.cpp codegenerationwizard.cpp
++ codeviewerdialog.cpp codevieweroptionspage.cpp
++ defaultcodegenpolicypage.cpp diagramprintpage.cpp
++ exportallviewsdialog.cpp notedialog.cpp overwritedialogue.cpp
++ pkgcontentspage.cpp parmpropdlg.cpp selectopdlg.cpp settingsdlg.cpp
++ statedialog.cpp umlattributedialog.cpp umlentityattributedialog.cpp
++ umloperationdialog.cpp umltemplatedialog.cpp umlroledialog.cpp
++ umlroleproperties.cpp umlviewdialog.cpp umlwidgetcolorpage.cpp
++)
+diff --git a/umbrello/umbrello/docgenerators/CMakeLists.txt b/umbrello/umbrello/docgenerators/CMakeLists.txt
+new file mode 100644
+index 0000000..7ab19cf
+--- /dev/null
++++ b/umbrello/umbrello/docgenerators/CMakeLists.txt
+@@ -0,0 +1,48 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_BINARY_DIR}/../.. # for version.h
++ ${CMAKE_CURRENT_SOURCE_DIR}/..
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++ ${XML2_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++install( FILES
++ xmi2docbook.xsl docbook2xhtml.xsl xmi.css common.ent
++ DESTINATION ${DATA_INSTALL_DIR}/umbrello )
++
++
++##### umbodoc (executable) ######################
++
++tde_add_executable( umbodoc
++ SOURCES main.cpp
++ LINK kdecore-shared ${XML2_LIBRARIES} ${XSLT_LIBRARIES}
++ DESTINATION ${BIN_INSTALL_DIR}
++)
++
++
++##### docgenerators (static) ####################
++
++tde_add_library( docgenerators STATIC AUTOMOC
++ SOURCES
++ docbookgenerator.h docbookgenerator.cpp xhtmlgenerator.cpp
++)
+diff --git a/umbrello/umbrello/headings/CMakeLists.txt b/umbrello/umbrello/headings/CMakeLists.txt
+new file mode 100644
+index 0000000..aeac637
+--- /dev/null
++++ b/umbrello/umbrello/headings/CMakeLists.txt
+@@ -0,0 +1,16 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( FILES
++ heading.adb heading.ads heading.as heading.cpp heading.cs heading.d
++ heading.h heading.idl heading.java heading.js heading.php heading.pm
++ heading.py heading.rb heading.sql heading.xsd
++ DESTINATION ${DATA_INSTALL_DIR}/umbrello/headings )
+diff --git a/umbrello/umbrello/pics/CMakeLists.txt b/umbrello/umbrello/pics/CMakeLists.txt
+new file mode 100644
+index 0000000..2d350aa
+--- /dev/null
++++ b/umbrello/umbrello/pics/CMakeLists.txt
+@@ -0,0 +1,53 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++tde_install_icons(
++ umbrello_diagram_activity umbrello_diagram_class
++ umbrello_diagram_collaboration umbrello_diagram_component
++ umbrello_diagram_deployment umbrello_diagram_sequence
++ umbrello_diagram_state umbrello_diagram_usecase
++ umbrello_diagram_entityrelationship )
++
++
++install( FILES
++ actor.png aggregation.png align_left.png align_right.png
++ align_top.png align_bottom.png align_vert_middle.png
++ align_hori_middle.png align_vert_distribute.png
++ align_hori_distribute.png anchor.png andline.png arrow.png
++ association.png choice-rhomb.png choice-round.png component.png
++ composition.png containment.png CVglobal_meth.png CVglobal_var.png
++ CVimplementation_meth.png CVimplementation_signal.png
++ CVimplementation_slot.png CVimplementation_var.png CVnamespace.png
++ CVprivate_meth.png CVprivate_signal.png CVprivate_slot.png
++ CVprivate_var.png CVprotected_meth.png CVprotected_signal.png
++ CVprotected_slot.png CVprotected_var.png CVpublic_meth.png
++ CVpublic_signal.png CVpublic_slot.png CVpublic_var.png CVstruct.png
++ deep-history.png shallow-history.png dependency.png end_state.png
++ generalisation.png initial_state.png interface.png join.png
++ junction.png datatype.png enum.png message-synchronous.png
++ message-asynchronous.png note.png object.png startlogo.png
++ template.png text.png class.png uniassociation.png usecase.png
++ branch.png fork.png state-fork.png package.png subsystem.png
++ artifact.png box.png node.png entity.png relationship.png
++ cursor-actor.png cursor-andline.png cursor-choice-rhomb.png
++ cursor-choice-round.png cursor-deep-history.png cursor-join.png
++ cursor-junction.png cursor-shallow-history.png cursor-state-fork.png
++ cursor-usecase.png cursor-initial_state.png cursor-package.png
++ cursor-aggregation.png cursor-component.png cursor-containment.png
++ cursor-interface.png cursor-datatype.png cursor-enum.png
++ cursor-text.png cursor-anchor.png cursor-composition.png
++ cursor-message-asynchronous.png cursor-class.png cursor-artifact.png
++ cursor-dependency.png cursor-message-synchronous.png
++ cursor-uniassociation.png cursor-association.png cursor-end_state.png
++ cursor-node.png cursor-box.png cursor-fork.png cursor-note.png
++ cursor-branch.png cursor-generalisation.png cursor-object.png
++ cursor-entity.png cursor-relationship.png
++ DESTINATION ${DATA_INSTALL_DIR}/umbrello/pics )
+diff --git a/umbrello/umbrello/refactoring/CMakeLists.txt b/umbrello/umbrello/refactoring/CMakeLists.txt
+new file mode 100644
+index 0000000..fd20459
+--- /dev/null
++++ b/umbrello/umbrello/refactoring/CMakeLists.txt
+@@ -0,0 +1,24 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++
++##### refactoring (static) ######################
++
++tde_add_library( refactoring STATIC AUTOMOC
++ SOURCES refactoringassistant.cpp
++)
diff --git a/redhat/kdesdk/kdesdk-3.5.13-cmake_port.patch b/redhat/kdesdk/kdesdk-3.5.13-cmake_port.patch
new file mode 100644
index 000000000..48d239534
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13-cmake_port.patch
@@ -0,0 +1,100 @@
+commit bfb0bc00e959ed3cac6cf4e517a24de50446be50
+Author: Serghei Amelian <serghei.amelian@gmail.com>
+Date: 1329176749 +0200
+
+ [tdesdk] cmake port
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 806890a..c6f7d3d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -26,6 +26,7 @@ include( CheckIncludeFile )
+ include( CheckTypeSize )
+ include( CheckCSourceCompiles )
+ include( CheckCXXSourceCompiles )
++include( CheckFunctionExists )
+ include( CheckLibraryExists )
+
+
+@@ -55,6 +56,21 @@ option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
+ option( BUILD_KAPPTEMPLATE "Build kapptemplate" ${BUILD_ALL} )
+ option( BUILD_KBABEL "Build kbabel" ${BUILD_ALL} )
+ option( BUILD_KBUGBUSTER "Build kbugbuster" ${BUILD_ALL} )
++option( BUILD_KDEACCOUNTS_PLUGIN "Build kdeaccounts-plugin" ${BUILD_ALL} )
++option( BUILD_KFILE_PLUGINS "Build kfile-plugins" ${BUILD_ALL} )
++option( BUILD_KIOSLAVE "Build kioslave" ${BUILD_ALL} )
++option( BUILD_KMTRACE "Build kmtrace" ${BUILD_ALL} )
++option( BUILD_KOMPARE "Build kompare" ${BUILD_ALL} )
++option( BUILD_KPROFILEMETHOD "Build kprofilemethod" ${BUILD_ALL} )
++option( BUILD_KSPY "Build kspy" ${BUILD_ALL} )
++option( BUILD_KSTARTPERF "Build kstartperf" ${BUILD_ALL} )
++option( BUILD_KUIVIEWER "Build kuiviewer" ${BUILD_ALL} )
++option( BUILD_KUNITTEST "Build kunittest" ${BUILD_ALL} )
++option( BUILD_POXML "Build poxml" ${BUILD_ALL} )
++option( BUILD_SCHECK "Build scheck" ${BUILD_ALL} )
++option( BUILD_SCRIPTS "Build scripts" ${BUILD_ALL} )
++option( BUILD_TDECACHEGRIND "Build tdecachegrind" ${BUILD_ALL} )
++option( BUILD_UMBRELLO "Build umbrello" ${BUILD_ALL} )
+
+
+ ##### configure checks ##########################
+@@ -83,6 +96,21 @@ tde_conditional_add_subdirectory( BUILD_DOC doc )
+ tde_conditional_add_subdirectory( BUILD_KAPPTEMPLATE kapptemplate )
+ tde_conditional_add_subdirectory( BUILD_KBABEL kbabel )
+ tde_conditional_add_subdirectory( BUILD_KBUGBUSTER kbugbuster )
++tde_conditional_add_subdirectory( BUILD_KDEACCOUNTS_PLUGIN kdeaccounts-plugin )
++tde_conditional_add_subdirectory( BUILD_KFILE_PLUGINS kfile-plugins )
++tde_conditional_add_subdirectory( BUILD_KIOSLAVE kioslave )
++tde_conditional_add_subdirectory( BUILD_KMTRACE kmtrace )
++tde_conditional_add_subdirectory( BUILD_KOMPARE kompare )
++tde_conditional_add_subdirectory( BUILD_KPROFILEMETHOD kprofilemethod )
++tde_conditional_add_subdirectory( BUILD_KSPY kspy )
++tde_conditional_add_subdirectory( BUILD_KSTARTPERF kstartperf )
++tde_conditional_add_subdirectory( BUILD_KUIVIEWER kuiviewer )
++tde_conditional_add_subdirectory( BUILD_KUNITTEST kunittest )
++tde_conditional_add_subdirectory( BUILD_POXML poxml )
++tde_conditional_add_subdirectory( BUILD_SCHECK scheck )
++tde_conditional_add_subdirectory( BUILD_SCRIPTS scripts )
++tde_conditional_add_subdirectory( BUILD_TDECACHEGRIND kcachegrind )
++tde_conditional_add_subdirectory( BUILD_UMBRELLO umbrello )
+
+
+ ##### write configure files #####################
+diff --git a/config.h.cmake b/config.h.cmake
+index 139f3c7..7ab8b07 100644
+--- a/config.h.cmake
++++ b/config.h.cmake
+@@ -1 +1,4 @@
+ #cmakedefine VERSION "@version@"
++
++// kcachegrind
++#cmakedefine HAVE_MMAP 1
+diff --git a/kbabel/kbabel/CMakeLists.txt b/kbabel/kbabel/CMakeLists.txt
+index b5164b4..6b263b5 100644
+--- a/kbabel/kbabel/CMakeLists.txt
++++ b/kbabel/kbabel/CMakeLists.txt
+@@ -62,4 +62,5 @@ tde_add_library( kbabel STATIC AUTOMOC
+ fontpreferences.ui editordiffpreferences.ui editorpreferences.ui
+ searchpreferences.ui colorpreferences.ui kbcataloglistview.cpp
+ kbcataloglistviewitem.cpp errorlistview.cpp
++ DEPENDENCIES kbabelcommon-shared
+ )
+diff --git a/kmtrace/ktrace.c b/kmtrace/ktrace.c
+index 21fca37..8b9eb2f 100644
+--- a/kmtrace/ktrace.c
++++ b/kmtrace/ktrace.c
+@@ -778,12 +778,12 @@ kuntrace()
+ "Mallocs: %8ld Frees: %8ld Leaks: %8ld\n"
+ "Logged Mallocs: %8ld Logged Frees: %8ld Logged Leaks: %8ld\n"
+ "Avg. Free lookups: %ld Malloc collisions: %ld Max offset: %ld\n",
+- tr_max_mallocs, TR_CACHE_SIZE, tr_flashes,
++ tr_max_mallocs, (long int)TR_CACHE_SIZE, tr_flashes,
+ tr_mallocs, tr_frees, tr_current_mallocs,
+ tr_logged_mallocs, tr_logged_frees,
+ tr_logged_mallocs - tr_logged_frees,
+ tr_frees > 0 ? ( tr_failed_free_lookups / tr_frees ) : 0,
+- tr_malloc_collisions, tr_max_offset);
++ tr_malloc_collisions, (long int)tr_max_offset);
+ #endif
+ fclose (mallstream);
+ mallstream = NULL;
diff --git a/redhat/kdesdk/kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch b/redhat/kdesdk/kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch
new file mode 100644
index 000000000..38db4c083
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch
@@ -0,0 +1,32 @@
+commit 572169a2e18705e526990c52924a268b218ff52b
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1340737965 -0500
+
+ Fix FTBFS on newer subversion libraries
+ This closes Bug 872
+
+diff --git a/kioslave/svn/ConfigureChecks.cmake b/kioslave/svn/ConfigureChecks.cmake
+index 81358c6..3d46c74 100644
+--- a/kioslave/svn/ConfigureChecks.cmake
++++ b/kioslave/svn/ConfigureChecks.cmake
+@@ -19,12 +19,16 @@ endif( )
+
+ # check for subversion library
+
+-check_library_exists( "svn_client-1" "svn_pool_create_ex" "${SVN_LIBRARY_DIR}" HAVE_SVN_POOL_CREATE_EX )
+-
+-if( HAVE_SVN_POOL_CREATE_EX )
++check_library_exists( "svn_client-1" "svn_pool_create_ex" "${SVN_LIBRARY_DIR}" HAVE_SVN_POOL_CREATE_EX_SVN_CLIENT )
++if( HAVE_SVN_POOL_CREATE_EX_SVN_CLIENT )
+ set( SVN_LIBRARIES "svn_client-1;svn_subr-1;svn_ra-1" )
+ else( )
+- tde_message_fatal( "svn_client-1 library was not found on your system.\n Subversion is installed?\n Try to set SVN_LIBRARY_DIR to subversion library directory." )
++ check_library_exists( "svn_subr-1" "svn_pool_create_ex" "${SVN_LIBRARY_DIR}" HAVE_SVN_POOL_CREATE_EX_SUBR )
++ if( HAVE_SVN_POOL_CREATE_EX_SUBR )
++ set( SVN_LIBRARIES "svn_client-1;svn_subr-1;svn_ra-1" )
++ else( )
++ tde_message_fatal( "svn_client-1 or svn_subr-1 library was not found on your system.\n Subversion is installed?\n Try to set SVN_LIBRARY_DIR to subversion library directory." )
++ endif( )
+ endif( )
+
+
diff --git a/redhat/kdesdk/kdesdk-3.5.13-misc_ftbfs.patch b/redhat/kdesdk/kdesdk-3.5.13-misc_ftbfs.patch
new file mode 100644
index 000000000..38fc4a825
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13-misc_ftbfs.patch
@@ -0,0 +1,21 @@
+--- kdesdk/kapptemplate/CMakeLists.txt.ORI 2012-07-30 17:58:45.681535290 +0200
++++ kdesdk/kapptemplate/CMakeLists.txt 2012-07-30 17:58:55.232338294 +0200
+@@ -23,7 +23,7 @@
+
+ install( PROGRAMS
+ ${CMAKE_CURRENT_BINARY_DIR}/kapptemplate
+- DESTINATION ${DATA_INSTALL_DIR}/kapptemplate/bin )
++ DESTINATION ${BIN_INSTALL_DIR}/kapptemplate/bin )
+
+ install( FILES
+ kapptemplate.common kapptemplate.module
+--- kdesdk/kbugbuster/kresources/CMakeLists.txt.ORI 2012-07-30 18:00:21.039575551 +0200
++++ kdesdk/kbugbuster/kresources/CMakeLists.txt 2012-07-30 18:00:25.414486000 +0200
+@@ -17,6 +17,7 @@
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../backend
+ ${TDE_INCLUDE_DIR}
++ ${TDE_INCLUDE_DIR}/kde
+ ${TQT_INCLUDE_DIRS}
+ )
+
diff --git a/redhat/kdesdk/trinity-kdesdk-3.5.13.spec b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
index 0adce1e02..6bb248eb3 100644
--- a/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
+++ b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
@@ -1,18 +1,26 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
-%define _docdir %{_datadir}/doc
%endif
# TDE 3.5.13 specific building variables
-%define tde_docdir %{_docdir}/kde
-%define tde_libdir %{_libdir}/trinity
+%define tde_bindir %{_prefix}/bin
+%define tde_datadir %{_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{_prefix}/include
+%define tde_libdir %{_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/kde
+%define tde_tdeincludedir %{tde_includedir}/kde
+%define tde_tdelibdir %{tde_libdir}/trinity
-Name: trinity-kdesdk
-Summary: The KDE Software Development Kit (SDK)
-Version: 3.5.13
-Release: 1%{?dist}%{?_variant}
+
+Name: trinity-tdesdk
+Summary: The KDE Software Development Kit (SDK)
+Version: 3.5.13
+Release: 2%{?dist}%{?_variant}
License: GPLv2
Group: User Interface/Desktops
@@ -20,44 +28,72 @@ URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source: kdesdk-%{version}.tar.gz
+Source: kdesdk-%{version}.tar.gz
# RedHat Legacy patches
-Patch1: kdesdk-3.5.7-subversion.patch
-
-Provides: kdesdk3 = %{version}-%{release}
-
-Requires: %{name}-libs = %{version}-%{release}
+Patch1: kdesdk-3.5.7-subversion.patch
+# [tdesdk] cmake port [Commit #bfb0bc00]
+Patch2: kdesdk-3.5.13-cmake_port.patch
+# [tdesdk/cmake] added forgotten files [Commit #adee843c]
+Patch3: kdesdk-3.5.13-add_forgotten_cmake_files.patch
+# [tdesdk] fixes for RHEL/Fedora/MGA2 after previous patch
+Patch4: kdesdk-3.5.13-misc_ftbfs.patch
+# [tdesdk] Fix FTBFS on newer subversion libraries [Bug #872] [Commit #572169a2]
+Patch5: kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch
BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: tqtinterface-devel
BuildRequires: pcre-devel
-BuildRequires: trinity-kdelibs-devel
+BuildRequires: trinity-tdelibs-devel
# for kbugbuster/libkcal
-BuildRequires: trinity-kdepim-devel
+BuildRequires: trinity-tdepim-devel
BuildRequires: db4-devel
BuildRequires: desktop-file-utils
# kbabel, F-7+: flex >= 2.5.33-9
BuildRequires: flex
# umbrello
BuildRequires: libxslt-devel libxml2-devel
+BuildRequires: perl
+BuildRequires: subversion-devel neon-devel
+
+%if 0%{?mgaversion}
+BuildRequires: %{_lib}ltdl-devel
+BuildRequires: %{_lib}binutils-devel
+%else
+BuildRequires: libtool-ltdl-devel
%if 0%{?fedora} > 5 || 0%{?rhel} > 4
BuildRequires: binutils-devel
%endif
-BuildRequires: perl
-BuildRequires: subversion-devel neon-devel
+%endif
-# Obsoletes/Provides
-%define cervisia_ver 2.4.7
-Provides: cervisia = %{cervisia_ver}-%{release}
+Obsoletes: trinity-kdesdk < %{version}-%{release}
+Provides: trinity-kdesdk = %{version}-%{release}
+Obsoletes: trinity-kdesdk-libs < %{version}-%{release}
+Provides: trinity-kdesdk-libs = %{version}-%{release}
-%define umbrello_ver 1.5.7
-Obsoletes: umbrello < %{umbrello_ver}-%{release}
-Provides: umbrello = %{umbrello_ver}-%{release}
+Requires: trinity-cervisia = %{version}-%{release}
+Requires: trinity-kapptemplate = %{version}-%{release}
+Requires: trinity-kbabel = %{version}-%{release}
+Requires: trinity-kbugbuster = %{version}-%{release}
+Requires: trinity-tdecachegrind = %{version}-%{release}
+Requires: trinity-tdecachegrind-converters = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-misc = %{version}-%{release}
+Requires: %{name}-scripts = %{version}-%{release}
+Requires: trinity-kmtrace = %{version}-%{release}
+Requires: trinity-kompare = %{version}-%{release}
+Requires: trinity-kspy = %{version}-%{release}
+Requires: trinity-kuiviewer = %{version}-%{release}
+Requires: trinity-libcvsservice0 = %{version}-%{release}
+Requires: trinity-libcvsservice-devel = %{version}-%{release}
+Requires: trinity-poxml = %{version}-%{release}
+Requires: trinity-umbrello = %{version}-%{release}
+Requires: %{name}-kio-plugins = %{version}-%{release}
+Requires: trinity-kunittest = %{version}-%{release}
%description
@@ -70,43 +106,953 @@ A collection of applications and tools used by developers, including:
* kuiviewer: displays designer's UI files
* umbrello: UML modeller and UML diagram tool
+%files
+
+##########
+
+%package -n trinity-cervisia
+Summary: A graphical CVS front end for Trinity
+Group: Development/Utilities
+
+%description -n trinity-cervisia
+Cervisia is a TDE-based graphical front end for the CVS client.
+
+As well as providing both common and advanced CVS operations, it offers
+a variety of methods for graphically viewing information about the CVS
+repository, your own sandbox and the relationships between different
+versions of files. A Changelog editor is also included and is coupled
+with the commit dialog.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-cervisia
+%{tde_bindir}/cervisia
+%{tde_libdir}/lib[kt]deinit_cervisia.la
+%{tde_libdir}/lib[kt]deinit_cervisia.so
+%{tde_tdelibdir}/cervisia.la
+%{tde_tdelibdir}/cervisia.so
+%{tde_tdelibdir}/libcervisiapart.la
+%{tde_tdelibdir}/libcervisiapart.so
+%{tde_tdeappdir}/cervisia.desktop
+%{tde_datadir}/apps/cervisia/
+%{tde_datadir}/apps/cervisiapart/cervisiaui.rc
+%{tde_datadir}/apps/kconf_update/cervisia.upd
+%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl
+%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl
+%{tde_datadir}/apps/kconf_update/move_repositories.pl
+%{tde_datadir}/apps/kconf_update/change_colors.pl
+%{tde_datadir}/config.kcfg/cervisiapart.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/cervisia.png
+%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz
+#%{tde_mandir}/man1/cervisia.1*
+%{tde_tdedocdir}/HTML/en/cervisia/
+
+%post -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kapptemplate
+Summary: Creates a framework to develop a Trinity application
+Group: Development/Utilities
+
+%description -n trinity-kapptemplate
+KAppTemplate is a shell script that will create the necessary
+framework to develop various TDE applications. It takes care of the
+autoconf/automake code as well as providing a skeleton and example of
+what the code typically looks like.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kapptemplate
+%{tde_bindir}/kapptemplate
+%{tde_datadir}/apps/kapptemplate/
+
+##########
+
+%package -n trinity-kbabel
+Summary: PO-file editing suite for Trinity
+Group: Development/Utilities
+
+%description -n trinity-kbabel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+See the 'kde-trinity' and 'tdesdk-trinity' packages for more information.
+
+%files -n trinity-kbabel
+%{tde_bindir}/catalogmanager
+%{tde_bindir}/kbabel
+%{tde_bindir}/kbabeldict
+%{tde_libdir}/libkbabelcommon.so.*
+%{tde_libdir}/libkbabeldictplugin.so.*
+%{tde_tdelibdir}/kfile_po.la
+%{tde_tdelibdir}/kfile_po.so
+%{tde_tdelibdir}/pothumbnail.la
+%{tde_tdelibdir}/pothumbnail.so
+%{tde_tdelibdir}/kbabel_accelstool.la
+%{tde_tdelibdir}/kbabel_accelstool.so
+%{tde_tdelibdir}/kbabel_argstool.la
+%{tde_tdelibdir}/kbabel_argstool.so
+%{tde_tdelibdir}/kbabel_contexttool.la
+%{tde_tdelibdir}/kbabel_contexttool.so
+%{tde_tdelibdir}/kbabel_equationstool.la
+%{tde_tdelibdir}/kbabel_equationstool.so
+%{tde_tdelibdir}/kbabel_gettextexport.la
+%{tde_tdelibdir}/kbabel_gettextexport.so
+%{tde_tdelibdir}/kbabel_gettextimport.la
+%{tde_tdelibdir}/kbabel_gettextimport.so
+%{tde_tdelibdir}/kbabel_lengthtool.la
+%{tde_tdelibdir}/kbabel_lengthtool.so
+%{tde_tdelibdir}/kbabel_linguistexport.la
+%{tde_tdelibdir}/kbabel_linguistexport.so
+%{tde_tdelibdir}/kbabel_linguistimport.la
+%{tde_tdelibdir}/kbabel_linguistimport.so
+%{tde_tdelibdir}/kbabel_nottranslatedtool.la
+%{tde_tdelibdir}/kbabel_nottranslatedtool.so
+%{tde_tdelibdir}/kbabel_pluraltool.la
+%{tde_tdelibdir}/kbabel_pluraltool.so
+%{tde_tdelibdir}/kbabel_punctuationtool.la
+%{tde_tdelibdir}/kbabel_punctuationtool.so
+%{tde_tdelibdir}/kbabel_regexptool.la
+%{tde_tdelibdir}/kbabel_regexptool.so
+%{tde_tdelibdir}/kbabel_setfuzzytool.la
+%{tde_tdelibdir}/kbabel_setfuzzytool.so
+%{tde_tdelibdir}/kbabel_whitespacetool.la
+%{tde_tdelibdir}/kbabel_whitespacetool.so
+%{tde_tdelibdir}/kbabel_xliffexport.la
+%{tde_tdelibdir}/kbabel_xliffexport.so
+%{tde_tdelibdir}/kbabel_xliffimport.la
+%{tde_tdelibdir}/kbabel_xliffimport.so
+%{tde_tdelibdir}/kbabel_xmltool.la
+%{tde_tdelibdir}/kbabel_xmltool.so
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.la
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.so
+%{tde_tdelibdir}/kbabeldict_poauxiliary.la
+%{tde_tdelibdir}/kbabeldict_poauxiliary.so
+%{tde_tdelibdir}/kbabeldict_pocompendium.la
+%{tde_tdelibdir}/kbabeldict_pocompendium.so
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.la
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.so
+%{tde_tdeappdir}/catalogmanager.desktop
+%{tde_tdeappdir}/kbabel.desktop
+%{tde_tdeappdir}/kbabeldict.desktop
+%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc
+%{tde_datadir}/apps/kbabel/
+%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd
+%{tde_datadir}/apps/kconf_update/kbabel-project.upd
+%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd
+%{tde_datadir}/config.kcfg/kbabel.kcfg
+%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg
+%{tde_tdedocdir}/HTML/en/kbabel/
+%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabel.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png
+%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/locolor/*/apps/kbabel.png
+%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png
+%{tde_datadir}/services/dbsearchengine.desktop
+%{tde_datadir}/services/kfile_po.desktop
+%{tde_datadir}/services/pothumbnail.desktop
+%{tde_datadir}/services/kbabel_accelstool.desktop
+%{tde_datadir}/services/kbabel_argstool.desktop
+%{tde_datadir}/services/kbabel_contexttool.desktop
+%{tde_datadir}/services/kbabel_equationstool.desktop
+%{tde_datadir}/services/kbabel_gettext_export.desktop
+%{tde_datadir}/services/kbabel_gettext_import.desktop
+%{tde_datadir}/services/kbabel_lengthtool.desktop
+%{tde_datadir}/services/kbabel_linguist_export.desktop
+%{tde_datadir}/services/kbabel_linguist_import.desktop
+%{tde_datadir}/services/kbabel_nottranslatedtool.desktop
+%{tde_datadir}/services/kbabel_pluralformstool.desktop
+%{tde_datadir}/services/kbabel_punctuationtool.desktop
+%{tde_datadir}/services/kbabel_regexptool.desktop
+%{tde_datadir}/services/kbabel_setfuzzytool.desktop
+%{tde_datadir}/services/kbabel_whitespacetool.desktop
+%{tde_datadir}/services/kbabel_xliff_export.desktop
+%{tde_datadir}/services/kbabel_xliff_import.desktop
+%{tde_datadir}/services/kbabel_xmltool.desktop
+%{tde_datadir}/services/pocompendium.desktop
+%{tde_datadir}/services/poauxiliary.desktop
+%{tde_datadir}/services/tmxcompendium.desktop
+%{tde_datadir}/servicetypes/kbabel_tool.desktop
+%{tde_datadir}/servicetypes/kbabel_validator.desktop
+%{tde_datadir}/servicetypes/kbabeldict_module.desktop
+%{tde_datadir}/servicetypes/kbabelfilter.desktop
+
+%post -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbabel-devel
+Summary: PO-file editing suite for Trinity (development files)
+Group: Development/Libraries
+Requires: trinity-kbabel = %{version}-%{release}
+
+%description -n trinity-kbabel-devel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package contains the KBabel development files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbabel-devel
+%{tde_includedir}/kbabel/
+%{tde_libdir}/libkbabelcommon.la
+%{tde_libdir}/libkbabelcommon.so
+%{tde_libdir}/libkbabeldictplugin.la
+%{tde_libdir}/libkbabeldictplugin.so
+
+%post -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kbugbuster
+Summary: a front end for the Trinity bug tracking system
+Group: Development/Utilities
+
+%description -n trinity-kbugbuster
+KBugBuster is a GUI front end for the TDE bug tracking system.
+It allows the user to view and manipulate bug reports and provides a
+variety of options for searching through reports.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbugbuster
+%{tde_bindir}/kbugbuster
+%{tde_tdelibdir}/kcal_bugzilla.la
+%{tde_tdelibdir}/kcal_bugzilla.so
+%{tde_tdeappdir}/kbugbuster.desktop
+%{tde_datadir}/apps/kbugbuster/
+%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png
+%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png
+%{tde_datadir}/services/kresources/kcal/bugzilla.desktop
+%{tde_tdedocdir}/HTML/en/kbugbuster/
+
+%post -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind
+Summary: visualisation tool for valgrind profiling output
+Group: Development/Utilities
+
+%description -n trinity-tdecachegrind
+KCachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+For visualising the output from other profiling tools, several converters
+can be found in the tdecachegrind-converters package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind
+%{tde_bindir}/kcachegrind
+%{tde_tdeappdir}/kcachegrind.desktop
+%{tde_datadir}/apps/kcachegrind/
+%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png
+%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png
+%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop
+%{tde_tdedocdir}/HTML/en/kcachegrind/
+
+%post -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind-converters
+Summary: format converters for KCachegrind profiling visualisation tool
+Group: Development/Utilities
+Requires: php-cli
+Requires: python
+
+%description -n trinity-tdecachegrind-converters
+This is a collection of scripts for converting the output from
+different profiling tools into a format that KCachegrind can use.
+
+KCachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind-converters
+%{tde_bindir}/dprof2calltree
+%{tde_bindir}/hotshot2calltree
+%{tde_bindir}/memprof2calltree
+%{tde_bindir}/op2calltree
+%{tde_bindir}/pprof2calltree
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file dialog plugins for software development files
+Group: Environment/Libraries
+
+%description kfile-plugins
+This is a collection of plugins for the TDE file dialog. These plugins
+extend the file dialog to offer advanced meta-information for source files,
+patch files and Qt Linguist data.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files kfile-plugins
+%{tde_tdelibdir}/kfile_cpp.so
+%{tde_tdelibdir}/kfile_cpp.la
+%{tde_tdelibdir}/kfile_diff.so
+%{tde_tdelibdir}/kfile_diff.la
+%{tde_tdelibdir}/kfile_ts.so
+%{tde_tdelibdir}/kfile_ts.la
+%{tde_datadir}/services/kfile_cpp.desktop
+%{tde_datadir}/services/kfile_diff.desktop
+%{tde_datadir}/services/kfile_h.desktop
+%{tde_datadir}/services/kfile_ts.desktop
+
+##########
+
+%package misc
+Summary: various goodies from the Trinity Software Development Kit
+Group: Development/Libraries
+
+%description misc
+This package contains miscellaneous goodies provided with the official
+TDE release to assist with TDE software development.
+
+Included are:
+- headers to assist with profiling TDE code;
+- a widget style for checking conformity with the TDE/Qt style guide;
+- palettes that match the KDE standard colour palette;
+- a TDE address book plugin that reads the list of TDE CVS accounts.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files misc
+%{tde_includedir}/kprofilemethod.h
+%{tde_tdelibdir}/kabcformat_kdeaccounts.la
+%{tde_tdelibdir}/kabcformat_kdeaccounts.so
+%{tde_tdelibdir}/scheck.so
+%{tde_tdelibdir}/scheck.la
+%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop
+%{tde_datadir}/apps/kstyle/themes/scheck.themerc
+%{tde_datadir}/kdepalettes/
+
+%{tde_libdir}/libkstartperf.so.*
+%{tde_libdir}/libkstartperf.so
+%{tde_libdir}/libkstartperf.la
+%{tde_bindir}/kstartperf
+
+%post misc
+/sbin/ldconfig || :
+
+%postun misc
+/sbin/ldconfig || :
+
+##########
+
+%package scripts
+Summary: a set of useful development scripts for Trinity
+Group: Development/Utilities
+Requires: python
+
+%description scripts
+This package contains a number of scripts which can be used to help in
+developing TDE-based applications. Many of these scripts however are
+not specific to TDE, and in particular there are several general-use
+scripts to help users in working with SVN and CVS repositories.
+
+In addition to these scripts, this package provides:
+- gdb macros for Qt/TDE programming;
+- vim and emacs helper files for Qt/TDE programming;
+- bash and zsh completion controls for TDE apps;
+- valgrind error suppressions for TDE apps.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files scripts
+%{tde_bindir}/adddebug
+%{tde_bindir}/build-progress.sh
+%{tde_bindir}/cheatmake
+%{tde_bindir}/create_cvsignore
+%{tde_bindir}/create_makefile
+%{tde_bindir}/create_makefiles
+%{tde_bindir}/cvs-clean
+%{tde_bindir}/cvs2dist
+%{tde_bindir}/cvsbackport
+%{tde_bindir}/cvsblame
+%{tde_bindir}/cvscheck
+%{tde_bindir}/cvsforwardport
+%{tde_bindir}/cvslastchange
+%{tde_bindir}/cvslastlog
+%{tde_bindir}/cvsrevertlast
+%{tde_bindir}/cvsversion
+%{tde_bindir}/cxxmetric
+%{tde_bindir}/extend_dmalloc
+%{tde_bindir}/extractattr
+%{tde_bindir}/extractrc
+%{tde_bindir}/findmissingcrystal
+%{tde_bindir}/fixkdeincludes
+%{tde_bindir}/fixuifiles
+%{tde_bindir}/includemocs
+%{tde_bindir}/kde-build
+%{tde_bindir}/kdedoc
+%{tde_bindir}/kdekillall
+%{tde_bindir}/kdelnk2desktop.py*
+%{tde_bindir}/kdemangen.pl
+%{tde_bindir}/makeobj
+%{tde_bindir}/noncvslist
+%{tde_bindir}/package_crystalsvg
+%{tde_bindir}/png2mng.pl
+%{tde_bindir}/pruneemptydirs
+%{tde_bindir}/qtdoc
+%{tde_bindir}/zonetab2pot.py*
+%{tde_bindir}/svn2dist
+%{tde_bindir}/svnrevertlast
+%{tde_bindir}/svnforwardport
+%{tde_bindir}/nonsvnlist
+%{tde_bindir}/[kt]desvn-build
+%{tde_bindir}/svnlastlog
+%{tde_bindir}/svnversions
+%{tde_bindir}/create_svnignore
+%{tde_bindir}/svnlastchange
+%{tde_bindir}/colorsvn
+%{tde_bindir}/svnaddcurrentdir
+%{tde_bindir}/svnbackport
+%{tde_bindir}/svngettags
+%{tde_bindir}/svnchangesince
+%{tde_bindir}/svn-clean
+%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml
+%{tde_mandir}/man1/cvsblame.1
+%{tde_mandir}/man1/cvscheck.1
+%{tde_mandir}/man1/cvsversion.1
+%{tde_mandir}/man1/kde-build.1
+%{tde_mandir}/man1/includemocs.1
+%{tde_mandir}/man1/noncvslist.1
+%{tde_mandir}/man1/[kt]desvn-build.1
+%{tde_tdedocdir}/HTML/en/[kt]desvn-build/
+#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts
+#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts
+#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts
+#scripts/kde.supp /opt/trinity/lib/valgrind
+#scripts/completions /opt/trinity/share/tdesdk-scripts
+
+#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/
+
+%if "%{?_prefix}" != "/usr"
+%{tde_bindir}/licensecheck
+%else
+%exclude %{tde_bindir}/licensecheck
+%endif
+
+##########
+
+%package -n trinity-kmtrace
+Summary: a Trinity memory leak tracer
+Group: Development/Utilities
+Requires: less
+
+%description -n trinity-kmtrace
+KMtrace is a TDE tool to assist with malloc debugging using glibc's
+"mtrace" functionality.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kmtrace
+%{tde_bindir}/demangle
+%{tde_bindir}/kminspector
+%{tde_bindir}/kmmatch
+%{tde_bindir}/kmtrace
+#%{tde_tdeincludedir}/ktrace.h
+%{tde_libdir}/kmtrace/libktrace.la
+%{tde_libdir}/kmtrace/libktrace.so
+%{tde_libdir}/libktrace_s.a
+%{tde_datadir}/apps/kmtrace/kde.excludes
+
+##########
+
+%package -n trinity-kompare
+Summary: a Trinity GUI for viewing differences between files
+Group: Development/Utilities
+
+%description -n trinity-kompare
+Kompare is a graphical user interface for viewing the differences between
+files. It can compare two documents, create a diff file, display a diff
+file and/or blend a diff file back into the original documents.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kompare
+%{tde_bindir}/kompare
+%{tde_libdir}/libkompareinterface.la
+%{tde_libdir}/libkompareinterface.so
+#%{tde_libdir}/libkompareinterface.so.*
+%{tde_tdelibdir}/libkomparenavtreepart.la
+%{tde_tdelibdir}/libkomparenavtreepart.so
+%{tde_tdelibdir}/libkomparepart.la
+%{tde_tdelibdir}/libkomparepart.so
+%{tde_tdeappdir}/kompare.desktop
+%{tde_datadir}/apps/kompare/komparepartui.rc
+%{tde_datadir}/apps/kompare/kompareui.rc
+%{tde_datadir}/services/komparenavtreepart.desktop
+%{tde_datadir}/services/komparepart.desktop
+%{tde_datadir}/servicetypes/komparenavigationpart.desktop
+%{tde_datadir}/servicetypes/kompareviewpart.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kompare.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz
+%{tde_tdedocdir}/HTML/en/kompare/
+
+%post -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kspy
+Summary: examines the internal state of a Qt/TDE app
+Group: Environment/Libraries
+Requires: trinity-tdelibs-devel
+
+%description -n trinity-kspy
+KSpy is a tiny library which can be used to graphically display
+the QObjects in use by a Qt/TDE app. In addition to the object tree,
+you can also view the properties, signals and slots of any QObject.
+
+Basically it provides much the same info as QObject::dumpObjectTree() and
+QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has
+minimal overhead for the application, because the kspy library is
+loaded dynamically using KLibLoader.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kspy
+%{tde_includedir}/kspy.h
+%{tde_libdir}/libkspy.la
+%{tde_libdir}/libkspy.so
+%{tde_libdir}/libkspy.so.*
+
+%post -n trinity-kspy
+/sbin/ldconfig || :
+
+%postun -n trinity-kspy
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kuiviewer
+Summary: viewer for Qt Designer user interface files
+Group: Development/Utilities
+
+%description -n trinity-kuiviewer
+KUIViewer is a utility to display and test the user interface (.ui) files
+generated by Qt Designer. The interfaces can be displayed in a variety of
+different widget styles.
+
+The Qt Designer itself is in the package qt3-designer.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kuiviewer
+%{tde_bindir}/kuiviewer
+%{tde_tdelibdir}/libkuiviewerpart.so
+%{tde_tdelibdir}/libkuiviewerpart.la
+%{tde_tdelibdir}/quithumbnail.so
+%{tde_tdelibdir}/quithumbnail.la
+%{tde_tdeappdir}/kuiviewer.desktop
+%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc
+%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc
+%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png
+%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png
+%{tde_datadir}/services/designerthumbnail.desktop
+%{tde_datadir}/services/kuiviewer_part.desktop
+
+%post -n trinity-kuiviewer
+for f in hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-kuiviewer
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-libcvsservice0
+Summary: DCOP service for accessing CVS repositories
+Group: Environment/Libraries
+Requires: cvs
+
+%description -n trinity-libcvsservice0
+This library provides a DCOP service for accessing and working with
+remote CVS repositories. Applications may link with this library to
+access the DCOP service directly from C++. Alternatively, scripts may
+access the service using the standard "dcop" command-line tool.
+
+DCOP is the Desktop Communication Protocol used throughout TDE.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice0
+%{tde_bindir}/cvsaskpass
+%{tde_bindir}/cvsservice
+%{tde_libdir}/libcvsservice.so.*
+%{tde_libdir}/lib[kt]deinit_cvsaskpass.so
+%{tde_libdir}/lib[kt]deinit_cvsservice.so
+%{tde_tdelibdir}/cvsaskpass.la
+%{tde_tdelibdir}/cvsaskpass.so
+%{tde_tdelibdir}/cvsservice.la
+%{tde_tdelibdir}/cvsservice.so
+%{tde_datadir}/services/cvsservice.desktop
+
+%post -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libcvsservice-devel
+Summary: development files for CVS DCOP service
+Group: Development/Libraries
+Requires: trinity-libcvsservice0 = %{version}-%{release}
+
+%description -n trinity-libcvsservice-devel
+The library libcvsservice provides a DCOP service for accessing and
+working with remote CVS repositories. Applications may link with this
+library to access the DCOP service directly from C++. Alternatively,
+scripts may access the service using the standard "dcop" command-line
+tool.
+
+Development files for libcvsservice are included in this package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice-devel
+%{tde_includedir}/cvsjob_stub.h
+%{tde_includedir}/cvsservice_stub.h
+%{tde_includedir}/repository_stub.h
+%{tde_libdir}/libcvsservice.la
+%{tde_libdir}/libcvsservice.so
+%{tde_libdir}/lib[kt]deinit_cvsaskpass.la
+%{tde_libdir}/lib[kt]deinit_cvsservice.la
+%{tde_datadir}/cmake/cervisia.cmake
+
+%post -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-poxml
+Summary: tools for using PO-files to translate DocBook XML files
+Group: Development/Utilities
+
+%description -n trinity-poxml
+This is a collection of tools that facilitate translating DocBook XML
+files using gettext message files (PO-files).
+
+Also included are some miscellaneous command-line utilities for
+manipulating DocBook XML files, PO-files and PO-template files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-poxml
+%{tde_bindir}/po2xml
+%{tde_bindir}/split2po
+%{tde_bindir}/swappo
+%{tde_bindir}/transxx
+%{tde_bindir}/xml2pot
+
+##########
+
+%package -n trinity-umbrello
+Summary: UML modelling tool and code generator
+Group: Development/Utilities
+
+%description -n trinity-umbrello
+Umbrello UML Modeller is a Unified Modelling Language editor for TDE.
+With UML you can create diagrams of software and other systems in an
+industry standard format. Umbrello can also generate code from your
+UML diagrams in a number of programming languages.
+
+The program supports class diagrams, sequence diagrams, collaboration
+diagrams, use case diagrams, state diagrams, activity diagrams, component
+diagrams and deployment diagrams.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-umbrello
+%{tde_bindir}/umbodoc
+%{tde_bindir}/umbrello
+%{tde_tdeappdir}/umbrello.desktop
+%{tde_datadir}/apps/umbrello/
+%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz
+%{tde_datadir}/icons/hicolor/*/apps/umbrello.png
+%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz
+%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png
+%{tde_datadir}/mimelnk/application/x-umbrello.desktop
+%{tde_tdedocdir}/HTML/en/umbrello/
+
+%post -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kio-plugins
+Summary: subversion ioslave for Trinity
+Group: Environment/Libraries
+Requires: subversion
+
+%description kio-plugins
+This package provides easy access to remote SVN repositories from within
+Konqueror, and TDE generally, by browsing them as if they were a
+filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files kio-plugins
+%{tde_bindir}/kio_svn_helper
+%{tde_tdelibdir}/kded_ksvnd.la
+%{tde_tdelibdir}/kded_ksvnd.so
+%{tde_tdelibdir}/kio_svn.la
+%{tde_tdelibdir}/kio_svn.so
+%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop
+%{tde_datadir}/services/kded/ksvnd.desktop
+%{tde_datadir}/services/svn+file.protocol_tdesdk
+%{tde_datadir}/services/svn+http.protocol_tdesdk
+%{tde_datadir}/services/svn+https.protocol_tdesdk
+%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%{tde_datadir}/services/svn.protocol_tdesdk
+%{tde_datadir}/services/svn+file.protocol
+%{tde_datadir}/services/svn+http.protocol
+%{tde_datadir}/services/svn+https.protocol
+%{tde_datadir}/services/svn+ssh.protocol
+%{tde_datadir}/services/svn.protocol
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz
+
+%post kio-plugins
+for f in crystalsvg ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+
+for proto in svn+file svn+http svn+https svn+ssh svn; do
+ alternatives --install \
+ %{tde_datadir}/services/${proto}.protocol \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk \
+ 10
+done
+
+%postun kio-plugins
+for f in crystalsvg ; do
+ touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%preun kio-plugins
+if [ $1 -eq 0 ]; then
+ for proto in svn+file svn+http svn+https svn+ssh svn; do
+ alternatives --remove \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk
+ done
+fi
+
+##########
+
+%package -n trinity-kunittest
+Summary: unit testing library for Trinity
+Group: Development/Utilities
+
+%description -n trinity-kunittest
+KUnitTest is a small library that facilitates the writing of tests for
+TDE developers. There are two ways to use the KUnitTest library. One is
+to create dynamically loadable modules and use the kunittestmodrunner or
+kunittestguimodrunner programs to run the tests. The other is to use the
+libraries to create your own testing application.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kunittest
+%{tde_bindir}/kunittest
+%{tde_bindir}/kunittest_debughelper
+%{tde_bindir}/kunittestmod
+%{tde_bindir}/kunittestguimodrunner
+%{tde_libdir}/libkunittestgui.la
+%{tde_libdir}/libkunittestgui.so
+#%{tde_libdir}/libkunittestgui.so.*
+%{tde_includedir}/kunittest/runnergui.h
+
+%post -n trinity-kunittest
+/sbin/ldconfig || :
+
+%postun -n trinity-kunittest
+/sbin/ldconfig || :
+
+##########
+
%package devel
-Summary: Development files for %{name}
-Group: Development/Libraries
-Provides: trinity-kdesdk-devel = %{version}-%{release}
-Requires: %{name}-libs = %{version}-%{release}
-Requires: trinity-kdelibs-devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-kbabel-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdesdk-devel < %{version}-%{release}
+Provides: trinity-kdesdk-devel = %{version}-%{release}
+
%description devel
%{summary}.
-%package libs
-Summary: %{name} runtime libraries
-Group: System Environment/Libraries
-Requires: trinity-kdelibs
-# helps multilib upgrades
-Obsoletes: %{name} < %{version}-%{release}
-# include to be paranoid, installing libs-only is still mostly untested -- Rex
-Requires: %{name} = %{version}-%{release}
-%description libs
-%{summary}.
+%files devel
+
+##########
%prep
%setup -q -n kdesdk
%patch1 -p1 -b .subversion
-
+%patch2 -p1 -b .cmake
+%patch3 -p1 -b .cmake
+%patch4 -p1 -b .ftbfs
+%patch5 -p1 -b .svn
%build
unset QTDIR || :; . /etc/profile.d/qt.sh
-export PATH="%{_bindir}:${PATH}"
-export LD_LIBRARY_PATH="%{_libdir}"
-export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
-export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
+export PATH="%{tde_bindir}:${PATH}"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
-%__mkdir build
-cd build
+%{?!mgaversion:%__mkdir build; cd build}
%cmake \
- -DWITH_DBSEARCHENGINE=OFF \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_DBSEARCHENGINE=ON \
+ -DWITH_KCAL=ON \
-DBUILD_ALL=ON \
..
@@ -114,18 +1060,14 @@ cd build
%install
-export PATH="%{_bindir}:${PATH}"
+export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{?buildroot} -C build
-desktop-file-install --vendor "" \
- --dir %{buildroot}%{_datadir}/applications/kde \
- %{buildroot}%{_datadir}/applications/kde/*.desktop \
-
# make symlinks relative
-if [ -d %{buildroot}%{tde_docdir}/HTML/en ]; then
- pushd %{buildroot}%{tde_docdir}/HTML/en
+if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then
+ pushd %{buildroot}%{tde_tdedocdir}/HTML/en
for i in *; do
if [ -d $i -a -L $i/common ]; then
rm -f $i/common
@@ -135,9 +1077,22 @@ if [ -d %{buildroot}%{tde_docdir}/HTML/en ]; then
popd
fi
-%__rm -f %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile \
- %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile.in
+# Installs kdepalettes
+%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes
+# Installs SVN protocols as alternatives
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk
+%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol
+%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol
+%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol
+%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
+%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
%clean
%__rm -rf %{buildroot}
@@ -146,66 +1101,20 @@ fi
# trick to replace a dir by a symlink -- Rex
%pre
if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then
- rm -rf %{tde_docdir}/HTML/en/cervisia/common ||:
+ rm -rf %{tde_tdedocdir}/HTML/en/cervisia/common ||:
fi
-%post
-for f in crystalsvg hicolor locolor ; do
- touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%postun
-for f in crystalsvg hicolor locolor ; do
- touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%post libs -p /sbin/ldconfig
-
-%postun libs -p /sbin/ldconfig
-
-
-%files
-%defattr(-,root,root,-)
-%{_bindir}/*
-%{tde_docdir}/HTML/en/*
-%{_datadir}/apps/*
-#%{_datadir}/mimelnk/application/*
-%{_datadir}/services/*
-%{_datadir}/servicetypes/*
-%{_datadir}/icons/crystalsvg/*/*/*
-%{_datadir}/icons/hicolor/*/*/*
-%{_datadir}/icons/locolor/*/*/*
-%{_datadir}/applications/kde/*
-%{_datadir}/config.kcfg/*
-%{tde_libdir}/*
-%{_libdir}/libkdeinit_*.so
-#%{_mandir}/man1/*
-
-# Removes conflict with package 'rpmdevtool' on RHEL 6
-%if "%{_prefix}" == "/usr"
-%exclude %{_bindir}/licensecheck
-%endif
-
-%files libs
-%defattr(-,root,root,-)
-%{_libdir}/lib*.so.*
-%{_libdir}/lib*.la
-
-%files devel
-%defattr(-,root,root,-)
-%{_includedir}/*.h
-%{_includedir}/kbabel
-%{_libdir}/lib*.so
-%exclude %{_libdir}/libkdeinit_*.so
-#%{_libdir}/kmtrace/*
-%{_datadir}/cmake/*.cmake
%changelog
+* Sun Jul 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Split into several packages
+- Renames to 'trinity-tdesdk'
+- Add Mageia 2 support
+- cmake port [Commit #bfb0bc00]
+- added forgotten files [Commit #adee843c]
+- installs SVN protocols as alternative to avoid conflict with kdesvn
+
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15