diff -Nru gdcm-3.0.8/debian/changelog gdcm-3.0.8/debian/changelog --- gdcm-3.0.8/debian/changelog 2021-06-07 07:19:26.000000000 +0000 +++ gdcm-3.0.8/debian/changelog 2021-07-31 08:32:44.000000000 +0000 @@ -1,14 +1,11 @@ -gdcm (3.0.8-1build2) impish; urgency=medium +gdcm (3.0.8-2) unstable; urgency=medium - * Rebuild with the new poppler soname + * Team upload. + * d/rules: adjust GDCMTargets-*.cmake to detect libvtkgdcmsharpglue.so and + vtkgdcmPython.cpython-*-*.so properly. + Closes: #989296 - -- Sebastien Bacher Mon, 07 Jun 2021 09:20:10 +0200 - -gdcm (3.0.8-1build1) hirsute; urgency=medium - - * Rebuild with the new poppler soname - - -- Sebastien Bacher Fri, 26 Feb 2021 08:29:10 +0100 + -- Étienne Mollier Sat, 31 Jul 2021 10:32:44 +0200 gdcm (3.0.8-1) unstable; urgency=medium diff -Nru gdcm-3.0.8/debian/rules gdcm-3.0.8/debian/rules --- gdcm-3.0.8/debian/rules 2020-12-17 19:30:50.000000000 +0000 +++ gdcm-3.0.8/debian/rules 2021-07-28 15:13:00.000000000 +0000 @@ -54,6 +54,7 @@ dh $@ $(WITH_CLI) --with python3 --with javahelper --buildsystem=cmake+ninja PYVER := $(shell py3versions -dv) +PV := $(shell echo $(PYVER) | sed 's/\.//') PYMODDIR := /usr/lib/$(shell py3versions -d) VTKVERS=$(shell apt-cache policy libvtk7-dev | grep "Installed:" | cut -d: -f2 | cut -d' ' -f2 | cut -d- -f1 | cut -d. -f1-2) @@ -114,6 +115,11 @@ sed -i -e "s/FATAL_ERROR/STATUS/g" obj-*/CMake/ExportConfiguration/CMakeFiles/Export/lib/$(DEB_HOST_MULTIARCH)/gdcm-*/GDCMTargets-*.cmake # See #711214 sed -i -e "s/FATAL_ERROR/STATUS/g" obj-*/CMake/ExportConfiguration/CMakeFiles/Export/lib/$(DEB_HOST_MULTIARCH)/gdcm-*/GDCMTargets.cmake + # See #989296 + sed -i -e 's@/lib/\(.\+\)/libvtkgdcmsharpglue.so@/lib/cli/vtkgdcm-sharp-3.0/libvtkgdcmsharpglue.so@' \ + obj-*/CMake/ExportConfiguration/CMakeFiles/Export/lib/$(DEB_HOST_MULTIARCH)/gdcm-*/GDCMTargets-*.cmake + sed -i -e 's@/lib/python/dist-packages/vtkgdcmPython.so@/lib/python3/dist-packages/vtkgdcmPython.cpython-$(PV)-$(DEB_HOST_MULTIARCH).so@' \ + obj-*/CMake/ExportConfiguration/CMakeFiles/Export/lib/$(DEB_HOST_MULTIARCH)/gdcm-*/GDCMTargets-*.cmake dh_auto_install # PHP