add kxsldbg and its doc

Signed-off-by: gregory guy <g-gregory@gmx.fr>
pull/4/head
gregory guy 5 years ago
parent 37ec1d269f
commit c0b86f61d8
No known key found for this signature in database
GPG Key ID: 6EFE0EF249A874C0

@ -82,13 +82,14 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### source directories ########################
#tde_conditional_add_subdirectory( BUILD_QUANTA lib )
#tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
#tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
#tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
#tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
#tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_QUANTA lib )
tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
tde_conditional_add_subdirectory( BUILD_DOC doc )
##### write configure files #####################

@ -6,3 +6,8 @@
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H 1
#define XSLDBG_BIN "xsldbg"

@ -4,3 +4,4 @@ tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )

@ -0,0 +1 @@
tde_create_handbook( DESTINATION kxsldbg )

@ -1,4 +1,7 @@
add_subdirectory( man )
tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )

@ -0,0 +1,5 @@
INSTALL(
FILES kxsldbg.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)

@ -0,0 +1,54 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH KXSLDBG 1 "October 19, 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
kxsldbg \- a graphical XSLT debugger for TDE
.SH SYNOPSIS
.B kxsldbg
[ \fIgeneric-options\fP ]
.SH DESCRIPTION
\fBKXSLDbg\fP is a graphical debugger for XSLT scripts. It provides
a graphical front-end to the text-based debugger
.BR xsldbg (1).
KXSLDbg can be run as a standalone application or as an embedded TDE part.
.PP
XSLT is an XML language for defining transformations of XML files from
XML to some other arbitrary format, such as XML, HTML, plain text, etc.,
using standard XSLT stylesheets.
.PP
This application is part of the official TDE web development module.
.SH OPTIONS
For a full summary of options, run \fIkxsldbg \-\-help\fP.
.SH SEE ALSO
.BR quanta (1),
.BR xsldbg (1).
.PP
Full user documentation is available through the TDE Help Centre.
You can also enter the URL
\fIhelp:/kxsldbg/\fP
directly into konqueror or you can run
`\fIkhelpcenter help:/kxsldbg/\fP'
from the command-line.
.PP
If the TDE Help Centre is not installed then you can install the package
\fItdewebdev-doc-html\fP and read this documentation in HTML format from
\fI/opt/trinity/share/doc/tde/HTML/en/kxsldbg/\fP.
.SH AUTHOR
KXSLDbg was written by Keith Isdale <k_isdale@tpg.com.au>.
.br
This manual page was prepared by Ben Burton <bab@debian.org>
for the Debian GNU/Linux system (but may be used by others).

@ -0,0 +1,79 @@
add_subdirectory( kxsldbgpart )
#add_subdirectory( data )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
${LIBXSLT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kxsldbg (executable)
tde_add_executable( kxsldbg AUTOMOC
SOURCES
kxsldbg.cpp
main.cpp
kxsldbgif.skel
LINK
tdecore-shared
tdeui-shared
tdeio-shared
tdeparts-shared
tqtnotfier-static
kxsldbgcommon-static
xsldbg-static
DESTINATION ${BIN_INSTALL_DIR}
)
##### xsldbg (executable)
tde_add_executable( xsldbg AUTOMOC
SOURCES
xsldbgmain.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared
tdeparts-shared
xsldbg-static
xslt xml2 exslt
DESTINATION ${BIN_INSTALL_DIR}
)
##### icons
tde_install_icons( kxsldbg )
##### other data
install(
FILES kxsldbg_shell.rc
DESTINATION ${DATA_INSTALL_DIR}/kxsldbg
)
install(
FILES xsldbg.desktop
DESTINATION ${APPS_INSTALL_DIR}/.hidden
)
install(
FILES kxsldbg.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -0,0 +1,71 @@
add_subdirectory( libtqtnotfier )
add_subdirectory( libxsldbg )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kxsldbgcommon (static)
tde_add_library( kxsldbgcommon STATIC_PIC AUTOMOC
SOURCES
xsldbgwalkspeed.ui xsldbgtemplates.ui
xsldbgsources.ui xsldbgmsgdialog.ui
xsldbglocalvariables.ui xsldbgglobalvariables.ui
xsldbgentities.ui xsldbgconfig.ui
xsldbgcallstack.ui xsldbgbreakpoints.ui
xsldbgwalkspeedimpl.cpp xsldbgtemplatesimpl.cpp
xsldbgtemplatelistitem.cpp xsldbgsourcesimpl.cpp
xsldbgoutputview.cpp xsldbglocalvariablesimpl.cpp
xsldbglocallistitem.cpp xsldbglistitem.cpp
xsldbginspector.cpp xsldbgglobalvariablesimpl.cpp
xsldbggloballistitem.cpp xsldbgentitiesimpl.cpp
xsldbgdoc.cpp xsldbgdialogbase.cpp
xsldbgdebugger.cpp xsldbgconfigimpl.cpp
xsldbgcallstackimpl.cpp xsldbgbreakpointsimpl.cpp
xsldbgbreakpointlistitem.cpp qxsldbgdoc.cpp
kxsldbg_part.cpp kxsldbg_partif.skel
LINK
xsldbg-static
tqtnotfier-static
)
##### libkxsldbgpart (kpart)
tde_add_kpart( libkxsldbgpart AUTOMOC
SOURCES dummy.cpp
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### icons
tde_install_icons( )
##### other data
install(
FILES kxsldbg_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
install(
FILES kxsldbg_part.rc
DESTINATION ${DATA_INSTALL_DIR}/kxsldbgpart
)

@ -0,0 +1,28 @@
# tdewebdev/kxsldbg/kxsldbgpart/libtqtnotfier
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### tqtnotfier (static)
tde_add_library( tqtnotfier STATIC_PIC AUTOMOC
SOURCES
xsldbgthread.cpp
xsldbgnotifier.cpp
xsldbgevent.cpp
xsldbgdebuggerbase.cpp
qtnotifier2.cpp
)

@ -0,0 +1,38 @@
# tdewebdev/kxsldbg/kxsldbgpart/libxsldbg
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
add_definitions( -DDOCS_PATH=\"$(DOCS_PATH)\" )
# -DBUILD_DOCS
##### xsldbg (static)
tde_add_library( xsldbg STATIC_PIC AUTOMOC
SOURCES
allmoc.cpp xsldbgthread.cpp
xsldbg.cpp xsldbgmsg.cpp
variable_cmds.cpp utils.cpp
trace_cmds.cpp template_cmds.cpp
search_cmds.cpp search.cpp
param_cmds.cpp os_cmds.cpp
options_unix.cpp options.cpp
option_cmds.cpp nodeview_cmds.cpp
help_unix.cpp files_unix.cpp
files.cpp file_cmds.cpp
debug.cpp callstack.cpp
breakpoint_cmds.cpp breakpoint.cpp
arraylist.cpp debugXSL.cpp
)

@ -37,7 +37,7 @@
#endif
#endif /* BUILD_DOCS */
#include <unistd.h>
/* top xml document */
static xmlDocPtr topDocument;

Loading…
Cancel
Save