By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1310
Collapse All | Expand All

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

Return to bug 1310