Hello community,

here is the log from the commit of package gdcm for openSUSE:Factory checked in 
at 2020-03-30 23:02:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdcm (Old)
 and      /work/SRC/openSUSE:Factory/.gdcm.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdcm"

Mon Mar 30 23:02:37 2020 rev:2 rq:789544 version:3.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdcm/gdcm.changes        2019-12-04 
14:19:17.158382797 +0100
+++ /work/SRC/openSUSE:Factory/.gdcm.new.3160/gdcm.changes      2020-03-30 
23:02:40.284151497 +0200
@@ -1,0 +2,11 @@
+Sun Mar 29 14:24:37 UTC 2020 - Axel Braun <axel.br...@gmx.de>
+
+- poppler_api.patch added to fix API changes in poppler 
+
+-------------------------------------------------------------------
+Tue Feb 18 20:51:19 UTC 2020 - Axel Braun <axel.br...@gmx.de>
+
+- version 3.0.5
+  * fix for API change in poppler
+
+-------------------------------------------------------------------

Old:
----
  gdcm-3.0.4.tar.gz

New:
----
  gdcm-3.0.5.tar.bz2
  poppler_api.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdcm.spec ++++++
--- /var/tmp/diff_new_pack.EOUK4S/_old  2020-03-30 23:02:41.904152420 +0200
+++ /var/tmp/diff_new_pack.EOUK4S/_new  2020-03-30 23:02:41.916152427 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gdcm
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2019 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,15 +20,16 @@
 %define         soname  3_0
 %define         libsocksoname  libsocketxx1_2
 Name:           gdcm
-Version:        3.0.4
+Version:        3.0.5
 Release:        0
 Summary:        Grassroots DiCoM is a C++ library to parse DICOM medical files
 License:        BSD-3-Clause
-URL:            http://gdcm.sourceforge.net/wiki/index.php/Main_Page
-Source0:        
http://sourceforge.net/projects/gdcm/files/gdcm%203.x/GDCM%20%{version}/%{name}-%{version}.tar.gz
 Group:          Productivity/Graphics/Other
+URL:            http://gdcm.sourceforge.net/wiki/index.php/Main_Page
+Source0:        
http://sourceforge.net/projects/gdcm/files/gdcm%203.x/GDCM%20%{version}/%{name}-%{version}.tar.bz2
 Patch1:         gdcm-2.4.0-usecopyright.patch
 Patch2:         fix_charls_2.patch
+Patch3:         poppler_api.patch
 BuildRequires:  CharLS-devel >= 2.0
 BuildRequires:  cmake
 BuildRequires:  docbook5-xsl-stylesheets
@@ -77,6 +78,7 @@
 
 %package        applications
 Summary:        Includes command line programs for GDCM
+Group:          Productivity/Graphics/Other
 Requires:       %{name}-libgdcm%{soname}
 
 %description    applications
@@ -97,6 +99,7 @@
 
 %package        examples
 Summary:        GDCM examples
+Group:          Productivity/Graphics/Other
 Requires:       %{name}-libgdcm%{soname}
 
 %description    examples
@@ -104,6 +107,7 @@
 
 %package -n     python3-gdcm
 Summary:        Python binding for GDCM
+Group:          Productivity/Graphics/Other
 %{?python_provide:%python_provide python3-gdcm}
 Requires:       %{name}-libgdcm%{soname}
 

++++++ gdcm-3.0.4.tar.gz -> gdcm-3.0.5.tar.bz2 ++++++
++++ 1961 lines of diff (skipped)

++++++ poppler_api.patch ++++++
# Patch to fix new poppler API on gdcm 3.0.5
# Axel Braun <d...@opensuse.org>

diff -U 3 -dHrN -- a/Applications/Cxx/gdcminfo.cxx 
b/Applications/Cxx/gdcminfo.cxx
--- a/Applications/Cxx/gdcminfo.cxx     2020-02-18 14:11:04.000000000 +0100
+++ b/Applications/Cxx/gdcminfo.cxx     2020-03-29 15:00:39.398419657 +0200
@@ -513,7 +513,7 @@
 #ifdef LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM
     globalParams = new GlobalParams(0);
 #else
-    globalParams = new GlobalParams();
+    globalParams.reset(new GlobalParams());
 #endif
     uMap = globalParams->getTextEncoding();
 
diff -U 3 -dHrN -- a/Applications/Cxx/gdcmpdf.cxx b/Applications/Cxx/gdcmpdf.cxx
--- a/Applications/Cxx/gdcmpdf.cxx      2020-02-18 14:11:04.000000000 +0100
+++ b/Applications/Cxx/gdcmpdf.cxx      2020-03-29 14:52:23.374400551 +0200
@@ -339,7 +339,7 @@
 #ifdef LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM
   globalParams = new GlobalParams(0);
 #else
-  globalParams = new GlobalParams();
+  globalParams.reset(new GlobalParams());
 #endif
   uMap = globalParams->getTextEncoding();
 

Reply via email to