[med-svn] [Git][med-team/orthanc-gdcm][master] 2 commits: fix FTBFS with recent versions of CMake
Sebastien Jodogne (@jodogne-guest)
gitlab at salsa.debian.org
Mon Sep 1 12:28:14 BST 2025
Sebastien Jodogne pushed to branch master at Debian Med / orthanc-gdcm
Commits:
fd1074ce by jodogne-guest at 2025-09-01T13:21:12+02:00
fix FTBFS with recent versions of CMake
- - - - -
9a9f23a5 by jodogne-guest at 2025-09-01T13:27:37+02:00
Upload to unstable
- - - - -
5 changed files:
- debian/changelog
- debian/control
- debian/copyright
- + debian/patches/cmake
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+orthanc-gdcm (1.8+dfsg-2) unstable; urgency=medium
+
+ * Fix FTBFS with recent versions of CMake. Closes: #1113371
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Mon, 01 Sep 2025 13:18:33 +0200
+
orthanc-gdcm (1.8+dfsg-1) unstable; urgency=medium
* New upstream version
=====================================
debian/control
=====================================
@@ -10,7 +10,7 @@ Build-Depends: cmake,
orthanc-dev (>= 1.7.0),
unzip,
uuid-dev
-Standards-Version: 4.7.0
+Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/med-team/orthanc-gdcm
Vcs-Git: https://salsa.debian.org/med-team/orthanc-gdcm.git
Homepage: https://orthanc.uclouvain.be/book/plugins/gdcm.html
=====================================
debian/copyright
=====================================
@@ -38,8 +38,7 @@ License: GPL-3+
General Public License for more details.
.
You should have received a copy of the GNU General Public License along
- with this package; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ with this package. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public License
version 3 can be found in the file
@@ -56,11 +55,9 @@ License: LGPL-3+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
- 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
- Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License
+ along with this package. If not, see <https://www.gnu.org/licenses/>.
.
- On Debian systems, the full text of the GNU General Public License
+ On Debian systems, the full text of the GNU Lesser General Public License
version 3 can be found in the file
`/usr/share/common-licenses/LGPL-3'.
=====================================
debian/patches/cmake
=====================================
@@ -0,0 +1,39 @@
+Description: Fix FTBFS with recent versions of CMake
+Author: Sebastien Jodogne <s.jodogne at orthanc-labs.com>
+Forwarded: https://orthanc.uclouvain.be/hg/orthanc-gdcm/rev/890518e9d7a8
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: OrthancGdcm-1.8/CMakeLists.txt
+===================================================================
+--- OrthancGdcm-1.8.orig/CMakeLists.txt
++++ OrthancGdcm-1.8/CMakeLists.txt
+@@ -19,7 +19,7 @@
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 2.8...4.0)
+
+ project(OrthancGdcm)
+
+Index: OrthancGdcm-1.8/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake
+===================================================================
+--- OrthancGdcm-1.8.orig/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake
++++ OrthancGdcm-1.8/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake
+@@ -495,7 +495,15 @@ if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "s
+
+ include(CheckIncludeFile)
+ include(CheckIncludeFileCXX)
+- include(FindPythonInterp)
++
++ if(CMAKE_VERSION VERSION_GREATER "3.11")
++ find_package(Python REQUIRED COMPONENTS Interpreter)
++ set(PYTHON_EXECUTABLE ${Python_EXECUTABLE})
++ else()
++ include(FindPythonInterp)
++ find_package(PythonInterp REQUIRED)
++ endif()
++
+ include(${CMAKE_CURRENT_LIST_DIR}/Compiler.cmake)
+ include(${CMAKE_CURRENT_LIST_DIR}/DownloadPackage.cmake)
+ include(${CMAKE_CURRENT_LIST_DIR}/AutoGeneratedCode.cmake)
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+cmake
View it on GitLab: https://salsa.debian.org/med-team/orthanc-gdcm/-/compare/272953717b33e833473995cb851aea9484932299...9a9f23a5907ec829c84597aa3847912e256c0f98
--
View it on GitLab: https://salsa.debian.org/med-team/orthanc-gdcm/-/compare/272953717b33e833473995cb851aea9484932299...9a9f23a5907ec829c84597aa3847912e256c0f98
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20250901/1e3c0aa7/attachment-0001.htm>
More information about the debian-med-commit
mailing list