debian/0000755000000000000000000000000012133727132007167 5ustar debian/control0000644000000000000000000001474712133727113010606 0ustar Source: kwwidgets Priority: optional Maintainer: Debian Science Team Uploaders: Mathieu Malaterre Build-Depends: debhelper (>= 7), cdbs, cmake, quilt (>= 0.40), tcl-vtk (>= 5.6), libvtk5-dev (>= 5.6), tcl8.5-dev, tk8.5-dev, python-support, python-dev, python-vtk Build-Depends-Indep: doxygen (>= 1.7.4), graphviz, vtk-doc Standards-Version: 3.9.2 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/kwwidgets/trunk/ Vcs-Svn: svn://svn.debian.org/debian-science/packages/kwwidgets/trunk/ Section: libs XS-Python-Version: current Homepage: http://www.kwwidgets.org/ Package: libkwwidgets1-dev Section: libdevel Architecture: any Provides: libkwwidgets-dev Conflicts: libkwwidgets-dev Depends: libkwwidgets1.0.1009 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Cross-Platform GUI Toolkit - development Like many other GUI toolkits, it provides low-level core widgets like buttons, entries, scales, menus, combo-boxes, thumbwheels, spin-boxes, trees, notebooks and multi-column lists to name a few. Unlike many of those toolkits though, it also provides advanced composite widgets like toolbars, tooltips, progress gauges, split-frames, splash-screens, 2D/3D extents, color pickers, histograms, windows and dialogs. . This package contains developer files for KWWidgets Package: libkwwidgets1.0.1009 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Cross-Platform GUI Toolkit - runtime Like many other GUI toolkits, it provides low-level core widgets like buttons, entries, scales, menus, combo-boxes, thumbwheels, spin-boxes, trees, notebooks and multi-column lists to name a few. Unlike many of those toolkits though, it also provides advanced composite widgets like toolbars, tooltips, progress gauges, split-frames, splash-screens, 2D/3D extents, color pickers, histograms, windows and dialogs. . More importantly, KWWidgets builds upon this set of widgets to interface to visualization libraries like VTK and offer high-level visualization-oriented widgets like surface material editors, simple animation generators, transfer function editors, annotation editors, window/level and volume property preset editors, text property editors, 2D and 3D rendering widgets, etc. . This package contains library files for KWWidgets Package: kwwidgets-examples Section: graphics Suggests: libkwwidgets1-dev Architecture: all Depends: ${misc:Depends} Description: Cross-Platform GUI Toolkit - examples Like many other GUI toolkits, it provides low-level core widgets like buttons, entries, scales, menus, combo-boxes, thumbwheels, spin-boxes, trees, notebooks and multi-column lists to name a few. Unlike many of those toolkits though, it also provides advanced composite widgets like toolbars, tooltips, progress gauges, split-frames, splash-screens, 2D/3D extents, color pickers, histograms, windows and dialogs. . More importantly, KWWidgets builds upon this set of widgets to interface to visualization libraries like VTK and offer high-level visualization-oriented widgets like surface material editors, simple animation generators, transfer function editors, annotation editors, window/level and volume property preset editors, text property editors, 2D and 3D rendering widgets, etc. . This package contains examples from the KWWidgets source. Package: kwwidgets-doc Section: doc Suggests: libkwwidgets1-dev Architecture: all Depends: ${misc:Depends}, vtk-doc Description: Cross-Platform GUI Toolkit - documentation Like many other GUI toolkits, it provides low-level core widgets like buttons, entries, scales, menus, combo-boxes, thumbwheels, spin-boxes, trees, notebooks and multi-column lists to name a few. Unlike many of those toolkits though, it also provides advanced composite widgets like toolbars, tooltips, progress gauges, split-frames, splash-screens, 2D/3D extents, color pickers, histograms, windows and dialogs. . More importantly, KWWidgets builds upon this set of widgets to interface to visualization libraries like VTK and offer high-level visualization-oriented widgets like surface material editors, simple animation generators, transfer function editors, annotation editors, window/level and volume property preset editors, text property editors, 2D and 3D rendering widgets, etc. . This package contains documentation files for KWWidgets. Package: python-kwwidgets Section: python Architecture: any Depends: ${python:Depends}, libkwwidgets1.0.1009 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Cross-Platform GUI Toolkit - Python Like many other GUI toolkits, it provides low-level core widgets like buttons, entries, scales, menus, combo-boxes, thumbwheels, spin-boxes, trees, notebooks and multi-column lists to name a few. Unlike many of those toolkits though, it also provides advanced composite widgets like toolbars, tooltips, progress gauges, split-frames, splash-screens, 2D/3D extents, color pickers, histograms, windows and dialogs. . More importantly, KWWidgets builds upon this set of widgets to interface to visualization libraries like VTK and offer high-level visualization-oriented widgets like surface material editors, simple animation generators, transfer function editors, annotation editors, window/level and volume property preset editors, text property editors, 2D and 3D rendering widgets, etc. . This package contains Python support for KWWidgets. Package: tcl8.5-kwwidgets Section: interpreters Architecture: any Conflicts: tcl8.4-kwwidgets Replaces: tcl8.4-kwwidgets Depends: ${shlibs:Depends}, ${misc:Depends}, tcl8.5, tk8.5 Description: Cross-Platform GUI Toolkit - TCL/TK Like many other GUI toolkits, it provides low-level core widgets like buttons, entries, scales, menus, combo-boxes, thumbwheels, spin-boxes, trees, notebooks and multi-column lists to name a few. Unlike many of those toolkits though, it also provides advanced composite widgets like toolbars, tooltips, progress gauges, split-frames, splash-screens, 2D/3D extents, color pickers, histograms, windows and dialogs. . More importantly, KWWidgets builds upon this set of widgets to interface to visualization libraries like VTK and offer high-level visualization-oriented widgets like surface material editors, simple animation generators, transfer function editors, annotation editors, window/level and volume property preset editors, text property editors, 2D and 3D rendering widgets, etc. . This package contains Tcl/Tk support for KWWidgets. debian/compat0000644000000000000000000000000211123306171010357 0ustar 7 debian/python-kwwidgets.lintian-overrides0000644000000000000000000000014511251345721016076 0ustar python-kwwidgets: non-dev-pkg-with-shlib-symlink python-kwwidgets: package-name-doesnt-match-sonames debian/patches/0000755000000000000000000000000012133727132010616 5ustar debian/patches/fixtest.patch0000644000000000000000000001621011670417274013335 0ustar Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/Callbacks/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/Callbacks/CMakeLists.txt 2010-03-31 21:24:12.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/Callbacks/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -88,6 +88,7 @@ add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) target_link_libraries(${EXE_NAME} ${LIB_NAME}) +target_link_libraries(${EXE_NAME} vtksys) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/FileBrowserDialog/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/FileBrowserDialog/CMakeLists.txt 2010-03-31 21:24:13.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/FileBrowserDialog/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -82,6 +82,7 @@ add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) target_link_libraries(${EXE_NAME} ${LIB_NAME}) +target_link_libraries(${EXE_NAME} vtkCommonTCL vtkCommon tcl8.5) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/HelloWorld/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/HelloWorld/CMakeLists.txt 2010-03-31 21:24:14.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/HelloWorld/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -39,6 +39,7 @@ add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) target_link_libraries(${EXE_NAME} ${KWWidgets_LIBRARIES}) +target_link_libraries(${EXE_NAME} vtksys) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/MedicalImageViewer/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/MedicalImageViewer/CMakeLists.txt 2010-03-31 21:24:14.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/MedicalImageViewer/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -81,7 +81,7 @@ # own library. add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) -target_link_libraries(${EXE_NAME} ${LIB_NAME}) +target_link_libraries(${EXE_NAME} ${LIB_NAME} vtkHybrid vtkCommonTCL vtkCommon tcl8.5) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/PolygonalObjectViewer/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/PolygonalObjectViewer/CMakeLists.txt 2010-03-31 21:24:15.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/PolygonalObjectViewer/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -47,7 +47,7 @@ # Create the executable, and link it against the KWWidgets libraries. add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) -target_link_libraries(${EXE_NAME} ${KWWidgets_LIBRARIES}) +target_link_libraries(${EXE_NAME} ${KWWidgets_LIBRARIES} vtkRendering vtkIO) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/Theme/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/Theme/CMakeLists.txt 2010-03-31 21:24:25.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/Theme/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -69,6 +69,7 @@ add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) target_link_libraries(${EXE_NAME} ${LIB_NAME}) +target_link_libraries(${EXE_NAME} vtkCommon) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/WidgetsTour/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/WidgetsTour/CMakeLists.txt 2010-03-31 21:24:32.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/WidgetsTour/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -97,6 +97,7 @@ add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${WIDGETS_SRCS} ${WIDGETS_VTK_SRCS} ${RC_FILENAME}) target_link_libraries(${EXE_NAME} ${LIB_NAME}) +target_link_libraries(${EXE_NAME} vtkCommonTCL vtkCommon vtksys tcl8.5 vtkHybrid) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/WindowWithPanels/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/WindowWithPanels/CMakeLists.txt 2010-03-31 21:24:33.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/WindowWithPanels/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -38,7 +38,7 @@ # Create the executable, and link it against the KWWidgets libraries. add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) -target_link_libraries(${EXE_NAME} ${KWWidgets_LIBRARIES}) +target_link_libraries(${EXE_NAME} ${KWWidgets_LIBRARIES} vtkCommon) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Examples/Cxx/WizardDialog/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Examples/Cxx/WizardDialog/CMakeLists.txt 2010-03-31 21:24:33.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Examples/Cxx/WizardDialog/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -86,6 +86,7 @@ add_executable(${EXE_NAME} WIN32 ${EXE_SRCS} ${RC_FILENAME}) target_link_libraries(${EXE_NAME} ${LIB_NAME}) +target_link_libraries(${EXE_NAME} vtkCommonTCL vtkCommon tcl8.5) # If we are building this example as a standalone external project: # - Generate a few small scripts (.bat, .sh, .csh) that can be sourced to set Index: kwwidgets-1.0.0~cvs20100930/Testing/Cxx/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Testing/Cxx/CMakeLists.txt 2008-04-30 15:23:35.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Testing/Cxx/CMakeLists.txt 2011-12-09 14:43:11.000000000 +0000 @@ -10,5 +10,6 @@ set(EXE_NAME KWWidgetsTest${TEST}) add_executable(${EXE_NAME} Test${TEST}.cxx) target_link_libraries(${EXE_NAME} ${KWWidgets_LIBRARIES}) + target_link_libraries(${EXE_NAME} vtkDICOMParser vtkmetaio) kwwidgets_add_test_with_launcher(KWWidgets-${TEST} ${EXE_NAME}) endforeach(TEST) debian/patches/vtk58pythonwrapping.patch0000644000000000000000000000500211676605336015643 0ustar Index: kwwidgets-1.0.0~cvs20100930/Wrapping/Python/KWWidgetsPythonExtraInit.cxx =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Wrapping/Python/KWWidgetsPythonExtraInit.cxx 2011-12-28 11:47:50.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/Wrapping/Python/KWWidgetsPythonExtraInit.cxx 2011-12-28 12:14:55.000000000 +0000 @@ -87,7 +88,7 @@ #endif /* defined(_WIN32) */ // change the old "init" function into a pre-init function -#define initlibKWWidgetsPython preInitKWWidgetsPython +#define initlibKWWidgetsPython preInitlibKWWidgetsPython #define initKWWidgetsPython preInitKWWidgetsPython // include the original init file @@ -102,6 +103,7 @@ //---------------------------------------------------------------------------- static PyObject *PyvtkKWObject_Script(PyObject *self, PyObject *args) { +#if (VTK_MAJOR_VERSION < 5) || ( VTK_MAJOR_VERSION == 5 && VTK_MINOR_VERSION < 8 ) char *input; const char *output; vtkKWObject *op; @@ -176,11 +178,15 @@ Py_DECREF(args); } +#else + // VTK 5.8 and above +#endif return NULL; } static PyObject *PyvtkKWApplication_Script(PyObject *self, PyObject *args) { +#if (VTK_MAJOR_VERSION < 5) || ( VTK_MAJOR_VERSION == 5 && VTK_MINOR_VERSION < 8 ) char *input; const char *output; vtkKWApplication *op; @@ -254,12 +260,15 @@ Py_DECREF(args); } +#else +#endif return NULL; } static PyObject *PyvtkKWApplication_EvaluateBooleanExpression(PyObject *self, PyObject *args) { +#if (VTK_MAJOR_VERSION < 5) || (VTK_MAJOR_VERSION == 5 && VTK_MINOR_VERSION < 8) char *input; long output; vtkKWApplication *op; @@ -325,6 +334,8 @@ Py_DECREF(args); } +#else +#endif return NULL; } @@ -424,6 +435,7 @@ static PyObject *PyvtkKWApplication_Start(PyObject *self, PyObject *args) { +#if (VTK_MAJOR_VERSION < 5) || ( VTK_MAJOR_VERSION == 5 && VTK_MINOR_VERSION < 8 ) /* handle signature with no arguments */ { vtkKWApplication *op; @@ -507,6 +519,8 @@ } } } +#else +#endif return NULL; } @@ -563,7 +577,11 @@ #endif /* defined(_WIN32) && !defined(__CYGWIN__) */ { // call init function from KWWidgetsPythonInit.cxx +#if defined(_WIN32) && !defined(__CYGWIN__) preInitKWWidgetsPython(); +#else + preInitlibKWWidgetsPython(); +#endif // add extra items to module, on top of basic wrapping PyObject *dict = PyImport_GetModuleDict(); debian/patches/50_all_patches.diff0000644000000000000000000007604511642436607014257 0ustar ## All lines beginning with `## DP:' are a description of the patch. ## DP: Install libraries to /usr/lib/ ## DP: Change tcl path ## DP: Sets the SONAME ## DP: KWWidgetsDoxygenDoc requires some .pl scripts at some particular places Index: kwwidgets-1.0.0~cvs20100930/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/CMakeLists.txt 2011-10-02 21:31:22.000000000 -0400 +++ kwwidgets-1.0.0~cvs20100930/CMakeLists.txt 2011-10-02 21:31:45.000000000 -0400 @@ -104,7 +104,7 @@ endif(NOT KWWidgets_INSTALL_BIN_DIR) if(NOT KWWidgets_INSTALL_LIB_DIR) - set(KWWidgets_INSTALL_LIB_DIR "/lib/${PROJECT_NAME}") + set(KWWidgets_INSTALL_LIB_DIR "/lib") endif(NOT KWWidgets_INSTALL_LIB_DIR) if(NOT KWWidgets_INSTALL_DATA_DIR) @@ -117,7 +117,7 @@ endif(NOT KWWidgets_INSTALL_INCLUDE_DIR) if(NOT KWWidgets_INSTALL_PACKAGE_DIR) - set(KWWidgets_INSTALL_PACKAGE_DIR ${KWWidgets_INSTALL_LIB_DIR} + set(KWWidgets_INSTALL_PACKAGE_DIR "${KWWidgets_INSTALL_LIB_DIR}/${PROJECT_NAME}" CACHE INTERNAL "") endif(NOT KWWidgets_INSTALL_PACKAGE_DIR) @@ -277,6 +277,9 @@ if(NOT VTK_USE_TK) message(FATAL_ERROR "Please set VTK_USE_TK to ON in VTK for KWWidgets_BUILD_VTK_WIDGETS to be ON as well.") endif(NOT VTK_USE_TK) + if(VTK_TCL_INCLUDE_DIR) + include_directories("${VTK_TCL_INCLUDE_DIR}" "${VTK_TK_INCLUDE_DIR}") + endif(VTK_TCL_INCLUDE_DIR) set(KWWidgets_SRCS ${KWWidgets_SRCS} vtkKWColorPresetMenu.cxx vtkKWColorTransferFunctionEditor.cxx @@ -669,6 +672,13 @@ target_link_libraries(KWWidgetsPythonD ${VTK_PYTHON_LIBRARIES}) endif(WIN32 OR APPLE) + + set_target_properties(KWWidgetsPythonD + PROPERTIES + LINK_INTERFACE_LIBRARIES "" + ) + + if(NOT KWWidgets_INSTALL_NO_LIBRARIES) install_targets( ${KWWidgets_INSTALL_LIB_DIR} @@ -700,7 +710,7 @@ VTK_USE_RENDERING OR VTK_USE_RENDERING_ISSET) find_program(PYTHON_EXECUTABLE - NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python + NAMES python PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath] @@ -781,6 +791,11 @@ endif(HTML_HELP_INCLUDE_PATH AND HTML_HELP_LIBRARY) endif(WIN32) +set_target_properties(KWWidgets + PROPERTIES + LINK_INTERFACE_LIBRARIES "" +) + # link ApplicationServices.framework on OSX for vtkKWClipboardHelper if(APPLE) target_link_libraries (KWWidgets "-framework ApplicationServices") @@ -806,6 +821,13 @@ target_link_libraries(KWWidgets ${TKTREECTRL_LIBS}) endif(TKTREECTRL_LIBS) + +set_target_properties(KWWidgets + PROPERTIES + LINK_INTERFACE_LIBRARIES "" +) + + if(NOT KWWidgets_INSTALL_NO_LIBRARIES) install_targets( ${KWWidgets_INSTALL_LIB_DIR} @@ -899,3 +921,25 @@ endif(NOT SQUISH_FOUND) endif(KWWidgets_USE_Squish) endif(BUILD_TESTING AND KWWidgets_BUILD_TESTING) + + +IF (NOT DEFINED KWWidgets_SHAREDLIB_VERSION) + SET ( KWWidgets_SHAREDLIB_SOVERSION 1.0.1009 ) + SET ( KWWidgets_SHAREDLIB_VERSION 1.0.1009.0 ) +ENDIF (NOT DEFINED KWWidgets_SHAREDLIB_VERSION) + + +#IF (NOT DEFINED KWWidgets_SHAREDLIB_VERSION) +# SET ( KWWidgets_SHAREDLIB_VERSION ${KWWidgets_VERSION} ) +# STRING ( REGEX MATCH "^[0-9]+" KWWidgets_SHAREDLIB_SOVERSION ${KWWidgets_SHAREDLIB_VERSION}) +#ENDIF (NOT DEFINED KWWidgets_SHAREDLIB_VERSION) + + + +IF(KWWidgets_BUILD_SHARED_LIBS) + SET_TARGET_PROPERTIES(KWWidgetsPythonD KWWidgets PROPERTIES + SOVERSION ${KWWidgets_SHAREDLIB_SOVERSION} + VERSION ${KWWidgets_SHAREDLIB_VERSION} + ) +ENDIF (KWWidgets_BUILD_SHARED_LIBS) + Index: kwwidgets-1.0.0~cvs20100930/Utilities/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Utilities/CMakeLists.txt 2011-10-02 21:31:22.000000000 -0400 +++ kwwidgets-1.0.0~cvs20100930/Utilities/CMakeLists.txt 2011-10-02 21:31:22.000000000 -0400 @@ -1,5 +1,5 @@ -add_executable(KWConvertImageToHeader KWConvertImageToHeader.cxx) -target_link_libraries(KWConvertImageToHeader ${KWWidgets_LIBRARIES}) +#add_executable(KWConvertImageToHeader KWConvertImageToHeader.cxx) +#target_link_libraries(KWConvertImageToHeader ${KWWidgets_LIBRARIES}) subdirs( Doxygen Index: kwwidgets-1.0.0~cvs20100930/Utilities/Doxygen/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Utilities/Doxygen/CMakeLists.txt 2011-10-02 21:31:22.000000000 -0400 +++ kwwidgets-1.0.0~cvs20100930/Utilities/Doxygen/CMakeLists.txt 2011-10-02 21:31:22.000000000 -0400 @@ -7,7 +7,7 @@ if (BUILD_DOCUMENTATION) option (DOCUMENTATION_DOWNLOAD_VTK_TAGFILE - "Download the VTK tag file." ON) + "Download the VTK tag file." OFF) mark_as_advanced ( DOCUMENTATION_DOWNLOAD_VTK_TAGFILE ) @@ -34,9 +34,10 @@ endif(DOT) configure_file( - ${CMAKE_CURRENT_SOURCE_DIR}/doxyfile.in - ${CMAKE_CURRENT_BINARY_DIR}/doxyfile) + ../../debian/Doxyfile.in + ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) + set(VTK_DOXYGEN_HOME /usr/share/doc/vtk-doc/html) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/doc_makeall.sh.in ${CMAKE_CURRENT_BINARY_DIR}/doc_makeall.sh) Index: kwwidgets-1.0.0~cvs20100930/Wrapping/Tcl/CMakeLists.txt =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Wrapping/Tcl/CMakeLists.txt 2011-10-02 21:31:22.000000000 -0400 +++ kwwidgets-1.0.0~cvs20100930/Wrapping/Tcl/CMakeLists.txt 2011-10-02 21:31:22.000000000 -0400 @@ -47,8 +47,8 @@ ${KWWidgets_BINARY_DIR}/Wrapping/Tcl/Install/Hide/pkgIndex.tcl @ONLY IMMEDIATE) if(NOT KWWidgets_INSTALL_NO_RUNTIME) - install_files(${KWWidgets_INSTALL_LIB_DIR}/tcl FILES - ${KWWidgets_BINARY_DIR}/Wrapping/Tcl/Install/Hide/pkgIndex.tcl) + install_files(${KWWidgets_INSTALL_LIB_DIR}/KWWidgets/tcl FILES +${KWWidgets_BINARY_DIR}/Wrapping/Tcl/Install/Hide/pkgIndex.tcl) endif(NOT KWWidgets_INSTALL_NO_RUNTIME) # Install kits Index: kwwidgets-1.0.0~cvs20100930/Utilities/Doxygen/doxyfile.in =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/Utilities/Doxygen/doxyfile.in 2011-10-02 21:31:22.000000000 -0400 +++ kwwidgets-1.0.0~cvs20100930/Utilities/Doxygen/doxyfile.in 2011-10-02 21:31:22.000000000 -0400 @@ -1,166 +1,307 @@ -# ------------------------------------------------------------------------- -# doxyfile for KWWidgets -# modified by S. Barre (Time-stamp: <2006-04-21 10:37:44 barre> -# ------------------------------------------------------------------------- +# Doxyfile 1.6.2 -PROJECT_NAME = KWWidgets - -BRIEF_MEMBER_DESC = NO -DETAILS_AT_TOP = YES - -FULL_PATH_NAMES = YES -STRIP_FROM_PATH = dox "@KWWidgets_SOURCE_DIR@" - -WARN_IF_UNDOCUMENTED = NO - -GENERATE_TREEVIEW = NO -GENERATE_TODOLIST = YES -GENERATE_BUGLIST = YES -GENERATE_HTML = YES -GENERATE_HTMLHELP = YES -GENERATE_LATEX = NO -GENERATE_MAN = NO -GENERATE_RTF = NO -GENERATE_TAGFILE = "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/KWWidgets.tag" - -HAVE_DOT = @HAVE_DOT_YESNO@ -DOT_PATH = "@DOT_PATH@" -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -TEMPLATE_RELATIONS = YES -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CLASS_DIAGRAMS = YES -GENERATE_LEGEND = YES -GRAPHICAL_HIERARCHY = YES - -ALLEXTERNALS = NO - -IMAGE_PATH = "@KWWidgets_SOURCE_DIR@/Utilities/Doxygen" "@KWWidgets_SOURCE_DIR@/Examples/Resources" - -OUTPUT_DIRECTORY = "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/doc" - -INPUT = \ - "@KWWidgets_SOURCE_DIR@/Utilities/Doxygen/doc_autogenerated.dox" \ - "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/doc_mainpage.dox" \ - "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox" \ - "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/AutoGeneratedClasses" \ - "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/doc_KWWidgets_index.dox" \ - "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/doc_KWWidgets_events2.dox" \ - "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/doc_KWWidgets_events.dox" - - -TAGFILES = "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/vtkNightlyDoc.tag=http://www.vtk.org/doc/nightly/html" - -ENABLED_SECTIONS = section_public section_protected section_private -EXTRACT_ALL = YES -EXTRACT_PRIVATE = NO -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = NO - -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = YES - -ALWAYS_DETAILED_SEC = NO -SOURCE_BROWSER = YES -INLINE_SOURCES = NO -CASE_SENSE_NAMES = YES -VERBATIM_HEADERS = NO -SHOW_INCLUDE_FILES = YES -JAVADOC_AUTOBRIEF = YES -SORT_MEMBER_DOCS = NO -DISTRIBUTE_GROUP_DOC = YES -TAB_SIZE = 3 - -SHOW_DIRECTORIES = YES - -FILE_PATTERNS = *.h -RECURSIVE = NO -EXCLUDE = Common/vtkSetGet.h -EXCLUDE_PATTERNS = - -HTML_ALIGN_MEMBERS = YES -ALPHABETICAL_INDEX = YES -COLS_IN_ALPHA_INDEX = 3 -IGNORE_PREFIX = vtkKW vtkPV vtkSM vtk - -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -SEARCH_INCLUDES = YES -INCLUDE_PATH = -EXPAND_ONLY_PREDEF = YES -PREDEFINED = "vtkSetMacro(name,type)= \ - virtual void Set##name (type);" \ - "vtkGetMacro(name,type)= \ - virtual type Get##name ();" \ - "vtkSetStringMacro(name)= \ - virtual void Set##name (const char*);" \ - "vtkGetStringMacro(name)= \ - virtual char* Get##name ();" \ - "vtkSetClampMacro(name,type,min,max)= \ - virtual void Set##name (type);" \ - "vtkSetObjectMacro(name,type)= \ - virtual void Set##name (type*);" \ - "vtkGetObjectMacro(name,type)= \ - virtual type *Get##name ();" \ - "vtkBooleanMacro(name,type)= \ - virtual void name##On (); \ - virtual void name##Off ();" \ - "vtkSetVector2Macro(name,type)= \ - virtual void Set##name (type, type); \ - void Set##name (type [2]);" \ - "vtkGetVector2Macro(name,type)= \ - virtual type *Get##name (); \ - virtual void Get##name (type &, type &); \ - virtual void Get##name (type [2]);" \ - "vtkSetVector3Macro(name,type)= \ - virtual void Set##name (type, type, type); \ - virtual void Set##name (type [3]);" \ - "vtkGetVector3Macro(name,type)= \ - virtual type *Get##name (); \ - virtual void Get##name (type &, type &, type &); \ - virtual void Get##name (type [3]);" \ - "vtkSetVector4Macro(name,type)= \ - virtual void Set##name (type, type, type, type); \ - virtual void Set##name (type [4]);" \ - "vtkGetVector4Macro(name,type)= \ - virtual type *Get##name (); \ - virtual void Get##name (type &, type &, type &, type &); \ - virtual void Get##name (type [4]);" \ - "vtkSetVector6Macro(name,type)= \ - virtual void Set##name (type, type, type, type, \ - type, type); \ - virtual void Set##name (type [6]);" \ - "vtkGetVector6Macro(name,type)= \ - virtual type *Get##name (); \ - virtual void Get##name (type &, type &, type &, \ - type &, type &, type &); \ - virtual void Get##name (type [6]);" \ - "vtkSetVectorMacro(name,type,count)= \ - virtual void Set##name(type data[]);" \ - "vtkGetVectorMacro(name,type,count)= \ - virtual type *Get##name (); \ - virtual void Get##name(type data[##count]);" \ - "vtkWorldCoordinateMacro(name)= \ - virtual vtkCoordinate *Get##name##Coordinate (); \ - virtual void Set##name(float x[3]); \ - virtual void Set##name(float x, float y, float z); \ - virtual float *Get##name();" \ - "vtkViewportCoordinateMacro(name)= \ - virtual vtkCoordinate *Get##name##Coordinate (); \ - virtual void Set##name(float x[2]); \ - virtual void Set##name(float x, float y); \ - virtual float *Get##name();" \ - "vtkTypeMacro(thisClass,superclass)= \ - typedef superclass Superclass; \ - virtual const char *GetClassName(); \ - static int IsTypeOf(const char *type); \ - virtual int IsA(const char *type); \ - static thisClass* SafeDownCast(vtkObject *o);" \ - "vtkTypeRevisionMacro(thisClass,superclass)= \ - typedef superclass Superclass; \ - virtual const char *GetClassName(); \ - static int IsTypeOf(const char *type); \ - virtual int IsA(const char *type); \ - static thisClass* SafeDownCast(vtkObject *o);" \ - "VTK_LEGACY(x)= x" +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +DOXYFILE_ENCODING = UTF-8 +PROJECT_NAME = KWWidgets +PROJECT_NUMBER = +OUTPUT_DIRECTORY = @KWWidgets_BINARY_DIR@/Utilities/Doxygen/doc +CREATE_SUBDIRS = NO +OUTPUT_LANGUAGE = English +BRIEF_MEMBER_DESC = NO +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = YES +STRIP_FROM_PATH = dox \ + "@KWWidgets_SOURCE_DIR@" +STRIP_FROM_INC_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = YES +QT_AUTOBRIEF = NO +MULTILINE_CPP_IS_BRIEF = NO +INHERIT_DOCS = YES +SEPARATE_MEMBER_PAGES = NO +TAB_SIZE = 3 +ALIASES = +OPTIMIZE_OUTPUT_FOR_C = NO +OPTIMIZE_OUTPUT_JAVA = NO +OPTIMIZE_FOR_FORTRAN = NO +OPTIMIZE_OUTPUT_VHDL = NO +EXTENSION_MAPPING = +BUILTIN_STL_SUPPORT = NO +CPP_CLI_SUPPORT = NO +SIP_SUPPORT = NO +IDL_PROPERTY_SUPPORT = YES +DISTRIBUTE_GROUP_DOC = YES +SUBGROUPING = YES +TYPEDEF_HIDES_STRUCT = NO +SYMBOL_CACHE_SIZE = 0 +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- +EXTRACT_ALL = YES +EXTRACT_PRIVATE = NO +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = NO +EXTRACT_LOCAL_METHODS = NO +EXTRACT_ANON_NSPACES = NO +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = YES +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = YES +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +FORCE_LOCAL_INCLUDES = NO +INLINE_INFO = YES +SORT_MEMBER_DOCS = NO +SORT_BRIEF_DOCS = NO +SORT_MEMBERS_CTORS_1ST = NO +SORT_GROUP_NAMES = NO +SORT_BY_SCOPE_NAME = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ENABLED_SECTIONS = section_public \ + section_protected \ + section_private +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +SHOW_DIRECTORIES = YES +SHOW_FILES = YES +SHOW_NAMESPACES = YES +FILE_VERSION_FILTER = +LAYOUT_FILE = +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = NO +WARN_IF_DOC_ERROR = YES +WARN_NO_PARAMDOC = NO +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = "@KWWidgets_SOURCE_DIR@/Utilities/Doxygen/doc_autogenerated.dox" \ + "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/doc_mainpage.dox" \ + "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox" \ + "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/AutoGeneratedClasses" \ + "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/doc_KWWidgets_index.dox" \ + "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/doc_KWWidgets_events2.dox" \ + "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/dox/doc_KWWidgets_events.dox" +INPUT_ENCODING = UTF-8 +FILE_PATTERNS = *.h +RECURSIVE = NO +EXCLUDE = Common/vtkSetGet.h +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = +EXCLUDE_SYMBOLS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = * +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = "@KWWidgets_SOURCE_DIR@/Utilities/Doxygen" \ + "@KWWidgets_SOURCE_DIR@/Examples/Resources" +INPUT_FILTER = +FILTER_PATTERNS = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = NO +REFERENCES_RELATION = NO +REFERENCES_LINK_SOURCE = YES +USE_HTAGS = NO +VERBATIM_HEADERS = NO +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = YES +COLS_IN_ALPHA_INDEX = 3 +IGNORE_PREFIX = vtkKW \ + vtkPV \ + vtkSM \ + vtk +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_TIMESTAMP = NO +HTML_ALIGN_MEMBERS = YES +HTML_DYNAMIC_SECTIONS = NO +GENERATE_DOCSET = NO +DOCSET_FEEDNAME = "Doxygen generated docs" +DOCSET_BUNDLE_ID = org.doxygen.Project +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +CHM_INDEX_ENCODING = +BINARY_TOC = NO +TOC_EXPAND = NO +GENERATE_QHP = NO +QCH_FILE = +QHP_NAMESPACE = +QHP_VIRTUAL_FOLDER = doc +QHP_CUST_FILTER_NAME = +QHP_CUST_FILTER_ATTRS = +QHP_SECT_FILTER_ATTRS = +QHG_LOCATION = +GENERATE_ECLIPSEHELP = NO +ECLIPSE_DOC_ID = org.doxygen.Project +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = ALL +USE_INLINE_TREES = NO +TREEVIEW_WIDTH = 250 +FORMULA_FONTSIZE = 10 +SEARCHENGINE = NO +SERVER_BASED_SEARCH = NO +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = NO +LATEX_OUTPUT = latex +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES +LATEX_BATCHMODE = NO +LATEX_HIDE_INDICES = NO +LATEX_SOURCE_CODE = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +XML_PROGRAMLISTING = YES +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = YES +EXPAND_ONLY_PREDEF = YES +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = "vtkSetMacro(name,type)= virtual void Set##name (type);" \ + "vtkGetMacro(name,type)= virtual type Get##name ();" \ + "vtkSetStringMacro(name)= virtual void Set##name (const char*);" \ + "vtkGetStringMacro(name)= virtual char* Get##name ();" \ + "vtkSetClampMacro(name,type,min,max)= virtual void Set##name (type);" \ + "vtkSetObjectMacro(name,type)= virtual void Set##name (type*);" \ + "vtkGetObjectMacro(name,type)= virtual type *Get##name ();" \ + "vtkBooleanMacro(name,type)= virtual void name##On (); virtual void name##Off ();" \ + "vtkSetVector2Macro(name,type)= virtual void Set##name (type, type); void Set##name (type [2]);" \ + "vtkGetVector2Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &); virtual void Get##name (type [2]);" \ + "vtkSetVector3Macro(name,type)= virtual void Set##name (type, type, type); virtual void Set##name (type [3]);" \ + "vtkGetVector3Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &, type &); virtual void Get##name (type [3]);" \ + "vtkSetVector4Macro(name,type)= virtual void Set##name (type, type, type, type); virtual void Set##name (type [4]);" \ + "vtkGetVector4Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &, type &, type &); virtual void Get##name (type [4]);" \ + "vtkSetVector6Macro(name,type)= virtual void Set##name (type, type, type, type, type, type); virtual void Set##name (type [6]);" \ + "vtkGetVector6Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &, type &, type &, type &, type &); virtual void Get##name (type [6]);" \ + "vtkSetVectorMacro(name,type,count)= virtual void Set##name(type data[]);" \ + "vtkGetVectorMacro(name,type,count)= virtual type *Get##name (); virtual void Get##name(type data[##count]);" \ + "vtkWorldCoordinateMacro(name)= virtual vtkCoordinate *Get##name##Coordinate (); virtual void Set##name(float x[3]); virtual void Set##name(float x, float y, float z); virtual float *Get##name();" \ + "vtkViewportCoordinateMacro(name)= virtual vtkCoordinate *Get##name##Coordinate (); virtual void Set##name(float x[2]); virtual void Set##name(float x, float y); virtual float *Get##name();" \ + "vtkTypeMacro(thisClass,superclass)= typedef superclass Superclass; virtual const char *GetClassName(); static int IsTypeOf(const char *type); virtual int IsA(const char *type); static thisClass* SafeDownCast(vtkObject *o);" \ + "vtkTypeRevisionMacro(thisClass,superclass)= typedef superclass Superclass; virtual const char *GetClassName(); static int IsTypeOf(const char *type); virtual int IsA(const char *type); static thisClass* SafeDownCast(vtkObject *o);" \ + "VTK_LEGACY(x)= x" +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- +TAGFILES = /usr/share/doc/vtk-doc/vtk.tag +GENERATE_TAGFILE = @KWWidgets_BINARY_DIR@/Utilities/Doxygen/KWWidgets.tag +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = NO +MSCGEN_PATH = +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = YES +DOT_FONTNAME = FreeSans +DOT_FONTSIZE = 10 +DOT_FONTPATH = +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +GROUP_GRAPHS = YES +UML_LOOK = NO +TEMPLATE_RELATIONS = YES +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = NO +CALLER_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DOT_IMAGE_FORMAT = png +DOT_PATH = @DOT_PATH@ +DOTFILE_DIRS = +DOT_GRAPH_MAX_NODES = 50 +MAX_DOT_GRAPH_DEPTH = 0 +DOT_TRANSPARENT = NO +DOT_MULTI_TARGETS = NO +GENERATE_LEGEND = YES +DOT_CLEANUP = YES Index: kwwidgets-1.0.0~cvs20100930/CMake/FindMySQL.cmake =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/CMake/FindMySQL.cmake 2011-10-02 21:31:22.000000000 -0400 @@ -0,0 +1,68 @@ +# +# Find the MySQL client includes and library +# + +# This module defines +# MYSQL_INCLUDE_DIRECTORIES, where to find mysql.h +# MYSQL_LIBRARIES, the libraries to link against to connect to MySQL +# MYSQL_FOUND, If false, you cannot build anything that requires MySQL. + +# also defined, but not for general use are +# MYSQL_LIBRARY, where to find the MySQL library. + +# +# XXX NOTE: This is not yet for general use. I'm pretty sure there +# are other libraries I have to link against at the same time. +# + +SET( MYSQL_FOUND 0 ) + +FIND_PATH(MYSQL_INCLUDE_DIRECTORIES mysql.h + /usr/include + /usr/include/mysql + /usr/local/include + /usr/local/include/mysql + /usr/local/mysql/include + "C:/Program Files/MySQL/include" + "C:/MySQL/include" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.0;Location]/include" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.0;Location]/include" + DOC "Specify the directory containing mysql.h." +) + +FIND_LIBRARY( MYSQL_LIBRARY + NAMES mysql libmysql mysqlclient + PATHS + /usr/lib + /usr/lib/mysql + /usr/local/lib + /usr/local/lib/mysql + /usr/local/mysql/lib + "C:/Program Files/MySQL/lib" + "C:/MySQL/lib/debug" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.0;Location]/lib/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.0;Location]/lib/opt" + DOC "Specify the mysql library here." +) + +# On Windows you typically don't need to include any extra libraries +# to build MYSQL stuff. + +IF (NOT WIN32) + FIND_LIBRARY( MYSQL_EXTRA_LIBRARIES + NAMES z zlib + PATHS /usr/lib /usr/local/lib + DOC "If more libraries are necessary to link in a MySQL client (typically zlib), specify them here.") +ELSE (NOT WIN32) + SET( MYSQL_EXTRA_LIBRARIES "" ) +ENDIF (NOT WIN32) + + +IF (MYSQL_LIBRARY) + IF (MYSQL_INCLUDE_DIRECTORIES) + SET( MYSQL_FOUND 1 ) + ENDIF (MYSQL_INCLUDE_DIRECTORIES) +ENDIF (MYSQL_LIBRARY) + +MARK_AS_ADVANCED( MYSQL_FOUND MYSQL_LIBRARY MYSQL_EXTRA_LIBRARIES MYSQL_INCLUDE_DIRECTORIES ) + Index: kwwidgets-1.0.0~cvs20100930/CMake/KWWidgetsPathsMacros.cmake =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/CMake/KWWidgetsPathsMacros.cmake 2011-10-02 21:31:22.000000000 -0400 +++ kwwidgets-1.0.0~cvs20100930/CMake/KWWidgetsPathsMacros.cmake 2011-10-02 21:31:22.000000000 -0400 @@ -489,7 +489,7 @@ if(VTK_USE_MYSQL) if(NOT MYSQL_INCLUDE_DIRECTORIES AND NOT MYSQL_LIBRARY) - include("${VTK_CMAKE_DIR}/FindMySQL.cmake") + include("${KWWidgets_CMAKE_DIR}/FindIncrTCL.cmake") endif(NOT MYSQL_INCLUDE_DIRECTORIES AND NOT MYSQL_LIBRARY) if(MYSQL_LIBRARY) get_filename_component(path "${MYSQL_LIBRARY}" PATH) debian/patches/series0000644000000000000000000000016112133727113012030 0ustar 50_all_patches.diff fixtest.patch vtk58pythonwrapping.patch tcltk_relative.patch kwwidgets-fix-lib-depends.patch debian/patches/tcltk_relative.patch0000644000000000000000000000157311703051136014655 0ustar Description: Allow finding of init.tcl and tk.tcl This patch is required for VolView with shared forwared executable to work Otherwise user has to explicitely set : $ export TK_LIBRARY=/usr/share/tcltk/tk8.5/ $ export TCL_LIBRARY=/usr/share/tcltk/tk8.5/ This patch makes this transparent Author: Mathieu Malaterre Forwarded: not-needed Index: kwwidgets-1.0.0~cvs20100930/vtkKWApplication.cxx =================================================================== --- kwwidgets-1.0.0~cvs20100930.orig/vtkKWApplication.cxx 2012-01-10 14:18:49.000000000 +0000 +++ kwwidgets-1.0.0~cvs20100930/vtkKWApplication.cxx 2012-01-10 14:51:25.000000000 +0000 @@ -712,6 +712,9 @@ const char* relative_dirs[] = { + "../usr/share/tcltk/", + "../../usr/share/tcltk/", + "../../../usr/share/tcltk/", "lib", "../lib", "../../lib", debian/patches/kwwidgets-fix-lib-depends.patch0000644000000000000000000000215012133727113016614 0ustar Description: volview does not start because of a missing symbol Michael Karcher has debugged the problem and found the reason for the symbol lookup failure is kwwidgets not depending on required libraries for additional symbols volviews requires. The problem was triggered with vtk adding the linker option --as-needed for compiled. Author: John Paul Adrian Glaubitz Bug-Debian: http://bugs.debian.org/698698 Forwarded: not-needed Reviewed-By: Mathieu Malaterre --- kwwidgets-1.0.0~cvs20100930.orig/CMakeLists.txt +++ kwwidgets-1.0.0~cvs20100930/CMakeLists.txt @@ -745,6 +745,10 @@ add_library(KWWidgets target_link_libraries(KWWidgets vtkCommonTCL) if(KWWidgets_BUILD_VTK_WIDGETS) if(VTK_WRAP_TCL) + target_link_libraries(KWWidgets vtkFilteringTCL) + target_link_libraries(KWWidgets vtkImagingTCL) + target_link_libraries(KWWidgets vtkGraphicsTCL) + target_link_libraries(KWWidgets vtkIOTCL) if(VTK_USE_RENDERING OR VTK_USE_RENDERING_ISSET) target_link_libraries(KWWidgets vtkRenderingTCL) target_link_libraries(KWWidgets vtkHybridTCL) debian/changelog0000644000000000000000000001267212133727113011050 0ustar kwwidgets (1.0.0~cvs20100930-8) unstable; urgency=low * Fix volview does not start because of a missing symbol. Closes: #698698 * Remove obsolete DMUA flags, switch to my @debian.org alias -- Mathieu Malaterre Thu, 18 Apr 2013 10:25:46 +0200 kwwidgets (1.0.0~cvs20100930-7) unstable; urgency=low * Improve finding of init.tcl/tk.tcl, required for VolView to work. -- Mathieu Malaterre Tue, 10 Jan 2012 16:00:04 +0100 kwwidgets (1.0.0~cvs20100930-6) unstable; urgency=low * Patch CMake export configuration file. Closes: #640522 * Remove dot wrapper. Not required anymore since doxygen 1.7.4 * Export graphics as SVG, reducing package size by factor of 3. * Standards-Version: 3.9.2. No changes needed * Fix compilation with VTK 5.8.0. Closes: #650936 -- Mathieu Malaterre Tue, 22 Nov 2011 19:31:26 +0100 kwwidgets (1.0.0~cvs20100930-5) unstable; urgency=low * Fixed FTBFS if multiple python versions are installed, use default python Thanks to Jakub Wilk (Closes: #644062) * removed unnecessary dependencies -- Dominique Belhachemi Sun, 02 Oct 2011 21:25:21 -0400 kwwidgets (1.0.0~cvs20100930-4) unstable; urgency=low * Added patch for vtk5.8 -- Dominique Belhachemi Sun, 11 Sep 2011 22:08:30 -0400 kwwidgets (1.0.0~cvs20100930-3) unstable; urgency=low * Upload to unstable * debian/control: Added versioned dependecy to tcl-vtk (>= 5.6) -- Dominique Belhachemi Sat, 19 Feb 2011 15:29:48 -0500 kwwidgets (1.0.0~cvs20100930-2) experimental; urgency=low * debian/control: changed dependency from libopenmpi-dev to mpi-default-dev -- Dominique Belhachemi Sat, 29 Jan 2011 22:02:06 -0500 kwwidgets (1.0.0~cvs20100930-1) experimental; urgency=low * new upstream snapshot: CVSDATE="2010-06-30 23:59:59" * Standards-Version: 3.9.1 * bump soname to 1.0.1009, package name changed: libkwwidgets1.0.1009 -- Dominique Belhachemi Thu, 15 Jul 2010 15:52:05 -0400 kwwidgets (1.0.0~cvs20100630-1) experimental; urgency=low * new upstream snapshot: CVSDATE="2010-06-30 23:59:59" * bump soname to 1.0.1006, package name changed: libkwwidgets1.0.1006 * Switch to dpkg-source 3.0 (quilt) format -- Dominique Belhachemi Tue, 13 Jul 2010 16:56:57 -0400 kwwidgets (1.0.0~cvs20090825-5) unstable; urgency=low * kwwidgets-doc depends on vtk-doc (Closes: #552347) -- Dominique Belhachemi Tue, 29 Dec 2009 17:41:33 -0500 kwwidgets (1.0.0~cvs20090825-4) unstable; urgency=low * changed dependency to default-jdk * added dot wrapper taken from gdcmtk to reduce the size of kwwidgets-doc -- Dominique Belhachemi Sat, 12 Dec 2009 10:59:03 -0500 kwwidgets (1.0.0~cvs20090825-3) unstable; urgency=low * kwwidgets-doc: .png files downsized (Closes: #557818) * kwwidgets-doc: .md5 files removed (Closes: #552345) * Content from debian/kwwidgets-doc.install debian/libkwwidgets1.0.0908.install debian/tcl8.5-kwwidgets.install debian/python-kwwidgets.install debian/libkwwidgets1-dev.install moved to debian/rules * using default python version * added ./CMake/FindMySQL.cmake -- Dominique Belhachemi Mon, 07 Dec 2009 08:46:48 -0500 kwwidgets (1.0.0~cvs20090825-2) unstable; urgency=low * Use bzip2 compression for binary packages * Rebuild (Closes: #546441) -- Dominique Belhachemi Tue, 15 Sep 2009 22:46:56 -0400 kwwidgets (1.0.0~cvs20090825-1) unstable; urgency=low * new upstream snapshot * upload to unstable instead of experimental * bump soname to 1.0.0908, package name changed: libkwwidgets1.0.0908 * switch to Tcl/Tk 8.5, package name changed: tcl8.5-kwwidgets -- Dominique Belhachemi Wed, 26 Aug 2009 15:21:45 -0400 kwwidgets (1.0.0~cvs20090522-1) experimental; urgency=low * new upstream snapshot * new package python-kwwidgets added * new package tcl8.4-kwwidgets added * vtk-doc dependency for kwwidgets-doc removed * bump soname to 1.0.20090522 -- Dominique Belhachemi Sat, 23 May 2009 16:53:50 -0400 kwwidgets (1.0.0~cvs20080526-3) experimental; urgency=low * removed debian/libkwwidgets1.symbols -- Dominique Belhachemi Sun, 08 Feb 2009 20:51:44 -0500 kwwidgets (1.0.0~cvs20080526-2) experimental; urgency=low [ Mathieu Malaterre ] * debian/get-orig-source: cvs login is not required * debian/rules: support DEB_BUILD_OPTIONS=parallel=4, DEB_BUILD_OPTIONS=noopt * debian/rules: remove testing (neither installed, not run) * debian/rules: remove duplicate configuration * debian/rules: use doxygen target * kwwidgets doxygen need toplevel vtk class (for doxygen hierarchy). vtk-doc is now required [ Dominique Belhachemi] * added debian/libkwwidgets1.symbols * debhelper version increased to 7 * debian/control: doxygen & graphviz moved to Build-Depends-Indep * debian/copyright: removed ambiguity * debian/rules: uses "dh_prep" now instead of "dh_clean -k" -- Dominique Belhachemi Wed, 12 Nov 2008 21:59:28 +0100 kwwidgets (1.0.0~cvs20080526-1) experimental; urgency=low * Initial release (Closes: #473045) -- Dominique Belhachemi Mon, 23 Aug 2008 16:21:52 +0000 debian/kwwidgets-doc.doc-base0000644000000000000000000000130511252504142013333 0ustar Document: kwwidgets-doc Title: KWWidgets class documentation Author: Various Abstract: KWWidgets is a free, cross-platform and open-license GUI Toolkit. Like many other GUI toolkits, it provides low-level core widgets like buttons, entries, scales, menus, combo-boxes, thumbwheels, spin-boxes, trees, notebooks and multi-column lists to name a few. Unlike many of those toolkits though, it also provides advanced composite widgets like toolbars, tooltips, progress gauges, split-frames, splash-screens, 2D/3D extents, color pickers, histograms, windows and dialogs. Section: Programming Format: HTML Index: /usr/share/doc/kwwidgets-doc/html/index.html Files: /usr/share/doc/kwwidgets-doc/html/*.html debian/Doxyfile.in0000644000000000000000000003300011662765617011316 0ustar # Doxyfile 1.5.6 #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = KWWidgets PROJECT_NUMBER = OUTPUT_DIRECTORY = "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/doc" CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English BRIEF_MEMBER_DESC = NO REPEAT_BRIEF = YES ABBREVIATE_BRIEF = ALWAYS_DETAILED_SEC = NO INLINE_INHERITED_MEMB = NO FULL_PATH_NAMES = NO STRIP_FROM_PATH = dox \ "@KWWidgets_SOURCE_DIR@" STRIP_FROM_INC_PATH = SHORT_NAMES = NO JAVADOC_AUTOBRIEF = YES QT_AUTOBRIEF = NO MULTILINE_CPP_IS_BRIEF = NO DETAILS_AT_TOP = YES INHERIT_DOCS = YES SEPARATE_MEMBER_PAGES = NO TAB_SIZE = 3 ALIASES = OPTIMIZE_OUTPUT_FOR_C = NO OPTIMIZE_OUTPUT_JAVA = NO OPTIMIZE_FOR_FORTRAN = NO OPTIMIZE_OUTPUT_VHDL = NO BUILTIN_STL_SUPPORT = NO CPP_CLI_SUPPORT = NO SIP_SUPPORT = NO IDL_PROPERTY_SUPPORT = YES DISTRIBUTE_GROUP_DOC = YES SUBGROUPING = YES TYPEDEF_HIDES_STRUCT = NO #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- EXTRACT_ALL = YES EXTRACT_PRIVATE = NO EXTRACT_STATIC = YES EXTRACT_LOCAL_CLASSES = NO EXTRACT_LOCAL_METHODS = NO EXTRACT_ANON_NSPACES = NO HIDE_UNDOC_MEMBERS = NO HIDE_UNDOC_CLASSES = YES HIDE_FRIEND_COMPOUNDS = NO HIDE_IN_BODY_DOCS = NO INTERNAL_DOCS = NO CASE_SENSE_NAMES = YES HIDE_SCOPE_NAMES = NO SHOW_INCLUDE_FILES = YES INLINE_INFO = YES SORT_MEMBER_DOCS = NO SORT_BRIEF_DOCS = NO SORT_GROUP_NAMES = NO SORT_BY_SCOPE_NAME = NO GENERATE_TODOLIST = YES GENERATE_TESTLIST = YES GENERATE_BUGLIST = YES GENERATE_DEPRECATEDLIST= YES ENABLED_SECTIONS = section_public \ section_protected \ section_private MAX_INITIALIZER_LINES = 30 SHOW_USED_FILES = YES SHOW_DIRECTORIES = YES SHOW_FILES = YES SHOW_NAMESPACES = YES FILE_VERSION_FILTER = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- QUIET = NO WARNINGS = YES WARN_IF_UNDOCUMENTED = NO WARN_IF_DOC_ERROR = YES WARN_NO_PARAMDOC = NO WARN_FORMAT = "$file:$line: $text" WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- INPUT = "@KWWidgets_SOURCE_DIR@" \ "@KWWidgets_BINARY_DIR@/AutoGeneratedClasses/" INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.h RECURSIVE = YES EXCLUDE = Common/vtkSetGet.h EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = EXCLUDE_SYMBOLS = EXAMPLE_PATH = EXAMPLE_PATTERNS = EXAMPLE_RECURSIVE = NO IMAGE_PATH = "@KWWidgets_SOURCE_DIR@/Utilities/Doxygen" \ "@KWWidgets_SOURCE_DIR@/Examples/Resources" INPUT_FILTER = FILTER_PATTERNS = FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- SOURCE_BROWSER = YES INLINE_SOURCES = NO STRIP_CODE_COMMENTS = YES REFERENCED_BY_RELATION = NO REFERENCES_RELATION = NO REFERENCES_LINK_SOURCE = YES USE_HTAGS = NO VERBATIM_HEADERS = NO #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- ALPHABETICAL_INDEX = YES COLS_IN_ALPHA_INDEX = 3 IGNORE_PREFIX = vtkKW \ vtkPV \ vtkSM \ vtk #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- GENERATE_HTML = YES HTML_OUTPUT = html HTML_FILE_EXTENSION = .html HTML_HEADER = HTML_FOOTER = HTML_STYLESHEET = HTML_ALIGN_MEMBERS = YES GENERATE_HTMLHELP = YES GENERATE_DOCSET = NO DOCSET_FEEDNAME = "Doxygen generated docs" DOCSET_BUNDLE_ID = org.doxygen.Project HTML_DYNAMIC_SECTIONS = NO CHM_FILE = HHC_LOCATION = GENERATE_CHI = NO CHM_INDEX_ENCODING = BINARY_TOC = NO TOC_EXPAND = NO DISABLE_INDEX = NO ENUM_VALUES_PER_LINE = 4 GENERATE_TREEVIEW = NO TREEVIEW_WIDTH = 250 FORMULA_FONTSIZE = 10 #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- GENERATE_LATEX = NO LATEX_OUTPUT = latex LATEX_CMD_NAME = latex MAKEINDEX_CMD_NAME = makeindex COMPACT_LATEX = NO PAPER_TYPE = a4wide EXTRA_PACKAGES = LATEX_HEADER = PDF_HYPERLINKS = YES USE_PDFLATEX = YES LATEX_BATCHMODE = NO LATEX_HIDE_INDICES = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- GENERATE_RTF = NO RTF_OUTPUT = rtf COMPACT_RTF = NO RTF_HYPERLINKS = NO RTF_STYLESHEET_FILE = RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- GENERATE_MAN = NO MAN_OUTPUT = man MAN_EXTENSION = .3 MAN_LINKS = NO #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- GENERATE_XML = NO XML_OUTPUT = xml XML_SCHEMA = XML_DTD = XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- GENERATE_AUTOGEN_DEF = NO #--------------------------------------------------------------------------- # configuration options related to the Perl module output #--------------------------------------------------------------------------- GENERATE_PERLMOD = NO PERLMOD_LATEX = NO PERLMOD_PRETTY = YES PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES SEARCH_INCLUDES = YES INCLUDE_PATH = INCLUDE_FILE_PATTERNS = PREDEFINED = "vtkSetMacro(name,type)= virtual void Set##name (type);" \ "vtkGetMacro(name,type)= virtual type Get##name ();" \ "vtkSetStringMacro(name)= virtual void Set##name (const char*);" \ "vtkGetStringMacro(name)= virtual char* Get##name ();" \ "vtkSetClampMacro(name,type,min,max)= virtual void Set##name (type);" \ "vtkSetObjectMacro(name,type)= virtual void Set##name (type*);" \ "vtkGetObjectMacro(name,type)= virtual type *Get##name ();" \ "vtkBooleanMacro(name,type)= virtual void name##On (); virtual void name##Off ();" \ "vtkSetVector2Macro(name,type)= virtual void Set##name (type, type); void Set##name (type [2]);" \ "vtkGetVector2Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &); virtual void Get##name (type [2]);" \ "vtkSetVector3Macro(name,type)= virtual void Set##name (type, type, type); virtual void Set##name (type [3]);" \ "vtkGetVector3Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &, type &); virtual void Get##name (type [3]);" \ "vtkSetVector4Macro(name,type)= virtual void Set##name (type, type, type, type); virtual void Set##name (type [4]);" \ "vtkGetVector4Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &, type &, type &); virtual void Get##name (type [4]);" \ "vtkSetVector6Macro(name,type)= virtual void Set##name (type, type, type, type, type, type); virtual void Set##name (type [6]);" \ "vtkGetVector6Macro(name,type)= virtual type *Get##name (); virtual void Get##name (type &, type &, type &, type &, type &, type &); virtual void Get##name (type [6]);" \ "vtkSetVectorMacro(name,type,count)= virtual void Set##name(type data[]);" \ "vtkGetVectorMacro(name,type,count)= virtual type *Get##name (); virtual void Get##name(type data[##count]);" \ "vtkWorldCoordinateMacro(name)= virtual vtkCoordinate *Get##name##Coordinate (); virtual void Set##name(float x[3]); virtual void Set##name(float x, float y, float z); virtual float *Get##name();" \ "vtkViewportCoordinateMacro(name)= virtual vtkCoordinate *Get##name##Coordinate (); virtual void Set##name(float x[2]); virtual void Set##name(float x, float y); virtual float *Get##name();" \ "vtkTypeMacro(thisClass,superclass)= typedef superclass Superclass; virtual const char *GetClassName(); static int IsTypeOf(const char *type); virtual int IsA(const char *type); static thisClass* SafeDownCast(vtkObject *o);" \ "vtkTypeRevisionMacro(thisClass,superclass)= typedef superclass Superclass; virtual const char *GetClassName(); static int IsTypeOf(const char *type); virtual int IsA(const char *type); static thisClass* SafeDownCast(vtkObject *o);" \ "VTK_LEGACY(x)= x" EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- # Configuration::additions related to external references #--------------------------------------------------------------------------- TAGFILES = GENERATE_TAGFILE = "@KWWidgets_BINARY_DIR@/Utilities/Doxygen/KWWidgets.tag" ALLEXTERNALS = NO EXTERNAL_GROUPS = YES PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES MSCGEN_PATH = HIDE_UNDOC_RELATIONS = YES HAVE_DOT = YES DOT_FONTNAME = FreeSans DOT_FONTPATH = CLASS_GRAPH = YES COLLABORATION_GRAPH = YES GROUP_GRAPHS = YES UML_LOOK = NO TEMPLATE_RELATIONS = YES INCLUDE_GRAPH = YES INCLUDED_BY_GRAPH = YES CALL_GRAPH = NO CALLER_GRAPH = NO GRAPHICAL_HIERARCHY = YES DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = svg DOT_PATH = "@DOT_PATH@" DOTFILE_DIRS = DOT_GRAPH_MAX_NODES = 50 MAX_DOT_GRAPH_DEPTH = 0 DOT_TRANSPARENT = YES DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES DOT_CLEANUP = YES #--------------------------------------------------------------------------- # Configuration::additions related to the search engine #--------------------------------------------------------------------------- SEARCHENGINE = NO debian/Notes0000644000000000000000000000264611417156410010211 0ustar 0) SONAME 1.0.0 release 1.0.20090522 SONAME 1.0.20090522.0 SONAME + some version number libkwwidgets1 1 represents SONAME here libkwwidgets1-dev 1 represents SONAME here ------------------------------------------- this doesn't fit 100% the Debian Library Packaging guide http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html 1) create a symbol file dpkg-gensymbols -v1.0.0~cvs20080526 -plibkwwidgets1 -Pdebian/libkwwidgets1 -Odebian/libkwwidgets1.symbols ------------------------------------------------------------------------------------------------------------- The vtk-5.0 package in Debian depends on python-dev And python-dev depends on python2.5-dev But the variable VTK_INCLUDE_DIR contains a wrong path. It contains /usr/include/python2.4; instead of /usr/include/python2.5; $ less /usr/lib/vtk-5.0/VTKConfig.cmake ... # The VTK include file directories. SET(VTK_INCLUDE_DIRS "${VTK_INSTALL_PREFIX}/include/vtk-5.0;/usr/include/tcl8.4;/usr/include/python2.4;/usr/include/freetype2") ... In my case, this leads to a compiler error because /usr/include/python2.4 is not present on my computer and the compiler doesnt know where to find python2.5 which is required for kwwidgets. As a workaround i am using a compiler flag -DCMAKE_CXX_FLAGS="-I/usr/inlude/python2.5" ------------------------------------------------------------------------------------------------------------- debian/rules0000755000000000000000000000711611662765617010274 0ustar #!/usr/bin/make -f export DH_VERBOSE=0 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk CFLAGS = -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif export CFLAGS # set the number of build jobs ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) JOBS := -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) endif DEB_DH_BUILDDEB_ARGS := -- -Z bzip2 DEB_BUILDDIR = $(CURDIR)/DEB_build_shared DEB_DESTDIR = $(CURDIR)/debian/tmp DEB_MAKE_BUILD_TARGET := $(JOBS) DEB_MAKE_INSTALL_TARGET := $(JOBS) install PYVERS = $(shell pyversions -r debian/control) PYMODDIR = usr/lib/$(PYVERS)/site-packages PYEXTDIR = $(PYMODDIR) $(DEB_BUILDDIR)/CMakeCache.txt: debian/CMakeCache.txt.debian cp $< $@ echo CMAKE_INSTALL_PREFIX:PATH=$(CURDIR)/debian/tmp/usr >> $@ echo CMAKE_VERBOSE_MAKEFILE:BOOL=$(DH_VERBOSE) >> $@ echo CMAKE_CXX_FLAGS:STRING=-Wno-deprecated -I/usr/include/$(PYVERS) >> $@ echo CMAKE_SHARED_LINKER_FLAGS:STRING=-Wl,--as-needed >> $@ echo CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,--as-needed >> $@ echo BUILD_DOCUMENTATION:BOOL=ON >> $@ echo KWWidgets_BUILD_EXAMPLES:BOOL=OFF >> $@ echo KWWidgets_BUILD_TESTING:BOOL=OFF >> $@ echo BUILD_SHARED_LIBS:BOOL=ON >> $@ get-orig-source: /bin/sh $(CURDIR)/debian/get-orig-source common-configure-arch:: $(DEB_BUILDDIR)/CMakeCache.txt cd $(DEB_BUILDDIR) && cmake .. common-build-arch:: sed -i -e "s#/usr/lib/\(`dpkg-architecture -qDEB_HOST_MULTIARCH`/\)\?lib\([^;]*\)\.so#\2#g" ./DEB_build_shared/KWWidgetsLibraryDepends.cmake echo "python-kwwidgets: non-dev-pkg-with-shlib-symlink" > debian/python-kwwidgets.lintian-overrides echo "python-kwwidgets: package-name-doesnt-match-sonames" >> debian/python-kwwidgets.lintian-overrides dh_lintian install/kwwidgets-doc:: doxygen -u -s $(DEB_BUILDDIR)/Utilities/Doxygen/Doxyfile doxygen $(DEB_BUILDDIR)/Utilities/Doxygen/Doxyfile # remove zero byte files find $(DEB_BUILDDIR)/Utilities/Doxygen/doc/ -depth -empty | xargs rm -rf find $(DEB_BUILDDIR)/Utilities/Doxygen/doc/ -name "*.md5" | xargs rm -rf dh_install -pkwwidgets-doc ../../DEB_build_shared/Utilities/Doxygen/doc/html usr/share/doc/kwwidgets-doc install/python-kwwidgets:: dh_install -ppython-kwwidgets $(PYMODDIR)/KWWidgets-1.0*.egg-info $(PYMODDIR) dh_install -ppython-kwwidgets $(PYMODDIR)/libKWWidgetsPython.so $(PYMODDIR) dh_install -ppython-kwwidgets $(PYMODDIR)/kwwidgets.py $(PYMODDIR) dh_install -ppython-kwwidgets usr/lib/libKWWidgetsPythonD.so* usr/lib dh_pysupport -v install/kwwidgets-examples:: dh_installexamples -pkwwidgets-examples Examples/* install/tcl8.5-kwwidgets:: dh_install -ptcl8.5-kwwidgets usr/lib/KWWidgets/tcl/pkgIndex.tcl usr/lib/KWWidgets dh_install -ptcl8.5-kwwidgets usr/lib/tcl/kwwidgets/kwwidgets.tcl usr/lib/KWWidgets/kwwidgets install/libkwwidgets1.0.1009:: dh_install -plibkwwidgets1.0.1009 usr/lib/libKWWidgets.so.* usr/lib install/libkwwidgets1-dev:: dh_install -plibkwwidgets1-dev usr/lib/libKWWidgets.so usr/lib dh_install -plibkwwidgets1-dev usr/lib/KWWidgets/CMake/* usr/lib/KWWidgets/CMake dh_install -plibkwwidgets1-dev usr/lib/KWWidgets/*.cmake usr/lib/KWWidgets dh_install -plibkwwidgets1-dev usr/include/KWWidgets/* usr/include/KWWidgets clean:: rm -rf $(DEB_BUILDDIR) debian/README.source0000644000000000000000000000010612133727113011342 0ustar Please read /usr/share/doc/quilt/README.source for more information. debian/source/0000755000000000000000000000000012133727132010467 5ustar debian/source/format0000644000000000000000000000001411417173605011701 0ustar 3.0 (quilt) debian/CMakeCache.txt.debian0000644000000000000000000000003111252504142013042 0ustar CMAKE_SKIP_RPATH:BOOL=ON debian/copyright0000644000000000000000000002133711143504211011117 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat Debianized-By: Dominique Belhachemi Debianized-Date: Fri, 21 Mar 2008 16:21:52 +0000 Original-Source: http://www.kwwidgets.org Files: * Copyright: Copyright (c) 1993-2008 Ken Martin, Will Schroeder, Bill Lorensen License: BSD-like Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. . * Modified source versions must be plainly marked as such, and must not be misrepresented as being the original software. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: Utilities/TkTreeCtrl/* Copyright: Copyright (c) Tim Baker and other parties License: BSD-like This software is copyrighted by Tim Baker and other parties. The following terms apply to all files associated with the software unless explicitly disclaimed in individual files. . The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. Files: Utilities/Tablelist/* Copyright: Copyright (c) 2000-2006 Csaba Nemethi License: BSD-like This library is free software; you can use, modify, and redistribute it for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. . This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Files: Utilities/BWidgets/* Copyright: Copyright (c) 1998-1999 UNIFIX. Copyright (c) 2001-2002 ActiveState Corp. License: BSD-like The following terms apply to all files associated with the software unless explicitly disclaimed in individual files. . The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. Files: Utilities/tkdnd/* Copyright: Copyright (c) George Petasis, National Centre for Scientific Research "Demokritos", Aghia Paraskevi, Athens, Greece. e-mail: petasis@iit.demokritos.gr and Laurent Riesterer, Rennes, France. e-mail: (laurent.riesterer@free.fr) License: BSD-like The following terms apply to all files associated with the software unless explicitly disclaimed in individual files. . The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. Files: debian/* Copyright: Copyright 2008, Dominique Belhachemi License: GPL-2+ The Debian packaging is licensed under the GPL-2 or any later version, see `/usr/share/common-licenses/GPL-2' debian/get-orig-source0000644000000000000000000000107411662765617012147 0ustar #!/bin/sh PACKAGE=kwwidgets VERSION=1.0.0~cvs20100930 CVSDATE="2010-09-30 23:59:59" FOLDER=$PACKAGE-$VERSION TARFILE=kwwidgets_$VERSION.orig.tar.gz CVSHOME=:pserver:anoncvs@www.kwwidgets.org:/cvsroot/KWWidgets cvs -d:pserver:anoncvs@www.kwwidgets.org:/cvsroot/KWWidgets export -D "$CVSDATE" KWWidgets #cvs -d:pserver:anoncvs@www.kwwidgets.org:/cvsroot/KWWidgets export -r Slicer-3-6 KWWidgets for REMOVE_CVS in `find KWWidgets -name .cvsignore`; do rm "$REMOVE_CVS" done mv KWWidgets $FOLDER GZIP="--best --no-name" tar cvzf $TARFILE $FOLDER rm -rf $FOLDER debian/README.Debian0000644000000000000000000000151611307071601011226 0ustar KWWidgets for Debian -------------------- # Online API Documentation # http://www.kwwidgets.org/doc/nightly/html/index.html # Local API Documentation # file:///usr/share/doc/kwwidgets-doc/html/index.html # You can test your KWWidgets installation: # # Examples from the kwwidgets-examples package can be easily compiled: # sudo find /usr/share/doc/kwwidgets-examples/examples -name "*.gz" | sudo xargs gunzip mkdir my_test_dir_for_kwwidgets cd my_test_dir_for_kwwidgets ccmake /usr/share/doc/kwwidgets-examples/examples make ## Interpretertest tclsh /usr/share/doc/kwwidgets-examples/examples/Tcl/PolygonalObjectViewer/KWPolygonalObjectViewerExample.tcl python /usr/share/doc/kwwidgets-examples/examples/Python/WidgetsTour/KWWidgetsTourExample.py -- Dominique Belhachemi Fri, 21 Mar 2008 16:21:52 +0000