git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230814 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
7e5679fbd1
commit
76baa6e505
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES kfax.tif kfaxlogo.xpm DESTINATION ${DATA_INSTALL_DIR}/kfax/pics )
|
||||
install( FILES kfaxui.rc DESTINATION ${DATA_INSTALL_DIR}/kfax )
|
||||
|
||||
|
||||
#### kruler (executable) ########################
|
||||
|
||||
tde_add_executable( kfax AUTOMOC
|
||||
SOURCES
|
||||
options.cpp kfax.cpp faxexpand.cpp faxinit.cpp
|
||||
faxinput.cpp viewfax.cpp kfax_printsettings.cpp
|
||||
LINK kdeui-shared kdeprint-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,53 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_import( kviewshell )
|
||||
|
||||
add_subdirectory( libkfaximage )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libkfaximage
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kviewshell
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
tde_install_icons( kfaxview )
|
||||
install( FILES kfaxview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES ${CMAKE_SOURCE_DIR}/kviewshell/kviewshell.rc DESTINATION ${DATA_INSTALL_DIR}/kviewshell )
|
||||
install( FILES kfaxmultipage.desktop kfaxmultipage_tiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfaxviewpart (module) ######################
|
||||
|
||||
tde_add_kpart( kfaxviewpart AUTOMOC
|
||||
SOURCES faxmultipage.cpp faxrenderer.cpp
|
||||
LINK kmultipage-shared kfaximage-static kparts-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
#### kfaxview (executable) ######################
|
||||
|
||||
tde_add_executable( kfaxview AUTOMOC
|
||||
SOURCES main.cpp
|
||||
LINK kviewshell-static kio-shared kparts-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,28 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### kfaximage (library) ########################
|
||||
|
||||
tde_add_library( kfaximage STATIC_PIC AUTOMOC
|
||||
SOURCES kfaximage.cpp faxexpand.cpp faxinit.cpp
|
||||
)
|
@ -0,0 +1,30 @@
|
||||
#################################################
|
||||
#
|
||||
# (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( dvi )
|
||||
add_subdirectory( png )
|
||||
add_subdirectory( ps )
|
||||
add_subdirectory( jpeg )
|
||||
add_subdirectory( xbm )
|
||||
add_subdirectory( xpm )
|
||||
add_subdirectory( bmp )
|
||||
add_subdirectory( tga )
|
||||
add_subdirectory( rgb )
|
||||
add_subdirectory( ico )
|
||||
add_subdirectory( pcx )
|
||||
add_subdirectory( pnm )
|
||||
add_subdirectory( dds )
|
||||
add_subdirectory( gif )
|
||||
add_subdirectory( raw )
|
||||
|
||||
tde_conditional_add_subdirectory( WITH_TIFF tiff )
|
||||
tde_conditional_add_subdirectory( WITH_OPENEXR exr )
|
||||
tde_conditional_add_subdirectory( WITH_PDF pdf )
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_bmp.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_bmp (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_bmp AUTOMOC
|
||||
SOURCES kfile_bmp.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data ##################################
|
||||
|
||||
install( FILES kfile_dds.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_dds (module) ##########################
|
||||
|
||||
tde_add_kpart( kfile_dds AUTOMOC
|
||||
SOURCES kfile_dds.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_dvi.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_dvi (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_dvi AUTOMOC
|
||||
SOURCES kfile_dvi.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,38 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${OPENEXR_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_exr.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_exr (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_exr AUTOMOC
|
||||
SOURCES kfile_exr.cpp
|
||||
LINK kio-shared ${OPENEXR_LIBRARIES}
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -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
|
||||
#
|
||||
#################################################
|
||||
|
||||
# OpenEXR
|
||||
pkg_search_module( OPENEXR OpenEXR )
|
||||
if( NOT OPENEXR_FOUND )
|
||||
tde_message_fatal( "OpenEXR is required, but was not found on your system" )
|
||||
endif( )
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_gif.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_gif (module) #########################
|
||||
tde_add_kpart( kfile_gif AUTOMOC
|
||||
SOURCES kfile_gif.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_ico.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_ico (module) ########################
|
||||
|
||||
tde_add_kpart( kfile_ico AUTOMOC
|
||||
SOURCES kfile_ico.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_jpeg.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_jpeg (module) ########################
|
||||
|
||||
tde_add_kpart( kfile_jpeg AUTOMOC
|
||||
SOURCES kfile_jpeg.cpp exif.cpp kfile_setcomment.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_pcx.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_pcx (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_pcx AUTOMOC
|
||||
SOURCES kfile_pcx.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,38 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${POPPLER_QT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_pdf.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_pdf (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_pdf AUTOMOC
|
||||
SOURCES kfile_pdf.cpp
|
||||
LINK kio-shared ${POPPLER_QT_LIBRARIES}
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -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
|
||||
#
|
||||
#################################################
|
||||
|
||||
# poppler-qt
|
||||
pkg_search_module( POPPLER_QT poppler-qt )
|
||||
if( NOT POPPLER_QT_FOUND )
|
||||
tde_message_fatal( "poppler-qt is required, but was not found on your system" )
|
||||
endif( )
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_png.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_png (module) #########################
|
||||
tde_add_kpart( kfile_png AUTOMOC
|
||||
SOURCES kfile_png.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_pnm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_pnm (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_pnm AUTOMOC
|
||||
SOURCES kfile_pnm.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,37 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kghostview
|
||||
${CMAKE_SOURCE_DIR}/kghostview/dscparse
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_ps.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_ps (module) ########################
|
||||
|
||||
tde_add_kpart( kfile_ps AUTOMOC
|
||||
SOURCES kfile_ps.cpp
|
||||
LINK dscparse-static kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_raw.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_raw (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_raw AUTOMOC
|
||||
SOURCES kcamerarawplugin.cpp parse.c
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_rgb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_rgb (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_rgb AUTOMOC
|
||||
SOURCES kfile_rgb.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_tga.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_tga (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_tga AUTOMOC
|
||||
SOURCES kfile_tga.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,37 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_tiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_tiff (module) ########################
|
||||
|
||||
tde_add_kpart( kfile_tiff AUTOMOC
|
||||
SOURCES kfile_tiff.cpp
|
||||
LINK kio-shared ${TIFF_LIBRARY}
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,21 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
# libtiff
|
||||
check_include_file( tiff.h HAVE_TIFF_H )
|
||||
if( HAVE_TIFF_H )
|
||||
check_library_exists( tiff TIFFOpen "" HAVE_TIFF )
|
||||
endif( )
|
||||
if( HAVE_TIFF_H AND HAVE_TIFF )
|
||||
set( TIFF_LIBRARY tiff )
|
||||
else( )
|
||||
tde_message_fatal( "libtiff is required, but was not found on your system" )
|
||||
endif( )
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_xbm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_xbm (module) ########################
|
||||
|
||||
tde_add_kpart( kfile_xbm AUTOMOC
|
||||
SOURCES kfile_xbm.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
install( FILES kfile_xpm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kfile_xpm (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_xpm AUTOMOC
|
||||
SOURCES kfile_xpm.cpp
|
||||
LINK kio-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,69 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Calvin Morrison
|
||||
# mutantturkey@gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( data )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/dscparse
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### other data #################################
|
||||
|
||||
tde_install_icons( kghostview )
|
||||
install( FILES kghostview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES kghostview_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES kgv_part.rc kghostviewui.rc DESTINATION ${DATA_INSTALL_DIR}/kghostview )
|
||||
install( FILES kghostview.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
||||
install( FILES kghostview.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
|
||||
install( PROGRAMS update-to-xt-names.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
|
||||
|
||||
|
||||
#### kghostviewlib (shared) #####################
|
||||
|
||||
tde_add_library( kghostviewlib SHARED AUTOMOC
|
||||
SOURCES
|
||||
kgvshell.cpp kgvdocument.cpp kgv_miniwidget.cpp
|
||||
marklist.cpp logwindow.cpp infodialog.cpp kgvpageview.cpp ps.c
|
||||
kgv_view.cpp scrollbox.cpp kgvpagedecorator.cpp
|
||||
kgvconfigdialog.cpp kgvmainwidget.cpp kdscerrordialog.cpp
|
||||
displayoptions.cpp kpswidget.cpp fullscreenfilter.cpp
|
||||
kgvfactory.cpp generalsettingswidget.ui gssettingswidget.ui
|
||||
thumbnailservice.cpp configuration.kcfgc
|
||||
LINK dscparse-static kdeprint-shared kparts-shared
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
#### kghostviewpart (module) ####################
|
||||
|
||||
tde_add_kpart( kghostviewpart AUTOMOC
|
||||
SOURCES part_init.cpp
|
||||
LINK kghostviewlib-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
#### kghostview (executable) ####################
|
||||
|
||||
tde_add_executable( kghostview AUTOMOC
|
||||
SOURCES main.cpp
|
||||
LINK kghostviewlib-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (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 pdf_sec.ps DESTINATION ${DATA_INSTALL_DIR}/kghostview )
|
@ -0,0 +1,28 @@
|
||||
#################################################
|
||||
#
|
||||
# (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}
|
||||
#${CMAKE_CURRENT_SOURCE_DIR}
|
||||
#${CMAKE_BINARY_DIR}
|
||||
#${CMAKE_SOURCE_DIR}
|
||||
#${CMAKE_SOURCE_DIR}
|
||||
#${CMAKE_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
#### dscparse (static) ##########################
|
||||
|
||||
tde_add_library( dscparse STATIC_PIC
|
||||
SOURCES dscparse.cpp dscparse_adapter.cpp
|
||||
)
|
Loading…
Reference in new issue