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 <[email protected]> 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 <[email protected]> +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.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
