svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661remotes/origin/old/work/newpageview
parent
b61b6e2f22
commit
3d0eefb6d4
20 changed files with 818 additions and 0 deletions
@ -0,0 +1,77 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( conf ) |
||||
add_subdirectory( core ) |
||||
add_subdirectory( ui ) |
||||
add_subdirectory( shell ) |
||||
add_subdirectory( generators ) |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(oKularpart_PART_SRCS part.cpp ) |
||||
|
||||
kde4_automoc(${oKularpart_PART_SRCS}) |
||||
|
||||
kde4_add_dcop_skels(oKularpart_PART_SRCS dcop.h ) |
||||
|
||||
kde4_add_plugin(oKularpart WITH_PREFIX ${oKularpart_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} oKularpart ) |
||||
|
||||
target_link_libraries(oKularpart ${KDE4_KDECORE_LIBS} oKularconf oKularcore oKularui agg2 ${KDE4_KPARTS_LIBS} ${KDE4_KDEPRINT_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KNEWSTUFF_LIBS} ${KDE4_KHTML_LIBS} m ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 oKularpart ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES oKular_part.desktop ) |
||||
install_files( ${DATA_INSTALL_DIR}/oKularpart FILES part.rc ) |
||||
|
||||
kde4_install_icons( ${ICON_INSTALL_DIR} hicolor ) |
||||
|
||||
kde4_create_doxygen_docs( ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#SUBDIRS = conf core ui shell generators |
||||
# |
||||
#INCLUDES = -Iconf $(all_includes) $(FREETYPE_CFLAGS) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#messages: rc.cpp |
||||
# $(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` >> rc.cpp |
||||
# $(XGETTEXT) `find . -name "*.cpp" -o -name "*.cc" -o -name "*.h"` -o $(podir)/oKular.pot |
||||
# |
||||
#KDE_ICON = oKular |
||||
# |
||||
########################################################################## |
||||
## KPART SECTION |
||||
########################################################################## |
||||
#kde_module_LTLIBRARIES = liboKularpart.la |
||||
# |
||||
#liboKularpart_la_SOURCES = dcop.skel part.cpp |
||||
#liboKularpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) |
||||
#liboKularpart_la_LIBADD = conf/liboKularconf.la core/liboKularcore.la \ |
||||
# ui/liboKularui.la ui/painter_agg2/libagg2.la $(LIB_KPARTS) \ |
||||
# $(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS) $(LIB_KNEWSTUFF) \ |
||||
# $(LIB_KHTML) -lm |
||||
# |
||||
#partdesktopdir = $(kde_servicesdir) |
||||
#partdesktop_DATA = oKular_part.desktop |
||||
# |
||||
#partrcdir = $(kde_datadir)/oKularpart |
||||
#partrc_DATA = part.rc |
||||
# |
||||
#part.lo: conf/settings.h |
||||
# |
||||
#include $(top_srcdir)/admin/Doxyfile.am |
||||
# |
||||
@ -0,0 +1,3 @@ |
||||
|
||||
add_subdirectory(modules) |
||||
|
||||
@ -0,0 +1,6 @@ |
||||
# install the cmake files |
||||
|
||||
file(GLOB cmakeFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.cmake") |
||||
|
||||
install_files(/share/apps/cmake/modules FILES ${cmakeFiles} ) |
||||
|
||||
@ -0,0 +1,58 @@ |
||||
# first try to find kde-config |
||||
# then ask kde-config for the kde data dirs |
||||
# then check the data dirs for FindKDE4.cmake |
||||
|
||||
MACRO(_MACRO_GETENV_WIN_PATH var name) |
||||
set(${var} $ENV{${name}}) |
||||
STRING( REGEX REPLACE "\\\\" "/" ${var} "${${var}}" ) |
||||
ENDMACRO(_MACRO_GETENV_WIN_PATH) |
||||
|
||||
_MACRO_GETENV_WIN_PATH(ENV_KDEDIR KDEDIR) |
||||
|
||||
|
||||
FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde-config |
||||
PATHS |
||||
${ENV_KDEDIR}/bin |
||||
/opt/kde4/bin |
||||
/opt/kde |
||||
) |
||||
|
||||
|
||||
IF (KDE4_KDECONFIG_EXECUTABLE) |
||||
|
||||
EXEC_PROGRAM(${KDE4_KDECONFIG_EXECUTABLE} ARGS --path data OUTPUT_VARIABLE _data_DIR ) |
||||
|
||||
# replace the ":" with ";" so that it becomes a valid cmake list |
||||
STRING(REGEX REPLACE ":" ";" _data_DIR "${_data_DIR}") |
||||
|
||||
MESSAGE(STATUS "datadir: ${_data_DIR}") |
||||
|
||||
FIND_PATH(KDE4_DATA_DIR cmake/modules/FindKDE4Internal.cmake |
||||
${_data_DIR} |
||||
) |
||||
|
||||
IF (KDE4_DATA_DIR) |
||||
|
||||
SET(CMAKE_MODULE_PATH ${KDE4_DATA_DIR}/cmake/modules ${CMAKE_MODULE_PATH}) |
||||
|
||||
IF (KDE4_FIND_QUIETLY) |
||||
SET(_quiet QUIET) |
||||
ENDIF (KDE4_FIND_QUIETLY) |
||||
|
||||
IF (KDE4_FIND_REQUIRED) |
||||
SET(_req REQUIRED) |
||||
ENDIF (KDE4_FIND_REQUIRED) |
||||
|
||||
FIND_PACKAGE(KDE4Internal ${_req} ${_quiet}) |
||||
|
||||
ENDIF (KDE4_DATA_DIR) |
||||
|
||||
|
||||
ENDIF (KDE4_KDECONFIG_EXECUTABLE) |
||||
|
||||
|
||||
IF (KDE4_FIND_REQUIRED AND NOT KDE4_FOUND) |
||||
MESSAGE(FATAL_ERROR "Could not find KDE4") |
||||
ENDIF (KDE4_FIND_REQUIRED AND NOT KDE4_FOUND) |
||||
|
||||
|
||||
@ -0,0 +1,31 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${KCFG_INSTALL_DIR} FILES oKular.kcfg ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(srcdir)/.. -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#liboKularconf_la_SOURCES = dlggeneral.ui dlgperformance.ui dlgaccessibility.ui \ |
||||
# dlgpresentation.ui \ |
||||
# preferencesdialog.cpp settings.kcfgc |
||||
# |
||||
#noinst_LTLIBRARIES = liboKularconf.la |
||||
# |
||||
#kde_kcfg_DATA = oKular.kcfg |
||||
# |
||||
#preferencesdialog.lo: settings.h |
||||
@ -0,0 +1,35 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICETYPES_INSTALL_DIR} FILES oKularGenerator.desktop ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#SUBDIRS = . |
||||
# |
||||
#INCLUDES = -I.. -I$(builddir)/../conf $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#liboKularcore_la_SOURCES = chooseenginedialog.ui generator.cpp area.cpp textpage.cpp page.cpp document.cpp link.cpp annotations.cpp \ |
||||
# pagetransition.cpp |
||||
#liboKularcore_la_LIBADD = $(KDE_LDFLAGS) $(LIB_KIO) |
||||
# |
||||
#kde_servicetypes_DATA = \ |
||||
# oKularGenerator.desktop |
||||
# |
||||
#noinst_LTLIBRARIES = liboKularcore.la |
||||
# |
||||
#document.lo: ../conf/settings.h |
||||
#page.lo: ../conf/settings.h |
||||
@ -0,0 +1,34 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( poppler ) |
||||
add_subdirectory( fax ) |
||||
add_subdirectory( kimgio ) |
||||
|
||||
message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(GSPLUGINDIR)") |
||||
message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(CHMPLUGINDIR)") |
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#if include_ghostscript |
||||
#GSPLUGINDIR = ghostview |
||||
#endif |
||||
# |
||||
#if include_chm |
||||
#CHMPLUGINDIR = chm |
||||
#endif |
||||
# |
||||
#if include_pdf |
||||
#PDFPLUGINDIR = poppler |
||||
#endif |
||||
# |
||||
#SUBDIRS = $(GSPLUGINDIR) poppler fax kimgio $(CHMPLUGINDIR) |
||||
# |
||||
@ -0,0 +1,56 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( lib ) |
||||
add_subdirectory( kio-msits ) |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(okularGenerator_chmlib_PART_SRCS generator_t.cpp ) |
||||
|
||||
kde4_automoc(${okularGenerator_chmlib_PART_SRCS}) |
||||
|
||||
kde4_add_plugin(okularGenerator_chmlib WITH_PREFIX ${okularGenerator_chmlib_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} okularGenerator_chmlib ) |
||||
|
||||
target_link_libraries(okularGenerator_chmlib ${KDE4_KDECORE_LIBS} oKularcore oKularconf chmfile ${KDE4_KDEPRINT_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KHTML_LIBS} chm ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 okularGenerator_chmlib ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES libokularGenerator_chmlib.desktop ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#SUBDIRS = lib . kio-msits |
||||
# |
||||
##bin_PROGRAMS = helper |
||||
##helper_SOURCES = helper.cpp |
||||
##helper_LDFLAGS = $(LIB_QT) |
||||
##helper_LDADD = $(top_builddir)/kpdf/core/libkpdfcore.la $(top_builddir)/kpdf/conf/libkpdfconf.la lib/libchmfile.la |
||||
# |
||||
#kde_module_LTLIBRARIES = \ |
||||
# libokularGenerator_chmlib.la |
||||
# |
||||
#INCLUDES = -I$(srcdir)/../.. -I../.. $(all_includes) |
||||
# |
||||
#libokularGenerator_chmlib_la_LIBADD = ../../core/liboKularcore.la \ |
||||
# ../../conf/liboKularconf.la \ |
||||
# lib/libchmfile.la \ |
||||
# $(LIB_KDEPRINT) $(LIB_KDEUI) $(LIB_KHTML) -lchm |
||||
#libokularGenerator_chmlib_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) |
||||
#libokularGenerator_chmlib_la_SOURCES = generator_t.cpp |
||||
#METASOURCES = AUTO |
||||
#KDE_OPTIONS = nofinal |
||||
# |
||||
#kde_services_DATA = libokularGenerator_chmlib.desktop |
||||
# |
||||
@ -0,0 +1,43 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(kio_msits_PART_SRCS msits.cpp ) |
||||
|
||||
kde4_automoc(${kio_msits_PART_SRCS}) |
||||
|
||||
kde4_add_plugin(kio_msits ${kio_msits_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kio_msits ) |
||||
|
||||
target_link_libraries(kio_msits ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} chm ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kio_msits ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES msits.protocol ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#METASOURCES = AUTO |
||||
#INCLUDES = $(QT_INCLUDES) -I$(CHM_INCLUDES) $(KDE_INCLUDES) $(all_includes) |
||||
# |
||||
#kde_module_LTLIBRARIES = kio_msits.la |
||||
# |
||||
#kio_msits_la_SOURCES = msits.cpp |
||||
#kio_msits_la_LIBADD = $(LIB_KIO) -lchm |
||||
#kio_msits_la_LDFLAGS = -module -avoid-version $(QT_LIBS) $(KDE_LDFLAGS) $(KDE_LIBS) $(KDE_PLUGIN) |
||||
# |
||||
#protocol_DATA = msits.protocol |
||||
#protocoldir = $(kde_servicesdir) |
||||
# |
||||
# |
||||
@ -0,0 +1,25 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#noinst_LTLIBRARIES = libchmfile.la |
||||
# |
||||
#INCLUDES = -I$(srcdir)/../.. -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#libchmfile_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) |
||||
#libchmfile_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO) $(LIB_QT) -lchm |
||||
#libchmfile_la_SOURCES = kchmtextencoding.cpp xchmfile.cpp iconstorage.cpp kchmurl.cpp kchmtreeviewitem.cpp |
||||
# |
||||
@ -0,0 +1,56 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( libkfaximage ) |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(okularGenerator_fax_PART_SRCS faxrenderer.cpp ) |
||||
|
||||
kde4_automoc(${okularGenerator_fax_PART_SRCS}) |
||||
|
||||
kde4_add_plugin(okularGenerator_fax WITH_PREFIX ${okularGenerator_fax_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} okularGenerator_fax ) |
||||
|
||||
target_link_libraries(okularGenerator_fax ${KDE4_KDECORE_LIBS} oKularcore oKularconf ${KDE4_KDEUI_LIBS} kfaximage ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 okularGenerator_fax ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES libokularGenerator_fax.desktop ) |
||||
|
||||
kde4_install_icons( ${ICON_INSTALL_DIR} hicolor ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(srcdir)/../../ -I$(srcdir)/libkfaximage $(all_includes) |
||||
# |
||||
#SUBDIRS = libkfaximage . |
||||
# |
||||
#kde_module_LTLIBRARIES = \ |
||||
# libokularGenerator_fax.la |
||||
# |
||||
#libokularGenerator_fax_la_LIBADD = ../../core/liboKularcore.la \ |
||||
# ../../conf/liboKularconf.la $(LIB_KDEUI) \ |
||||
# libkfaximage/libkfaximage.la |
||||
# |
||||
#libokularGenerator_fax_la_LDFLAGS = -module -avoid-version $(KDE_PLUGIN) $(all_libraries) |
||||
#libokularGenerator_fax_la_SOURCES = faxrenderer.cpp |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#kde_services_DATA = libokularGenerator_fax.desktop |
||||
# |
||||
#KDE_ICON = kfaxview |
||||
# |
||||
#messages: rc.cpp |
||||
# $(XGETTEXT) *.cpp -o $(podir)/kfaxview.pot |
||||
@ -0,0 +1,43 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(kfaximage_LIB_SRCS kfaximage.cpp faxexpand.cpp faxinit.cpp ) |
||||
|
||||
kde4_automoc(${kfaximage_LIB_SRCS}) |
||||
|
||||
kde4_add_library(kfaximage SHARED ${kfaximage_LIB_SRCS}) |
||||
|
||||
target_link_libraries(kfaximage ${KDE4_KDECORE_LIBS} ) |
||||
|
||||
set_target_properties(kfaximage PROPERTIES VERSION 1.0.0 SOVERSION 1 ) |
||||
install_targets(${LIB_INSTALL_DIR} kfaximage ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( /include FILES kfaximage.h ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(top_srcdir) $(all_includes) |
||||
# |
||||
#lib_LTLIBRARIES = libkfaximage.la |
||||
#libkfaximage_la_LDFLAGS = $(all_libraries) -no-undefined -avoid-version |
||||
#libkfaximage_la_LIBADD = $(LIB_QTCORE) $(LIB_QT) $(LIB_KDECORE) |
||||
#libkfaximage_la_SOURCES = kfaximage.cpp faxexpand.cpp faxinit.cpp |
||||
# |
||||
#include_HEADERS = kfaximage.h |
||||
#noinst_HEADERS = faxexpand.h |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#messages: rc.cpp |
||||
# $(XGETTEXT) $(libkfaximage_la_SOURCES) -o $(podir)/libkfaximgage.pot |
||||
@ -0,0 +1,77 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( conf ) |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(kpdflibgsasyncgenerator_SRCS kpdflibgsasyncgenerator.cpp ) |
||||
|
||||
kde4_automoc(${kpdflibgsasyncgenerator_SRCS}) |
||||
|
||||
kde4_add_executable(kpdflibgsasyncgenerator ${kpdflibgsasyncgenerator_SRCS}) |
||||
|
||||
target_link_libraries(kpdflibgsasyncgenerator ${KDE4_KDECORE_LIBS} qgs ) |
||||
|
||||
install_targets(/bin kpdflibgsasyncgenerator ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(okularGenerator_ghostview_PART_SRCS |
||||
interpreter_cmd.cpp |
||||
internaldocument.cpp |
||||
generator_ghostview.cpp |
||||
gvlogwindow.cpp |
||||
dscparse_adapter.cpp |
||||
ps.c |
||||
dscparse.cpp ) |
||||
|
||||
kde4_automoc(${okularGenerator_ghostview_PART_SRCS}) |
||||
|
||||
kde4_add_plugin(okularGenerator_ghostview WITH_PREFIX ${okularGenerator_ghostview_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} okularGenerator_ghostview ) |
||||
|
||||
target_link_libraries(okularGenerator_ghostview ${KDE4_KDECORE_LIBS} gssettings oKularcore oKularconf qgs ${KDE4_KDEUI_LIBS} ${KDE4_KDEPRINT_LIBS} ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 okularGenerator_ghostview ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES libokularGenerator_ghostview.desktop ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#SUBDIRS = conf . |
||||
# |
||||
#INCLUDES = -I$(srcdir)/../.. -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
#KDE_CXXFLAGS=-Wall |
||||
# |
||||
#bin_PROGRAMS = kpdflibgsasyncgenerator |
||||
#kpdflibgsasyncgenerator_SOURCES = kpdflibgsasyncgenerator.cpp |
||||
#kpdflibgsasyncgenerator_LDFLAGS = $(QT_LDFLAGS) $(all_libraries) -L$(LIB_GS_PATH) |
||||
#kpdflibgsasyncgenerator_LDADD = -lqgs $(LIB_QT) $(LIB_KDECORE) |
||||
#kde_module_LTLIBRARIES = libokularGenerator_ghostview.la |
||||
# |
||||
#libokularGenerator_ghostview_la_LIBADD = $(top_builddir)/kpdf/generators/ghostview/conf/libgssettings.la \ |
||||
# $(top_builddir)/kpdf/core/liboKularcore.la $(top_builddir)/kpdf/conf/liboKularconf.la -lqgs $(LIB_KDEUI) $(LIB_KDEPRINT) |
||||
#libokularGenerator_ghostview_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -L$(LIB_GS_PATH) |
||||
#libokularGenerator_ghostview_la_SOURCES = interpreter_cmd.cpp internaldocument.cpp generator_ghostview.cpp gvlogwindow.cpp dscparse_adapter.cpp ps.c dscparse.cpp |
||||
##libokularGenerator_ghostview_la_METASOURCES = AUTO |
||||
# |
||||
#KDE_OPTIONS = nofinal |
||||
# |
||||
# |
||||
#kde_services_DATA = libokularGenerator_ghostview.desktop |
||||
# |
||||
# |
||||
@ -0,0 +1,29 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${KCFG_INSTALL_DIR} FILES gssettings.kcfg ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#noinst_LTLIBRARIES = libgssettings.la |
||||
# |
||||
#INCLUDES = -I$(srcdir)/../.. -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#libgssettings_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module |
||||
#libgssettings_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO) $(LIB_QT) |
||||
#libgssettings_la_SOURCES = empty.cpp gssettings.kcfgc gssettingswidget.ui |
||||
#kde_kcfg_DATA = gssettings.kcfg |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
@ -0,0 +1,43 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(okularGenerator_kimgio_PART_SRCS generator_kimgio.cpp ) |
||||
|
||||
kde4_automoc(${okularGenerator_kimgio_PART_SRCS}) |
||||
|
||||
kde4_add_plugin(okularGenerator_kimgio WITH_PREFIX ${okularGenerator_kimgio_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} okularGenerator_kimgio ) |
||||
|
||||
target_link_libraries(okularGenerator_kimgio ${KDE4_KDECORE_LIBS} oKularcore oKularconf ${KDE4_KDEUI_LIBS} ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 okularGenerator_kimgio ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES libokularGenerator_kimgio.desktop ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#kde_module_LTLIBRARIES = \ |
||||
# libokularGenerator_kimgio.la |
||||
# |
||||
#INCLUDES = -I$(srcdir)/../.. -I../../ $(all_includes) |
||||
# |
||||
#libokularGenerator_kimgio_la_LIBADD = ../../core/liboKularcore.la \ |
||||
# ../../conf/liboKularconf.la $(LIB_KDEUI) |
||||
#libokularGenerator_kimgio_la_LDFLAGS = -module -avoid-version $(KDE_PLUGIN) $(all_libraries) |
||||
#libokularGenerator_kimgio_la_SOURCES = generator_kimgio.cpp |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#kde_services_DATA = libokularGenerator_kimgio.desktop |
||||
@ -0,0 +1,47 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(okularGenerator_poppler_PART_SRCS generator_pdf.cpp gp_outputdev.cpp pagetransition.cpp ) |
||||
|
||||
kde4_automoc(${okularGenerator_poppler_PART_SRCS}) |
||||
|
||||
kde4_add_plugin(okularGenerator_poppler WITH_PREFIX ${okularGenerator_poppler_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} okularGenerator_poppler ) |
||||
|
||||
target_link_libraries(okularGenerator_poppler ${KDE4_KDECORE_LIBS} oKularcore oKularconf ${KDE4_KDEPRINT_LIBS} ${KDE4_KDEUI_LIBS} m ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 okularGenerator_poppler ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES libokularGenerator_poppler.desktop ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#kde_module_LTLIBRARIES = \ |
||||
# libokularGenerator_poppler.la |
||||
# |
||||
#INCLUDES = -I$(srcdir)/../.. -I../.. $(POPPLER_CFLAGS) $(all_includes) |
||||
# |
||||
#libokularGenerator_poppler_la_LIBADD = ../../core/liboKularcore.la ../../conf/liboKularconf.la \ |
||||
# $(POPPLER_LIBS) $(LIB_KDEPRINT) $(LIB_KDEUI) -lm |
||||
#libokularGenerator_poppler_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) |
||||
#libokularGenerator_poppler_la_SOURCES = generator_pdf.cpp gp_outputdev.cpp pagetransition.cpp |
||||
# |
||||
#KDE_OPTIONS = nofinal |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#kde_services_DATA = libokularGenerator_poppler.desktop |
||||
# |
||||
#generator_pdf.lo: ../../conf/settings.h |
||||
@ -0,0 +1,44 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(oKular_SRCS main.cpp shell.cpp ) |
||||
|
||||
kde4_automoc(${oKular_SRCS}) |
||||
|
||||
kde4_add_executable(oKular ${oKular_SRCS}) |
||||
|
||||
target_link_libraries(oKular ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ) |
||||
|
||||
install_targets(/bin oKular ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${XDG_APPS_DIR} FILES oKular.desktop ) |
||||
install_files( ${DATA_INSTALL_DIR}/oKular FILES shell.rc ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#bin_PROGRAMS = oKular |
||||
# |
||||
#oKular_SOURCES = main.cpp shell.cpp |
||||
#oKular_LDFLAGS = $(KDE_RPATH) $(all_libraries) |
||||
#oKular_LDADD = $(LIB_KPARTS) |
||||
# |
||||
#EXTRA_DIST = oKular.desktop |
||||
#xdg_apps_DATA = oKular.desktop |
||||
# |
||||
#shellrcdir = $(kde_datadir)/oKular |
||||
#shellrc_DATA = shell.rc |
||||
@ -0,0 +1,38 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( data ) |
||||
add_subdirectory( painter_agg2 ) |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#SUBDIRS = data painter_agg2 . |
||||
# |
||||
#INCLUDES = -I$(srcdir)/.. -I$(srcdir)/painter_agg2 -I.. $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#noinst_LTLIBRARIES = liboKularui.la |
||||
#liboKularui_la_SOURCES = pagepainter.cpp pageview.cpp pageviewutils.cpp \ |
||||
# pageviewannotator.cpp minibar.cpp thumbnaillist.cpp \ |
||||
# searchwidget.cpp toc.cpp propertiesdialog.cpp \ |
||||
# presentationwidget.cpp side_reviews.cpp newstuff.cpp |
||||
# |
||||
#pageview.lo: ../conf/settings.h |
||||
#pageviewutils.lo: ../conf/settings.h |
||||
#presentationwidget.lo: ../conf/settings.h |
||||
#searchwidget.lo: ../conf/settings.h |
||||
#thumbnaillist.lo: ../conf/settings.h |
||||
# |
||||
@ -0,0 +1,37 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/oKular FILES tools.xml ) |
||||
install_files( ${DATA_INSTALL_DIR}/oKular/pics FILES tool_eraser.png tool_hl_orange.png tool_hl_pink.png tool_hl_yellow.png tool_ink_green.png tool_note.png ) |
||||
install_files( ${DATA_INSTALL_DIR}/oKular/pics FILES ghns.png ghns_star.png ghns_star_gray.png ) |
||||
install_files( ${DATA_INSTALL_DIR}/oKular/pics FILES checkmark.png circle.png comment.png cross.png help.png insert.png key.png newparagraph.png note.png paragraph.png rightarrow.png rightpointer.png star.png uparrow.png upleftarrow.png ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
## install annotation tool images |
||||
#toolpicsdir = $(kde_datadir)/oKular/pics |
||||
#toolpics_DATA = tool_eraser.png tool_hl_orange.png tool_hl_pink.png \ |
||||
# tool_hl_yellow.png tool_ink_green.png tool_note.png |
||||
# |
||||
## install annotation page images |
||||
#annpicsdir = $(kde_datadir)/oKular/pics |
||||
#annpics_DATA = checkmark.png circle.png comment.png cross.png help.png \ |
||||
# insert.png key.png newparagraph.png note.png paragraph.png \ |
||||
# rightarrow.png rightpointer.png star.png uparrow.png \ |
||||
# upleftarrow.png |
||||
# |
||||
## install misc images |
||||
#miscpicsdir = $(kde_datadir)/oKular/pics |
||||
#miscpics_DATA = ghns.png ghns_star.png ghns_star_gray.png |
||||
# |
||||
## install annotator xml tools description |
||||
#xmldir = $(kde_datadir)/oKular |
||||
#xml_DATA = tools.xml |
||||
@ -0,0 +1,36 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
##INCLUDES = -I$(srcdir)/.. -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
##SUBDIRS = ctrl . platform |
||||
#INCLUDES = -I. |
||||
##-I$(top_srcdir)/include |
||||
# |
||||
#noinst_LTLIBRARIES = libagg2.la |
||||
#libagg2_la_SOURCES = agg_path_storage.cpp agg_vcgen_stroke.cpp agg_rasterizer_scanline_aa.cpp agg_bezier_arc.cpp \ |
||||
# agg_trans_affine.cpp |
||||
# |
||||
## agg_arc.cpp agg_arrowhead.cpp agg_bezier_arc.cpp agg_bspline.cpp agg_curves.cpp \ |
||||
## agg_vcgen_bspline.cpp agg_vcgen_contour.cpp agg_vcgen_dash.cpp agg_vcgen_markers_term.cpp \ |
||||
## agg_vcgen_smooth_poly1.cpp agg_vcgen_stroke.cpp agg_gsv_text.cpp agg_image_filters.cpp \ |
||||
## agg_path_storage.cpp agg_rasterizer_scanline_aa.cpp agg_line_aa_basics.cpp agg_line_profile_aa.cpp \ |
||||
## agg_rounded_rect.cpp agg_sqrt_tables.cpp agg_embedded_raster_fonts.cpp agg_trans_affine.cpp \ |
||||
## agg_trans_single_path.cpp agg_trans_double_path.cpp \ |
||||
## agg_trans_warp_magnifier.cpp agg_vpgen_clip_polygon.cpp agg_vpgen_clip_polyline.cpp \ |
||||
## agg_vpgen_segmentator.cpp |
||||
##libagg_la_LIBADD = $(top_builddir)/gpc/libagggpc.la $(top_builddir)/src/ctrl/libaggctrl.la |
||||
Loading…
Reference in new issue