debian/0000775000000000000000000000000012312070562007166 5ustar debian/patches/0000775000000000000000000000000012312070511010607 5ustar debian/patches/series0000664000000000000000000000005412312070511012023 0ustar use-empty-rpath.patch graphviz-2.36.0.patch debian/patches/graphviz-2.36.0.patch0000664000000000000000000000351712312070477014227 0ustar From e3b0fc71869fcf77a390b6b31e2186ad91cafac0 Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Tue, 18 Mar 2014 12:11:21 +0100 Subject: [PATCH] Make compile with GraphViz >= 2.36.0 Fixes #70 --- cmake/FindGraphviz.cmake | 7 +++++++ plugins/statemachineviewer/CMakeLists.txt | 1 + 2 files changed, 8 insertions(+) diff --git a/cmake/FindGraphviz.cmake b/cmake/FindGraphviz.cmake index 945b461..523325e 100644 --- a/cmake/FindGraphviz.cmake +++ b/cmake/FindGraphviz.cmake @@ -8,6 +8,7 @@ # GRAPHVIZ_MAJOR_VERSION = The library major version number # GRAPHVIZ_MINOR_VERSION = The library minor version number # GRAPHVIZ_PATCH_VERSION = The library patch version number +# GRAPHVIZ_COMPILE_FLAGS = List of compile flags needed by the GraphViz installation headers # # This module reads hints about search locations from the following env variables: # GRAPHVIZ_ROOT - Graphviz installation prefix @@ -147,6 +148,12 @@ if(GRAPHVIZ_FOUND) list(GET VL 2 GRAPHVIZ_PATCH_VERSION) endif() + set(GRAPHVIZ_COMPILE_FLAGS "") + check_include_files(string.h HAVE_STRING_H) + if (HAVE_STRING_H) + list(APPEND GRAPHVIZ_COMPILE_FLAGS "-DHAVE_STRING_H=1") + endif() + if(NOT GRAPHVIZ_FIND_QUIETLY) message(STATUS "Found Graphviz: ${GRAPHVIZ_CDT_LIBRARY} ${GRAPHVIZ_GVC_LIBRARY} ${GRAPHVIZ_CGRAPH_LIBRARY} ${GRAPHVIZ_GRAPH_LIBRARY} ${GRAPHVIZ_PATHPLAN_LIBRARY}") endif() diff --git a/plugins/statemachineviewer/CMakeLists.txt b/plugins/statemachineviewer/CMakeLists.txt index 26896fe..97a5e44 100644 --- a/plugins/statemachineviewer/CMakeLists.txt +++ b/plugins/statemachineviewer/CMakeLists.txt @@ -69,6 +69,7 @@ else() ${GRAPHVIZ_GRAPH_LIBRARY} ) endif() +add_definitions(${GRAPHVIZ_COMPILE_FLAGS}) qt4_wrap_ui(gammaray_statemachineviewer_ui_plugin_srcs statemachineviewer.ui) -- 1.8.5.5 debian/patches/use-empty-rpath.patch0000664000000000000000000000103512305666306014712 0ustar From: Jakub Adam Date: Thu, 10 Jan 2013 20:16:29 +0100 Subject: use-empty-rpath --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 92e1955..6cbe7de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,8 +36,6 @@ set(GAMMARAY_VERSION_STRING "${GAMMARAY_VERSION}") set(GAMMARAY_SOVERSION "${GAMMARAY_VERSION}") set(GAMMARAY_PLUGIN_VERSION "2.0") -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) - enable_testing() if(EXISTS "${CMAKE_SOURCE_DIR}/.git") debian/gammaray.lintian-overrides0000664000000000000000000000005412267543174014360 0ustar gammaray: package-name-doesnt-match-sonames debian/gammaray-dev.install0000664000000000000000000000004412267543174013143 0ustar usr/include usr/lib/libgammaray*.so debian/gammaray-probe-qt4.lintian-overrides0000664000000000000000000000006612267543174016176 0ustar gammaray-probe-qt4: package-name-doesnt-match-sonames debian/copyright0000664000000000000000000001431112267543174011136 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Upstream-Name: GammaRay Files: * Copyright: 2006, Bradley T. Hughes 2010-2013, Klarälvdalens Datakonsult AB, a KDAB Group company License: GPL-2+ Files: 3rdparty/kde/* Copyright: 2007, David Faure 2010, Klarälvdalens Datakonsult AB, a KDAB Group company 2007-2008, Omat Holding B.V. 2009, Stephen Kelly License: LGPL-2+ Files: 3rdparty/qt/* launcher/ui/processlist.h launcher/ui/processlist_win.cpp launcher/ui/processlist_unix.cpp Copyright: 2011, Nokia Corporation and/or its subsidiary(-ies) License: LGPL-2.1 Files: cmake/GammaRayMacros.cmake Copyright: 2011-2013 Klarälvdalens Datakonsult AB, a KDAB Group company License: BSD-3-clause Files: cmake/ECMQt4To5Porting.cmake Copyright: 2005-2011, Kitware, Inc. License: BSD-3-clause Files: cmake/FindGraphviz.cmake Copyright: 2009, Adrien Bustany 2013, Kevin Funk 2012-2013, Klarälvdalens Datakonsult AB, a KDAB Group company License: GPL-3+ Files: cmake/MacroLogFeature.cmake Copyright: 2006, Alexander Neundorf 2006, Allen Winter 2009, Sebastian Trueg License: BSD-3-clause Files: core/ui/palettemodel.cpp Copyright: 2010, Ariya Hidayat 2012-2013, Klarälvdalens Datakonsult AB, a KDAB Group company License: GPL-2+ Files: core/tools/messagehandler/StackWalker.cpp core/tools/messagehandler/StackWalker.h Copyright: 2005-2011, Jochen Kalmbach License: BSD-2-clause Files: core/tools/modelinspector/modeltest.cpp core/tools/modelinspector/modeltest.h tests/modeltest.cpp tests/modeltest.h Copyright: 2007 Trolltech ASA License: GPL-2 Files: core/tools/messagehandler/backtrace_unix.cpp Copyright: 2002 Holger Freyther (freyther@kde.org) 2010-2013, Klarälvdalens Datakonsult AB, a KDAB Group company 1997, Matthias Kalle Dalheimer (kalle@kde.org) License: LGPL-2+ Files: debian/* Copyright: 2012-2014, Debian KDE Extras Team License: GPL-2+ Files: launcher/injector/interactiveprocess.* Copyright: 2006, Bradley T. Hughes License: GPL-2+ License: GPL-2 For full text of GNU General Public License v2 see /usr/share/common-licenses/GPL-2. License: GPL-2+ You may use the software under the terms of GNU General Public License v2 or, at your option, any later version. . For full text of GPL-2 see /usr/share/common-licenses/GPL-2. For the latest version of the GPL see /usr/share/common-licenses/GPL. License: GPL-3+ You may use the software under the terms of GNU General Public License v3 or, at your option, any later version. . For full text of GPL-3 see /usr/share/common-licenses/GPL-3. For the latest version of the GPL see /usr/share/common-licenses/GPL. License: LGPL-2 For full text of GNU Library General Public License v2 see /usr/share/common-licenses/LGPL-2. License: LGPL-2+ You may use the software under the terms of GNU Library General Public License v2 or, at your option, any later version. . For full text of LGPL-2 see /usr/share/common-licenses/LGPL-2. For the latest version of the LGPL see /usr/share/common-licenses/LGPL. License: LGPL-2.1 For full text of GNU Library General Public License v2.1 see /usr/share/common-licenses/GPL-2.1. License: BSD-2-clause 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. . 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 COPYRIGHT HOLDER 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. License: BSD-3-clause 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 the name of Kitware, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . 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 COPYRIGHT HOLDER 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. debian/gammaray-probe-qt4.install0000664000000000000000000000265412267543174014213 0ustar usr/lib/libgammaray*qt4*.so.* usr/lib/gammaray/*/qt4*/gammaray_actioninspector.desktop usr/lib/gammaray/*/qt4*/gammaray_actioninspector_plugin.so usr/lib/gammaray/*/qt4*/gammaray_codecbrowser.desktop usr/lib/gammaray/*/qt4*/gammaray_codecbrowser_plugin.so usr/lib/gammaray/*/qt4*/gammaray_fontbrowser.desktop usr/lib/gammaray/*/qt4*/gammaray_fontbrowser_plugin.so usr/lib/gammaray/*/qt4*/gammaray_inprocessui.so usr/lib/gammaray/*/qt4*/gammaray_probe.so usr/lib/gammaray/*/qt4*/gammaray_sceneinspector.desktop usr/lib/gammaray/*/qt4*/gammaray_sceneinspector_plugin.so usr/lib/gammaray/*/qt4*/gammaray_scriptenginedebugger.desktop usr/lib/gammaray/*/qt4*/gammaray_scriptenginedebugger_plugin.so usr/lib/gammaray/*/qt4*/gammaray_selectionmodelinspector.desktop usr/lib/gammaray/*/qt4*/gammaray_selectionmodelinspector_plugin.so usr/lib/gammaray/*/qt4*/gammaray_statemachineviewer.desktop usr/lib/gammaray/*/qt4*/gammaray_statemachineviewer_plugin.so usr/lib/gammaray/*/qt4*/gammaray_styleinspector.desktop usr/lib/gammaray/*/qt4*/gammaray_styleinspector_plugin.so usr/lib/gammaray/*/qt4*/gammaray_timertop.desktop usr/lib/gammaray/*/qt4*/gammaray_timertop_plugin.so usr/lib/gammaray/*/qt4*/gammaray_webinspector.desktop usr/lib/gammaray/*/qt4*/gammaray_webinspector_plugin.so usr/lib/gammaray/*/qt4*/gammaray_widgetinspector.desktop usr/lib/gammaray/*/qt4*/gammaray_widgetinspector_plugin.so usr/lib/gammaray/*/qt4*/libgammaray_widget_export_actions.so debian/watch0000664000000000000000000000011312014645403010213 0ustar version=3 http://githubredir.debian.net/github/KDAB/GammaRay /v(.*).tar.gz debian/control0000664000000000000000000001026012312070567010575 0ustar Source: gammaray Priority: optional Section: devel Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian KDE Extras Team Uploaders: Jakub Adam Build-Depends: debhelper (>= 9), cmake, kdelibs5-dev, qtbase5-private-dev, qtscript5-dev, qttools5-dev, libqt5svg5-dev, libqt5webkit5-dev, qtdeclarative5-dev, libqt4-dev, libqt4-private-dev, libqtwebkit-dev, libgraphviz-dev, gdb, xauth, xvfb Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-extras/gammaray.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-extras/gammaray.git Homepage: http://www.kdab.com/gammaray Package: gammaray Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: gammaray-probe-qt4, gdb Description: Tool for examining the internals of Qt application GammaRay is a tool for examining the internals of a Qt application and to some extent also manipulate it. GammaRay uses injection methods to hook into an application at runtime and provide access to a wide variety of interesting information. It provides easy ways of navigating through the complex internal structures you find in some Qt frameworks, such as QGraphicsView, model/view, QTextDocument, state machines and more. Package: gammaray-probe-qt4 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: gammaray (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: GammaRay support for inspecting Qt4 applications This package contains GammaRay probe libraries that have to be loaded into the application being inspected in order to allow GammaRay to examine its internals. The gammaray package already includes the probe binaries compiled for Qt5. Install this package if you want to use GammaRay with Qt4 applications. #Package: gammaray-plugin-objectvisualizer #Architecture: any #Depends: gammaray (= ${binary:Version}), # ${shlibs:Depends}, # ${misc:Depends} #Description: QObject hierarchy visualization plugin for GammaRay # This plugin can visualize parent-child relationships of QObjects in a # form of planar or 3D acyclic graph. Multiple graph layout algorihtms # are available. # . # Also, for use with 3D glasses, various types of stereoscopic rendering # are supported. Package: gammaray-plugin-kjobtracker Architecture: any Depends: gammaray (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: KJob tracker plugin for GammaRay This plugin can be used to monitor KJob instances within a KDE-based application. Package: gammaray-dev Architecture: any Section: libdevel Depends: gammaray (= ${binary:Version}), ${misc:Depends} Description: GammaRay plugin development files GammaRay is a tool for examining the internals of a Qt application and to some extent also manipulate it. GammaRay uses injection methods to hook into an application at runtime and provide access to a wide variety of interesting information. It provides easy ways of navigating through the complex internal structures you find in some Qt frameworks, such as QGraphicsView, model/view, QTextDocument, state machines and more. . This package contains header files used for building 3rd party GammaRay plugins. Package: gammaray-dbg Architecture: any Section: debug Priority: extra Depends: gammaray (= ${binary:Version}), ${misc:Depends} Description: debugging symbols for gammaray GammaRay is a tool for examining the internals of a Qt application and to some extent also manipulate it. GammaRay uses injection methods to hook into an application at runtime and provide access to a wide variety of interesting information. It provides easy ways of navigating through the complex internal structures you find in some Qt frameworks, such as QGraphicsView, model/view, QTextDocument, state machines and more. . This package contains the debugging symbols for gammaray. debian/changelog0000664000000000000000000000446112312070562011045 0ustar gammaray (2.0.1-1ubuntu1) trusty; urgency=medium * Fix build failure with GraphViz >= 2.36.0. - Add graphviz-2.36.0.patch, cherry-picked from upstream. -- Felix Geyer Tue, 18 Mar 2014 17:16:13 +0100 gammaray (2.0.1-1) unstable; urgency=medium * New upstream release. * Refreshed d/patches/use-empty-rpath.patch. -- Jakub Adam Wed, 05 Mar 2014 19:28:40 +0100 gammaray (2.0.0-1) unstable; urgency=low * New upstream release. * Refreshed d/patches/use-empty-rpath.patch. * Removed no longer needed patches: - widget-export-actions-location.patch - harfbuzz-search-path.patch - find-widget-export-actions-when-attaching.patch - gammaray-probe-versioned-soname.patch. * Use xz for orig tarball compression. * Bump Standards-Version to 3.9.5. * Enable build of Qt5 GUI and Qt5 + Qt4 probe libraries. -- Jakub Adam Tue, 21 Jan 2014 22:03:14 +0100 gammaray (1.3.0-1) experimental; urgency=low * New upstream release. * Add dependency on VTK 5.10 and enable object visualizer plugin. * Don't set RPATH in binaries; prevents binary-or-shlib-defines-rpath lintian error. * Refreshed d/patches/widget-export-actions-location.patch and d/patches/gammaray-probe-versioned-soname.patch. * Enable KJob tracker plugin. * Updated d/copyright. -- Jakub Adam Mon, 04 Feb 2013 22:54:36 +0100 gammaray (1.2.2-1) unstable; urgency=low * New upstream release. * Removed d/patches/dont-build-functionoverwriter.patch and debian/patches/gnu-hurd-build-fix.patch (applied upstream). * Refreshed d/patches/gammaray-probe-versioned-soname.patch. * Bump Standards-Version to 3.9.4. -- Jakub Adam Sat, 22 Dec 2012 18:17:04 +0100 gammaray (1.2.1-2) unstable; urgency=low * Build-depend on libgraphviz-dev instead of dummy transitional graphviz-dev. * Fix build on GNU Hurd. * Don't build core/hooking/*.cpp. Function overwriter is used only on Windows and Mac, disabling it fixes building GammaRay on other archs than i386 and amd64. -- Jakub Adam Thu, 06 Sep 2012 15:45:25 +0200 gammaray (1.2.1-1) unstable; urgency=low * Initial release. (Closes: #654667) -- Jakub Adam Tue, 21 Aug 2012 10:48:10 +0200 debian/compat0000664000000000000000000000000212014645403010365 0ustar 9 debian/gammaray-plugin-objectvisualizer.install0000664000000000000000000000006212267543174017245 0ustar usr/lib/gammaray/*/qt*/gammaray_objectvisualizer* debian/gammaray.install0000664000000000000000000000144412267543174012374 0ustar usr/bin usr/lib/libgammaray*qt5*.so.* usr/lib/gammaray/libexec usr/lib/gammaray/*/qt5*/gammaray_actioninspector* usr/lib/gammaray/*/qt5*/gammaray_codecbrowser* usr/lib/gammaray/*/qt5*/gammaray_fontbrowser* usr/lib/gammaray/*/qt5*/gammaray_inprocessui.so usr/lib/gammaray/*/qt5*/gammaray_probe.so usr/lib/gammaray/*/qt5*/gammaray_sceneinspector* usr/lib/gammaray/*/qt5*/gammaray_scriptenginedebugger* usr/lib/gammaray/*/qt5*/gammaray_selectionmodelinspector* usr/lib/gammaray/*/qt5*/gammaray_statemachineviewer* usr/lib/gammaray/*/qt5*/gammaray_styleinspector* usr/lib/gammaray/*/qt5*/gammaray_timertop* usr/lib/gammaray/*/qt5*/gammaray_webinspector* usr/lib/gammaray/*/qt5*/gammaray_widgetinspector* usr/lib/gammaray/*/qt5*/libgammaray_widget_export_actions.so usr/lib/gammaray/*/qt5*/styles/* usr/share debian/gammaray-plugin-kjobtracker.install0000664000000000000000000000005512267543174016164 0ustar usr/lib/gammaray/*/qt*/gammaray_kjobtracker* debian/gbp.conf0000664000000000000000000000003112267543174010614 0ustar [DEFAULT] compression=xz debian/source/0000775000000000000000000000000012014645403010467 5ustar debian/source/format0000664000000000000000000000001412014645403011675 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000227012267543174010264 0ustar #!/usr/bin/make -f .PHONY: override_dh_auto_configure override_dh_auto_build override_dh_auto_test override_dh_auto_install override_dh_installdocs override_dh_strip override_dh_clean export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed %: dh $@ --parallel override_dh_auto_configure: # Move away bundled Qt private headers so that system versions are used if [ -d 3rdparty/qt/private ]; then \ mv 3rdparty/qt/private 3rdparty/qt/private.dont.use; \ fi dh_auto_configure -B obj-qt5 dh_auto_configure -B obj-qt4 -- -DGAMMARAY_ENFORCE_QT4_BUILD=ON -DGAMMARAY_PROBE_ONLY_BUILD=ON override_dh_auto_build: dh_auto_build -B obj-qt5 -O--parallel dh_auto_build -B obj-qt4 -O--parallel override_dh_auto_test: xvfb-run dh_auto_test override_dh_auto_install: dh_auto_install -B obj-qt5 dh_auto_install -B obj-qt4 rm -f debian/tmp/usr/share/doc/gammaray/License.txt override_dh_installdocs: dh_installdocs --link-doc=gammaray override_dh_strip: dh_strip --dbg-package=gammaray-dbg override_dh_clean: dh_clean # Put back bundled Qt private headers to restore sources into original state if [ -d 3rdparty/qt/private.dont.use ]; then \ mv 3rdparty/qt/private.dont.use 3rdparty/qt/private; \ fi