summaryrefslogtreecommitdiffstats
path: root/kdeprint
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint')
-rw-r--r--kdeprint/CMakeLists.txt17
-rw-r--r--kdeprint/kdeprint_part/CMakeLists.txt37
-rw-r--r--kdeprint/kdeprintfax/CMakeLists.txt42
-rw-r--r--kdeprint/kjobviewer/CMakeLists.txt37
-rw-r--r--kdeprint/kprinter/CMakeLists.txt34
-rw-r--r--kdeprint/printmgr/CMakeLists.txt37
-rw-r--r--kdeprint/slave/CMakeLists.txt39
-rw-r--r--kdeprint/slave/mimetypes/CMakeLists.txt16
-rw-r--r--kdeprint/slave/templates/CMakeLists.txt25
9 files changed, 284 insertions, 0 deletions
diff --git a/kdeprint/CMakeLists.txt b/kdeprint/CMakeLists.txt
new file mode 100644
index 000000000..8cbe437bb
--- /dev/null
+++ b/kdeprint/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( printmgr )
+add_subdirectory( kjobviewer )
+add_subdirectory( kprinter )
+add_subdirectory( kdeprintfax )
+add_subdirectory( slave )
+add_subdirectory( kdeprint_part )
diff --git a/kdeprint/kdeprint_part/CMakeLists.txt b/kdeprint/kdeprint_part/CMakeLists.txt
new file mode 100644
index 000000000..8aa740d6f
--- /dev/null
+++ b/kdeprint/kdeprint_part/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdeprint_part.rc DESTINATION ${DATA_INSTALL_DIR}/kdeprint_part )
+install( FILES kdeprint_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdeprint_part (module) #################
+
+tde_add_kpart( libkdeprint_part AUTOMOC
+ SOURCES printpart.cpp
+ LINK kdeprint_management-shared kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdeprint/kdeprintfax/CMakeLists.txt b/kdeprint/kdeprintfax/CMakeLists.txt
new file mode 100644
index 000000000..9c6e5095f
--- /dev/null
+++ b/kdeprint/kdeprintfax/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kdeprintfax )
+tde_install_icons( abentry DESTINATION ${DATA_INSTALL_DIR}/kdeprintfax/icons )
+install( FILES kdeprintfax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kdeprintfaxui.rc faxfilters DESTINATION ${DATA_INSTALL_DIR}/kdeprintfax )
+install( PROGRAMS anytops DESTINATION ${DATA_INSTALL_DIR}/kdeprintfax )
+
+
+##### kdeprintfax (executable) ##################
+
+tde_add_executable( kdeprintfax AUTOMOC
+ SOURCES
+ main.cpp kdeprintfax.cpp faxab.cpp faxctrl.cpp
+ confgeneral.cpp configdlg.cpp conffax.cpp
+ confsystem.cpp conffilters.cpp filterdlg.cpp
+ defcmds.cpp
+ LINK kabc-shared kdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kdeprint/kjobviewer/CMakeLists.txt b/kdeprint/kjobviewer/CMakeLists.txt
new file mode 100644
index 000000000..1bba4ea65
--- /dev/null
+++ b/kdeprint/kjobviewer/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kjobviewer )
+install( FILES kjobviewer.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kjobviewerui.rc DESTINATION ${DATA_INSTALL_DIR}/kjobviewer )
+
+
+##### kjobviewer (kdeinit) ######################
+
+tde_add_kdeinit_executable( kjobviewer AUTOMOC
+ SOURCES kjobviewer.cpp main.cpp
+ LINK kdeprint_management-shared
+)
diff --git a/kdeprint/kprinter/CMakeLists.txt b/kdeprint/kprinter/CMakeLists.txt
new file mode 100644
index 000000000..121c97f5e
--- /dev/null
+++ b/kdeprint/kprinter/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( CheckFunctionExists )
+check_function_exists( sigset HAVE_SIGACTION )
+check_function_exists( sigaction HAVE_SIGSET )
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kprinter (kdeinit) ########################
+
+tde_add_kdeinit_executable( kprinter AUTOMOC
+ SOURCES main.cpp printwrapper.cpp
+ LINK kdeprint-shared
+)
diff --git a/kdeprint/printmgr/CMakeLists.txt b/kdeprint/printmgr/CMakeLists.txt
new file mode 100644
index 000000000..847996abf
--- /dev/null
+++ b/kdeprint/printmgr/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( printmgr )
+install( FILES printers.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_printmgr (module) #####################
+
+tde_add_kpart( kcm_printmgr AUTOMOC
+ SOURCES kcmprintmgr.cpp
+ LINK kdeprint_management-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdeprint/slave/CMakeLists.txt b/kdeprint/slave/CMakeLists.txt
new file mode 100644
index 000000000..cfac6d998
--- /dev/null
+++ b/kdeprint/slave/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+add_subdirectory( mimetypes )
+add_subdirectory( templates )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES print.protocol printdb.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_print (module) ########################
+
+tde_add_kpart( kio_print AUTOMOC
+ SOURCES kio_print.cpp
+ LINK kdeprint-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdeprint/slave/mimetypes/CMakeLists.txt b/kdeprint/slave/mimetypes/CMakeLists.txt
new file mode 100644
index 000000000..02d289c15
--- /dev/null
+++ b/kdeprint/slave/mimetypes/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ folder.desktop printer.desktop class.desktop
+ manager.desktop jobs.desktop driver.desktop
+ printermodel.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/print )
diff --git a/kdeprint/slave/templates/CMakeLists.txt b/kdeprint/slave/templates/CMakeLists.txt
new file mode 100644
index 000000000..31f11cf6a
--- /dev/null
+++ b/kdeprint/slave/templates/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ class.template printer.template pseudo.template
+ jobs.template driver.template bar-bottom-left.png
+ bar-top-middle.png box-bottom-middle.png
+ box-top-middle.png bar-bottom-middle.png
+ bar-top-right.png box-bottom-right.png
+ box-top-right.png bar-bottom-right.png
+ bottom-left.png box-centre-kdeprint.png
+ top-left.png bar-middle-left.png bottom-middle.png
+ box-middle-left.png top-middle.png bar-middle-right.png
+ bottom-right.png box-middle-right.png top-right-kdeprint.png
+ bar-top-left.png box-bottom-left.png box-top-left.png
+ htmlstyles.css
+ DESTINATION ${DATA_INSTALL_DIR}/kdeprint/template )