First bach of cmake files in order to convert tdeadmin

from autotools to cmake building system.
pull/5/head
gregory guy 6 years ago committed by Slávek Banko
parent b2bfb5e920
commit 88073834d0
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -0,0 +1,7 @@
DOC
SECPOLICY --> remove deprecated parameter to initialize main.cpp
KDAT
KSYSV
TDEFILE_PLUGINS
KCRON --> remove strstream in kcron/ktview.cpp this feature is deprecated and might be dropped without further notice
KNETWORKCONF --> perl scripts in backends not done...yet

@ -0,0 +1,91 @@
###############################################
#
# Improvements and feedbacks are welcome
#
# This file is released under GPL >= 3
#
###############################################
cmake_minimum_required( VERSION 2.8 )
#### general package setup
project( tdeadmin )
set( VERSION R14.0.4 )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
#### include our cmake modules
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
##### setup install paths
include( TDESetupPaths )
tde_setup_paths( )
##### optional stuff ############################
##### user requested modules #####
option( BUILD_ALL "Build all" OFF )
option( BUILD_DOC "Build doc" ${BUILD_ALL} )
option( BUILD_KCRON "Build kcron" ${BUILD_ALL} )
option( BUILD_KDAT "Build kdat" ${BUILD_ALL} )
option( BUILD_KNETWORKCONF "Build knetworkconf" ${BUILD_ALL} )
option( BUILD_KPACKAGE "Build kpackage" ${BUILD_ALL} )
option( BUILD_KSYSV "Build ksysv" ${BUILD_ALL} )
option( BUILD_KUSER "Build kuser" ${BUILD_ALL} )
option( BUILD_LILO_CONFIG "Build lilo-config" ${BUILD_ALL} )
option( BUILD_SECPOLICY "Build secpolicy" ${BUILD_ALL} )
option( BUILD_TDEFILE_PLUGINS "Build tdefile-plugins" ${BUILD_ALL} )
##### configure checks
include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions(
-DHAVE_CONFIG_H
)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### @TDE_MODULE_NAME@ directories
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_KCRON kcron )
tde_conditional_add_subdirectory( BUILD_KDAT kdat )
tde_conditional_add_subdirectory( BUILD_KNETWORKCONF knetworkconf )
tde_conditional_add_subdirectory( BUILD_KPACKAGE kpackage )
tde_conditional_add_subdirectory( BUILD_KSYSV ksysv )
tde_conditional_add_subdirectory( BUILD_KUSER kuser )
tde_conditional_add_subdirectory( BUILD_LILO_CONFIG lilo-config )
tde_conditional_add_subdirectory( BUILD_SECPOLICY secpolicy )
tde_conditional_add_subdirectory( BUILD_TDEFILE_PLUGINS tdefile-plugins )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

@ -0,0 +1,43 @@
#################################################
#
# (C) 2013 Alexander Golubev
# fatzer2 (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
if( WITH_GCC_VISIBILITY )
if( NOT UNIX )
tde_message_fatal( "gcc visibility support was requested, but your system is not *NIX" )
endif( NOT UNIX )
set( __KDE_HAVE_GCC_VISIBILITY 1 )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
endif( WITH_GCC_VISIBILITY )
tde_setup_architecture_flags( )
##### kcron
if( BUILD_KCRON )
check_include_file( "sstream" HAVE_SSTREAM )
endif( BUILD_KCRON )
##### kuser
if( BUILD_KUSER )
check_include_file( "unistd.h" HAVE_UNISTD_H )
check_include_file( "sys/stat.h" HAVE_SYS_STAT_H )
endif( BUILD_KUSER )
# required stuff
find_package( TQt )
find_package( TDE )

@ -0,0 +1,465 @@
/* #cmakedefine VERSION "@VERSION@" */
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "@VERSION@"
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
/* #undef HAVE_CARBON_CARBON_H */
/* Define if you have the CoreAudio API */
/* #undef HAVE_COREAUDIO */
/* Define to 1 if you have the <crt_externs.h> header file. */
/* #undef HAVE_CRT_EXTERNS_H */
/* Defines if your system has the crypt function */
#define HAVE_CRYPT 1
/* Define to 1 if you have the <crypt.h> header file. */
#define HAVE_CRYPT_H 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have fgetgrent */
#define HAVE_FGETGRENT 1
/* Define if you have the fgetgrent prototype */
#define HAVE_FGETGRENT_PROTO 1
/* Define if you have fgetpwent */
#define HAVE_FGETPWENT 1
/* Define if you have the fgetpwent prototype */
#define HAVE_FGETPWENT_PROTO 1
/* Define if you have fgetspent */
#define HAVE_FGETSPENT 1
/* Define if you have the fgetspent prototype */
#define HAVE_FGETSPENT_PROTO 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Irix */
/* #undef HAVE_IRIX */
/* Define if you have libjpeg */
#define HAVE_LIBJPEG 1
/* Define if you have libpng */
#define HAVE_LIBPNG 1
/* Define if you have a working libpthread (will enable threaded code) */
#define HAVE_LIBPTHREAD 1
/* Define if you have libz */
#define HAVE_LIBZ 1
/* Linux */
#define HAVE_LINUX 1
/* Define to 1 if you have the <linux/quota.h> header file. */
#define HAVE_LINUX_QUOTA_H 1
/* Define to 1 if you have the <linux/unistd.h> header file. */
#define HAVE_LINUX_UNISTD_H 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the <mntent.h> header file. */
#define HAVE_MNTENT_H 1
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define if your system needs _NSGetEnviron to set up the environment */
/* #undef HAVE_NSGETENVIRON */
/* Defines if you have PAM (Pluggable Authentication Modules) */
/* #undef HAVE_PAM */
/* Define if your PAM headers are in pam/ instead of security/ */
/* #undef HAVE_PAM_PAM_APPL_H */
/* Define to 1 if you have the <paths.h> header file. */
#define HAVE_PATHS_H 1
/* Define if you have res_init */
#define HAVE_RES_INIT 1
/* Define if you have the res_init prototype */
#define HAVE_RES_INIT_PROTO 1
/* Define if you have setenv */
#define HAVE_SETENV 1
/* Define if you have the setenv prototype */
#define HAVE_SETENV_PROTO 1
/* Define if you have a STL implementation by SGI */
#define HAVE_SGI_STL 1
/* Define if you use shadow passwords */
#define HAVE_SHADOW 1
/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the <sstream> header file. */
#define HAVE_SSTREAM 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have strlcat */
/* #undef HAVE_STRLCAT */
/* Define if you have the strlcat prototype */
/* #undef HAVE_STRLCAT_PROTO */
/* Define if you have strlcpy */
/* #undef HAVE_STRLCPY */
/* Define if you have the strlcpy prototype */
/* #undef HAVE_STRLCPY_PROTO */
/* Define to 1 if you have the <stropts.h> header file. */
#define HAVE_STROPTS_H 1
/* Define to 1 if you have the <sys/bitypes.h> header file. */
#define HAVE_SYS_BITYPES_H 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/fcntl.h> header file. */
#define HAVE_SYS_FCNTL_H 1
/* Define to 1 if you have the <sys/fs/ufs_quota.h> header file. */
/* #undef HAVE_SYS_FS_UFS_QUOTA_H */
/* Define to 1 if you have the <sys/mntent.h> header file. */
/* #undef HAVE_SYS_MNTENT_H */
/* Define to 1 if you have the <sys/mnttab.h> header file. */
/* #undef HAVE_SYS_MNTTAB_H */
/* Define to 1 if you have the <sys/mount.h> header file. */
#define HAVE_SYS_MOUNT_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/params.h> header file. */
/* #undef HAVE_SYS_PARAMS_H */
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/quota.h> header file. */
#define HAVE_SYS_QUOTA_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/stropts.h> header file. */
#define HAVE_SYS_STROPTS_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have unsetenv */
#define HAVE_UNSETENV 1
/* Define if you have the unsetenv prototype */
#define HAVE_UNSETENV_PROTO 1
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Suffix for lib directories */
#define KDELIBSUFF "64"
/* first group ID */
#define KU_FIRSTGID 500
/* first user ID */
#define KU_FIRSTUID 500
/* home directory permissions */
#define KU_HOMEDIR_PERM 0700
/* default template for homedir */
#define KU_HOMETEMPLATE "/home/%U"
/* mailbox gid */
#define KU_MAILBOX_GID 0
/* mailbox permissions */
#define KU_MAILBOX_PERM 0660
/* private groups */
#define KU_USERPRIVATEGROUP false
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#define LT_OBJDIR ".libs/"
/* Name of package */
#define PACKAGE "tdeadmin"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define if your PAM support takes non-const arguments (Solaris) */
/* #undef PAM_MESSAGE_NONCONST */
/* The size of `char *', as computed by sizeof. */
#define SIZEOF_CHAR_P 8
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 8
/* The size of `short', as computed by sizeof. */
#define SIZEOF_SHORT 2
/* The size of `size_t', as computed by sizeof. */
#define SIZEOF_SIZE_T 8
/* The size of `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 8
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Version number of package */
#define VERSION "3.5.10"
/* Defined if compiling without arts */
/* #undef WITHOUT_ARTS */
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
#endif
/*
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
* headers and I'm too lazy to write a configure test as long as only
* unixware is related
*/
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif
/*
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
* that defines bzero.
*/
#if defined(_AIX)
#include <strings.h>
#endif
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
# include <sys/time.h>
# include <crt_externs.h>
# define environ (*_NSGetEnviron())
#endif
#if !defined(HAVE_FGETGRENT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
;
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_FGETPWENT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
;
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_FGETSPENT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
;
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_RES_INIT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int res_init(void);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_SETENV_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int setenv (const char *, const char *, int);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcat(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcpy(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_UNSETENV_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
void unsetenv (const char *);
#ifdef __cplusplus
}
#endif
#endif
/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
/* define to 1 if -fvisibility is supported */
/* #undef __KDE_HAVE_GCC_VISIBILITY */
#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif
/* type to use in place of socklen_t if not defined */
#define kde_socklen_t socklen_t
/* type to use in place of socklen_t if not defined (deprecated, use
kde_socklen_t) */
#define ksize_t socklen_t

@ -0,0 +1,7 @@
add_subdirectory( lilo-config )
add_subdirectory( kuser )
add_subdirectory( ksysv )
add_subdirectory( kpackage )
add_subdirectory( knetworkconf )
add_subdirectory( kdat )
add_subdirectory( kcron )

@ -0,0 +1,2 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kcron )

@ -0,0 +1,2 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kdat )

@ -0,0 +1,2 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION knetworkconf )

@ -0,0 +1,2 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kpackage )

@ -0,0 +1,2 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ksysv )

@ -0,0 +1,2 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kuser )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION lilo-config )

@ -0,0 +1,42 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kcron (executable) ########################
tde_add_executable( kcron AUTOMOC
SOURCES cthost.cpp ctcron.cpp ctmonth.cpp ctdom.cpp ctdow.cpp cttask.cpp
ctvariable.cpp kticon.cpp ktapp.cpp ktview.cpp ktlistitem.cpp
ktlistcron.cpp ktlisttask.cpp ktlisttasks.cpp ktlistvar.cpp ktlistvars.cpp
kttask.cpp ktvariable.cpp ktprint.cpp ktprintopt.cpp main.cpp
LINK tdecore-shared tdeui-shared tdeio-shared tdeprint-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### icons #####################################
tde_install_icons( kcron )
##### other data ################################
install( FILES kcronui.rc
DESTINATION ${DATA_INSTALL_DIR}/kcron
)
install( FILES kcron.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -0,0 +1,39 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( pics )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kdat (executable) #########################
tde_add_executable( kdat AUTOMOC
SOURCES Archive.cpp ArchiveInfoWidget.cpp BackupDlg.cpp BackupOptDlg.cpp
BackupProfile.cpp BackupProfileInfoWidget.cpp BackupProfileManager.cpp
BackupProfileWidget.cpp ErrorHandler.cpp File.cpp FileInfoWidget.cpp
ImageCache.cpp IndexDlg.cpp InfoShellWidget.cpp KDatMainWindow.cpp
LoggerWidget.cpp Node.cpp Options.cpp OptionsDlg.cpp OptionsDlgWidget.ui
Range.cpp Tape.cpp TapeDrive.cpp TapeFileInfoWidget.cpp TapeInfoWidget.cpp
TapeManager.cpp FormatOptDlg.cpp TarParser.cpp Util.cpp VerifyDlg.cpp
VerifyOptDlg.cpp ktreeview.cpp main.cpp
LINK tdecore-shared tdeui-shared tdeio-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### other data ################################
install( FILES kdat.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_install_icons( kdat )

@ -0,0 +1,5 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( knetworkconf )
add_subdirectory( backends )
add_subdirectory( pixmaps )

@ -0,0 +1 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer

@ -0,0 +1,45 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
add_definitions( -UQT_NO_COMPAT
)
##### kcm_knetworkconfmodule (kpart) ############
tde_add_kpart( kcm_knetworkconfmodule AUTOMOC
SOURCES tdeselectdistrodlg.ui kknownhostinfo.cpp kinterfaceupdowndlg.ui
kaddknownhostdlg.ui kdetectdistrodlg.ui knetworkconfmodule.cpp
kroutinginfo.cpp kreloadnetworkdlg.ui kaddressvalidator.cpp kdnsinfo.cpp
knetworkinfo.cpp kadddevicedlg.ui kadddnsserverdlg.ui
knetworkconfigparser.cpp knetworkinterface.cpp knetworkconfdlg.ui
knetworkconf.cpp main.cpp kadddevicedlgextension.ui knetworkconfiface.skel
kwirelessinterface.cpp kadddevicewifiext.ui kadddevicecontainer.cpp
kprofileslistviewtooltip.cpp
LINK tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### icons #####################################
tde_install_icons( )
##### other data ################################
install( FILES kcm_knetworkconfmodule.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -0,0 +1,13 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_install_icons( network_connected_lan_knc network_disconnected_lan
network_disconnected_wlan network_traffic_wlan )
##### other data ################################
install( FILES ark.png debian.png mandriva.png blackpanther.png pld.png
redhat.png suse.png turbolinux.png conectiva.png fedora.png openna.png
slackware.png freebsd.png gentoo.png vine.png kubuntu.png yoper.png rpath.png
DESTINATION ${DATA_INSTALL_DIR}/knetworkconf/pixmaps/
)

@ -0,0 +1,44 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( pics )
add_subdirectory( toolbar )
add_subdirectory( icon )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kpackage (executable) #####################
tde_add_executable( kpackage AUTOMOC
SOURCES kpackage.cpp managementWidget.cpp packageDisplay.cpp
packageProperties.cpp findf.cpp search.cpp options.cpp pkgOptions.cpp
packageInfo.cpp cache.cpp main.cpp utils.cpp tdeio.cpp debInterface.cpp
debDpkgInterface.cpp debAptInterface.cpp updateLoc.cpp procbuf.cpp
kplview.cpp pkgInterface.cpp rpmInterface.cpp kissInterface.cpp
slackInterface.cpp fbsdInterface.cpp gentooInterface.cpp kpPty.cpp
kpTerm.cpp
LINK tdecore-shared tdeui-shared tdeio-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### other data ################################
install( FILES kpackageui.rc
DESTINATION ${DATA_INSTALL_DIR}/kpackage
)
install( FILES kpackage.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -0,0 +1,4 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_install_icons( kpackage )

@ -0,0 +1,8 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
install( FILES cross.png dbad.png deb.png dnew.png dupdated.png ptick.png
question.png rnew.png rpm.png rupdated.png kiss.png knew.png kupdated.png
slack.png snew.png supdated.png bsd.png bnew.png bupdated.png tick.png
noball.png
DESTINATION ${DATA_INSTALL_DIR}/kpackage/pics
)

@ -0,0 +1,5 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
install( FILES ftin.xpm ftout.xpm
DESTINATION ${DATA_INSTALL_DIR}/kpackage/pics
)

@ -0,0 +1,56 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( pics )
add_subdirectory( toolbar )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### ksysv (executable) ########################
tde_add_executable( ksysv AUTOMOC
SOURCES main.cpp ActionList.cpp IOCore.cpp ksvdraglist.cpp
RunlevelAuthIcon.cpp OldView.cpp Properties.cpp SpinBox.cpp ServiceDlg.cpp
TopWidget.cpp Data.cpp ksv_conf.cpp ksvapplication.cpp kdltooltip.cpp
ksv_core.cpp ksvdrag.cpp kscroller.cpp ksv_service.cpp leveldb.c
PreferencesDialog.cpp trash.cpp pathconfig.ui ksvpathconfig.cpp
miscconfig.ui ksvmiscconfig.cpp lookandfeelconfig.ui ksvlookandfeel.cpp
configwizard.ui ksvconfigwizard.cpp kbusymanager.cpp
LINK tdecore-shared tdeui-shared tdeio-shared tdeprint-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### icons #####################################
tde_install_icons( )
##### other data ################################
install( FILES ksysvui.rc
DESTINATION ${DATA_INSTALL_DIR}/ksysv
)
install( FILES ksysv.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
install( FILES x-ksysv-log.desktop
DESTINATION ${MIME_INSTALL_DIR}/text
)
install( FILES x-ksysv.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
)

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
install( FILES ksysv_start.png ksysv_locked.png ksysv_unlocked.png
ksysv_restart.png ksysv_stop.png
DESTINATION ${DATA_INSTALL_DIR}/ksysv/pics
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_install_icons( )

@ -0,0 +1,47 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( pic )
add_subdirectory( toolbar )
add_subdirectory( icon )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/kuser
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### kuser (executable) ########################
tde_add_executable( kuser AUTOMOC
SOURCES mainWidget.cpp editGroup.cpp kuservw.cpp kgroupvw.cpp delUser.cpp
kuser.cpp kgroup.cpp main.cpp mainView.cpp propdlg.cpp misc.cpp pwddlg.cpp
addUser.cpp editDefaults.cpp tdeglobal.cpp sid.cpp kuserfiles.cpp
kgroupfiles.cpp kuserldap.cpp kgroupldap.cpp kusersystem.cpp
kgroupsystem.cpp selectconn.cpp sha1.cpp kuserprefs.kcfgc filessettings.ui
generalsettings.ui ldapsettings.ui ldapsamba.ui passwordpolicy.ui
LINK tdecore-shared tdeui-shared tdeio-shared tdeui-shared crypt tdeabc_ldaptdeio tdeabc ldap
DESTINATION ${BIN_INSTALL_DIR}
)
##### other data ################################
install( FILES kuserui.rc
DESTINATION ${DATA_INSTALL_DIR}/kuser
)
install( FILES kuser.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
install( FILES kuser.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)

@ -0,0 +1,4 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_install_icons( kuser )

@ -0,0 +1,5 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
install( FILES group.png user.png
DESTINATION ${DATA_INSTALL_DIR}/kuser/pics/
)

@ -0,0 +1 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( common )
add_subdirectory( kde )
#add_subdirectory( qt )
#add_subdirectory( kde-qt-common )

@ -0,0 +1,21 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### common (static) ###########################
tde_add_library( common STATIC_PIC AUTOMOC
SOURCES String.cc Files.cc Disks.cc Config.cc lilo.cc
)

@ -0,0 +1 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer

@ -0,0 +1,22 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### widgets (static) ##########################
tde_add_library( widgets STATIC_PIC AUTOMOC
SOURCES mainwidget.cpp general.cpp images.cpp expert.cpp EditWidget.cpp
LINK common-shared
)

@ -0,0 +1,32 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/lilo-config/kde-qt-common
${CMAKE_SOURCE_DIR}/lilo-config/common/
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kcm_lilo (kpart) ##########################
tde_add_kpart( kcm_lilo AUTOMOC
SOURCES kcontrol.cpp Details.cpp InputBox.cpp
LINK tdeio-shared tdecore-shared tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data ################################
install( FILES lilo.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -0,0 +1,21 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### lilo-config (executable) ##################
tde_add_executable( lilo-config AUTOMOC
SOURCES
DESTINATION ${BIN_INSTALL_DIR}
)

@ -0,0 +1,23 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### secpolicy (executable) ####################
tde_add_executable( secpolicy AUTOMOC
SOURCES main.cpp secpolicywin.cpp pamview.cpp ppitem.cpp
LINK tdecore-shared tdeui-shared tdeio-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -0,0 +1,4 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( rpm )
add_subdirectory( deb )

@ -0,0 +1,30 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### tdefile_deb (kpart) #######################
tde_add_kpart( tdefile_deb AUTOMOC
SOURCES tdefile_deb.cpp
LINK tdeio-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data ################################
install( FILES tdefile_deb.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)

@ -0,0 +1,30 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### tdefile_rpm (kpart) #######################
tde_add_kpart( tdefile_rpm AUTOMOC
SOURCES tdefile_rpm.cpp
LINK tdeio-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data ################################
install( FILES tdefile_rpm.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
Loading…
Cancel
Save