parent
d95dc06620
commit
44523625f9
@ -0,0 +1,172 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 2.8 )
|
||||
|
||||
|
||||
##### general package setup #####################
|
||||
|
||||
project( kdeutils )
|
||||
|
||||
set( PACKAGE kdeutils )
|
||||
set( VERSION R14 )
|
||||
|
||||
|
||||
##### include essential cmake modules ###########
|
||||
|
||||
include( FindPkgConfig )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckSymbolExists )
|
||||
include( CheckFunctionExists )
|
||||
include( CheckCSourceCompiles )
|
||||
include( CheckCXXSourceCompiles )
|
||||
include( CheckTypeSize )
|
||||
|
||||
|
||||
##### include our cmake modules #################
|
||||
|
||||
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
|
||||
include( TDEMacros )
|
||||
|
||||
|
||||
##### setup install paths #######################
|
||||
|
||||
include( TDESetupPaths )
|
||||
tde_setup_paths( )
|
||||
|
||||
|
||||
##### optional stuff ############################
|
||||
|
||||
option( WITH_DPMS "Enable Display Power Management Signaling support" OFF )
|
||||
option( WITH_XSCREENSAVER "Enable xscreensaver support" OFF )
|
||||
option( WITH_ASUS "Enable asus laptop support" OFF )
|
||||
option( WITH_POWERBOOK "Enable powerbook laptop support" OFF )
|
||||
option( WITH_POWERBOOK2 "Enable powerbook2 laptop support" OFF )
|
||||
option( WITH_VAIO "Enable vaio laptop support" OFF )
|
||||
option( WITH_THINKPAD "Enable thinkpad laptop support" OFF )
|
||||
option( WITH_I8K "Enable dell laptop support" OFF )
|
||||
option( WITH_SNMP "Enable SNMP support" OFF )
|
||||
option( WITH_SENSORS "Enable lm_sensors support" OFF )
|
||||
option( WITH_XMMS "Enable xmms support" OFF )
|
||||
option( WITH_KNEWSTUFF "Enable knewstuff support" OFF )
|
||||
|
||||
# option( WITH_NV "Enable nv support" OFF )
|
||||
|
||||
|
||||
##### options comments ##########################
|
||||
|
||||
# WITH_DPMS affects klaptopdaemon
|
||||
# WITH_DPMS description enables the klaptopdaemon to take into account
|
||||
# the state of DPMS X extention to determine is
|
||||
# there any user activity.
|
||||
# WITH_DPMS requires libXext to build
|
||||
# WITH_XSCREENSAVER affects klaptopdaemon
|
||||
# WITH_XSCREENSAVER description this makes klaptopdaemon not to register user
|
||||
# events when screensaver is disabled.
|
||||
# WITH_ASUS affects kmilo
|
||||
# WITH_POWERBOOK affects kmilo
|
||||
# WITH_POWERBOOK requires pbbuttonsd
|
||||
# WITH_POWERBOOK2 affects kmilo
|
||||
# WITH_POWERBOOK2 requires pbbuttonsd
|
||||
# WITH_VAIO affects kmilo
|
||||
# WITH_THINKPAD affects kmilo
|
||||
# WITH_I8K affects kmilo ksim
|
||||
# WITH_SNMP affects ksim
|
||||
# WITH_SENSORS affects ksim
|
||||
# WITH_XMMS affects superkaramba
|
||||
# WITH_XMMS description enables supercaramba applets to gain
|
||||
# information about now playing track etc.
|
||||
# WITH_KNEWSTUFF affects superkaramba
|
||||
# WITH_KNEWSTUFF description enebles support for downloadable content
|
||||
# from kdelooks.
|
||||
# FIXME: test if WITH_KNEWSTUFF works in trinity or not
|
||||
|
||||
# NOTE: In addition to affects DPMS and XScreenSaver backend options for
|
||||
# klaptopdaemon there is some XIdle code but it wasn't compleatly
|
||||
# implemented and disabled permanently.
|
||||
|
||||
# NOTE: WITH_<laptop> options controls what kamilo modules will be build
|
||||
|
||||
# NOTE: WITH_{SENSORS,SNMP,I8K} options for ksim determin which ksim modules
|
||||
# will be build.
|
||||
|
||||
# NOTE: WITH_XMMS doesn't requires xmms2 palayer to be compiled.
|
||||
|
||||
|
||||
##### user requested modules ####################
|
||||
|
||||
option( BUILD_ALL "Build all" OFF )
|
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||
option( BUILD_ARK "Build ark" ${BUILD_ALL} )
|
||||
option( BUILD_CHARSELECTAPPLET "Build charselectapplet" ${BUILD_ALL} )
|
||||
option( BUILD_KCALC "Build kcalc" ${BUILD_ALL} )
|
||||
option( BUILD_KCHARSELECT "Build kcharselect" ${BUILD_ALL} )
|
||||
option( BUILD_KDELIRC "Build kdelirc" ${BUILD_ALL} )
|
||||
option( BUILD_KDESSH "Build kdessh" ${BUILD_ALL} )
|
||||
option( BUILD_KDF "Build kdf" ${BUILD_ALL} )
|
||||
option( BUILD_KEDIT "Build kedit" ${BUILD_ALL} )
|
||||
option( BUILD_KFLOPPY "Build kfloppy" ${BUILD_ALL} )
|
||||
option( BUILD_KGPG "Build kgpg" ${BUILD_ALL} )
|
||||
option( BUILD_KHEXEDIT "Build khexedit" ${BUILD_ALL} )
|
||||
option( BUILD_KJOTS "Build kjots" ${BUILD_ALL} )
|
||||
option( BUILD_KLAPTOPDAEMON "Build klaptopdaemon" ${BUILD_ALL} )
|
||||
option( BUILD_KMILO "Build kmilo" ${BUILD_ALL} )
|
||||
option( BUILD_KREGEXPEDITOR "Build kregexpeditor" ${BUILD_ALL} )
|
||||
option( BUILD_KSIM "Build ksim" ${BUILD_ALL} )
|
||||
option( BUILD_KTIMER "Build ktimer" ${BUILD_ALL} )
|
||||
option( BUILD_KWALLET "Build kwallet" ${BUILD_ALL} )
|
||||
|
||||
option( BUILD_SUPERKARAMBA "Build superkaramba" ${BUILD_ALL} )
|
||||
|
||||
##### configure checks ##########################
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
|
||||
###### global compiler settings #################
|
||||
|
||||
add_definitions(
|
||||
-DHAVE_CONFIG_H
|
||||
)
|
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
|
||||
|
||||
|
||||
##### kdeutils directories ######################
|
||||
|
||||
tde_conditional_add_subdirectory( BUILD_ARK ark )
|
||||
tde_conditional_add_subdirectory( BUILD_DOC doc )
|
||||
tde_conditional_add_subdirectory( BUILD_CHARSELECTAPPLET charselectapplet )
|
||||
tde_conditional_add_subdirectory( BUILD_KCALC kcalc )
|
||||
tde_conditional_add_subdirectory( BUILD_KCHARSELECT kcharselect )
|
||||
tde_conditional_add_subdirectory( BUILD_KDELIRC kdelirc )
|
||||
tde_conditional_add_subdirectory( BUILD_KDESSH kdessh )
|
||||
tde_conditional_add_subdirectory( BUILD_KDF kdf )
|
||||
tde_conditional_add_subdirectory( BUILD_KEDIT kedit )
|
||||
tde_conditional_add_subdirectory( BUILD_KFLOPPY kfloppy )
|
||||
tde_conditional_add_subdirectory( BUILD_KGPG kgpg )
|
||||
tde_conditional_add_subdirectory( BUILD_KHEXEDIT khexedit )
|
||||
tde_conditional_add_subdirectory( BUILD_KJOTS kjots )
|
||||
tde_conditional_add_subdirectory( BUILD_KLAPTOPDAEMON klaptopdaemon )
|
||||
tde_conditional_add_subdirectory( BUILD_KMILO kmilo )
|
||||
tde_conditional_add_subdirectory( BUILD_KREGEXPEDITOR kregexpeditor )
|
||||
tde_conditional_add_subdirectory( BUILD_KSIM ksim )
|
||||
tde_conditional_add_subdirectory( BUILD_KTIMER ktimer )
|
||||
tde_conditional_add_subdirectory( BUILD_KWALLET kwallet )
|
||||
tde_conditional_add_subdirectory( BUILD_SUPERKARAMBA superkaramba )
|
||||
|
||||
|
||||
##### write configure files #####################
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,196 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
##### check for gcc visibility support #########
|
||||
# FIXME
|
||||
# This should check for [T]Qt3 visibility support
|
||||
|
||||
if( WITH_GCC_VISIBILITY )
|
||||
if( NOT UNIX )
|
||||
tde_message_fatal(FATAL_ERROR "\ngcc visibility support was requested, but your system is not *NIX" )
|
||||
endif( NOT UNIX )
|
||||
set( __KDE_HAVE_GCC_VISIBILITY 1 )
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
|
||||
endif( WITH_GCC_VISIBILITY )
|
||||
|
||||
tde_setup_architecture_flags( )
|
||||
|
||||
|
||||
##### ark #######################################
|
||||
|
||||
if( BUILD_ARK )
|
||||
check_symbol_exists( strlcpy string.h HAVE_STRLCPY_PROTO )
|
||||
check_symbol_exists( strlcat string.h HAVE_STRLCAT_PROTO )
|
||||
endif( BUILD_ARK )
|
||||
|
||||
|
||||
##### kcalc #####################################
|
||||
|
||||
if( BUILD_KCALC )
|
||||
check_type_size( "unsigned long" SIZEOF_UNSIGNED_LONG )
|
||||
check_include_file( "stdlib.h" HAVE_STDLIB_H )
|
||||
check_include_file( "ieeefp.h" HAVE_IEEEFP_H )
|
||||
|
||||
# NOTE: this check could be insufficiant for build on some
|
||||
# buggy, very old or unusual system configurations
|
||||
check_type_size( "long double" SIZEOF_LONG_DOUBLE)
|
||||
if( SIZEOF_LONG_DOUBLE )
|
||||
set( HAVE_LONG_DOUBLE 1 )
|
||||
endif( SIZEOF_LONG_DOUBLE )
|
||||
|
||||
set( CMAKE_REQUIRED_LIBRARIES m )
|
||||
check_symbol_exists( "fabsl" "math.h" HAVE_L_FUNCS)
|
||||
check_symbol_exists( "isinf" "math.h" HAVE_FUNC_ISINF)
|
||||
check_symbol_exists( "round" "math.h" HAVE_FUNC_ROUND)
|
||||
check_symbol_exists( "roundl" "math.h" HAVE_FUNC_ROUNDL)
|
||||
|
||||
# also libgmp is requred
|
||||
set( CMAKE_REQUIRED_LIBRARIES gmp )
|
||||
# most functions are defined as macros so we can't use check_library exists
|
||||
check_symbol_exists( "gmp_asprintf" "gmp.h" HAVE_GMPLIB )
|
||||
set( CMAKE_REQUIRED_LIBRARIES )
|
||||
|
||||
if( HAVE_GMPLIB )
|
||||
set( GMP_LIBRARY gmp CACHE INTERNAL "" )
|
||||
else( )
|
||||
tde_message_fatal( "libgmp is required, but was not found on your system" )
|
||||
endif( )
|
||||
endif ( BUILD_KCALC )
|
||||
|
||||
|
||||
##### klaptopdaemon #############################
|
||||
|
||||
if( BUILD_KLAPTOPDAEMON )
|
||||
# stdint.h
|
||||
check_include_file( "stdint.h" HAVE_STDINT_H )
|
||||
if( NOT HAVE_STDINT_H )
|
||||
tde_message_fatal( "stdint.h header is required, but was not found on your system" )
|
||||
endif( NOT HAVE_STDINT_H )
|
||||
|
||||
# xtest
|
||||
pkg_search_module( XTEST xtst )
|
||||
if( XTEST_FOUND )
|
||||
set( HAVE_XTEST 1 )
|
||||
else( XTEST_FOUND )
|
||||
tde_message_fatal( "libXtst is requested, but was not found on your system" )
|
||||
endif( XTEST_FOUND )
|
||||
|
||||
if( WITH_XSCREENSAVER )
|
||||
pkg_search_module( XSCREENSAVER xscrnsaver )
|
||||
if( XSCREENSAVER_FOUND )
|
||||
set( HAVE_XSCREENSAVER 1 )
|
||||
else( XSCREENSAVER_FOUND )
|
||||
tde_message_fatal( "xscreensaver is requested, but was not found on your system" )
|
||||
endif( )
|
||||
endif( WITH_XSCREENSAVER )
|
||||
endif( BUILD_KLAPTOPDAEMON )
|
||||
|
||||
|
||||
##### klaptopdaemon and ksim ####################
|
||||
|
||||
if( ( BUILD_KLAPTOPDAEMON AND WITH_DPMS ) OR ( BUILD_KSIM AND WITH_SENSORS ) )
|
||||
pkg_search_module( XEXT xext )
|
||||
|
||||
if( XEXT_FOUND )
|
||||
if( WITH_DPMS )
|
||||
set( CMAKE_REQUIRED_LIBRARIES ${XEXT_LIBRARIES} )
|
||||
check_symbol_exists( DPMSInfo
|
||||
"X11/Xlib.h;X11/extensions/dpms.h"
|
||||
HAVE_DPMSINFO_PROTO )
|
||||
set( CMAKE_REQUIRED_LIBRARIES )
|
||||
set( HAVE_DPMS 1 )
|
||||
endif( WITH_DPMS )
|
||||
else( XEXT_FOUND )
|
||||
tde_message_fatal( "libXext is requested, but was not found on your system" )
|
||||
endif( XEXT_FOUND )
|
||||
endif( )
|
||||
|
||||
|
||||
##### kmilo #####################################
|
||||
|
||||
if ( BUILD_KMILO )
|
||||
# FIXME: If anybody will ever compile trinity for POWERPC and especialy for
|
||||
# POWERBOOK he should test those checks and modules
|
||||
if( WITH_POWERBOOK )
|
||||
check_include_file( "pbbipc.h" HAVE_PBBIPC_H )
|
||||
if( NOT HAVE_PBBIPC_H )
|
||||
tde_message_fatal( "pbbipc.h header is required, but was not found on your system" )
|
||||
endif( NOT HAVE_PBBIPC_H )
|
||||
endif( WITH_POWERBOOK )
|
||||
|
||||
if( WITH_POWERBOOK2 )
|
||||
check_include_file( "pbb.h" HAVE_PBB_H )
|
||||
if( NOT HAVE_PBB_H )
|
||||
tde_message_fatal( "pbb.h header is required, but was not found on your system" )
|
||||
endif( NOT HAVE_PBB_H )
|
||||
endif( WITH_POWERBOOK2 )
|
||||
|
||||
endif (BUILD_KMILO)
|
||||
|
||||
|
||||
##### ksim ######################################
|
||||
|
||||
if ( BUILD_KSIM )
|
||||
check_include_file( "sys/statvfs.h" HAVE_SYS_STATVFS_H )
|
||||
check_include_file( "sys/statfs.h" HAVE_SYS_STATFS_H )
|
||||
check_include_file( "sys/vfs.h" HAVE_SYS_VFS_H )
|
||||
check_include_file( "sys/mount.h" HAVE_SYS_MOUNT_H )
|
||||
check_include_file( "mntent.h" HAVE_MNTENT_H )
|
||||
check_include_file( "sys/ucred.h" HAVE_SYS_UCRED_H )
|
||||
check_include_file( "sys/mnttab.h" HAVE_SYS_MNTTAB_H )
|
||||
|
||||
check_include_file( "sys/loadavg.h" HAVE_SYS_LOADAVG_H )
|
||||
check_function_exists( getloadavg HAVE_GETLOADAVG )
|
||||
|
||||
check_c_source_compiles(
|
||||
"#include <linux/kernel.h>
|
||||
int main() { struct sysinfo system;
|
||||
int totalhigh = system.totalhigh;
|
||||
int freehigh = system.freehigh; return 0; }"
|
||||
HAVE_SYSINFO_HIGH )
|
||||
|
||||
if( WITH_SNMP )
|
||||
check_include_file( "net-snmp/net-snmp-config.h" HAVE_NET_SNMP_NET_SNMP_CONFIG_H )
|
||||
check_library_exists( netsnmp init_snmp "" HAVE_NETSNMP )
|
||||
if( HAVE_NET_SNMP_NET_SNMP_CONFIG_H AND HAVE_NETSNMP )
|
||||
set( NETSNMP_LIBRARIES netsnmp )
|
||||
else ()
|
||||
tde_message_fatal( "netsnmp is required, but was not found on your system" )
|
||||
endif ()
|
||||
endif( WITH_SNMP )
|
||||
endif ( BUILD_KSIM )
|
||||
|
||||
|
||||
##### superkaramba ##############################
|
||||
|
||||
if ( BUILD_SUPERKARAMBA )
|
||||
check_include_file( "sys/types.h" HAVE_SYS_TYPES_H )
|
||||
|
||||
find_package( PythonLibs )
|
||||
if( NOT PYTHONLIBS_FOUND )
|
||||
tde_message_fatal( "python is required, but was not found on your system" )
|
||||
endif( NOT PYTHONLIBS_FOUND )
|
||||
|
||||
if( WITH_KNEWSTUFF )
|
||||
set( HAVE_KNEWSTUFF 1 )
|
||||
set( KNEWSTUFF_LIBRARIES knewstuff-shared )
|
||||
endif( WITH_KNEWSTUFF )
|
||||
|
||||
if( WITH_XMMS )
|
||||
set( HAVE_XMMS 1 )
|
||||
endif( WITH_XMMS )
|
||||
endif ( BUILD_SUPERKARAMBA )
|
||||
|
||||
|
||||
# required stuff
|
||||
find_package( TQt )
|
||||
find_package( TDE )
|
@ -0,0 +1,85 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( pics )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-D_LARGEFILE64_SOURCE
|
||||
)
|
||||
|
||||
|
||||
##### ark_common (static) #######################
|
||||
|
||||
tde_add_library( ark_common STATIC_PIC
|
||||
SOURCES settings.kcfgc archiveformatinfo.cpp
|
||||
)
|
||||
|
||||
|
||||
##### ark (kdeinit) #############################
|
||||
|
||||
tde_add_kdeinit_executable( ark AUTOMOC
|
||||
SOURCES main.cpp arkapp.cpp mainwindow.cpp
|
||||
LINK ark_common-static khtml-shared
|
||||
)
|
||||
|
||||
|
||||
##### arkpart (kpart) ###########################
|
||||
|
||||
tde_add_kpart( arkpart AUTOMOC
|
||||
SOURCES ark_part.cpp arkfactory.cpp zip.cpp
|
||||
tar.cpp filelistview.cpp arch.cpp lha.cpp
|
||||
compressedfile.cpp zoo.cpp rar.cpp ar.cpp
|
||||
arkutils.cpp archiveformatdlg.cpp
|
||||
arkwidget.cpp searchbar.cpp addition.ui
|
||||
extraction.ui general.ui arkviewer.cpp
|
||||
sevenzip.cpp extractiondialog.cpp ace.cpp
|
||||
tarlistingthread.cpp arj.cpp
|
||||
LINK ark_common-static khtml-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( ark )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES arkui.rc ark_part.rc
|
||||
ark_part_readonly.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ark
|
||||
)
|
||||
|
||||
install( FILES ark.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES ark_part.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES ark.kcfg
|
||||
DESTINATION ${KCFG_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/ark/icons )
|
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kcharselect_panelapplet (kpart) ###########
|
||||
|
||||
tde_add_kpart( kcharselect_panelapplet AUTOMOC
|
||||
SOURCES charselectapplet.cpp
|
||||
LINK kdeui-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kcharselectapplet.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
|
||||
)
|
||||
|
@ -0,0 +1,92 @@
|
||||
#cmakedefine PACKAGE "@PACKAGE@"
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
// ark
|
||||
|
||||
#cmakedefine HAVE_STRLCPY_PROTO
|
||||
#if !defined(HAVE_STRLCPY_PROTO)
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
# endif
|
||||
unsigned long strlcpy(char*, const char*, unsigned long);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#cmakedefine HAVE_STRLCAT_PROTO
|
||||
#if !defined(HAVE_STRLCAT_PROTO)
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
# endif
|
||||
unsigned long strlcat(char*, const char*, unsigned long);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// NOTE: some macros already defined in python.h so if they
|
||||
// won't be ifdefed they couse superkaramba to
|
||||
// produce lots of warnings.
|
||||
|
||||
|
||||
// kcalc
|
||||
|
||||
@SIZEOF_UNSIGNED_LONG_CODE@
|
||||
|
||||
#if !defined( HAVE_STDLIB_H )
|
||||
#cmakedefine HAVE_STDLIB_H
|
||||
#endif // HAVE_STDLIB_H
|
||||
|
||||
#if !defined( HAVE_LONG_DOUBLE )
|
||||
#cmakedefine HAVE_LONG_DOUBLE
|
||||
#endif // HAVE_LONG_DOUBLE
|
||||
|
||||
#cmakedefine HAVE_L_FUNCS
|
||||
#cmakedefine HAVE_IEEEFP_H
|
||||
#cmakedefine HAVE_FUNC_ISINF
|
||||
#cmakedefine HAVE_FUNC_ROUND
|
||||
#cmakedefine HAVE_FUNC_ROUNDL
|
||||
|
||||
|
||||
// klaptopdaemon
|
||||
|
||||
#if !defined( HAVE_STDINT_H )
|
||||
#cmakedefine HAVE_STDINT_H
|
||||
#endif // HAVE_STDINT_H
|
||||
|
||||
#cmakedefine HAVE_XSCREENSAVER
|
||||
#cmakedefine HAVE_DPMS
|
||||
#cmakedefine HAVE_DPMSINFO_PROTO
|
||||
|
||||
|
||||
// ksim
|
||||
|
||||
#if !defined( HAVE_SYS_STATVFS_H )
|
||||
#cmakedefine HAVE_SYS_STATVFS_H
|
||||
#endif // HAVE_SYS_STATVFS_H
|
||||
|
||||
#cmakedefine HAVE_SYS_STATFS_H
|
||||
#cmakedefine HAVE_SYS_VFS_H
|
||||
#cmakedefine HAVE_SYS_MOUNT_H
|
||||
#cmakedefine HAVE_MNTENT_H
|
||||
#cmakedefine HAVE_SYS_UCRED_H
|
||||
#cmakedefine HAVE_SYS_MNTTAB_H
|
||||
#cmakedefine HAVE_SYS_LOADAVG_H
|
||||
#cmakedefine HAVE_SYSINFO_HIGH
|
||||
|
||||
#if !defined( HAVE_GETLOADAVG )
|
||||
#cmakedefine HAVE_GETLOADAVG
|
||||
#endif // HAVE_GETLOADAVG
|
||||
|
||||
|
||||
// superkaramba
|
||||
|
||||
#cmakedefine HAVE_XMMS
|
||||
#cmakedefine HAVE_KNEWSTUFF
|
||||
|
||||
#if !defined( HAVE_SYS_TYPES_H )
|
||||
#cmakedefine HAVE_SYS_TYPES_H
|
||||
#endif // HAVE_SYS_TYPES_H
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_auto_add_subdirectories( )
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION KRegExpEditor )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION ark )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kcalc )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kcharselect )
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_auto_add_subdirectories( )
|
@ -0,0 +1,14 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION
|
||||
kcontrol/kcmlowbatcrit )
|
||||
|
@ -0,0 +1,14 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION
|
||||
kcontrol/kcmlowbatwarn )
|
||||
|
@ -0,0 +1,14 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kcontrol/laptop
|
||||
)
|
||||
|
@ -0,0 +1,14 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION
|
||||
kcontrol/powerctrl )
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_auto_add_subdirectories( )
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION irkick )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kcmlirc )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kdf )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kedit )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kfloppy )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kgpg )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION khexedit )
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_auto_add_subdirectories( )
|
@ -0,0 +1,14 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION
|
||||
kinfocenter/blockdevices )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kjots )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION ksim )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION ktimer )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION kwallet )
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_create_handbook( DESTINATION superkaramba )
|
||||
|
@ -0,0 +1,67 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( knumber )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/knumber
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/knumber
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-D_ISOC99_SOURCE
|
||||
)
|
||||
|
||||
|
||||
##### kcalc (kdeinit) ###########################
|
||||
|
||||
tde_add_kdeinit_executable( kcalc AUTOMOC
|
||||
SOURCES kcalc.cpp kcalc_button.cpp
|
||||
kcalc_const_button.cpp kcalc_const_menu.cpp
|
||||
kcalc_core.cpp kcalcdisplay.cpp dlabel.cpp
|
||||
stats.cpp colors.ui general.ui constants.ui
|
||||
kcalc_settings.kcfgc
|
||||
LINK kdeui-shared knumber-static
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( kcalc)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kcalcui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kcalc
|
||||
)
|
||||
|
||||
install( FILES kcalc.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kcalcrc.upd
|
||||
DESTINATION ${KCONF_UPDATE_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kcalc.kcfg
|
||||
DESTINATION ${KCFG_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
# FIXME: add optional testing support
|
||||
# add_subdirectory( tests )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-D_GNU_SOURCE
|
||||
-D_ISOC99_SOURCE
|
||||
)
|
||||
|
||||
|
||||
##### knumber (static) ##########################
|
||||
|
||||
tde_add_library( knumber STATIC_PIC
|
||||
SOURCES knumber.cpp knumber_priv.cpp
|
||||
LINK ${GMP_LIBRARY}
|
||||
)
|
||||
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kcalc/knumber
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kcalc/knumber
|
||||
)
|
||||
|
||||
|
||||
##### knumbertest (test) ########################
|
||||
|
||||
tde_add_executable( knumbertest AUTOMOC
|
||||
SOURCES knumbertest.cpp
|
||||
LINK knumber-static kdecore-shared
|
||||
)
|
||||
|
||||
add_test( NAME knumbertest-test
|
||||
COMMAND knumbertest)
|
||||
|
@ -0,0 +1,52 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kcharselect (executable) ##################
|
||||
|
||||
tde_add_executable( kcharselect AUTOMOC
|
||||
SOURCES kcharselectdia.cc main.cc
|
||||
LINK kdeui-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( kcharselect)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kcharselectui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kcharselect
|
||||
)
|
||||
|
||||
install( FILES KCharSelect.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kcharselect.upd
|
||||
DESTINATION ${KCONF_UPDATE_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,17 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( irkick )
|
||||
add_subdirectory( kcmlirc )
|
||||
add_subdirectory( kdelirc )
|
||||
add_subdirectory( profiles )
|
||||
add_subdirectory( remotes )
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/irkick/icons )
|
@ -0,0 +1,60 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( icons )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kdelirc/kdelirc
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kdelirc/kdelirc
|
||||
)
|
||||
|
||||
|
||||
##### irkick_common (static) ####################
|
||||
|
||||
tde_add_library( irkick_common STATIC_PIC AUTOMOC
|
||||
SOURCES irkick.cpp irkick.skel
|
||||
irkick.stub klircclient.cpp
|
||||
LINK kdeui-shared kdelirc-static
|
||||
)
|
||||
|
||||
|
||||
##### irkick (kdeinit) ##########################
|
||||
|
||||
tde_add_kdeinit_executable( irkick AUTOMOC
|
||||
SOURCES main.cpp
|
||||
LINK irkick_common-static
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES irkick.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES irkick.desktop
|
||||
DESTINATION ${AUTOSTART_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( DESTINATION
|
||||
${DATA_INSTALL_DIR}/irkick/icons )
|
@ -0,0 +1,47 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/kdelirc/irkick
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kdelirc/irkick
|
||||
${CMAKE_SOURCE_DIR}/kdelirc/kdelirc
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kdelirc/kdelirc
|
||||
)
|
||||
|
||||
|
||||
##### kcm_kcmlirc (kpart) #######################
|
||||
|
||||
tde_add_kpart( kcm_kcmlirc AUTOMOC
|
||||
SOURCES selectprofile.ui newmode.ui
|
||||
kcmlircbase.ui kcmlirc.cpp addactionbase.ui
|
||||
addaction.cpp kcmlirc.skel editactionbase.ui
|
||||
editmodebase.ui editmode.cpp editaction.cpp
|
||||
modeslist.cpp
|
||||
LINK kdelirc-static kdeui-shared kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kcmlirc.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,32 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kdelirc (static) ##########################
|
||||
|
||||
tde_add_library( kdelirc STATIC_PIC
|
||||
SOURCES iraction.cpp arguments.cpp
|
||||
iractions.cpp prototype.cpp modes.cpp
|
||||
mode.cpp profileserver.cpp remoteserver.cpp
|
||||
)
|
||||
|
@ -0,0 +1,16 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES profile.dtd noatun.profile.xml
|
||||
klauncher.profile.xml konqueror.profile.xml
|
||||
DESTINATION ${DATA_INSTALL_DIR}/profiles
|
||||
)
|
||||
|
@ -0,0 +1,18 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES RM-0010.remote.xml
|
||||
cimr100.remote.xml sherwood.remote.xml
|
||||
hauppauge.remote.xml sonytv.remote.xml
|
||||
remote.dtd
|
||||
DESTINATION ${DATA_INSTALL_DIR}/remotes
|
||||
)
|
||||
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DQT_NO_CAST_ASCII
|
||||
)
|
||||
|
||||
|
||||
##### kdessh (executable) #######################
|
||||
|
||||
tde_add_executable( kdessh AUTOMOC
|
||||
SOURCES kdessh.cpp sshdlg.cpp
|
||||
LINK kdeui-shared kdesu-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,74 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( pics )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kdf_common (static) #######################
|
||||
|
||||
tde_add_library( kdf_common STATIC_PIC AUTOMOC
|
||||
SOURCES kdfwidget.cpp kdfconfig.cpp
|
||||
mntconfig.cpp disklist.cpp disks.cpp
|
||||
listview.cpp optiondialog.cpp stdoption.cpp
|
||||
LINK kdeui-shared kio-shared
|
||||
)
|
||||
|
||||
|
||||
##### kdf (executable) ##########################
|
||||
|
||||
tde_add_executable( kdf AUTOMOC
|
||||
SOURCES kdf.cpp
|
||||
LINK kdf_common-static
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kwikdisk (executable) #####################
|
||||
|
||||
tde_add_executable( kwikdisk AUTOMOC
|
||||
SOURCES kwikdisk.cpp
|
||||
LINK kdf_common-static
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kcm_kdf (kpart) ###########################
|
||||
|
||||
tde_add_kpart( kcm_kdf AUTOMOC
|
||||
SOURCES kcmdf.cpp
|
||||
LINK kdf_common-static
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kdfui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kdf
|
||||
)
|
||||
|
||||
install( FILES kdf.desktop kwikdisk.desktop
|
||||
kcmdf.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,20 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( kdf kcmdf kwikdisk)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES tick.png delete.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kdf/pics
|
||||
)
|
||||
|
@ -0,0 +1,49 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( pixmaps )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kedit (kdeinit) ###########################
|
||||
|
||||
tde_add_kdeinit_executable( kedit AUTOMOC
|
||||
SOURCES kedit.cpp ktextfiledlg.cpp misc.ui
|
||||
color.ui prefs.kcfgc
|
||||
LINK kdeprint-shared
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES keditui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kedit
|
||||
)
|
||||
|
||||
install( FILES KEdit.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kedit.kcfg
|
||||
DESTINATION ${KCFG_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( kedit)
|
||||
|
@ -0,0 +1,49 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kfloppy (executable) ######################
|
||||
|
||||
tde_add_executable( kfloppy AUTOMOC
|
||||
SOURCES main.cpp format.cpp floppy.cpp
|
||||
LINK kdeui-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( kfloppy)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES KFloppy.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES floppy_format.desktop
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/konqueror/servicemenus
|
||||
)
|
||||
|
@ -0,0 +1,81 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( icons )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kgpg (executable) #########################
|
||||
|
||||
tde_add_executable( kgpg AUTOMOC
|
||||
SOURCES kgpgoptions.cpp listkeys.cpp
|
||||
popuppublic.cpp kgpgview.cpp kgpg.cpp
|
||||
main.cpp keygener.cpp kgpginterface.cpp
|
||||
keyservers.cpp keyserver.ui searchres.ui
|
||||
kgpgeditor.cpp detailedconsole.cpp
|
||||
kgpglibrary.cpp kgpgwizard.ui
|
||||
keyproperties.ui conf_encryption.ui
|
||||
conf_decryption.ui conf_gpg.ui dcopiface.skel
|
||||
keyinfowidget.cpp groupedit.ui
|
||||
kgpgrevokewidget.ui newkey.ui adduid.ui
|
||||
keyexport.ui sourceselect.ui
|
||||
kgpgsettings.kcfgc conf_servers.ui
|
||||
conf_ui2.ui conf_misc.ui
|
||||
LINK kabc-shared kutils-shared kdeprint-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( kgpg )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kgpg_anim.gif kgpg_docked.png
|
||||
kgpg_docked.gif kgpg_blank.png kgpg_fill.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kgpg/pics
|
||||
)
|
||||
|
||||
install( FILES kgpg.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kgpg.desktop
|
||||
DESTINATION ${AUTOSTART_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kgpg.rc listkeys.rc tips
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kgpg
|
||||
)
|
||||
|
||||
install( FILES encryptfile.desktop
|
||||
encryptfolder.desktop
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/konqueror/servicemenus
|
||||
)
|
||||
|
||||
install( FILES kgpg.kcfg
|
||||
DESTINATION ${KCFG_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons(
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kgpg/icons )
|
@ -0,0 +1,61 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( pics )
|
||||
add_subdirectory( lib )
|
||||
add_subdirectory( parts )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### khexedit (executable) #####################
|
||||
|
||||
tde_add_executable( khexedit AUTOMOC
|
||||
SOURCES main.cc toplevel.cc hexmanagerwidget.cc
|
||||
hexeditorwidget.cc hextoolwidget.cc
|
||||
hexviewwidget.cc hexbuffer.cc conversion.cc
|
||||
dialog.cc hexvalidator.cc hexclipboard.cc
|
||||
optiondialog.cc printdialogpage.cc
|
||||
statusbarprogress.cc hexprinter.cc
|
||||
hexerror.cc draglabel.cc stringdialog.cc
|
||||
bitswapwidget.cc chartabledialog.cc
|
||||
hexdrag.cc exportdialog.cc fileinfodialog.cc
|
||||
converterdialog.cc listview.cc searchbar.cc
|
||||
LINK kio-shared kdeprint-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( khexedit)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES khexeditui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/khexedit
|
||||
)
|
||||
|
||||
install( FILES khexedit.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,52 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( controller )
|
||||
add_subdirectory( codecs )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/controller
|
||||
${CMAKE_CURRENT_BINARY_DIR}/codecs
|
||||
)
|
||||
|
||||
|
||||
##### khexeditcommon (shared) ###################
|
||||
|
||||
tde_add_library( khexeditcommon SHARED AUTOMOC
|
||||
SOURCES kcolumn.cpp kbordercolumn.cpp
|
||||
koffsetcolumn.cpp kbuffercolumn.cpp
|
||||
kvaluecolumn.cpp kcharcolumn.cpp
|
||||
kcolumnsview.cpp khexedit.cpp kbytesedit.cpp
|
||||
koffsetformat.cpp kdatabuffer.cpp
|
||||
kwrappingrobuffer.cpp kplainbuffer.cpp
|
||||
kfixedsizebuffer.cpp kbigbuffer.cpp
|
||||
kbuffercursor.cpp kbufferlayout.cpp
|
||||
kbufferranges.cpp kcursor.cpp kbufferdrag.cpp
|
||||
kwordbufferservice.cpp ksectionlist.cpp
|
||||
kcoordrangelist.cpp kbordercoltextexport.cpp
|
||||
koffsetcoltextexport.cpp
|
||||
kbuffercoltextexport.cpp
|
||||
kvaluecoltextexport.cpp
|
||||
kcharcoltextexport.cpp
|
||||
LINK kdecore-shared kcontroller-static
|
||||
khecodecs-static
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/khexedit/lib
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### khecodecs (static) ########################
|
||||
|
||||
tde_add_library( khecodecs STATIC_PIC AUTOMOC
|
||||
SOURCES kcharcodec.cpp kbytecodec.cpp
|
||||
ktextcharcodec.cpp kebcdic1047charcodec.cpp
|
||||
kbinarybytecodec.cpp koctalbytecodec.cpp
|
||||
kdecimalbytecodec.cpp
|
||||
khexadecimalbytecodec.cpp
|
||||
)
|
||||
|
@ -0,0 +1,33 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/khexedit/lib
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kcontroller (static) ######################
|
||||
|
||||
tde_add_library( kcontroller STATIC_PIC AUTOMOC
|
||||
SOURCES kcontroller.cpp ktabcontroller.cpp
|
||||
knavigator.cpp keditor.cpp kvalueeditor.cpp
|
||||
kchareditor.cpp
|
||||
)
|
||||
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( kbytesedit )
|
||||
add_subdirectory( kpart )
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/khexedit/lib
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/khexedit/lib
|
||||
)
|
||||
|
||||
|
||||
##### kbyteseditwidget (kpart) ##################
|
||||
|
||||
tde_add_kpart( kbyteseditwidget AUTOMOC
|
||||
SOURCES kbyteseditwidget.cpp
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
LINK khexeditcommon-shared kparts-shared
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbyteseditwidget.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,46 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/khexedit/lib
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/khexedit/lib
|
||||
)
|
||||
|
||||
|
||||
##### khexedit2part (kpart) #####################
|
||||
|
||||
tde_add_kpart( khexedit2part AUTOMOC
|
||||
SOURCES khepart.cpp khebrowserextension.cpp
|
||||
khepartfactory.cpp
|
||||
LINK khexeditcommon-shared kparts-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES khexedit2part.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES khexedit2partui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/khexedit2part
|
||||
)
|
||||
|
@ -0,0 +1,16 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES hexwrite.png hexdrag.png
|
||||
hexmask.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/khexedit/pics
|
||||
)
|
||||
|
@ -0,0 +1,52 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( icons )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kjots (executable) ########################
|
||||
|
||||
tde_add_executable( kjots AUTOMOC
|
||||
SOURCES main.cpp KJotsMain.cpp kjotsentry.cpp
|
||||
kjotsedit.cpp kjotsbookmarks.cpp
|
||||
confpagefont.ui confpagemisc.ui
|
||||
KJotsSettings.kcfgc
|
||||
LINK kdeprint-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kjotsui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kjots
|
||||
)
|
||||
|
||||
install( FILES Kjots.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kjots.kcfg
|
||||
DESTINATION ${KCFG_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,20 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( kjots)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES filedel.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kjots/pics
|
||||
)
|
||||
|
@ -0,0 +1,100 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( pics )
|
||||
add_subdirectory( applnk )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### klaptop_acpi_helper (executable) ##########
|
||||
|
||||
tde_add_executable( klaptop_acpi_helper
|
||||
SOURCES acpi_helper.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### klaptop_check (executable) ################
|
||||
|
||||
tde_add_executable( klaptop_check
|
||||
SOURCES laptop_check.cpp
|
||||
LINK kio-shared kcmlaptop-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kcmlaptop (shared) ########################
|
||||
|
||||
tde_add_library( kcmlaptop SHARED AUTOMOC
|
||||
SOURCES portable.cpp smapidev.c
|
||||
daemon_state.cpp wake_laptop.cpp
|
||||
krichtextlabel.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kcm_laptop (kpart) ########################
|
||||
|
||||
tde_add_kpart( kcm_laptop AUTOMOC
|
||||
SOURCES battery.cpp main.cpp pcmcia.cpp
|
||||
power.cpp warning.cpp acpi.cpp sony.cpp
|
||||
profile.cpp buttons.cpp apm.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/crcresult.h
|
||||
LINK kio-shared kcmlaptop-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
# crcresult.h header is included here cause it is
|
||||
# generated during build time. Otherwice the
|
||||
# dependency on it won't be handeled correctly.
|
||||
|
||||
##### kded_klaptopdaemon (kpart) ################
|
||||
|
||||
tde_add_kpart( kded_klaptopdaemon AUTOMOC
|
||||
SOURCES laptop_daemon.cpp kpcmcia.cpp
|
||||
xautolock.cc kpcmciainfo.cpp daemondock.cpp
|
||||
xautolock_diy.c xautolock_engine.c
|
||||
laptop_daemon.skel
|
||||
LINK kio-shared kcmlaptop-shared
|
||||
kdeinit_kded-shared ${XTEST_LIBRARIES}
|
||||
${XSCREENSAVER_LIBRARIES} ${XEXT_LIBRARIES}
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### crcresult.h (header) ######################
|
||||
# FIXME: that should potentialy break the cross
|
||||
# compilation, If it is possible in
|
||||
# generall.
|
||||
|
||||
add_executable( makecrc makecrc.cpp )
|
||||
target_link_libraries( makecrc z )
|
||||
|
||||
get_target_property( MAKECRC_EXE makecrc LOCATION)
|
||||
|
||||
add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/crcresult.h
|
||||
COMMAND
|
||||
${MAKECRC_EXE} >${CMAKE_CURRENT_BINARY_DIR}/crcresult.h
|
||||
DEPENDS makecrc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
@ -0,0 +1,19 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES laptop.desktop pcmcia.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES klaptopdaemon.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kded
|
||||
)
|
||||
|
@ -0,0 +1,18 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( actions )
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( laptop_battery laptop
|
||||
laptop_pcmcia klaptopdaemon)
|
||||
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons(
|
||||
DESTINATION ${DATA_INSTALL_DIR}/klaptopdaemon/icons
|
||||
)
|
||||
|
@ -0,0 +1,38 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( kmilod )
|
||||
add_subdirectory( generic )
|
||||
|
||||
if( WITH_ASUS )
|
||||
add_subdirectory( asus )
|
||||
endif( WITH_ASUS )
|
||||
|
||||
if( WITH_POWERBOOK AND WITH_POWERBOOK2 )
|
||||
tde_message_fatal( "WITH_POWERBOOK and WITH_POWERBOOK2 cannot be setted concurently" )
|
||||
elseif( WITH_POWERBOOK )
|
||||
add_subdirectory( powerbook )
|
||||
elseif( WITH_POWERBOOK2 )
|
||||
add_subdirectory( powerbook2 )
|
||||
endif( )
|
||||
|
||||
if( WITH_VAIO )
|
||||
add_subdirectory( kmilo_kvaio )
|
||||
endif( WITH_VAIO )
|
||||
|
||||
if( WITH_THINKPAD )
|
||||
add_subdirectory( thinkpad )
|
||||
endif( WITH_THINKPAD )
|
||||
|
||||
if( WITH_I8K )
|
||||
add_subdirectory( delli8k )
|
||||
endif( WITH_I8K )
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kmilo/kmilod
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_asus (kpart) ########################
|
||||
|
||||
tde_add_kpart( kmilo_asus AUTOMOC
|
||||
SOURCES asus.cpp
|
||||
LINK kio-shared kmilo-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_asus.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kmilo/kmilod
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_delli8k (kpart) #####################
|
||||
|
||||
tde_add_kpart( kmilo_delli8k AUTOMOC
|
||||
SOURCES delli8k.cpp
|
||||
LINK kio-shared kmilo-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_delli8k.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_demo (kpart) ########################
|
||||
|
||||
tde_add_kpart( kmilo_demo AUTOMOC
|
||||
SOURCES demo.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_demo.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_generic (kpart) #####################
|
||||
|
||||
tde_add_kpart( kmilo_generic AUTOMOC
|
||||
SOURCES generic_monitor.cpp
|
||||
LINK kio-shared kmilo-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_generic.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,51 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( kcmkvaio )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kmilo/kmilod
|
||||
)
|
||||
|
||||
##### kvaiodriverinterface (shared) #############
|
||||
|
||||
# this object is required by kcmvaio in subdirectory
|
||||
tde_add_library( kvaiodriverinterface STATIC_PIC AUTOMOC
|
||||
SOURCES kvaiodriverinterface.cpp
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_kvaio (kpart) #######################
|
||||
|
||||
tde_add_kpart( kmilo_kvaio AUTOMOC
|
||||
SOURCES kmilo_kvaio.cpp kvaio.cpp
|
||||
LINK kio-shared kmilo-shared
|
||||
kvaiodriverinterface-static
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_kvaio.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilo-vaio
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kmilo/kmilo-vaio
|
||||
)
|
||||
|
||||
|
||||
##### kcm_kvaio (kpart) #########################
|
||||
|
||||
tde_add_kpart( kcm_kvaio AUTOMOC
|
||||
SOURCES kcmkvaio_general.ui main.cpp
|
||||
LINK kdeui-shared kvaiodriverinterface-static
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kvaio.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,54 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kmilo (shared) ############################
|
||||
|
||||
tde_add_library( kmilo SHARED
|
||||
SOURCES monitor.cpp displayskin.cpp
|
||||
VERSION 1.0.0
|
||||
LINK kdecore-shared
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kded_kmilod (kpart) #######################
|
||||
|
||||
tde_add_kpart( kded_kmilod AUTOMOC
|
||||
SOURCES kmilod.cpp kmilod.skel defaultskin.cpp
|
||||
defaultwidget.ui kmilointerface.cpp
|
||||
LINK kio-shared kmilo-shared kdeinit_kded-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilod.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kded
|
||||
)
|
||||
|
||||
install( FILES kmilopluginsvc.desktop
|
||||
DESTINATION ${SERVICETYPES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kmilo/kmilod
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_powerbook (kpart) ###################
|
||||
|
||||
tde_add_kpart( kmilo_powerbook AUTOMOC
|
||||
SOURCES pb_monitor.cpp
|
||||
LINK kio-shared kmilo-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_powerbook.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kmilo/kmilod
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_powerbook (kpart) ###################
|
||||
|
||||
tde_add_kpart( kmilo_powerbook AUTOMOC
|
||||
SOURCES pb_monitor.cpp
|
||||
LINK kio-shared kmilo-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_powerbook.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,43 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( kcmthinkpad )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmilo/kmilod
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kmilo/kmilod
|
||||
)
|
||||
|
||||
|
||||
##### kmilo_thinkpad (kpart) ####################
|
||||
|
||||
tde_add_kpart( kmilo_thinkpad AUTOMOC
|
||||
SOURCES thinkpad.cpp
|
||||
LINK kio-shared kmilo-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kmilo_thinkpad.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
|
||||
)
|
||||
|
@ -0,0 +1,42 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DKDE_BINDIR="${BIN_INSTALL_DIR}"
|
||||
)
|
||||
|
||||
##### kcm_thinkpad (kpart) ######################
|
||||
|
||||
tde_add_kpart( kcm_thinkpad AUTOMOC
|
||||
SOURCES kcmthinkpad_general.ui main.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES thinkpad.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,110 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( KWidgetStreamer )
|
||||
add_subdirectory( KMultiFormListBox )
|
||||
add_subdirectory( picts )
|
||||
add_subdirectory( predefined )
|
||||
|
||||
# FIXME: add optional test compilation
|
||||
# add_subdirectory( test-without-dl )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/KWidgetStreamer
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/KMultiFormListBox
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/KWidgetStreamer
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DQT_NO_CAST_ASCII
|
||||
)
|
||||
|
||||
|
||||
##### kregexpeditor (executable) ################
|
||||
|
||||
tde_add_executable( kregexpeditor AUTOMOC
|
||||
SOURCES main.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
LINK kregexpeditorcommon-shared
|
||||
)
|
||||
|
||||
|
||||
|
||||
##### kregexpeditorcommon (shared) ##############
|
||||
|
||||
tde_add_library( kregexpeditorcommon SHARED AUTOMOC
|
||||
SOURCES kregexpeditorgui.cpp editorwindow.cpp
|
||||
regexpwidget.cpp drag.cpp concwidget.cpp
|
||||
zerowidgets.cpp dragaccepter.cpp
|
||||
repeatwidget.cpp characterswidget.cpp
|
||||
altnwidget.cpp limitedcharlineedit.cpp
|
||||
textregexp.cpp textrangeregexp.cpp
|
||||
concregexp.cpp altnregexp.cpp
|
||||
positionregexp.cpp dotregexp.cpp
|
||||
repeatregexp.cpp textwidget.cpp
|
||||
selectablelineedit.cpp
|
||||
multicontainerwidget.cpp
|
||||
scrollededitorwindow.cpp compoundwidget.cpp
|
||||
singlecontainerwidget.cpp widgetfactory.cpp
|
||||
dcbutton.cpp gen_qregexplexer.cpp
|
||||
gen_qregexpparser.cc charselector.cpp
|
||||
lookaheadregexp.cpp lookaheadwidget.cpp
|
||||
regexp.cpp infopage.cpp
|
||||
kregexpeditorprivate.cpp compoundregexp.cpp
|
||||
auxbuttons.cpp myfontmetrics.cpp
|
||||
regexpbuttons.cpp userdefinedregexps.cpp
|
||||
verifier.cpp verifybuttons.cpp errormap.cpp
|
||||
qtregexphighlighter.cpp regexpconverter.cpp
|
||||
qtregexpconverter.cpp
|
||||
emacsregexpconverter.cpp
|
||||
regexphighlighter.cpp util.cpp
|
||||
VERSION 1.0.0
|
||||
LINK kio-shared kmultiformlistbox-static
|
||||
kwidgetstreamer-static
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
|
||||
##### kregexpeditorgui (kpart) ##################
|
||||
|
||||
tde_add_kpart( kregexpeditorgui AUTOMOC
|
||||
SOURCES kregexpeditorfactory.cpp
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
LINK kregexpeditorcommon-shared
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kregexpeditor.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install( FILES kregexpeditorgui.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,40 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kregexpeditor/KWidgetStreamer
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DQT_NO_CAST_ASCII
|
||||
)
|
||||
|
||||
|
||||
##### kmultiformlistbox (static) ################
|
||||
|
||||
tde_add_library( kmultiformlistbox STATIC_PIC AUTOMOC
|
||||
SOURCES ccp.cpp kmultiformlistboxentry.cpp
|
||||
kmultiformlistbox.cpp
|
||||
kmultiformlistbox-multivisible.cpp
|
||||
kmultiformlistboxfactory.cpp indexWindow.cpp
|
||||
kmultiformlistbox-windowed.cpp
|
||||
widgetwindow.cpp windowlistboxitem.cpp
|
||||
)
|
||||
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kregexpeditor/KMultiFormListBox
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DQT_NO_CAST_ASCII
|
||||
)
|
||||
|
||||
|
||||
##### kwidgetstreamer (static) ##################
|
||||
|
||||
tde_add_library( kwidgetstreamer STATIC_PIC AUTOMOC
|
||||
SOURCES kwidgetstreamer.cpp
|
||||
)
|
||||
|
@ -0,0 +1,20 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES altn.png begline.png compound.png
|
||||
neglookahead.png poslookahead.png select.png
|
||||
wordboundary.png anychar.png characters.png
|
||||
endline.png nonwordboundary.png repeat.png
|
||||
text.png error.png autoverify.png verify.png
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/kregexpeditor/pics
|
||||
)
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( General )
|
@ -0,0 +1,16 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES spaces.regexp anything.regexp
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/kregexpeditor/predefined/general
|
||||
)
|
||||
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kregexpeditor
|
||||
)
|
||||
|
||||
|
||||
##### regexptest (test) #########################
|
||||
|
||||
tde_add_executable( regexptest AUTOMOC
|
||||
SOURCES main.cpp
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
LINK kdeui-shared kregexpeditorcommon-shared
|
||||
)
|
||||
|
||||
add_test( NAME regexptest-test
|
||||
COMMAND regexptest)
|
||||
|
@ -0,0 +1,61 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( themes )
|
||||
add_subdirectory( library )
|
||||
add_subdirectory( monitors )
|
||||
add_subdirectory( pics )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/library
|
||||
)
|
||||
|
||||
|
||||
##### systeminfo (static) #######################
|
||||
|
||||
tde_add_library( systeminfo STATIC_PIC AUTOMOC
|
||||
SOURCES systeminfo.cpp
|
||||
)
|
||||
|
||||
|
||||
##### ksim_panelextension (kpart) ###############
|
||||
|
||||
tde_add_kpart( ksim_panelextension AUTOMOC
|
||||
SOURCES ksim.cpp ksimview.cpp ksimview.skel
|
||||
ksimsysinfo.cpp ksimsysinfo.skel
|
||||
ksimframe.cpp ksimpref.cpp monitorprefs.cpp
|
||||
generalprefs.cpp themeprefs.cpp
|
||||
LINK kio-shared ksimcore-shared systeminfo-static
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES ksim.desktop
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/kicker/extensions
|
||||
)
|
||||
|
||||
install( FILES ksim_panelextensionrc
|
||||
DESTINATION ${CONFIG_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,54 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
project( libksimcore )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### ksimcore (shared) #########################
|
||||
|
||||
tde_add_library( ksimcore SHARED AUTOMOC
|
||||
SOURCES common.cpp themeloader.cpp chart.cpp
|
||||
label.cpp led.cpp progress.cpp
|
||||
pluginglobal.cpp pluginloader.cpp
|
||||
pluginmodule.cpp ksimconfig.cpp
|
||||
VERSION 1.0
|
||||
LINK kdeui-shared
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### headers ###################################
|
||||
|
||||
install( FILES chart.h common.h ksimconfig.h
|
||||
label.h led.h pluginglobal.h pluginloader.h
|
||||
pluginmodule.h progress.h themeloader.h
|
||||
themetypes.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/ksim )
|
||||
|
||||
|
||||
##### install cmake export file #################
|
||||
#
|
||||
# It's not raeally neccessary but I belive it
|
||||
# can be usefull.
|
||||
tde_install_export()
|
||||
|
@ -0,0 +1,28 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( filesystem )
|
||||
add_subdirectory( net )
|
||||
add_subdirectory( cpu )
|
||||
add_subdirectory( disk )
|
||||
|
||||
if( WITH_I8K )
|
||||
add_subdirectory( i8k )
|
||||
endif( WITH_I8K )
|
||||
|
||||
if( WITH_SNMP )
|
||||
add_subdirectory( snmp )
|
||||
endif( WITH_SNMP )
|
||||
|
||||
if( WITH_SENSORS )
|
||||
add_subdirectory( lm_sensors )
|
||||
endif( WITH_SENSORS )
|
||||
|
@ -0,0 +1,46 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
)
|
||||
|
||||
|
||||
##### ksim_cpu (kpart) ##########################
|
||||
|
||||
tde_add_kpart( ksim_cpu AUTOMOC
|
||||
SOURCES ksimcpu.cpp
|
||||
LINK ksimcore-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES cpu.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
)
|
||||
|
||||
|
||||
##### ksim_disk (kpart) #########################
|
||||
|
||||
tde_add_kpart( ksim_disk AUTOMOC
|
||||
SOURCES ksimdisk.cpp
|
||||
LINK ksimcore-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES disk.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,43 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
)
|
||||
|
||||
|
||||
##### ksim_filesystem (kpart) ###################
|
||||
|
||||
tde_add_kpart( ksim_filesystem AUTOMOC
|
||||
SOURCES ksimfsystem.cpp fsystemconfig.cpp
|
||||
fsystemiface.skel filesystemwidget.cpp
|
||||
filesystemstats.cpp
|
||||
LINK ksimcore-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES DFree.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
)
|
||||
|
||||
|
||||
##### ksim_i8k (kpart) ##########################
|
||||
|
||||
tde_add_kpart( ksim_i8k AUTOMOC
|
||||
SOURCES ksimi8k.cpp
|
||||
LINK ksimcore-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES i8k.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,49 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
)
|
||||
|
||||
|
||||
##### ksim_sensors (kpart) ######################
|
||||
|
||||
#FIXME: make it optional but it requires some source code fixes
|
||||
# so it will be a separate patch
|
||||
# if( WITH_NV )
|
||||
set(NVCTRL_SOURCES NVCtrl.c)
|
||||
# endif( WITH_NV )
|
||||
|
||||
tde_add_kpart( ksim_sensors AUTOMOC
|
||||
SOURCES ksimsensors.cpp sensorsconfig.cpp
|
||||
sensorbase.cpp ksimsensorsiface.skel
|
||||
${NVCTRL_SOURCES}
|
||||
LINK ksimcore-shared ${XEXT_LIBRARIES}
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES Lm_sensors.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### ksim_mail (kpart) #########################
|
||||
|
||||
tde_add_kpart( ksim_mail AUTOMOC
|
||||
SOURCES ksimmail.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES mail.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
)
|
||||
|
||||
|
||||
##### ksim_net (kpart) ##########################
|
||||
|
||||
tde_add_kpart( ksim_net AUTOMOC
|
||||
SOURCES ksimnet.cpp netdialog.cpp netconfig.cpp
|
||||
LINK ksimcore-shared kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES Net.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,51 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/ksim/library
|
||||
)
|
||||
|
||||
|
||||
##### ksim_snmp (kpart) #########################
|
||||
|
||||
tde_add_kpart( ksim_snmp AUTOMOC
|
||||
SOURCES plugin.cpp view.cpp configpage.cpp
|
||||
configwidget.ui snmp.cpp hostdialogbase.ui
|
||||
hostdialog.cpp value.cpp monitor.cpp
|
||||
monitordialogbase.ui monitordialog.cpp
|
||||
labelmonitor.cpp chartmonitor.cpp
|
||||
identifier.cpp monitorconfig.cpp
|
||||
hostconfig.cpp session.cpp probedialog.cpp
|
||||
snmplib.cpp pdu.cpp proberesultdialogbase.ui
|
||||
proberesultdialog.cpp browsedialogbase.ui
|
||||
browsedialog.cpp walker.cpp
|
||||
LINK kio-shared ksimcore-shared
|
||||
${NETSNMP_LIBRARIES}
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES Snmp.desktop
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
|
||||
)
|
||||
|
@ -0,0 +1,17 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( misc )
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( )
|
||||
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES clock.png uptime.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/ksim/pics
|
||||
)
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( ksim )
|
@ -0,0 +1,31 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( host )
|
||||
add_subdirectory( mail )
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES decal_net_leds.png
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/ksim/themes/ksim/net
|
||||
)
|
||||
|
||||
install( FILES bg_grid.png bg_panel.png
|
||||
krell_meter.png krell_slider.png bg_chart.png
|
||||
bg_meter.png gkrellmrc gkrellmrc_ksim
|
||||
krell_panel.png frame_top.png
|
||||
frame_bottom.png frame_left.png
|
||||
frame_right.png
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/ksim/themes/ksim
|
||||
)
|
||||
|
@ -0,0 +1,16 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES bg_meter.png
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/ksim/themes/ksim/host
|
||||
)
|
||||
|
@ -0,0 +1,17 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES decal_mail.png
|
||||
krell_mail_daemon.png krell_mail.png
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/ksim/themes/ksim/mail
|
||||
)
|
||||
|
@ -0,0 +1,44 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### ktimer (executable) #######################
|
||||
|
||||
tde_add_executable( ktimer AUTOMOC
|
||||
SOURCES main.cpp ktimer.cpp prefwidget.ui
|
||||
LINK kio-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( ktimer)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES ktimer.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,55 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( konfigurator )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kwalletmanager (executable) ###############
|
||||
|
||||
tde_add_executable( kwalletmanager AUTOMOC
|
||||
SOURCES walletwidget.ui kwalletmanager.cpp
|
||||
kwalletmanager.skel main.cpp kwalletpopup.cpp
|
||||
kwalleteditor.cpp kwmapeditor.cpp
|
||||
allyourbase.cpp kbetterthankdialogbase.ui
|
||||
LINK kio-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### icons #####################################
|
||||
|
||||
tde_install_icons( kwalletmanager)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kwalletmanager.rc kwalleteditor.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kwalletmanager
|
||||
)
|
||||
|
||||
install( FILES kwalletmanager.desktop
|
||||
kwalletmanager-kwalletd.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,16 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( kwalletmanager)
|
||||
|
||||
tde_install_icons(
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kwalletmanager/icons
|
||||
)
|
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kcm_kwallet (kpart) #######################
|
||||
|
||||
tde_add_kpart( kcm_kwallet AUTOMOC
|
||||
SOURCES walletconfigwidget.ui konfigurator.cpp
|
||||
LINK kdeui-shared kwalletclient-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kwalletconfig.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,18 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( src )
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( mimetypes )
|
||||
|
||||
# FIXME: build api documentation
|
||||
# add_subdirectory( doc )
|
||||
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_auto_add_subdirectories( )
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( )
|
||||
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES x-superkaramba.desktop
|
||||
DESTINATION ${MIME_INSTALL_DIR}/application
|
||||
)
|
||||
|
@ -0,0 +1,72 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2012 Golubev Alexander
|
||||
# fatzer2 (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### superkaramba (executable) #################
|
||||
|
||||
tde_add_executable( superkaramba AUTOMOC
|
||||
SOURCES main.cpp karamba.cpp meter.cpp bar.cpp
|
||||
sensor.cpp datesensor.cpp textlabel.cpp
|
||||
memsensor.cpp uptimesensor.cpp cpusensor.cpp
|
||||
networksensor.cpp imagelabel.cpp graph.cpp
|
||||
xmmssensor.cpp programsensor.cpp
|
||||
disksensor.cpp sensorparams.cpp
|
||||
sensorsensor.cpp textfilesensor.cpp
|
||||
clickarea.cpp noatunsensor.cpp
|
||||
karambarootpixmap.cpp clickmap.cpp
|
||||
rsssensor.cpp textfield.cpp taskmanager.cpp
|
||||
showdesktop.cpp richtextlabel.cpp
|
||||
karambasessionmanaged.cpp systemtray.cpp
|
||||
bar_python.cpp meter_python.cpp
|
||||
textlabel_python.cpp richtextlabel_python.cpp
|
||||
imagelabel_python.cpp config_python.cpp
|
||||
misc_python.cpp systray_python.cpp
|
||||
task_python.cpp widget_python.cpp
|
||||
menu_python.cpp karambalistboxitem.cpp
|
||||
graph_python.cpp dcopinterface.skel
|
||||
dcopinterface.stub karambainterface.cpp
|
||||
karambaapp.cpp karamba_python.cpp
|
||||
lineparser.cpp themefile.cpp themesdlg.cpp
|
||||
themes_layout.ui themewidget_layout.ui
|
||||
themewidget.cpp kwidgetlistbox.cpp
|
||||
sknewstuff.h sknewstuff.cpp
|
||||
superkarambasettings.kcfgc themelocale.cpp
|
||||
input.cpp sklineedit.cpp input_python.cpp
|
||||
svcgrp_python.cpp
|
||||
LINK kio-shared ${PYTHON_LIBRARIES}
|
||||
${KNEWSTUFF_LIBRARIES}
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES superkarambaui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/superkaramba
|
||||
)
|
||||
|
||||
install( FILES superkaramba.desktop
|
||||
DESTINATION ${APPS_INSTALL_DIR}/Utilities
|
||||
)
|
||||
|
Loading…
Reference in new issue