debian/0000755000000000000000000000000012253610366007172 5ustar debian/control0000644000000000000000000001234112253610135010570 0ustar Source: camitk Maintainer: Debian Med Packaging Team Uploaders: Andreas Tille , Emmanuel Promayon Section: science Priority: optional Build-Depends: debhelper (>= 9), cmake, libvtk5-dev (>= 5.8), libqt4-dev, libvtk5-qt4-dev (>= 5.8), xsdcxx, libinsighttoolkit3-dev (>= 3.20), libxerces-c-dev, libxml2-dev, libgdcm2-dev, libfftw3-dev, libqtwebkit-dev | libqt4-dev (<< 4.7), libvtkgdcm2-dev Build-Depends-Indep: doxygen, graphviz Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/camitk/trunk/ Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/camitk/trunk/ Homepage: http://camitk.imag.fr/ X-Homepage: https://forge.imag.fr/projects/camitk/ Package: libcamitk3 Architecture: any Depends: libqtpropertybrowser3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Computer Assisted Medical Intervention Tool Kit - runtime Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . This package contains the shared libraries needed to run CamiTK applications. Package: libcamitk3-dev Architecture: any Section: libdevel Depends: libcamitk3 (= ${binary:Version}), libqtpropertybrowser3-dev, ${misc:Depends}, ${shlibs:Depends} Recommends: camitk-imp Suggests: camitk-actionstatemachine Description: Computer Assisted Medical Intervention Tool Kit - development Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . This package contains development files needed to build CamiTK applications. This package also provides the CamiTK wizard to create new extensions. Package: libcamitk3-data Architecture: all Section: doc Depends: ${misc:Depends} Description: Computer Assisted Medical Intervention Tool Kit - data Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . This package contains the example and test data for CamiTK. Package: libcamitk3-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: Computer Assisted Medical Intervention Tool Kit - documentation Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . This package contains the documentation for CamiTK. Package: camitk-imp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: camitk-actionstatemachine Description: workbench application for the CamiTK library CamiTK helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . camitk-imp is the CamiTK workbench application where you can test all available extensions for prototyping. It provides an easy and interactive access to all available data and algorithm parameters, including the one you build yourself using the CamiTK SDK. . For example, camitk-imp can visualize medical images from a lot of different (standard) formats, offers image processing and segmentation algorithms to reconstruct a mesh geometry and run a biomechanical simulation. Package: camitk-actionstatemachine Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: camitk-imp Description: pipeline replay application for the CamiTK library CamiTK helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . camitk-actionstatemachine is able to replay a pipeline (workflow) of CamiTK actions. This application takes an CamiTK augmented version of a SCXML subset as input and allow to replay interactive the described state-machine containing a list of CamiTK actions and transitions. Package: libqtpropertybrowser3 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Qt Property Browser Library - runtime A framework providing a set of graphical editors for Qt properties similar to the one used in Qt Designer. . This package contains the shared libraries needed to run applications linked against libqtpropertybrowser3. Package: libqtpropertybrowser3-dev Architecture: any Section: libdevel Depends: libqtpropertybrowser3 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Qt Property Browser Library - development A framework providing a set of graphical editors for Qt properties similar to the one used in Qt Designer. . This package contains development files needed to build applications using Qt Property Browser debian/libcamitk3-dev.lintian-overrides0000644000000000000000000000060612214301063015336 0ustar # W overrides for hardening-no-fortify-functions because of false positives [1] # To verify this is only false positives, I used hardening-check --verbose on the # incriminated binary (camitk-wizard) and it reported only unprotected on # memmove and memcpy # [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673112 libcamitk3-dev: hardening-no-fortify-functions usr/bin/camitk-wizard debian/rules0000755000000000000000000001341212253610265010251 0ustar #!/usr/bin/make -f # DH_VERBOSE := 1 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed # CamiTK version VER_MAJOR=3 VER_MINOR=2 VER_SHORT=$(VER_MAJOR).$(VER_MINOR) # package aliases (see d/control) pkg_lib = libcamitk$(VER_MAJOR) pkg_qpb = libqtpropertybrowser$(VER_MAJOR) pkg_dev = libcamitk$(VER_MAJOR)-dev pkg_qpb_dev = libqtpropertybrowser$(VER_MAJOR)-dev pkg_data = libcamitk$(VER_MAJOR)-data pkg_doc = libcamitk$(VER_MAJOR)-doc pkg_imp = camitk-imp pkg_asm = camitk-actionstatemachine # dpkg-shlibdeps needs to know about camitk extension directories to manage inner-dependencies # between extensions (i.e., mml component extension depends on physicalmodel component extensions) # for component extensions: LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):$(CURDIR)/debian/${pkg_lib}/usr/lib/camitk-${VER_SHORT}/components/ # for action extensions: LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):$(CURDIR)/debian/${pkg_lib}/usr/lib/camitk-${VER_SHORT}/actions/ # for private libraries: LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):$(CURDIR)/debian/${pkg_lib}/usr/lib/camitk-${VER_SHORT}/ # CMake flags are of two types: # - generic (to tell cmake to build proper binaries) # - CamiTK specific options CMAKE_EXTRA_FLAGS = \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF \ -DCMAKE_BUILD_TYPE:STRING=None \ \ -DCEP_IMAGING:BOOL=TRUE \ -DCEP_MODELING:BOOL=TRUE \ \ -DAPIDOC_SDK:BOOL=TRUE \ \ -DCAMITK_DICOM_INCOMPLETE_SUPPORT:BOOL=ON %: dh $@ override_dh_auto_configure: dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) # let's be smart with doc override_dh_auto_build-indep: $(MAKE) -C obj-* apidoc # remove the javascript search field rm -f obj-*/share/camitk-$(VER_SHORT)/apidoc/html/jquery.js # No tests needed for docs override_dh_auto_test-indep: override_dh_install: # $(CURDIR) is the current source dir # camitk dynamic library dh_install -p$(pkg_lib) --autodest debian/tmp/usr/lib/libcamitkcore.so.* dh_install -p$(pkg_lib) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/lib*.so.* dh_install -p$(pkg_lib) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/actions/lib*.so.* dh_install -p$(pkg_lib) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/components/lib*.so.* # camitk-config is part of libcamitk dh_install -p$(pkg_lib) --autodest debian/tmp/usr/bin/camitk-config dh_install -p$(pkg_lib) --autodest debian/tmp/usr/share/pixmaps/camitk-config.xpm dh_installman -p$(pkg_lib) debian/tmp/usr/share/man/man1/camitk-config.1 # separate tools qtpropertybrowser dh_install -p$(pkg_qpb) debian/tmp/usr/lib/libqtpropertybrowser.so.* usr/lib # camitk so and headers and static libs + wizard dh_install -p$(pkg_dev) debian/tmp/usr/lib/libcamitkcore.so usr/lib dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/lib*.so dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/actions/lib*.so dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/components/lib*.so dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/lib*.a dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/camitkcore dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/coreschema dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/actions dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/components dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/pml dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/lml dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/mml dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/monitoring dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/monitoringgui dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/cmake/*.cmake dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/cmake/macros/*.cmake dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/cmake/launcher-templates/*.in dh_install -p$(pkg_dev) --autodest debian/tmp/usr/bin/camitk-wizard dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/applications/camitk-wizard.desktop dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/pixmaps/camitk-wizard.xpm dh_installman -p$(pkg_dev) debian/tmp/usr/share/man/man1/camitk-wizard.1 # qtpropertybrowser so and headers (includes are put directly in usr/include as package should be generic/independant from CamiTK) dh_install -p$(pkg_qpb_dev) debian/tmp/usr/lib/libqtpropertybrowser.so usr/lib dh_install -p$(pkg_qpb_dev) debian/tmp/usr/include/camitk-${VER_SHORT}/libraries/qtpropertybrowser usr/include # api doc dh_install -p$(pkg_doc) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/apidoc # all test data dh_install -p$(pkg_data) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/testdata # imp dh_install -p$(pkg_imp) --autodest debian/tmp/usr/bin/camitk-imp dh_install -p$(pkg_imp) --autodest debian/tmp/usr/share/applications/camitk-imp.desktop dh_install -p$(pkg_imp) --autodest debian/tmp/usr/share/pixmaps/camitk-imp.xpm dh_installman -p$(pkg_imp) debian/tmp/usr/share/man/man1/camitk-imp.1 # asm dh_install -p$(pkg_asm) --autodest debian/tmp/usr/bin/camitk-actionstatemachine dh_install -p$(pkg_asm) --autodest debian/tmp/usr/share/pixmaps/camitk-actionstatemachine.xpm dh_installman -p$(pkg_asm) debian/tmp/usr/share/man/man1/camitk-actionstatemachine.1 override_dh_builddeb: dh_builddeb -- -Z xz # see http://lists.debian.org/debian-mentors/2012/07/msg00124.html get-orig-source: mkdir -p ../tarballs PERL_LWP_SSL_VERIFY_HOSTNAME=0 uscan --rename --verbose --force-download --destdir=../tarballs debian/watch0000644000000000000000000000015712214301062010211 0ustar version=3 http://camitk.imag.fr/devDownload.php .*/camitk-(\d.*?)(?:-.*)?\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian/copyright0000644000000000000000000001107312214301063011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: CamiTK Upstream-Contact: Emmanuel Promayon , Celine Fouard Source: http://camitk.imag.fr/devDownload.php Files: * Copyright: © 2001-2013 Emmanuel Promayon , Celine Fouard © 2001-2013 UJF-Grenoble 1, CNRS, TIMC-IMAG UMR 5525 (équipe GMCAO) License: LGPL-3+ Comment: see also http://camitk.imag.fr/contributors.xml for a list of contributors Files: debian/* Copyright: © 2012-2013 Andreas Tille License: LGPL-3+ Files: sdk/libraries/qtpropertybrowser/* Copyright: © 2010 Nokia Corporation and/or its subsidiary(-ies). © 2001-2013 Emmanuel Promayon for adding support of QVector3 License: BSD Comment: see original sources at http://qt.gitorious.org/qt-solutions/qt-solutions/trees/master/qtpropertybrowser Files: modeling/libraries/mml/monitoring/tools/Xmlhighlighter.* Copyright: © Copyright 2009-10 Martin Holmes, Meagan Timney and the University of Victoria Humanities Computing and Media Centre. License: LGPL-2.1 see `/usr/share/common-licenses/LGPL-2.1' Comment: This file is part of the projXMLEditor project which in turn belongs to the Image Markup Tool version 2.0 Files: modeling/libraries/qcustomplot Copyright: © 2012 Emanuel Eichhammer License: GPL-3+ Comment: Website/Contact http://www.WorksLikeClockwork.com/ License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. 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. 3. Neither the name of Nokia Corporation and its Subsidiary(-ies) 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 OWNER 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: LGPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On a Debian GNU/Linux system, the GNU Lesser GPL license version 3 is included in the file ‘/usr/share/common-licenses/LGPL-3’, and the GNU GPL license version 3 is included in the file ‘/usr/share/common-licenses/GPL-3’. License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/source/0000755000000000000000000000000012214301062010455 5ustar debian/source/format0000644000000000000000000000001412214301062011663 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000510512253610366011045 0ustar camitk (3.2.2-2) unstable; urgency=medium * debian/control: - cme fix dpkg-control - canonical Vcs fields * debian/rules: s/CMAKE_BUILD_TYPE:STRING=RelWithDebInfo/CMAKE_BUILD_TYPE:STRING=None/ Closes: #711515 -- Andreas Tille Mon, 16 Dec 2013 15:35:44 +0100 camitk (3.2.2-1) unstable; urgency=low * New upstream release. - Patches removed (merged in upstream) * Removed QCustomPlot (licence was not compatible, FTBS on armel and armhf) * camitk-imp description is now "workbench" (flagship was not really nice) * Remove uneeded dependencies (see #714935) * Updated pixmaps and desktop installation * Disable parallel build (that generates a "out of memory" error on some plateforms when compiling itk filters) * Updated dev dependencies -- Emmanuel Promayon Fri, 19 Jul 2013 11:39:38 +0200 camitk (3.2.1-1) unstable; urgency=low [ Emmanuel Promayon ] * New upstream release. - Update STL obsolete code. Closes: #701250 * New package for camitk actionstatemachine * Updated debian/watch (web site change) * Updated debian/copyright due to new source organization in upstream * Updated debian/control due to new source organization in upstream * Patches: - desktop file (camitk-imp-categories.diff) - clean version id (remove-svn-revision.diff) - force dlopen path to load unfound library (load-private-lib-if-needed.diff) - use install path to share directory, needed when data are not installed (wizard-copy-proper-findcamitk.diff) * XPM icon [ Andreas Tille ] * debian/rules: - get-orig-source: create download dir if needed - Use xz compression -- Emmanuel Promayon Tue, 02 Jul 2013 09:25:22 +0200 camitk (3.0.7-1) unstable; urgency=low [ Emmanuel Promayon ] * New upstream release. Fix extension inner dependencies. - Remove non-free tetgen from source. Closes: #689951 - Adding -fPIC to fix FTBFS on armhf and mipsel. Closes: #690830 * Fix typo in d/control. Closes: #689021 Remove patch applied upstream: - sonamefix.patch * Separate package libqtpropertybrowser3 * Updated debian/watch submitted by Bart Martens [ Mathieu Malaterre ] * Remove DMUA (deprecated) * Bump Std-Vers to 3.9.4, no changes needed * Remove myself from Uploaders -- Emmanuel Promayon Thu, 14 Feb 2013 19:09:38 +0100 camitk (3.0.2-1) unstable; urgency=low * Initial release (Closes: #682109) -- Emmanuel Promayon Thu, 26 Jul 2012 15:55:23 +0200 debian/patches/0000755000000000000000000000000012214301062010604 5ustar debian/patches/wizard-copy-proper-findcamitk.diff0000644000000000000000000000176712214301062017335 0ustar --- a/sdk/applications/wizard/ExtensionGenerator.cpp +++ b/sdk/applications/wizard/ExtensionGenerator.cpp @@ -142,9 +142,10 @@ void ExtensionGenerator::generateCMakeLists() throw (QString) { // Copying FindCamiTK.cmake std::cout << "Copying FindCamiTK.cmake..." << std::endl; - QDir cMakeModuleDir = camitk::Core::getTestDataDir(); - cMakeModuleDir.cdUp(); - cMakeModuleDir.cd("cmake"); + QDir cMakeModuleDir(camitk::Core::getGlobalInstallDir()); + if (!cMakeModuleDir.cd("share/"+QString(camitk::Core::shortVersion)+"/cmake")) { + std::cerr << "Error: directory \"" << QString(QString(camitk::Core::getGlobalInstallDir())+"share/"+QString(camitk::Core::shortVersion)+"/cmake").toStdString() << "\" not found" << std::endl; + } QFile findCamiTK(cMakeModuleDir.canonicalPath()+"/"+"FindCamiTK.cmake"); std::cout << "Copying " << findCamiTK.fileName().toStdString() << std::endl; findCamiTK.copy(this->srcDir.canonicalPath() + "/" + "FindCamiTK.cmake"); debian/patches/camitk-imp-categories.diff0000644000000000000000000000102612214301062015613 0ustar --- a/sdk/applications/imp/camitk-imp.desktop +++ b/sdk/applications/imp/camitk-imp.desktop @@ -8,5 +8,5 @@ Comment[fr]=Prototypage d'applications en Gestes Médico-Chirurgicaux Assistés par Ordinateur Exec=camitk-imp %f Icon=camitk -Categories=Graphics;Science;Medicine; +Categories=Graphics;Science;MedicalSoftware;ImageProcessing;3DGraphics;DataVisualization MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-fits;image/x-png;image/x-psd;image/x-xbitmap;application/dicom; debian/patches/remove-svn-revision.diff0000644000000000000000000000053612214301062015377 0ustar --- a/sdk/libraries/core/CamiTKVersion.h +++ b/sdk/libraries/core/CamiTKVersion.h @@ -28,7 +28,7 @@ namespace camitk { -const char * Core::version = "CamiTK 3.2.0.857"; +const char * Core::version = "CamiTK 3.2.0"; const char * Core::shortVersion = "camitk-3.2"; const char * Core::soVersion = "3"; const char * Core::debugPostfix = "-debug"; debian/patches/series0000644000000000000000000000000012214301062012007 0ustar debian/patches/load-private-lib-if-needed.diff0000644000000000000000000000522012214301062016406 0ustar --- a/sdk/libraries/core/ExtensionManager.cpp +++ b/sdk/libraries/core/ExtensionManager.cpp @@ -46,10 +46,15 @@ QDir privateLibDir(Core::getGlobalInstallDir()); if (privateLibDir.cd("lib/"+QString(Core::shortVersion))) { QByteArray privateLibDirPath = privateLibDir.canonicalPath().toUtf8(); +#ifdef WIN32 + // update path for windows QByteArray path = qgetenv("PATH"); path.append(";"); path.append(privateLibDirPath); qputenv("PATH",path); +#endif + // update the application / qt plugins library path + Application::instance()->addLibraryPath(privateLibDirPath); } autoload(COMPONENT); @@ -123,18 +128,26 @@ QObject *plugin = pluginLoader.instance(); if (!plugin) { - errorStrings << QString("Plugin " + fileName + ", error: " + pluginLoader.errorString()); + errorStrings << QString("Plugin " + fileName + ", error: " + pluginLoader.errorString()); } else { errorStrings << QString("Plugin " + fileName + ", no error (you need to decrease your number of dependency level, or contact the CamiTK SDK developer team)"); } } + QMessageBox::warning(NULL, "ExtensionManager Opening Error...", "AutoLoad plugin failed after " + QString::number(tryNr) + " tries for the following extension(s):
  • " + errorStrings.join("
  • ") + "
" + "List of library paths:
  • " + Application::instance()->libraryPaths().join("
  • ") + + "
" + + "List of path:
  • " +#ifdef WIN32 + + QString(qgetenv("PATH")).split(":").join("
  • ") +#else + + QString(qgetenv("LD_LIBRARY_PATH")).split(":").join("
  • ") +#endif + "
"); } @@ -214,6 +227,14 @@ } else { pluginLoader.unload(); // to make sure we could try again later + + // try to load the missing shared object directly from private dir (give absolute path) + QRegExp libname("\\((lib.*): cannot open shared object file"); + if (libname.indexIn(pluginLoader.errorString(), 0)!= -1) { + QString privateLibToLoad=Core::getGlobalInstallDir() + "/lib/" + QString(Core::shortVersion) + "/" + libname.cap(1); + QLibrary privateLib(privateLibToLoad); + privateLib.load(); + } } return returnValue; debian/compat0000644000000000000000000000000212214301062010353 0ustar 9 debian/libcamitk3.lintian-overrides0000644000000000000000000000311012214301062014552 0ustar # W overrides for package-name-doesnt-match-sonames # The produced lib given by # objdump -p ./obj-x86_64-linux-gnu/lib/libcamitkcore.so.3.2.0 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/' # is "libcamitkcore3" # but the package is called libcamitk3 (which is more than just the corelib) libcamitk3: package-name-doesnt-match-sonames libcamitkcore3 # W overrides for hardening-no-fortify-functions because of false positives [1] # To verify this is only false positives, I used hardening-check --verbose on all the # on all reported binaries. They are all about: memmove and memcpy (apart from libitkfilters.so # which adds a memset as well) # [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673112 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/actions/libbasicmesh.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/actions/libitkfilters.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/actions/libitksegmentation.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/actions/libmml.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/components/libdicom.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/components/libitkimage.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/components/libmml.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/components/libphysicalmodel.so.3.2.0 libcamitk3: hardening-no-fortify-functions usr/lib/camitk-3.2/libmonitoring.so.3.2.0