Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdcm for openSUSE:Factory checked in at 2026-11-17 17:18:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdcm (Old) and /work/SRC/openSUSE:Factory/.gdcm.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdcm" Tue Nov 17 17:18:27 2026 rev:25 rq:1398020 version:3.2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/gdcm/gdcm.changes 2026-05-27 16:18:36.204950745 +0200 +++ /work/SRC/openSUSE:Factory/.gdcm.new.1251/gdcm.changes 2026-11-17 17:20:18.358378256 +0100 @@ -1,0 +2,13 @@ +Mon Nov 16 15:14:00 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Add gdcm-swig-py3.patch: replace obsolete Python 2 calls + (PyString_*, PyInt_*) with Python 3 C API in Wrapping/Python/gdcmswig.i. + +------------------------------------------------------------------- +Sat Nov 14 11:19:49 UTC 2026 - Axel Braun <[email protected]> + +- version 3.2.7 + * no release notes + * gdcm-2.4.0-usecopyright.patch removed (upstream) + +------------------------------------------------------------------- Old: ---- gdcm-2.4.0-usecopyright.patch gdcm-3.2.5.obscpio New: ---- gdcm-3.2.7.obscpio gdcm-swig-py3.patch ----------(Old B)---------- Old: * no release notes * gdcm-2.4.0-usecopyright.patch removed (upstream) ----------(Old E)---------- ----------(New B)---------- New: - Add gdcm-swig-py3.patch: replace obsolete Python 2 calls (PyString_*, PyInt_*) with Python 3 C API in Wrapping/Python/gdcmswig.i. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdcm.spec ++++++ --- /var/tmp/diff_new_pack.vjC4kB/_old 2026-11-17 17:20:19.493426166 +0100 +++ /var/tmp/diff_new_pack.vjC4kB/_new 2026-11-17 17:20:19.496426293 +0100 @@ -2,7 +2,7 @@ # spec file for package gdcm # # Copyright (c) 2026 SUSE LLC and contributors -# Copyright (c) 2019-2025 Dr. Axel Braun +# Copyright (c) 2019-2026 Dr. Axel Braun <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,14 +27,15 @@ %define soname %(echo "%{series}" | tr '.' '_') %define libsocksoname libsocketxx1_2 Name: gdcm -Version: 3.2.5 +Version: 3.2.7 Release: 0 Summary: C++ library to parse DICOM medical files License: BSD-3-Clause Group: Productivity/Graphics/Other URL: https://gdcm.sourceforge.net/wiki/index.php/Main_Page Source0: %{name}-%{version}.tar.zst -Patch1: gdcm-2.4.0-usecopyright.patch +# PATCH-FIX-UPSTREAM gdcm-swig-py3.patch -- replace obsolete PyString_* and PyInt_* with Python 3 C API in SWIG interface +Patch0: gdcm-swig-py3.patch BuildRequires: CharLS-devel >= 2.0 BuildRequires: cmake BuildRequires: docbook5-xsl-stylesheets @@ -143,7 +144,7 @@ # build fails with poppler 25.10, currently only TW %if 0%{?suse_version} > 1600 -sed -i 's:getLength:size:' Applications/Cxx/{gdcminfo.cxx,gdcmpdf.cxx} +##% sed -i 's:getLength:size:' Applications/Cxx/{gdcminfo.cxx,gdcmpdf.cxx} %endif %build ++++++ _service ++++++ --- /var/tmp/diff_new_pack.vjC4kB/_old 2026-11-17 17:20:19.522427390 +0100 +++ /var/tmp/diff_new_pack.vjC4kB/_new 2026-11-17 17:20:19.526427559 +0100 @@ -3,7 +3,7 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://git.code.sf.net/p/gdcm/gdcm</param> - <param name="revision">v3.2.5</param> + <param name="revision">v3.2.7</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> ++++++ gdcm-3.2.5.obscpio -> gdcm-3.2.7.obscpio ++++++ ++++ 5694 lines of diff (skipped) ++++++ gdcm-swig-py3.patch ++++++ --- a/Wrapping/Python/gdcmswig.i 2026-11-16 16:13:43.215026266 +0100 +++ b/Wrapping/Python/gdcmswig.i 2026-11-16 16:13:43.233525376 +0100 @@ -338,11 +338,11 @@ %template(SmartPtrSQ) gdcm::SmartPointer<gdcm::SequenceOfItems>; %template(SmartPtrFrag) gdcm::SmartPointer<gdcm::SequenceOfFragments>; %typemap(in) (const char* array, uint32_t length) { - $1 = PyString_AsString($input); + $1 = PyBytes_AsString($input); if ($1 == NULL) { SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '$symname', argument $argnum expected byte string."); } - Py_ssize_t length = PyString_Size($input); + Py_ssize_t length = PyBytes_Size($input); if (static_cast<size_t>(length) > std::numeric_limits<uint32_t>::max()) { SWIG_exception_fail(SWIG_ArgError(SWIG_OverflowError), "in method '$symname', array in argument $argnum is too large."); } @@ -408,7 +408,7 @@ int n = arg1->GetNumberOfDimensions(); $result = PyList_New(n); for (i = 0; i < n; i++) { - PyObject *o = PyInt_FromLong((long) $1[i]); + PyObject *o = PyLong_FromLong((long) $1[i]); PyList_SetItem($result,i,o); } } ++++++ gdcm.obsinfo ++++++ --- /var/tmp/diff_new_pack.vjC4kB/_old 2026-11-17 17:20:20.238457614 +0100 +++ /var/tmp/diff_new_pack.vjC4kB/_new 2026-11-17 17:20:20.243457825 +0100 @@ -1,5 +1,5 @@ name: gdcm -version: 3.2.5 -mtime: 1773154021 -commit: dacccb6c04ee13f6958359c193f804358f4672d7 +version: 3.2.7 +mtime: 1780574188 +commit: a468de55f19f5cc211fcb2bbe8ade1ca0b54a0ae
