[med-svn] [Git][med-team/ctk][cifixopts] 29 commits: Copy-paste DSTC license

Fernando Hueso (@ferdymercury) gitlab at salsa.debian.org
Tue Sep 15 07:11:37 BST 2026



Fernando Hueso pushed to branch cifixopts at Debian Med / ctk


Commits:
e1c5dc6d by Fernando Hueso at 2026-08-28T14:12:55+00:00
Copy-paste DSTC license 

from https://sourceforge.net/projects/xs3p/
- - - - -
987b88db by Fernando Hueso at 2026-08-28T14:44:32+00:00
add BSL license of original code
- - - - -
ae4f4a54 by Fernando Hueso at 2026-08-28T14:45:32+00:00
multiple name for B3C
- - - - -
37c303c8 by Fernando Hueso at 2026-08-28T14:54:25+00:00
add DCMTK license for one file
- - - - -
9059697f by Fernando Hueso at 2026-08-28T14:58:49+00:00
Formatting fixes
- - - - -
6ddc84e7 by Fernando Hueso at 2026-08-28T15:02:22+00:00
another spelt variant
- - - - -
62e3d58f by Fernando Hueso at 2026-08-31T00:04:09+02:00
update changelog

- - - - -
cdf9e91b by Fernando Hueso at 2026-08-31T00:10:28+02:00
remove non DFSG compliant optional files

- - - - -
78a44852 by Fernando Hueso at 2026-08-31T00:12:47+02:00
rm no longer needed license from copyright

- - - - -
c76f7183 by Fernando Hueso at 2026-08-31T00:14:09+02:00
update patch since removed files

- - - - -
11bc244a by Fernando Hueso at 2026-08-31T00:17:49+02:00
fix changelog

- - - - -
908e2e6d by Fernando Hueso at 2026-09-03T07:05:45+00:00
New upstream version (2026.09.02)

- - - - -
f368e900 by Fernando Hueso at 2026-09-03T07:06:39+00:00
d/changelog

- - - - -
85feef65 by Fernando Hueso at 2026-09-03T10:12:12+02:00
fix incorrect upstream injection in previous commit

- - - - -
41f12279 by Fernando Hueso at 2026-09-03T08:17:39+00:00
rm already applied patch

- - - - -
616a226f by Fernando Hueso at 2026-09-03T14:23:48+00:00
update patch with PR and add description

- - - - -
7611800f by Fernando Hueso at 2026-09-03T14:24:22+00:00
d/changelog update

- - - - -
5d4ac3a5 by Andreas Tille at 2026-09-08T10:03:50+02:00
Make sure changelog will not mention never released versions

- - - - -
ba6bc684 by Andreas Tille at 2026-09-08T10:04:17+02:00
Upload to unstable (new)

- - - - -
16b923ff by Fernando Hueso at 2026-09-15T06:06:24+00:00
add new optional ITK dependency

needed when -DCTK_LIB_ImageProcessing/ITK/Core=ON
since ITK depends on VTK, it serves also for
      -DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON
      -DCTK_LIB_Visualization/VTK/Widgets_USE_TRANSFER_FUNCTION_CHARTS:BOOL=ON

- - - - -
b2a644b5 by Fernando Hueso at 2026-09-15T06:06:24+00:00
readd optional flags
- - - - -
d180c251 by Fernando Hueso at 2026-09-15T06:06:24+00:00
fix comments

- - - - -
25381296 by Fernando Hueso at 2026-09-15T06:06:24+00:00
missed one flag
- - - - -
11cb4baa by Fernando Hueso at 2026-09-15T06:06:24+00:00
sort CMake flags alphabetically
- - - - -
26fb56ac by Fernando Hueso at 2026-09-15T06:06:24+00:00
rm stray spaces after breakline

were interrupting cmake command
- - - - -
bd4ccb0a by Fernando Hueso at 2026-09-15T06:06:24+00:00
temporary workaround for HDF5 bug

see https://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg847889.html
- - - - -
5ddfea37 by Fernando Hueso at 2026-09-15T06:06:24+00:00
missed backslash
- - - - -
4e782229 by Fernando Hueso at 2026-09-15T06:06:24+00:00
list installed files in libctk-dev.install
- - - - -
536b8aec by Fernando Hueso at 2026-09-15T06:06:24+00:00
disable i386 since ITK does not support it
- - - - -


28 changed files:

- CMakeExternals/DCMTK.cmake
- − Libs/Core/CMake/TestBFD/CMakeLists.txt
- − Libs/Core/CMake/TestBFD/TestBFD.cpp
- − Libs/Core/CMake/ctkMacroBFDCheck.cmake
- Libs/Core/CMakeLists.txt
- Libs/Core/Testing/Cpp/CMakeLists.txt
- − Libs/Core/Testing/Cpp/ctkBinaryFileDescriptorTest1.cpp
- − Libs/Core/Testing/Cpp/ctkBinaryFileDescriptorTestHelper.cpp
- − Libs/Core/ctkBinaryFileDescriptor.cpp
- − Libs/Core/ctkBinaryFileDescriptor.h
- − Libs/Core/ctk_library_options.cmake
- Libs/Core/target_libraries.cmake
- Libs/DICOM/Core/ctkDICOMQuery.h
- Libs/DICOM/Widgets/ctkDICOMQueryRetrieveWidget.cpp
- Libs/Visualization/VTK/Core/Testing/Cpp/vtkLightBoxRendererManagerTest1.cpp
- Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKAbstractViewTest1.cpp
- Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKScalarsToColorsComboBoxTest1.cpp
- Libs/Widgets/ctkBasePopupWidget.cpp
- Plugins/org.commontk.eventadmin/util/ctkEALogTracker.cpp
- debian/changelog
- debian/control
- debian/copyright
- debian/libctk-dev.install
- − debian/patches/oflist.patch
- debian/patches/qt6svg_1453.patch
- debian/patches/series
- debian/rules
- debian/salsa-ci.yml


Changes:

=====================================
CMakeExternals/DCMTK.cmake
=====================================
@@ -44,6 +44,12 @@ if(NOT DEFINED DCMTK_DIR AND NOT ${CMAKE_PROJECT_NAME}_USE_SYSTEM_${proj})
                       GIT_TAG ${revision_tag})
   endif()
 
+  # DCMTK uses its own container classes by default. With this option its
+  # OFList, OFMap and friends become aliases of the corresponding STL types,
+  # which changes the headers that CTK and its users compile against.
+  option(DCMTK_ENABLE_STL "Build DCMTK with STL containers" OFF)
+  mark_as_advanced(DCMTK_ENABLE_STL)
+
   set(EXTERNAL_PROJECT_OPTIONAL_CMAKE_CACHE_ARGS)
 
   if(UNIX)
@@ -77,6 +83,7 @@ if(NOT DEFINED DCMTK_DIR AND NOT ${CMAKE_PROJECT_NAME}_USE_SYSTEM_${proj})
       -DDCMTK_OVERWRITE_WIN32_COMPILER_FLAGS:BOOL=OFF
       -DDCMTK_DEFAULT_DICT:STRING=builtin
       -DDCMTK_ENABLE_PRIVATE_TAGS:BOOL=ON
+      -DDCMTK_ENABLE_STL:BOOL=${DCMTK_ENABLE_STL}
 
       ${EXTERNAL_PROJECT_OPTIONAL_CMAKE_CACHE_ARGS}
     DEPENDS


=====================================
Libs/Core/CMake/TestBFD/CMakeLists.txt deleted
=====================================
@@ -1,14 +0,0 @@
-cmake_minimum_required(VERSION 3.20.6)
-
-project(TestBFD)
-
-# Sanity checks
-if("${BFD_LIBRARY_NAME}" STREQUAL "")
-  message(FATAL_ERROR "error: ${v} variable is an empty string !")
-endif()
-
-unset(BFD_LIBRARY CACHE)
-find_library(BFD_LIBRARY ${BFD_LIBRARY_NAME})
-
-ctk_add_executable_utf8(TestBFD TestBFD.cpp)
-target_link_libraries(TestBFD ${BFD_LIBRARY})


=====================================
Libs/Core/CMake/TestBFD/TestBFD.cpp deleted
=====================================
@@ -1,19 +0,0 @@
-
-#include <bfd.h>
-
-// STD includes
-#include <cstdlib>
-
-int main(int /*argc*/, char * /*argv*/[])
-{
-  bfd *abfd = 0;
-  asymbol *symbol = 0;
-  asection *p = 0;
-  bfd_init();
-  abfd = bfd_openr("/path/to/library", 0);
-  if (!abfd)
-  {
-    return false;
-  }
-  return EXIT_SUCCESS;
-}


=====================================
Libs/Core/CMake/ctkMacroBFDCheck.cmake deleted
=====================================
@@ -1,83 +0,0 @@
-#
-# ctkMacroBFDCheck.cmake - After this file is included into your main CMake script,
-#                          HAVE_BFD will be defined if libbfd is available.
-#
-
-if(CTK_LIB_Core_WITH_BFD_STATIC AND CTK_LIB_Core_WITH_BFD_SHARED)
-  message(FATAL_ERROR "error: Options WITH_BFD_STATIC and WITH_BFD_SHARED are mutually exclusive ! "
-                      "hint: Enable either WITH_BFD_STATIC or WITH_BFD_SHARED.")
-endif()
-
-if(NOT CTK_BUILD_SHARED_LIBS AND CTK_LIB_Core_WITH_BFD_SHARED)
-  message(FATAL_ERROR "error: Options CTK_BUILD_SHARED_LIBS and WITH_BFD_STATIC are mutually exclusive ! "
-                      "hint: Disable WITH_BFD_SHARED and enable WITH_BFD_STATIC if needed.")
-endif()
-
-set(BFD_LIBRARIES)
-unset(HAVE_BFD CACHE)
-
-set(TestBFD_BUILD_LOG "${CMAKE_CURRENT_BINARY_DIR}/CMake/TestBFD-build-log.txt")
-
-if(CTK_LIB_Core_WITH_BFD_STATIC OR CTK_LIB_Core_WITH_BFD_SHARED)
-  if(WIN32)
-    message(FATAL_ERROR "error: Options WITH_BFD_STATIC or WITH_BFD_SHARED are not support on Windows !")
-  endif()
-
-  if(NOT WIN32)
-    include(CheckIncludeFile)
-    CHECK_INCLUDE_file(bfd.h HAVE_BFD_HEADER)
-    if(NOT HAVE_BFD_HEADER)
-      file(WRITE ${TestBFD_BUILD_LOG} "Could *NOT* find the required header file: bfd.h")
-    endif()
-
-    set(BFD_LIBRARY_NAME libbfd.a)
-    set(TestBFD_LIBRARY_MODE STATIC)
-    if(CTK_LIB_Core_WITH_BFD_SHARED)
-      set(BFD_LIBRARY_NAME libbfd${CMAKE_SHARED_LIBRARY_SUFFIX})
-      set(TestBFD_LIBRARY_MODE SHARED)
-    endif()
-    unset(BFD_LIBRARY CACHE)
-    find_library(BFD_LIBRARY ${BFD_LIBRARY_NAME})
-    if(NOT BFD_LIBRARY)
-      file(WRITE ${TestBFD_BUILD_LOG} "Could *NOT* find the required bfd library: ${BFD_LIBRARY_NAME}")
-    endif()
-
-    if(HAVE_BFD_HEADER AND BFD_LIBRARY)
-      # make sure we can build with libbfd
-      #message(STATUS "Checking libbfd")
-      try_compile(HAVE_BFD
-        ${CMAKE_CURRENT_BINARY_DIR}/CMake/TestBFD
-        ${CMAKE_CURRENT_SOURCE_DIR}/CMake/TestBFD
-        TestBFD
-        CMAKE_FLAGS
-        -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
-        -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-        -DBFD_LIBRARY_NAME:STRING=${BFD_LIBRARY_NAME}
-        OUTPUT_VARIABLE OUTPUT)
-      file(WRITE ${TestBFD_BUILD_LOG} ${OUTPUT})
-      #message(${OUTPUT})
-
-      if(HAVE_BFD)
-        set(BFD_LIBRARIES ${BFD_LIBRARY})
-      endif()
-    endif()
-  endif()
-
-endif()
-
-if(CTK_LIB_Core_WITH_BFD_SHARED AND NOT HAVE_BFD)
-  message(WARNING "warning: CTKCore: Failed to enable BFD support. Disabling CTKCore WITH_BFD_SHARED library option.  "
-                  "See ${TestBFD_BUILD_LOG} for more details.")
-  set(CTK_LIB_Core_WITH_BFD_SHARED OFF CACHE BOOL "Enable CTKCore Library WITH_BFD_SHARED option" FORCE)
-endif()
-if(CTK_LIB_Core_WITH_BFD_STATIC AND NOT HAVE_BFD)
-  message(WARNING "warning: CTKCore: Failed to enable BFD support. Disabling CTKCore WITH_BFD_STATIC library option. "
-                  "See ${TestBFD_BUILD_LOG} for more details.")
-  set(CTK_LIB_Core_WITH_BFD_STATIC OFF CACHE BOOL "Enable CTKCore Library WITH_BFD_STATIC option" FORCE)
-endif()
-
-if(HAVE_BFD)
-  message(STATUS "CTKCore: BFD support enabled [${BFD_LIBRARIES}]")
-else()
-  message(STATUS "CTKCore: BFD support disabled")
-endif()


=====================================
Libs/Core/CMakeLists.txt
=====================================
@@ -7,9 +7,6 @@ project(CTKCore)
 # CMake modules
 set(CMAKE_MODULE_PATH ${CTKCore_SOURCE_DIR}/CMake ${CMAKE_MODULE_PATH})
 
-# CMake Macros
-include(CMake/ctkMacroBFDCheck.cmake) # HAVE_BFD will be set to True if it applies
-
 #
 # See CTK/CMake/ctkMacroBuildLib.cmake for details
 #
@@ -97,13 +94,6 @@ set(KIT_SRCS
   ctkSetName.h
   )
 
-if(HAVE_BFD)
-  list(APPEND KIT_SRCS
-    ctkBinaryFileDescriptor.cpp
-    ctkBinaryFileDescriptor.h
-    )
-endif()
-
 # Abstract class should not be wrapped !
 set_source_files_properties(
   ctkAbstractJob.h


=====================================
Libs/Core/Testing/Cpp/CMakeLists.txt
=====================================
@@ -53,11 +53,6 @@ set(KITTests_SRCS
   ctkWorkflowTest2.cpp
   ctkWorkflowTest3.cpp
   )
-if(HAVE_BFD)
-  list(APPEND KITTests_SRCS
-    ctkBinaryFileDescriptorTest1.cpp
-    )
-endif()
 
 include_directories(
   ${CMAKE_SOURCE_DIR}/Libs/Testing
@@ -87,10 +82,6 @@ set(Tests_Helpers_SRCS
   ctkSingletonTestHelper.h
   )
 
-if(HAVE_BFD)
-  ctk_add_executable_utf8(ctkBinaryFileDescriptorTestHelper ctkBinaryFileDescriptorTestHelper.cpp)
-endif()
-
 if(MSVC)
   add_definitions( /D _CRT_SECURE_NO_WARNINGS)
 endif()
@@ -131,9 +122,6 @@ SIMPLE_TEST( ctkAbstractQObjectFactoryTest1 )
 if(CMAKE_BUILD_TYPE MATCHES "Debug")
   SIMPLE_TEST( ctkBackTraceTest )
 endif()
-if(HAVE_BFD)
-  SIMPLE_TEST( ctkBinaryFileDescriptorTest1 $<TARGET_FILE:ctkBinaryFileDescriptorTestHelper> )
-endif()
 SIMPLE_TEST( ctkBooleanMapperTest )
 SIMPLE_TEST( ctkCallbackTest1 )
 SIMPLE_TEST( ctkCommandLineParserTest1 )


=====================================
Libs/Core/Testing/Cpp/ctkBinaryFileDescriptorTest1.cpp deleted
=====================================
@@ -1,119 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-
-// Qt includes
-#include <QFile>
-
-// CTK includes
-#include "ctkBinaryFileDescriptor.h"
-
-// STD includes
-#include <cstdlib>
-#include <iostream>
-
-//-----------------------------------------------------------------------------
-int ctkBinaryFileDescriptorTest1(int argc, char * argv[])
-{
-  if (argc <= 1)
-  {
-    std::cerr << "Missing argument" << std::endl;
-    return EXIT_FAILURE;
-  }
-  QString filePath(argv[1]);
-
-  if (!QFile::exists(filePath))
-  {
-    std::cerr << "Line " << __LINE__ << " - "
-              << "filePath [" << qPrintable(filePath)
-              << "] do *NOT* exist" << std::endl;
-    return EXIT_FAILURE;
-  }
-
-  ctkBinaryFileDescriptor bfd;
-  if (bfd.load())
-  {
-    // Should fail to load without any valid filename
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Problem with load() method" << std::endl;
-    return EXIT_FAILURE;
-  }
-  if (!bfd.unload())
-  {
-    // Unload inconditionnally return True
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Problem with unload() method" << std::endl;
-    return EXIT_FAILURE;
-  }
-  if (bfd.isLoaded())
-  {
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Problem with isLoaded() method" << std::endl;
-    return EXIT_FAILURE;
-  }
-  if (!bfd.fileName().isEmpty())
-  {
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Problem with fileName() method" << std::endl;
-    return EXIT_FAILURE;
-  }
-
-  bfd.setFileName(filePath);
-
-  if (bfd.fileName() != filePath)
-  {
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Problem with fileName() method" << std::endl;
-    return EXIT_FAILURE;
-  }
-
-  if (!bfd.load())
-  {
-    // Should succeed since a valid filename is provided
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Problem with load() method" << std::endl;
-    return EXIT_FAILURE;
-  }
-
-  void * main_pointer = bfd.resolve("main");
-  if (!main_pointer)
-  {
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Problem with resolve() method - "
-              << "Failed to revolve 'main' symbol !" << std::endl;
-    return EXIT_FAILURE;
-  }
-
-  void * mtBlancElevationInMeters_pointer = bfd.resolve("MtBlancElevationInMeters");
-  int * mtBlancElevationInMeters = reinterpret_cast<int*>(mtBlancElevationInMeters_pointer);
-  if (!mtBlancElevationInMeters)
-  {
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Failed to case 'mtBlancElevationInMeters' pointer !" << std::endl;
-    return EXIT_FAILURE;
-  }
-  if (*mtBlancElevationInMeters != 4810)
-  {
-    std::cerr << "Line " << __LINE__ << " - "
-              << "Failed to invoke function associated with symbol 'MtBlancElevationInMeters' !" << std::endl;
-    return EXIT_FAILURE;
-  }
-
-  return EXIT_SUCCESS;
-}


=====================================
Libs/Core/Testing/Cpp/ctkBinaryFileDescriptorTestHelper.cpp deleted
=====================================
@@ -1,41 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-
-// STD includes
-#include <iostream>
-#include <cstdlib>
-
-#ifdef WIN32
-# define BFD_TEST_HELPER_EXPORT __declspec(dllexport)
-#else
-# define BFD_TEST_HELPER_EXPORT
-#endif
-
-extern "C" {
-
-  BFD_TEST_HELPER_EXPORT int MtBlancElevationInMeters = 4810;
-}
-
-int main(int /*argc*/, char* /*argv*/[])
-{
-  std::cout << "Mt Blanc elevation is " << MtBlancElevationInMeters
-            << " meters" << std::endl;
-  return EXIT_SUCCESS;
-}


=====================================
Libs/Core/ctkBinaryFileDescriptor.cpp deleted
=====================================
@@ -1,214 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-/*=========================================================================
-
- Portions (c) Copyright Brigham and Women's Hospital (BWH)
- All Rights Reserved.
-
- See http://www.slicer.org/copyright/copyright.txt for details.
-
- Program:   Module Description Parser
-
-=========================================================================*/
-
-// CTK includes
-#include "ctkBinaryFileDescriptor.h"
-#include "ctkPimpl.h"
-
-// BinUtils includes
-#include <bfd.h>
-
-// STD includes
-#include <cstdlib>
-#include <utility>
-#include <vector>
-
-//-----------------------------------------------------------------------------
-class ctkBinaryFileDescriptorPrivate
-{
-public:
-  // Convenient typedefs
-  typedef std::pair<asection*, void* > MemorySectionType;
-  typedef std::vector<MemorySectionType> MemorySectionContainer;
-
-  ctkBinaryFileDescriptorPrivate();
-
-  /// Resolves a symbol
-  void* resolve(const char * symbol);
-
-  MemorySectionContainer Sections;
-  bfd *                  BFD;
-
-  QString FileName;
-};
-
-// --------------------------------------------------------------------------
-// ctkBinaryFileDescriptorPrivate methods
-
-// --------------------------------------------------------------------------
-ctkBinaryFileDescriptorPrivate::ctkBinaryFileDescriptorPrivate()
-{
-  this->BFD = 0;
-}
-
-// --------------------------------------------------------------------------
-void* ctkBinaryFileDescriptorPrivate::resolve(const char * symbol)
-{
-  if (!this->BFD)
-  {
-    return 0;
-  }
-
-  void *addr = 0;
-
-  // Get the symbol table
-  long storageNeeded = bfd_get_symtab_upper_bound(this->BFD);
-  asymbol ** symbolTable = reinterpret_cast<asymbol **>(malloc(storageNeeded));
-
-  long numberOfSymbols = bfd_canonicalize_symtab(this->BFD, symbolTable);
-
-  // Run through the symbol table, looking for the requested symbol
-  for (int i = 0; i < numberOfSymbols; i++)
-  {
-    if (strcmp(symbol, symbolTable[i]->name) == 0)
-    {
-      // Found the symbol, get the section pointer
-      asection *p = bfd_get_section(symbolTable[i]);
-
-      // Do we have this section already?
-      MemorySectionContainer::iterator sit;
-      for (sit = this->Sections.begin(); sit != this->Sections.end(); ++sit)
-      {
-        if ((*sit).first == p)
-        {
-          break;
-        }
-      }
-
-      PTR mem;
-      if (sit == this->Sections.end())
-      {
-        // Get the contents of the section
-        bfd_size_type sz = bfd_get_section_size (p);
-        mem = malloc (sz);
-        if (bfd_get_section_contents(this->BFD, p, mem, static_cast<file_ptr>(0), sz))
-        {
-          this->Sections.push_back( MemorySectionType(p, mem) );
-        }
-        else
-        {
-          // Error reading section
-          free(mem);
-          break;
-        }
-      }
-      else
-      {
-        // pull the start of the section block from the cache
-        mem = const_cast<void*>((*sit).second);
-      }
-
-      // determine the address of this section
-      addr = reinterpret_cast<char *>(mem)
-          + (bfd_asymbol_value(symbolTable[i]) - bfd_asymbol_base(symbolTable[i]));
-      break;
-    }
-  }
-
-  // cleanup. just delete the outer vector for the symbol table
-  free(symbolTable);
-
-  return addr;
-}
-
-// --------------------------------------------------------------------------
-// ctkBinaryFileDescriptor methods
-
-// --------------------------------------------------------------------------
-ctkBinaryFileDescriptor::ctkBinaryFileDescriptor(): d_ptr(new ctkBinaryFileDescriptorPrivate)
-{
-}
-
-// --------------------------------------------------------------------------
-ctkBinaryFileDescriptor::ctkBinaryFileDescriptor(const QString& _fileName):
-  d_ptr(new ctkBinaryFileDescriptorPrivate)
-{
-  Q_D(ctkBinaryFileDescriptor);
-  d->FileName = _fileName;
-}
-
-// --------------------------------------------------------------------------
-ctkBinaryFileDescriptor::~ctkBinaryFileDescriptor()
-{
-}
-
-// --------------------------------------------------------------------------
-CTK_GET_CPP(ctkBinaryFileDescriptor, QString, fileName, FileName);
-CTK_SET_CPP(ctkBinaryFileDescriptor, const QString&, setFileName, FileName);
-
-// --------------------------------------------------------------------------
-bool ctkBinaryFileDescriptor::isLoaded() const
-{
-  Q_D(const ctkBinaryFileDescriptor);
-  return (d->BFD != 0);
-}
-
-// --------------------------------------------------------------------------
-bool ctkBinaryFileDescriptor::load()
-{
-  Q_D(ctkBinaryFileDescriptor);
-
-  bfd_init();
-  bfd * abfd = bfd_openr(d->FileName.toUtf8(), NULL);
-  if (!abfd)
-  {
-    return false;
-  }
-
-  /* make sure it's an object file */
-  if (!bfd_check_format (abfd, bfd_object))
-  {
-    bfd_close(abfd);
-    return false;
-  }
-
-  d->BFD = abfd;
-  return true;
-}
-
-// --------------------------------------------------------------------------
-bool ctkBinaryFileDescriptor::unload()
-{
-  Q_D(ctkBinaryFileDescriptor);
-
-  if (d->BFD)
-  {
-    bfd_close(d->BFD);
-    d->BFD = 0;
-  }
-  return true;
-}
-
-// --------------------------------------------------------------------------
-void* ctkBinaryFileDescriptor::resolve(const char * symbol)
-{
-  Q_D(ctkBinaryFileDescriptor);
-  return d->resolve(symbol);
-}


=====================================
Libs/Core/ctkBinaryFileDescriptor.h deleted
=====================================
@@ -1,76 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-/*=========================================================================
-
- Portions (c) Copyright Brigham and Women's Hospital (BWH)
- All Rights Reserved.
-
- See http://www.slicer.org/copyright/copyright.txt for details.
-
- Program:   Module Description Parser
-
-=========================================================================*/
-
-#ifndef __ctkBinaryFileDescriptor_h
-#define __ctkBinaryFileDescriptor_h
-
-// Qt includes
-#include <QString>
-#include <QScopedPointer>
-
-#include "ctkCoreExport.h"
-
-
-class ctkBinaryFileDescriptorPrivate;
-
-/// \ingroup Core
-/// Allows to resolve global symbols contained into an executable.
-/// Implementation valid only for unix-like systems (Linux, Mac, ...)
-class CTK_CORE_EXPORT ctkBinaryFileDescriptor
-{
-public:
-  ctkBinaryFileDescriptor();
-  ctkBinaryFileDescriptor(const QString& _fileName);
-  virtual ~ctkBinaryFileDescriptor();
-
-  QString fileName()const;
-  void setFileName(const QString& _fileName);
-
-  /// Load the object file containing the symbols
-  bool load();
-
-  /// Unload / close the object file
-  bool unload();
-
-  bool isLoaded() const;
-
-  /// Get the address of a symbol in memory
-  void* resolve(const char * symbol);
-
-protected:
-  QScopedPointer<ctkBinaryFileDescriptorPrivate> d_ptr;
-
-private:
-  Q_DECLARE_PRIVATE(ctkBinaryFileDescriptor);
-  Q_DISABLE_COPY(ctkBinaryFileDescriptor);
-
-};
-
-#endif


=====================================
Libs/Core/ctk_library_options.cmake deleted
=====================================
@@ -1,14 +0,0 @@
-#
-# See CMake/ctkMacroAddCtkLibraryOptions.cmake
-#
-# This file should list of options available for considered CTK library
-# For example: MYOPT1:OFF MYOPT2:ON
-#
-
-# Note: Options WITH_BFD_SHARED and WITH_BFD_STATIC are mutually exclusive.
-#       Enabling both options will trigger a configuration error.
-
-set(ctk_library_options
-  WITH_BFD_SHARED:OFF
-  WITH_BFD_STATIC:OFF
-  )


=====================================
Libs/Core/target_libraries.cmake
=====================================
@@ -5,5 +5,4 @@
 #
 
 set(target_libraries
-  BFD_LIBRARIES
   )


=====================================
Libs/DICOM/Core/ctkDICOMQuery.h
=====================================
@@ -30,6 +30,11 @@
 // ctkCore includes
 #include <ctkPimpl.h>
 
+// DCMTK includes
+// OFList cannot be forward declared: when DCMTK is built with DCMTK_ENABLE_STL
+// it is a macro that aliases std::list.
+#include <dcmtk/ofstd/oflist.h>
+
 // ctkDICOMCore includes
 #include "ctkDICOMCoreExport.h"
 #include "ctkDICOMDatabase.h"
@@ -37,7 +42,6 @@
 class ctkDICOMQueryPrivate;
 class ctkDICOMJobResponseSet;
 class QRResponse;
-template <typename T> class OFList;
 
 /// \ingroup DICOM_Core
 class CTK_DICOM_CORE_EXPORT ctkDICOMQuery : public QObject


=====================================
Libs/DICOM/Widgets/ctkDICOMQueryRetrieveWidget.cpp
=====================================
@@ -505,7 +505,7 @@ void ctkDICOMQueryRetrieveWidget::updateRetrieveProgress(int value)
     d->ProgressDialog->resize(targetWidth, d->ProgressDialog->height());
   }
   d->ProgressDialog->setValue( value );
-  logger.error(QString("setting value to %1").arg(value) );
+  logger.debug(QString("setting value to %1").arg(value) );
   QApplication::processEvents();
 }
 


=====================================
Libs/Visualization/VTK/Core/Testing/Cpp/vtkLightBoxRendererManagerTest1.cpp
=====================================
@@ -39,6 +39,7 @@
 
 // STD includes
 #include <cstdlib>
+#include <iostream>
 
 //----------------------------------------------------------------------------
 int vtkLightBoxRendererManagerTest1(int argc, char* argv[])


=====================================
Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKAbstractViewTest1.cpp
=====================================
@@ -40,6 +40,7 @@
 #else
 #include <time.h>
 #endif
+#include <iostream>
 
 void sleep_ms(int ms)
 {


=====================================
Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKScalarsToColorsComboBoxTest1.cpp
=====================================
@@ -32,6 +32,7 @@
 #include <vtkPiecewiseFunction.h>
 
 // STD includes
+#include <iostream>
 
 //-----------------------------------------------------------------------------
 int ctkVTKScalarsToColorsComboBoxTest1(int argc, char * argv [] )


=====================================
Libs/Widgets/ctkBasePopupWidget.cpp
=====================================
@@ -20,6 +20,11 @@
 
 // Qt includes
 #include <QApplication>
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
+#include <QScreen>
+#else
+#include <QDesktopWidget>
+#endif
 #include <QDebug>
 #include <QDir>
 #include <QEvent>
@@ -419,6 +424,33 @@ QRect ctkBasePopupWidgetPrivate::desiredOpenGeometry(QRect baseGeometry)const
   {
     geometry.moveTop((topLeft.y() + bottomRight.y()) / 2 - size.height() / 2);
   }
+
+  // Keep the popup visible on the screen: if the base widget is close to a screen
+  // edge then the popup would be cut off, move it back to the visible area instead.
+  if (!this->BaseWidget.isNull())
+  {
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
+    QRect available = this->BaseWidget->screen()->availableGeometry();
+#else
+    QRect available = QApplication::desktop()->availableGeometry(this->BaseWidget);
+#endif
+    if (geometry.right() > available.right())
+    {
+      geometry.moveRight(available.right());
+    }
+    if (geometry.left() < available.left())
+    {
+      geometry.moveLeft(available.left());
+    }
+    if (geometry.bottom() > available.bottom())
+    {
+      geometry.moveBottom(available.bottom());
+    }
+    if (geometry.top() < available.top())
+    {
+      geometry.moveTop(available.top());
+    }
+  }
   return geometry;
 }
 


=====================================
Plugins/org.commontk.eventadmin/util/ctkEALogTracker.cpp
=====================================
@@ -25,7 +25,7 @@
 #include <QDateTime>
 
 ctkEALogTracker::ctkEALogTracker(ctkPluginContext* context, QIODevice* out)
-  : ctkServiceTracker<ctkLogService*>(context), out(out), logLevel(std::numeric_limits<int>::max())
+  : ctkServiceTracker<ctkLogService*>(context), out(out), logLevel(ctkLogService::LOG_INFO)
 {
 
 }


=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-ctk (2026.08.06-1) unstable; urgency=medium
+ctk (2026.09.02-1) unstable; urgency=medium
 
   [ Andreas Tille ]
   * New upstream version
@@ -25,14 +25,28 @@ ctk (2026.08.06-1) unstable; urgency=medium
   * Remove manual libctk0.1-dbg package
   * Install Apache NOTICE file
   * d/rules: hardening
+  * Remove unneeded docs file
 
   [ Fernando Hueso ]
   * Add myself to Uploaders
   * Change from Debug build type to Release
   * Change from Qt5 dependencies to Qt6
   * Disable some optional dependencies temporarily
-
- -- Fernando Hueso <Fernando.Hueso at uv.es>  Fri, 14 Aug 2026 13:32:58 +0200
+  * Copy-paste DSTC license
+  * add BSL license of original code
+  * multiple name for B3C
+  * add DCMTK license for one file
+  * Formatting fixes
+  * another spelt variant
+  * remove non DFSG compliant optional files
+  * rm no longer needed license from copyright
+  * update patch since removed files
+  * New upstream version (2026.09.02)
+  * fix incorrect upstream injection in previous commit
+  * rm already applied patch
+  * update patch with PR and add description
+
+ -- Fernando Hueso <Fernando.Hueso at uv.es>  Thu, 03 Sep 2026 14:23:56 +0000
 
 ctk (0.1.0+git20131105~b8307961b6-1) experimental; urgency=low
 


=====================================
debian/control
=====================================
@@ -16,6 +16,7 @@ Build-Depends:
  libdcmtk-dev,
  libpng-dev,
  libtiff-dev,
+ libinsighttoolkit5-dev,
  libssl-dev,
  debhelper-compat (= 14),
 Vcs-Browser: https://salsa.debian.org/med-team/ctk


=====================================
debian/copyright
=====================================
@@ -19,12 +19,17 @@ Copyright:
 License: Apache-2.0
 
 Files:
- Libs/Core/ctkBinaryFileDescriptor.cpp
- Libs/Core/ctkBinaryFileDescriptor.h
+ Libs/Core/ctkBackTrace.cpp
 Copyright:
-  Brigham and Women's Hospital (BWH)
-  Kitware Inc.
-License: Apache-2.0 or 3D-Slicer-1.0
+  2010 Artyom Beilis (Tonkikh)
+  German Cancer Research Center
+License: Apache-2.0 or BSL-1.0
+
+Files:
+ Libs/DICOM/Core/Resources/storescp.cfg
+Copyright:
+  2003-2021, OFFIS e.V.
+License: OFFIS-DCMTK
 
 Files: Utilities/CMake/FindDCMTK.cmake
 Copyright:
@@ -99,6 +104,8 @@ Files:
  Plugins/org.commontk.eventbus/Testing/Cpp/main.cpp
 Copyright:
  2009-2011 B3C-SCS
+ B3C
+ BioComputing Competence Centre - Super Computing Solutions
 License: Apache-2.0
 
 Files:
@@ -297,195 +304,221 @@ License: ParaView-1.2
  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: 3D-Slicer-1.0
- 3D Slicer Contribution and Software License Agreement ("Agreement")
- Version 1.0 (December 20, 2005)
- .
- This Agreement covers contributions to and downloads from the 3D
- Slicer project ("Slicer") maintained by The Brigham and Women's
- Hospital, Inc. ("Brigham"). Part A of this Agreement applies to
- contributions of software and/or data to Slicer (including making
- revisions of or additions to code and/or data already in Slicer). Part
- B of this Agreement applies to downloads of software and/or data from
- Slicer. Part C of this Agreement applies to all transactions with
- Slicer. If you distribute Software (as defined below) downloaded from
- Slicer, all of the paragraphs of Part B of this Agreement must be
- included with and apply to such Software.
- .
- Your contribution of software and/or data to Slicer (including prior
- to the date of the first publication of this Agreement, each a
- "Contribution") and/or downloading, copying, modifying, displaying,
- distributing or use of any software and/or data from Slicer
- (collectively, the "Software") constitutes acceptance of all of the
- terms and conditions of this Agreement. If you do not agree to such
- terms and conditions, you have no right to contribute your
- Contribution, or to download, copy, modify, display, distribute or use
- the Software.
- .
- PART A. CONTRIBUTION AGREEMENT - License to Brigham with Right to
- Sublicense ("Contribution Agreement").
- .
- 1. As used in this Contribution Agreement, "you" means the individual
-    contributing the Contribution to Slicer and the institution or
-    entity which employs or is otherwise affiliated with such
-    individual in connection with such Contribution.
- .
- 2. This Contribution Agreement applies to all Contributions made to
-    Slicer, including without limitation Contributions made prior to
-    the date of first publication of this Agreement. If at any time you
-    make a Contribution to Slicer, you represent that (i) you are
-    legally authorized and entitled to make such Contribution and to
-    grant all licenses granted in this Contribution Agreement with
-    respect to such Contribution; (ii) if your Contribution includes
-    any patient data, all such data is de-identified in accordance with
-    U.S. confidentiality and security laws and requirements, including
-    but not limited to the Health Insurance Portability and
-    Accountability Act (HIPAA) and its regulations, and your disclosure
-    of such data for the purposes contemplated by this Agreement is
-    properly authorized and in compliance with all applicable laws and
-    regulations; and (iii) you have preserved in the Contribution all
-    applicable attributions, copyright notices and licenses for any
-    third party software or data included in the Contribution.
- .
- 3. Except for the licenses granted in this Agreement, you reserve all
-    right, title and interest in your Contribution.
- .
- 4. You hereby grant to Brigham, with the right to sublicense, a
-    perpetual, worldwide, non-exclusive, no charge, royalty-free,
-    irrevocable license to use, reproduce, make derivative works of,
-    display and distribute the Contribution. If your Contribution is
-    protected by patent, you hereby grant to Brigham, with the right to
-    sublicense, a perpetual, worldwide, non-exclusive, no-charge,
-    royalty-free, irrevocable license under your interest in patent
-    rights covering the Contribution, to make, have made, use, sell and
-    otherwise transfer your Contribution, alone or in combination with
-    any other code.
- .
- 5. You acknowledge and agree that Brigham may incorporate your
-    Contribution into Slicer and may make Slicer available to members
-    of the public on an open source basis under terms substantially in
-    accordance with the Software License set forth in Part B of this
-    Agreement. You further acknowledge and agree that Brigham shall
-    have no liability arising in connection with claims resulting from
-    your breach of any of the terms of this Agreement.
- .
- 6. YOU WARRANT THAT TO THE BEST OF YOUR KNOWLEDGE YOUR CONTRIBUTION
-    DOES NOT CONTAIN ANY CODE THAT REQURES OR PRESCRIBES AN "OPEN
-    SOURCE LICENSE" FOR DERIVATIVE WORKS (by way of non-limiting
-    example, the GNU General Public License or other so-called
-    "reciprocal" license that requires any derived work to be licensed
-    under the GNU General Public License or other "open source
-    license").
- .
- PART B. DOWNLOADING AGREEMENT - License from Brigham with Right to
- Sublicense ("Software License").
- .
- 1. As used in this Software License, "you" means the individual
-    downloading and/or using, reproducing, modifying, displaying and/or
-    distributing the Software and the institution or entity which
-    employs or is otherwise affiliated with such individual in
-    connection therewith. The Brigham and Women?s Hospital,
-    Inc. ("Brigham") hereby grants you, with right to sublicense, with
-    respect to Brigham's rights in the software, and data, if any,
-    which is the subject of this Software License (collectively, the
-    "Software"), a royalty-free, non-exclusive license to use,
-    reproduce, make derivative works of, display and distribute the
-    Software, provided that:
- .
- (a) you accept and adhere to all of the terms and conditions of this
- Software License;
- .
- (b) in connection with any copy of or sublicense of all or any portion
- of the Software, all of the terms and conditions in this Software
- License shall appear in and shall apply to such copy and such
- sublicense, including without limitation all source and executable
- forms and on any user documentation, prefaced with the following
- words: "All or portions of this licensed product (such portions are
- the "Software") have been obtained under license from The Brigham and
- Women's Hospital, Inc. and are subject to the following terms and
- conditions:"
- .
- (c) you preserve and maintain all applicable attributions, copyright
- notices and licenses included in or applicable to the Software;
- .
- (d) modified versions of the Software must be clearly identified and
- marked as such, and must not be misrepresented as being the original
- Software; and
- .
- (e) you consider making, but are under no obligation to make, the
- source code of any of your modifications to the Software freely
- available to others on an open source basis.
- .
- 2. The license granted in this Software License includes without
-    limitation the right to (i) incorporate the Software into
-    proprietary programs (subject to any restrictions applicable to
-    such programs), (ii) add your own copyright statement to your
-    modifications of the Software, and (iii) provide additional or
-    different license terms and conditions in your sublicenses of
-    modifications of the Software; provided that in each case your use,
-    reproduction or distribution of such modifications otherwise
-    complies with the conditions stated in this Software License.
- .
- 3. This Software License does not grant any rights with respect to
-    third party software, except those rights that Brigham has been
-    authorized by a third party to grant to you, and accordingly you
-    are solely responsible for (i) obtaining any permissions from third
-    parties that you need to use, reproduce, make derivative works of,
-    display and distribute the Software, and (ii) informing your
-    sublicensees, including without limitation your end-users, of their
-    obligations to secure any such required permissions.
- .
- 4. The Software has been designed for research purposes only and has
-    not been reviewed or approved by the Food and Drug Administration
-    or by any other agency. YOU ACKNOWLEDGE AND AGREE THAT CLINICAL
-    APPLICATIONS ARE NEITHER RECOMMENDED NOR ADVISED. Any
-    commercialization of the Software is at the sole risk of the party
-    or parties engaged in such commercialization. You further agree to
-    use, reproduce, make derivative works of, display and distribute
-    the Software in compliance with all applicable governmental laws,
-    regulations and orders, including without limitation those relating
-    to export and import control.
- .
- 5. The Software is provided "AS IS" and neither Brigham nor any
-    contributor to the software (each a "Contributor") shall have any
-    obligation to provide maintenance, support, updates, enhancements
-    or modifications thereto. BRIGHAM AND ALL CONTRIBUTORS SPECIFICALLY
-    DISCLAIM ALL EXPRESS AND IMPLIED WARRANTIES OF ANY KIND INCLUDING,
-    BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR
-    A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
-    BRIGHAM OR ANY CONTRIBUTOR BE LIABLE TO ANY PARTY FOR DIRECT,
-    INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES
-    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY ARISING IN ANY WAY
-    RELATED TO THE SOFTWARE, EVEN IF BRIGHAM OR ANY CONTRIBUTOR HAS
-    BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. TO THE MAXIMUM
-    EXTENT NOT PROHIBITED BY LAW OR REGULATION, YOU FURTHER ASSUME ALL
-    LIABILITY FOR YOUR USE, REPRODUCTION, MAKING OF DERIVATIVE WORKS,
-     DISPLAY, LICENSE OR DISTRIBUTION OF THE SOFTWARE AND AGREE TO
-    INDEMNIFY AND HOLD HARMLESS BRIGHAM AND ALL CONTRIBUTORS FROM AND
-    AGAINST ANY AND ALL CLAIMS, SUITS, ACTIONS, DEMANDS AND JUDGMENTS
-    ARISING THEREFROM.
- .
- 6. None of the names, logos or trademarks of Brigham or any of
-    Brigham's affiliates or any of the Contributors, or any funding
-    agency, may be used to endorse or promote products produced in
-    whole or in part by operation of the Software or derived from or
-    based on the Software without specific prior written permission
-    from the applicable party.
- .
- 7. Any use, reproduction or distribution of the Software which is not
-    in accordance with this Software License shall automatically revoke
-    all rights granted to you under this Software License and render
-    Paragraphs 1 and 2 of this Software License null and void.
- .
- 8. This Software License does not grant any rights in or to any
-    intellectual property owned by Brigham or any Contributor except
-    those rights expressly granted hereunder.
- .
- PART C. MISCELLANEOUS
- .
- This Agreement shall be governed by and construed in accordance with
- the laws of The Commonwealth of Massachusetts without regard to
- principles of conflicts of law. This Agreement shall supercede and
- replace any license terms that you may have agreed to previously with
- respect to Slicer.
+License: DSTC
+ DSTC Public License (DPL)
+ .
+ Version 1.1
+ 1. Definitions.
+ .
+ 1.0.1. "Commercial Use" means distribution or otherwise making the Covered Code available to a third party.
+ .
+ 1.1. "Contributor" means each entity that creates or contributes to the creation of Modifications.
+ .
+ 1.2. "Contributor Version" means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor.
+ .
+ 1.3. "Covered Code" means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof.
+ .
+ 1.4. "Electronic Distribution Mechanism" means a mechanism generally accepted in the software development community for the electronic transfer of data.
+ .
+ 1.5. "Executable" means Covered Code in any form other than Source Code.
+ .
+ 1.6. "Initial Developer" means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A.
+ .
+ 1.7. "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.
+ .
+ 1.8. "License" means this document.
+ .
+ 1.8.1. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
+ .
+ 1.9. "Modifications" means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is:
+ .
+     A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications.
+     B. Any new file that contains any part of the Original Code or previous Modifications.
+ .
+ 1.10. "Original Code" means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License.
+ .
+ 1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
+ .
+ 1.11. "Source Code" means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge.
+ .
+ 1.12. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
+ 2. Source Code License.
+ 2.1. The Initial Developer Grant.
+ .
+ The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims:
+ .
+ (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, and/or as part of a Larger Work; and
+ .
+ (b) under Patents Claims infringed by the making, using or selling of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Code (or portions thereof).
+ .
+ (c) the licenses granted in this Section 2.1(a) and (b) are effective on the date Initial Developer first distributes Original Code under the terms of this License.
+ .
+ (d) Notwithstanding Section 2.1(b) above, no patent license is granted: 1) for code that You delete from the Original Code; 2) separate from the Original Code; or 3) for infringements caused by: i) the modification of the Original Code or ii) the combination of the Original Code with other software or devices.
+ 2.2. Contributor Grant.
+ .
+ Subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license
+ .
+ (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor, to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger Work; and
+ .
+ (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor (or portions thereof); and 2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
+ .
+ (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first makes Commercial Use of the Covered Code.
+ .
+ (d) Notwithstanding Section 2.2(b) above, no patent license is granted: 1) for any code that Contributor has deleted from the Contributor Version; 2) separate from the Contributor Version; 3) for infringements caused by: i) third party modifications of Contributor Version or ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code in the absence of Modifications made by that Contributor.
+ 3. Distribution Obligations
+ 3.1. Application of License.
+ .
+ The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5.
+ 3.2. Availability of Source Code.
+ .
+ Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party.
+ 3.3. Description of Modifications.
+ .
+ You must cause all Covered Code to which You contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code.
+ 3.4. Intellectual Property Matters
+ (a) Third Party Claims.
+ .
+ If Contributor has knowledge that a license under a third party's intellectual property rights is required to exercise the rights granted by such Contributor under Sections 2.1 or 2.2, Contributor must include a text file with the Source Code distribution titled "LEGAL" which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If Contributor obtains such knowledge after the Modification is made available as described in Section 3.2, Contributor shall promptly modify the LEGAL file in all copies Contributor makes available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained.
+ (b) Contributor APIs.
+ .
+ If Contributor's Modifications include an application programming interface and Contributor has knowledge of patent licenses which are reasonably necessary to implement that API, Contributor must also include this information in the LEGAL file.
+ (c) Representations.
+ .
+ Contributor represents that, except as disclosed pursuant to Section 3.4(a) above, Contributor believes that Contributor's Modifications are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the rights conveyed by this License.
+ 3.5. Required Notices.
+ .
+ You must duplicate the notice in Exhibit A in each file of the Source Code. If it is not possible to put such notice in a particular Source Code file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. If You created one or more Modification(s) You may add your name as a Contributor to the notice described in Exhibit A. You must also duplicate this License in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
+ 3.6. Distribution of Executable Versions.
+ .
+ You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code or ownership rights under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
+ 3.7. Larger Works.
+ .
+ You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code.
+ 4. Inability to Comply Due to Statute or Regulation.
+ .
+ If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it.
+ 5. Application of this License.
+ .
+ This License applies to code to which the Initial Developer has attached the notice in Exhibit A and to related Covered Code.
+ 6. Versions of the License.
+ 6.1. New Versions
+ .
+ The Distributed Systems Technology Centre ("DSTC") may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number.
+ 6.2. Effect of New Versions
+ .
+ Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by DSTC. No one other than DSTC has the right to modify the terms applicable to Covered Code created under this License.
+ 6.3. Derivative Works
+ .
+ If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases "DSTC", "DPL" or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the DSTC Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.)
+ 7. Disclaimer of Warranty.
+ .
+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+ 8. Termination.
+ .
+ 8.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
+ .
+ 8.2. If You initiate litigation by asserting a patent infringement claim (excluding declatory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You file such action is referred to as 'Participant') alleging that:
+ .
+ (a) such Participant's Contributor Version directly or indirectly infringes any patent, then any and all rights granted by such Participant to You under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively, unless if within 60 days after receipt of notice You either: (i) agree in writing to pay Participant a mutually agreeable reasonable royalty for Your past and future use of Modifications made by such Participant, or (ii) withdraw Your litigation claim with respect to the Contributor Version against such Participant. If within 60 days of notice, a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Participant to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of the 60 day notice period specified above.
+ .
+ (b) any software, hardware, or device, other than such Participant's Contributor Version, directly or indirectly infringes any patent, then any rights granted to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective as of the date You first made, used, sold, distributed, or had made, Modifications made by that Participant.
+ .
+ 8.3. If You assert a patent infringement claim against Participant alleging that such Participant's Contributor Version directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
+ .
+ 8.4. In the event of termination under Sections 8.1 or 8.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination.
+ 9. Limitation of Liability.
+ .
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+ 10. U.S. Government End Users.
+ .
+ The Covered Code is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial computer software documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein.
+ 11. Miscellaneous.
+ .
+ This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by Queensland, Australia law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in Australia, any litigation relating to this License shall be subject to the jurisdiction of Australian Courts, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License.
+ 12. Responsibility for Claims.
+ .
+ As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
+ 13. Multiple-licensed Code.
+ .
+ Initial Developer may designate portions of the Covered Code as "Multiple-Licensed". "Multiple-Licensed" means that the Initial Developer permits you to utilize portions of the Covered Code under Your choice of the DPL or the alternative licenses, if any, specified by the Initial Developer in the file described in Exhibit A.
+ 14. High Risk Activities.
+ .
+ The Software is not fault-tolerant and is not designed, manufactured or intended for use or resale as on-line control equipment in hazardous environments requiring fail-safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines, or weapons systems, in which the failure of the Software could lead directly to death, personal injury, or severe physical or environmental damage ("High Risk Activities").
+ EXHIBIT A - DSTC Public License.
+ .
+ The contents of this file are subject to the DSTC Public License Version 1.1 (the 'License'); you may not use this file except in compliance with the License.
+ .
+ Software distributed under the License is distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
+ .
+ The Original Code is ______________________________________.
+ .
+ The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright © _____________________________. All Rights Reserved.
+ .
+ Contributor(s): ______________________________________.
+ .
+ Alternatively, the contents of this file may be used under the terms of the _____ license (the "[___] License"), in which case the provisions of [______] License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the [____] License and not to allow others to use your version of this file under the DPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the [___] License. If you do not delete the provisions above, a recipient may use your version of this file under either the DPL or the [___] License.'
+ .
+ [NOTE: The text of this Exhibit A may differ slightly from the text of the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications.]
+
+License: BSL-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
 
+License: OFFIS-DCMTK
+ Copyright (C) 1994-2026, OFFIS e.V.
+ All rights reserved.
+ .
+ This software and supporting documentation were developed by
+ .
+   OFFIS e.V.
+   R&D Division Health
+   Escherweg 2
+   26121 Oldenburg, Germany
+ .
+ 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 OFFIS 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/libctk-dev.install
=====================================
@@ -1 +1,13 @@
 usr/lib/CMake/ctk usr/lib/${DEB_HOST_MULTIARCH}/cmake/ctk
+usr/bin/ctkDICOM
+usr/bin/ctkPluginBrowser
+usr/bin/ctkPluginGenerator
+usr/lib/ctk/plugins/liborg_commontk_configadmin.so
+usr/lib/ctk/plugins/liborg_commontk_eventadmin.so
+usr/lib/ctk/plugins/liborg_commontk_log.so
+usr/lib/ctk/plugins/liborg_commontk_metatype.so
+usr/lib/ctk/plugins/liborg_commontk_plugingenerator_core.so
+usr/lib/ctk/plugins/liborg_commontk_plugingenerator_ui.so
+usr/lib/designer/libCTKDICOMWidgetsPlugins.so
+usr/lib/designer/libCTKVisualizationVTKWidgetsPlugins.so
+usr/lib/designer/libCTKWidgetsPlugins.so


=====================================
debian/patches/oflist.patch deleted
=====================================
@@ -1,40 +0,0 @@
-From ab4ab63b12d1f2ba8c5ea0fe117cb951524e0a6b Mon Sep 17 00:00:00 2001
-From: Stefan Dinkelacker <s.dinkelacker at dkfz-heidelberg.de>
-Date: Sat, 25 Jul 2026 14:14:11 +0200
-Subject: [PATCH] COMP: Do not forward declare OFList
-
-DCMTK built with DCMTK_ENABLE_STL defines HAVE_STL_LIST, which turns
-OFList into a macro aliasing std::list. Forward declaring it then
-expands to a redeclaration of std::list, which fails to compile and
-in turn breaks every DCMTK header that uses OFList.
-
-Include oflist.h instead, which works for both DCMTK configurations.
----
- Libs/DICOM/Core/ctkDICOMQuery.h | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/Libs/DICOM/Core/ctkDICOMQuery.h b/Libs/DICOM/Core/ctkDICOMQuery.h
-index 20c54f4f7271f8053eb67364aa384875c313e6d2..87856a078a00f8a63a7e45e52761f05e92a8da08 100644
---- a/Libs/DICOM/Core/ctkDICOMQuery.h
-+++ b/Libs/DICOM/Core/ctkDICOMQuery.h
-@@ -30,6 +30,11 @@
- // ctkCore includes
- #include <ctkPimpl.h>
- 
-+// DCMTK includes
-+// OFList cannot be forward declared: when DCMTK is built with DCMTK_ENABLE_STL
-+// it is a macro that aliases std::list.
-+#include <dcmtk/ofstd/oflist.h>
-+
- // ctkDICOMCore includes
- #include "ctkDICOMCoreExport.h"
- #include "ctkDICOMDatabase.h"
-@@ -37,7 +42,6 @@
- class ctkDICOMQueryPrivate;
- class ctkDICOMJobResponseSet;
- class QRResponse;
--template <typename T> class OFList;
- 
- /// \ingroup DICOM_Core
- class CTK_DICOM_CORE_EXPORT ctkDICOMQuery : public QObject
- 
\ No newline at end of file


=====================================
debian/patches/qt6svg_1453.patch
=====================================
@@ -1,3 +1,7 @@
+Description: Add missing Qt6svg component when configuring
+Origin: https://github.com/commontk/CTK/pull/1453
+Last-Update: 2026-09-01
+
 From ea7f052c96a11ebf014d35e99766d3e1c0f975d2 Mon Sep 17 00:00:00 2001
 From: ferdymercury <ferdymercury at users.noreply.github.com>
 Date: Tue, 11 Aug 2026 16:54:59 +0200
@@ -28,7 +32,7 @@ index e4b4ff01f2f0ca00383b8afe227d173e9ce229e8..49b5d16521c141b60c96353023aaf50d
        list(APPEND CTK_QT_COMPONENTS Network)
      endif()
  
-+    if(CTK_ENABLE_DICOM)
++    if(CTK_LIB_DICOM/Core)
 +      list(APPEND CTK_QT_COMPONENTS Svg)
 +    endif()
 +


=====================================
debian/patches/series
=====================================
@@ -1,2 +1 @@
 qt6svg_1453.patch
-oflist.patch


=====================================
debian/rules
=====================================
@@ -6,49 +6,52 @@ DPKG_EXPORT_BUILDFLAGS = 1
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# Upstream default paths: "lib/ctk-0.1", "include/ctk-0.1", "lib/ctk-0.1/plugins" and "lib/ctk-0.1/CMake" but versioning seems pointless (https://github.com/commontk/CTK/issues/358#issuecomment-359455314)
+# -DCTK_LIB_Visualization/VTK/Widgets_USE_TRANSFER_FUNCTION_CHARTS:BOOL=ON leads to a compilation error: ui_ctkVTKScalarsToColorsWidget.h missing
+# https://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg847889.html
 CMAKE_FLAGS = \
+    -DHDF5_ROOT=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial \
+    -DBUILD_TESTING:BOOL=OFF \
     -DCMAKE_BUILD_TYPE:STRING=Release \
-    -DCMAKE_VERBOSE_MAKEFILE:BOOL=$(DH_VERBOSE) \
     -DCMAKE_INSTALL_PREFIX:PATH=/usr \
     -DCMAKE_SKIP_RPATH:BOOL=ON \
-    -DBUILD_TESTING:BOOL=OFF \
-    -DCTK_SUPERBUILD:BOOL=OFF \
+    -DCMAKE_VERBOSE_MAKEFILE:BOOL=$(DH_VERBOSE) \
+    -DCTK_APP_ctkCommandLineModuleExplorer:BOOL=ON \
+    -DCTK_APP_ctkDICOM:BOOL=ON \
+    -DCTK_APP_ctkPluginBrowser:BOOL=ON \
+    -DCTK_APP_ctkPluginGenerator:BOOL=ON \
+    -DCTK_BUILD_QTDESIGNER_PLUGINS:BOOL=ON \
     -DCTK_ENABLE_DICOM:BOOL=ON \
-    -DCTK_QT_VERSION=6 \
+    -DCTK_ENABLE_PluginFramework:BOOL=ON \
+    -DCTK_ENABLE_Python_Wrapping:BOOL=OFF \
+    -DCTK_ENABLE_Widgets:BOOL=ON \
     -DCTK_INSTALL_LIB_DIR=lib \
     -DCTK_INSTALL_INCLUDE_DIR=/usr/include/ctk \
     -DCTK_INSTALL_PLUGIN_DIR=/usr/lib/ctk/plugins \
     -DCTK_INSTALL_CMAKE_DIR=/usr/lib/CMake/ctk \
-    # Upstream default: "lib/ctk-0.1", "include/ctk-0.1", "lib/ctk-0.1/plugins" and "lib/ctk-0.1/CMake" but versioning seems pointless (https://github.com/commontk/CTK/issues/358#issuecomment-359455314)
-    #-DDCMTK_DIR:PATH=/usr \
-    #-DCTK_APP_ctkCommandLineModuleExplorer:BOOL=ON \
-    #-DCTK_APP_ctkDICOM:BOOL=ON \
-    #-DCTK_APP_ctkPluginBrowser:BOOL=ON \
-    #-DCTK_APP_ctkPluginGenerator:BOOL=ON \
-    #-DCTK_BUILD_QTDESIGNER_PLUGINS:BOOL=ON \
-    #-DCTK_ENABLE_PluginFramework:BOOL=ON \
-    #-DCTK_ENABLE_Python_Wrapping:BOOL=OFF \
-    #-DCTK_ENABLE_Widgets:BOOL=ON \
-    #-DCTK_LIB_CommandLineModules/Backend/FunctionPointer:BOOL=ON \
-    #-DCTK_LIB_CommandLineModules/Backend/LocalProcess:BOOL=ON \
-    #-DCTK_LIB_CommandLineModules/Core:BOOL=ON \
-    #-DCTK_LIB_CommandLineModules/Frontend/QtGui:BOOL=ON \
-    #-DCTK_LIB_CommandLineModules/Frontend/QtWebKit:BOOL=ON \
-    #-DCTK_LIB_Core:BOOL=ON \
-    #-DCTK_LIB_DICOM/Core:BOOL=ON \
-    #-DCTK_LIB_DICOM/Widgets:BOOL=ON \
-    #-DCTK_LIB_ImageProcessing/ITK/Core:BOOL=ON \
-    #-DCTK_LIB_PluginFramework:BOOL=ON \
-    #-DCTK_LIB_Scripting/Python/Core:BOOL=OFF \
-    #-DCTK_LIB_Visualization/VTK/Core:BOOL=ON \
-    #-DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON \
-    #-DCTK_LIB_Widgets:BOOL=ON \
-    #-DCTK_PLUGIN_org.commontk.configadmin:BOOL=ON \
-    #-DCTK_PLUGIN_org.commontk.eventadmin:BOOL=ON \
-    #-DCTK_PLUGIN_org.commontk.log:BOOL=ON \
-    #-DCTK_PLUGIN_org.commontk.metatype:BOOL=ON \
-    #-DCTK_PLUGIN_org.commontk.plugingenerator.core:BOOL=ON \
-    #-DCTK_PLUGIN_org.commontk.plugingenerator.ui:BOOL=ON \
+    -DCTK_LIB_CommandLineModules/Backend/FunctionPointer:BOOL=ON \
+    -DCTK_LIB_CommandLineModules/Backend/LocalProcess:BOOL=ON \
+    -DCTK_LIB_CommandLineModules/Core:BOOL=ON \
+    -DCTK_LIB_CommandLineModules/Frontend/QtGui:BOOL=ON \
+    -DCTK_LIB_CommandLineModules/Frontend/QtWebKit:BOOL=ON \
+    -DCTK_LIB_Core:BOOL=ON \
+    -DCTK_LIB_DICOM/Core:BOOL=ON \
+    -DCTK_LIB_DICOM/Widgets:BOOL=ON \
+    -DCTK_LIB_ImageProcessing/ITK/Core:BOOL=ON \
+    -DCTK_LIB_PluginFramework:BOOL=ON \
+    -DCTK_LIB_Scripting/Python/Core:BOOL=OFF \
+    -DCTK_LIB_Visualization/VTK/Core:BOOL=ON \
+    -DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON \
+    -DCTK_LIB_Visualization/VTK/Widgets_USE_TRANSFER_FUNCTION_CHARTS:BOOL=OFF \
+    -DCTK_LIB_Widgets:BOOL=ON \
+    -DCTK_PLUGIN_org.commontk.configadmin:BOOL=ON \
+    -DCTK_PLUGIN_org.commontk.eventadmin:BOOL=ON \
+    -DCTK_PLUGIN_org.commontk.log:BOOL=ON \
+    -DCTK_PLUGIN_org.commontk.metatype:BOOL=ON \
+    -DCTK_PLUGIN_org.commontk.plugingenerator.core:BOOL=ON \
+    -DCTK_PLUGIN_org.commontk.plugingenerator.ui:BOOL=ON \
+    -DCTK_SUPERBUILD:BOOL=OFF \
+    -DCTK_QT_VERSION=6 \
 
 pkg_run = libctk0.1
 pkg_dev = libctk-dev


=====================================
debian/salsa-ci.yml
=====================================
@@ -2,6 +2,9 @@
 include:
   - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
 
+variables:
+ SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1
+
 # Permit failure of blhc
 #blhc:
 #  allow_failure: true



View it on GitLab: https://salsa.debian.org/med-team/ctk/-/compare/b23ca8e479250b771638e40e2d0541f1a9f2024c...536b8aec3e73e83e8f4c12a9ad6a85fbda4da166

-- 
View it on GitLab: https://salsa.debian.org/med-team/ctk/-/compare/b23ca8e479250b771638e40e2d0541f1a9f2024c...536b8aec3e73e83e8f4c12a9ad6a85fbda4da166
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260915/bb16f349/attachment-0001.htm>


More information about the debian-med-commit mailing list