mirror of https://gitee.com/openkylin/gdcm.git
sync upstream config
This commit is contained in:
parent
5f844e53c6
commit
e5272008d5
|
@ -1,3 +1,9 @@
|
|||
gdcm (3.0.21-ok2) yangtze; urgency=medium
|
||||
|
||||
* Sync upstream patches and config.
|
||||
|
||||
-- zhouganqing <zhouganqing@kylinos.cn> Thu, 29 Feb 2024 18:19:02 +0800
|
||||
|
||||
gdcm (3.0.21-ok1) yangtze; urgency=medium
|
||||
|
||||
* Sync upstream version.
|
||||
|
|
|
@ -1,55 +1,48 @@
|
|||
Source: gdcm
|
||||
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
|
||||
Uploaders: Steve M. Robbins <smr@debian.org>,
|
||||
Sébastien Jodogne <s.jodogne@gmail.com>,
|
||||
Gert Wollny <gewo@debian.org>
|
||||
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Build-Depends: cmake,
|
||||
debhelper-compat (= 12),
|
||||
Build-Depends: castxml,
|
||||
cli-common-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64] <!nocil>,
|
||||
cmake,
|
||||
debhelper-compat (= 13),
|
||||
default-jdk [!hppa !hurd-any !kfreebsd-any],
|
||||
dh-strip-nondeterminism,
|
||||
default-jdk-headless,
|
||||
dh-python,
|
||||
python3-dev,
|
||||
pvrg-jpeg,
|
||||
uuid-dev,
|
||||
libz-dev,
|
||||
libexpat-dev,
|
||||
swig,
|
||||
dh-strip-nondeterminism,
|
||||
docbook-xsl-ns,
|
||||
javahelper,
|
||||
libvtk7-dev,
|
||||
libcharls-dev (>= 1.1.0),
|
||||
libopenjp2-7-dev,
|
||||
libvtk7-java [!hppa !hurd-any !kfreebsd-any],
|
||||
libxml2-dev,
|
||||
libcharls-dev (>= 2.0),
|
||||
libexpat-dev,
|
||||
libjson-c-dev,
|
||||
libpoppler-private-dev,
|
||||
libssl-dev,
|
||||
ninja-build,
|
||||
python3-vtk7,
|
||||
castxml,
|
||||
libsocket++-dev,
|
||||
libopenjp2-7-dev,
|
||||
libpapyrus3-dev,
|
||||
cli-common-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64],
|
||||
mono-devel [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64],
|
||||
xsltproc,
|
||||
docbook-xsl-ns
|
||||
Build-Depends-Indep: vtk7-doc,
|
||||
doxygen,
|
||||
doxygen-latex,
|
||||
ghostscript,
|
||||
graphviz
|
||||
libpoppler-private-dev,
|
||||
libsocket++-dev,
|
||||
libssl-dev,
|
||||
libvtk9-dev,
|
||||
libvtk9-qt-dev,
|
||||
libxml2-dev,
|
||||
libz-dev,
|
||||
mono-devel [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64] <!nocil>,
|
||||
ninja-build,
|
||||
pvrg-jpeg,
|
||||
python3-dev,
|
||||
python3-vtk9,
|
||||
swig,
|
||||
uuid-dev,
|
||||
xsltproc
|
||||
Build-Depends-Indep: doxygen, doxygen-latex, ghostscript, graphviz, vtk9-doc
|
||||
Build-Conflicts: libopenjpeg-dev
|
||||
Standards-Version: 4.5.0
|
||||
Vcs-Browser: https://salsa.debian.org/med-team/gdcm
|
||||
Vcs-Git: https://salsa.debian.org/med-team/gdcm.git
|
||||
Standards-Version: 4.6.1
|
||||
Vcs-Browser: https://gitee.com/openkylin/gdcm
|
||||
Vcs-Git: https://gitee.com/openkylin/gdcm.git
|
||||
Homepage: http://gdcm.sourceforge.net/
|
||||
|
||||
Package: libgdcm3.0
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Grassroots DICOM runtime libraries
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -63,25 +56,22 @@ Package: libgdcm-tools
|
|||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Section: utils
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Recommends: pvrg-jpeg
|
||||
Suggests: dcmtk,
|
||||
dicom3tools
|
||||
Suggests: dcmtk, dicom3tools
|
||||
Description: Grassroots DICOM tools and utilities
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
|
||||
.
|
||||
Install this package for the gdcmanon, gdcmconv, gdcmdiff, gdcmdump, gdcmpap3,
|
||||
gdcmgendir, gdcmimg, gdcminfo, gdcmpdf, gdcmraw, gdcmscanner, gdcmscu, gdcmtar,
|
||||
gdcmxml programs.
|
||||
Install this package for the gdcmanon, gdcmclean, gdcmconv, gdcmdiff,
|
||||
gdcmdump, gdcmpap3, gdcmgendir, gdcmimg, gdcminfo, gdcmpdf, gdcmraw,
|
||||
gdcmscanner, gdcmscu, gdcmtar, gdcmxml programs.
|
||||
|
||||
Package: libgdcm-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libgdcm3.0 (= ${binary:Version}),
|
||||
${misc:Depends}
|
||||
Depends: libgdcm3.0 (= ${binary:Version}), ${misc:Depends}
|
||||
Breaks: libgdcm2-dev
|
||||
Replaces: libgdcm2-dev
|
||||
Description: Grassroots DICOM development libraries and headers
|
||||
|
@ -94,11 +84,10 @@ Description: Grassroots DICOM development libraries and headers
|
|||
libgdcm.
|
||||
|
||||
Package: libgdcm-cil
|
||||
Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64
|
||||
Build-Profiles: <!nocil>
|
||||
Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mipsel powerpc ppc64 ppc64el s390x
|
||||
Section: cli-mono
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${cli:Depends}
|
||||
Depends: ${cli:Depends}, ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Grassroots DICOM CLI bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
|
@ -110,10 +99,10 @@ Description: Grassroots DICOM CLI bindings
|
|||
Package: python3-gdcm
|
||||
Architecture: any
|
||||
Section: python
|
||||
Depends: ${shlibs:Depends},
|
||||
Depends: libgdcm3.0 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
libgdcm3.0 (= ${binary:Version})
|
||||
${shlibs:Depends}
|
||||
Provides: ${python:Provides}
|
||||
Description: Grassroots DICOM Python bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -122,11 +111,10 @@ Description: Grassroots DICOM Python bindings
|
|||
.
|
||||
Python bindings to the GDCM DICOM library.
|
||||
|
||||
Package: libvtkgdcm3.0
|
||||
Package: libvtkgdcm-9.1
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Grassroots DICOM VTK runtime libraries
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -139,9 +127,7 @@ Description: Grassroots DICOM VTK runtime libraries
|
|||
Package: libvtkgdcm-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libvtkgdcm3.0 (= ${binary:Version}),
|
||||
libgdcm-dev,
|
||||
${misc:Depends}
|
||||
Depends: libgdcm-dev, libvtkgdcm-9.1 (= ${binary:Version}), ${misc:Depends}
|
||||
Breaks: libvtkgdcm2-dev
|
||||
Replaces: libvtkgdcm2-dev
|
||||
Description: Grassroots DICOM VTK development libraries and headers
|
||||
|
@ -153,28 +139,13 @@ Description: Grassroots DICOM VTK development libraries and headers
|
|||
use GDCM, but are needed to build plugins or programs that link
|
||||
against libvtkgdcm.
|
||||
|
||||
Package: libvtkgdcm-cil
|
||||
Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64
|
||||
Section: cli-mono
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${cli:Depends},
|
||||
libgdcm3.0 (= ${binary:Version})
|
||||
Suggests: libgdcm-cil
|
||||
Description: Grassroots DICOM VTK CLI bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
|
||||
.
|
||||
VTK CLI bindings to the GDCM DICOM library.
|
||||
|
||||
Package: python3-vtkgdcm
|
||||
Architecture: any
|
||||
Section: python
|
||||
Depends: ${shlibs:Depends},
|
||||
Depends: libvtkgdcm-9.1 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
libvtkgdcm3.0 (= ${binary:Version})
|
||||
${shlibs:Depends}
|
||||
Suggests: python3-gdcm
|
||||
Provides: ${python:Provides}
|
||||
Description: Grassroots DICOM VTK/Python bindings
|
||||
|
@ -188,8 +159,7 @@ Package: libvtkgdcm-tools
|
|||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Section: utils
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Suggests: libgdcm-tools
|
||||
Description: Grassroots DICOM VTK tools and utilities
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -203,9 +173,7 @@ Description: Grassroots DICOM VTK tools and utilities
|
|||
Package: gdcm-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends},
|
||||
vtk7-doc,
|
||||
doc-base
|
||||
Depends: doc-base, vtk9-doc, ${misc:Depends}
|
||||
Description: Grassroots DICOM documentation
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
|
@ -214,11 +182,9 @@ Description: Grassroots DICOM documentation
|
|||
This is the documentation for gdcm and vtkgdcm
|
||||
|
||||
Package: libgdcm-java
|
||||
Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
|
||||
Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64 x32
|
||||
Section: java
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${java:Depends}
|
||||
Depends: ${java:Depends}, ${misc:Depends}, ${shlibs:Depends}
|
||||
Suggests: java-virtual-machine
|
||||
Description: Grassroots DICOM Java bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -227,18 +193,3 @@ Description: Grassroots DICOM Java bindings
|
|||
.
|
||||
Java bindings to the GDCM DICOM library. It allows developers to use
|
||||
GDCM from Java environment.
|
||||
|
||||
Package: libvtkgdcm-java
|
||||
Architecture: any
|
||||
Section: java
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${java:Depends},
|
||||
libgdcm3.0 (= ${binary:Version})
|
||||
Suggests: libgdcm-java
|
||||
Description: Grassroots DICOM VTK Java bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
|
||||
.
|
||||
VTK Java bindings to the GDCM DICOM library.
|
||||
|
|
|
@ -1,55 +1,48 @@
|
|||
Source: gdcm
|
||||
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
|
||||
Uploaders: Steve M. Robbins <smr@debian.org>,
|
||||
Sébastien Jodogne <s.jodogne@gmail.com>,
|
||||
Gert Wollny <gewo@debian.org>
|
||||
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Build-Depends: cmake,
|
||||
debhelper-compat (= 12),
|
||||
Build-Depends: castxml,
|
||||
cli-common-dev [@DEB_MONO_ARCHS@] <!nocil>,
|
||||
cmake,
|
||||
debhelper-compat (= 13),
|
||||
default-jdk [!hppa !hurd-any !kfreebsd-any],
|
||||
dh-strip-nondeterminism,
|
||||
default-jdk-headless,
|
||||
dh-python,
|
||||
python3-dev,
|
||||
pvrg-jpeg,
|
||||
uuid-dev,
|
||||
libz-dev,
|
||||
libexpat-dev,
|
||||
swig,
|
||||
dh-strip-nondeterminism,
|
||||
docbook-xsl-ns,
|
||||
javahelper,
|
||||
libvtk7-dev,
|
||||
libcharls-dev (>= 1.1.0),
|
||||
libopenjp2-7-dev,
|
||||
libvtk7-java [!hppa !hurd-any !kfreebsd-any],
|
||||
libxml2-dev,
|
||||
libcharls-dev (>= 2.0),
|
||||
libexpat-dev,
|
||||
libjson-c-dev,
|
||||
libpoppler-private-dev,
|
||||
libssl-dev,
|
||||
ninja-build,
|
||||
python3-vtk7,
|
||||
castxml,
|
||||
libsocket++-dev,
|
||||
libopenjp2-7-dev,
|
||||
libpapyrus3-dev,
|
||||
cli-common-dev [@DEB_MONO_ARCHS@],
|
||||
mono-devel [@DEB_MONO_ARCHS@],
|
||||
xsltproc,
|
||||
docbook-xsl-ns
|
||||
Build-Depends-Indep: vtk7-doc,
|
||||
doxygen,
|
||||
doxygen-latex,
|
||||
ghostscript,
|
||||
graphviz
|
||||
libpoppler-private-dev,
|
||||
libsocket++-dev,
|
||||
libssl-dev,
|
||||
libvtk9-dev,
|
||||
libvtk9-qt-dev,
|
||||
libxml2-dev,
|
||||
libz-dev,
|
||||
mono-devel [@DEB_MONO_ARCHS@] <!nocil>,
|
||||
ninja-build,
|
||||
pvrg-jpeg,
|
||||
python3-dev,
|
||||
python3-vtk9,
|
||||
swig,
|
||||
uuid-dev,
|
||||
xsltproc
|
||||
Build-Depends-Indep: doxygen, doxygen-latex, ghostscript, graphviz, vtk9-doc
|
||||
Build-Conflicts: libopenjpeg-dev
|
||||
Standards-Version: 4.5.0
|
||||
Vcs-Browser: https://salsa.debian.org/med-team/gdcm
|
||||
Vcs-Git: https://salsa.debian.org/med-team/gdcm.git
|
||||
Standards-Version: 4.6.1
|
||||
Vcs-Browser: https://gitee.com/openkylin/gdcm
|
||||
Vcs-Git: https://gitee.com/openkylin/gdcm.git
|
||||
Homepage: http://gdcm.sourceforge.net/
|
||||
|
||||
Package: libgdcm3.0
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Grassroots DICOM runtime libraries
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -63,25 +56,22 @@ Package: libgdcm-tools
|
|||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Section: utils
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Recommends: pvrg-jpeg
|
||||
Suggests: dcmtk,
|
||||
dicom3tools
|
||||
Suggests: dcmtk, dicom3tools
|
||||
Description: Grassroots DICOM tools and utilities
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
|
||||
.
|
||||
Install this package for the gdcmanon, gdcmconv, gdcmdiff, gdcmdump, gdcmpap3,
|
||||
gdcmgendir, gdcmimg, gdcminfo, gdcmpdf, gdcmraw, gdcmscanner, gdcmscu, gdcmtar,
|
||||
gdcmxml programs.
|
||||
Install this package for the gdcmanon, gdcmclean, gdcmconv, gdcmdiff,
|
||||
gdcmdump, gdcmpap3, gdcmgendir, gdcmimg, gdcminfo, gdcmpdf, gdcmraw,
|
||||
gdcmscanner, gdcmscu, gdcmtar, gdcmxml programs.
|
||||
|
||||
Package: libgdcm-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libgdcm3.0 (= ${binary:Version}),
|
||||
${misc:Depends}
|
||||
Depends: libgdcm3.0 (= ${binary:Version}), ${misc:Depends}
|
||||
Breaks: libgdcm2-dev
|
||||
Replaces: libgdcm2-dev
|
||||
Description: Grassroots DICOM development libraries and headers
|
||||
|
@ -94,11 +84,10 @@ Description: Grassroots DICOM development libraries and headers
|
|||
libgdcm.
|
||||
|
||||
Package: libgdcm-cil
|
||||
Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64
|
||||
Build-Profiles: <!nocil>
|
||||
Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mipsel powerpc ppc64 ppc64el s390x
|
||||
Section: cli-mono
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${cli:Depends}
|
||||
Depends: ${cli:Depends}, ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Grassroots DICOM CLI bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
|
@ -110,10 +99,10 @@ Description: Grassroots DICOM CLI bindings
|
|||
Package: python3-gdcm
|
||||
Architecture: any
|
||||
Section: python
|
||||
Depends: ${shlibs:Depends},
|
||||
Depends: libgdcm3.0 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
libgdcm3.0 (= ${binary:Version})
|
||||
${shlibs:Depends}
|
||||
Provides: ${python:Provides}
|
||||
Description: Grassroots DICOM Python bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -122,11 +111,10 @@ Description: Grassroots DICOM Python bindings
|
|||
.
|
||||
Python bindings to the GDCM DICOM library.
|
||||
|
||||
Package: libvtkgdcm3.0
|
||||
Package: libvtkgdcm-9.1
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Grassroots DICOM VTK runtime libraries
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -139,9 +127,7 @@ Description: Grassroots DICOM VTK runtime libraries
|
|||
Package: libvtkgdcm-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libvtkgdcm3.0 (= ${binary:Version}),
|
||||
libgdcm-dev,
|
||||
${misc:Depends}
|
||||
Depends: libgdcm-dev, libvtkgdcm-9.1 (= ${binary:Version}), ${misc:Depends}
|
||||
Breaks: libvtkgdcm2-dev
|
||||
Replaces: libvtkgdcm2-dev
|
||||
Description: Grassroots DICOM VTK development libraries and headers
|
||||
|
@ -153,28 +139,13 @@ Description: Grassroots DICOM VTK development libraries and headers
|
|||
use GDCM, but are needed to build plugins or programs that link
|
||||
against libvtkgdcm.
|
||||
|
||||
Package: libvtkgdcm-cil
|
||||
Architecture: @DEB_MONO_ARCHS@
|
||||
Section: cli-mono
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${cli:Depends},
|
||||
libgdcm3.0 (= ${binary:Version})
|
||||
Suggests: libgdcm-cil
|
||||
Description: Grassroots DICOM VTK CLI bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
|
||||
.
|
||||
VTK CLI bindings to the GDCM DICOM library.
|
||||
|
||||
Package: python3-vtkgdcm
|
||||
Architecture: any
|
||||
Section: python
|
||||
Depends: ${shlibs:Depends},
|
||||
Depends: libvtkgdcm-9.1 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
libvtkgdcm3.0 (= ${binary:Version})
|
||||
${shlibs:Depends}
|
||||
Suggests: python3-gdcm
|
||||
Provides: ${python:Provides}
|
||||
Description: Grassroots DICOM VTK/Python bindings
|
||||
|
@ -188,8 +159,7 @@ Package: libvtkgdcm-tools
|
|||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Section: utils
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Suggests: libgdcm-tools
|
||||
Description: Grassroots DICOM VTK tools and utilities
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -203,9 +173,7 @@ Description: Grassroots DICOM VTK tools and utilities
|
|||
Package: gdcm-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends},
|
||||
vtk7-doc,
|
||||
doc-base
|
||||
Depends: doc-base, vtk9-doc, ${misc:Depends}
|
||||
Description: Grassroots DICOM documentation
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
|
@ -214,11 +182,9 @@ Description: Grassroots DICOM documentation
|
|||
This is the documentation for gdcm and vtkgdcm
|
||||
|
||||
Package: libgdcm-java
|
||||
Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
|
||||
Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64 x32
|
||||
Section: java
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${java:Depends}
|
||||
Depends: ${java:Depends}, ${misc:Depends}, ${shlibs:Depends}
|
||||
Suggests: java-virtual-machine
|
||||
Description: Grassroots DICOM Java bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
|
@ -227,18 +193,3 @@ Description: Grassroots DICOM Java bindings
|
|||
.
|
||||
Java bindings to the GDCM DICOM library. It allows developers to use
|
||||
GDCM from Java environment.
|
||||
|
||||
Package: libvtkgdcm-java
|
||||
Architecture: any
|
||||
Section: java
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
${java:Depends},
|
||||
libgdcm3.0 (= ${binary:Version})
|
||||
Suggests: libgdcm-java
|
||||
Description: Grassroots DICOM VTK Java bindings
|
||||
Grassroots DiCoM is a C++ library for DICOM medical files. It is
|
||||
automatically wrapped to python/C#/Java (using swig). It supports
|
||||
RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
|
||||
.
|
||||
VTK Java bindings to the GDCM DICOM library.
|
||||
|
|
|
@ -428,6 +428,10 @@ License: socketxx
|
|||
paragraph are preserved on all copies. This software is provided "as is"
|
||||
with no express or implied warranty
|
||||
|
||||
Files: debian/tests/data/00191113.dcm
|
||||
Copyright: 2006-2011 Mathieu Malaterre
|
||||
License: Apache-2.0
|
||||
|
||||
License: Apache-2.0
|
||||
On Debian GNU/Linux system you can find the complete text of the
|
||||
Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
debian/tests/data/00191113.dcm
|
|
@ -1,3 +0,0 @@
|
|||
[DEFAULT]
|
||||
pristine-tar = True
|
||||
|
|
@ -9,4 +9,4 @@ Index: /usr/share/doc/gdcm-doc/html/index.xhtml
|
|||
Files: /usr/share/doc/gdcm-doc/html/*
|
||||
|
||||
Format: PDF
|
||||
Files: /usr/share/doc/gdcm-doc/gdcm-3.0.5.pdf
|
||||
Files: /usr/share/doc/gdcm-doc/gdcm-3.pdf
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
usr/share/doc/gdcm-*/html/
|
||||
usr/share/doc/gdcm-*/gdcm-*.pdf
|
||||
usr/share/doc/gdcm-*/html/
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
usr/share/doc/gdcm-*/html/
|
||||
usr/share/doc/gdcm-*/gdcm-*.pdf usr/share/doc/gdcm-doc/
|
||||
|
||||
usr/share/doc/gdcm-*/html/
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
; configuration for the php5-gdcm module
|
||||
|
||||
extension=gdcm.so
|
|
@ -1,2 +1,3 @@
|
|||
usr/lib/*/gdcm-sharp.dll usr/lib/cli/gdcm-sharp-3.0/
|
||||
usr/lib/*/gdcm-sharp.dll.xml usr/lib/cli/gdcm-sharp-3.0/
|
||||
usr/lib/*/libgdcmsharpglue.so usr/lib/cli/gdcm-sharp-3.0/
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
usr/lib/*/libgdcmCommon.so
|
||||
usr/lib/*/libgdcmDICT.so
|
||||
usr/lib/*/libgdcmDSED.so
|
||||
usr/lib/*/libgdcmIOD.so
|
||||
usr/lib/*/libgdcmMSFF.so
|
||||
usr/lib/*/libgdcmjpeg12.so
|
||||
usr/lib/*/libgdcmjpeg16.so
|
||||
usr/lib/*/libgdcmjpeg8.so
|
||||
usr/lib/*/libgdcmMEXD.so
|
||||
usr/lib/*/gdcm-3.*/*.cmake
|
||||
usr/include/gdcm-3.*/gdcm*
|
||||
usr/include/gdcm-3.*/zip*
|
||||
usr/include/gdcm-3.*/gdcmjpeg/12/*
|
||||
usr/include/gdcm-3.*/gdcmjpeg/16/*
|
||||
usr/include/gdcm-3.*/gdcmjpeg/8/*
|
||||
usr/include/gdcm-3.*/gdcmjpeg/j*.h
|
||||
usr/include/gdcm-3.*/zip*
|
||||
usr/lib/*/gdcm-3.*/*.cmake
|
||||
usr/lib/*/libgdcmCommon.so
|
||||
usr/lib/*/libgdcmDICT.so
|
||||
usr/lib/*/libgdcmDSED.so
|
||||
usr/lib/*/libgdcmIOD.so
|
||||
usr/lib/*/libgdcmMEXD.so
|
||||
usr/lib/*/libgdcmMSFF.so
|
||||
usr/lib/*/libgdcmjpeg12.so
|
||||
usr/lib/*/libgdcmjpeg16.so
|
||||
usr/lib/*/libgdcmjpeg8.so
|
||||
|
|
|
@ -1,29 +1,30 @@
|
|||
usr/bin/gdcmanon
|
||||
usr/bin/gdcmclean
|
||||
usr/bin/gdcmconv
|
||||
usr/bin/gdcmdiff
|
||||
usr/bin/gdcmdump
|
||||
usr/bin/gdcmgendir
|
||||
usr/bin/gdcmimg
|
||||
usr/bin/gdcminfo
|
||||
usr/bin/gdcmpap3
|
||||
usr/bin/gdcmpdf
|
||||
usr/bin/gdcmraw
|
||||
usr/bin/gdcmscanner
|
||||
usr/bin/gdcmtar
|
||||
usr/bin/gdcmscu
|
||||
#usr/bin/gdcmstream
|
||||
usr/bin/gdcmtar
|
||||
usr/bin/gdcmxml
|
||||
usr/bin/gdcmpap3
|
||||
usr/bin/gdcmdiff
|
||||
usr/share/man/man1/gdcmanon.1
|
||||
usr/share/man/man1/gdcmclean.1
|
||||
usr/share/man/man1/gdcmconv.1
|
||||
usr/share/man/man1/gdcmdiff.1
|
||||
usr/share/man/man1/gdcmdump.1
|
||||
usr/share/man/man1/gdcmgendir.1
|
||||
usr/share/man/man1/gdcmimg.1
|
||||
usr/share/man/man1/gdcminfo.1
|
||||
usr/share/man/man1/gdcmpap3.1
|
||||
usr/share/man/man1/gdcmpdf.1
|
||||
usr/share/man/man1/gdcmraw.1
|
||||
usr/share/man/man1/gdcmscanner.1
|
||||
usr/share/man/man1/gdcmtar.1
|
||||
usr/share/man/man1/gdcmdiff.1
|
||||
usr/share/man/man1/gdcmxml.1
|
||||
usr/share/man/man1/gdcmpap3.1
|
||||
usr/share/man/man1/gdcmscu.1
|
||||
usr/share/man/man1/gdcmtar.1
|
||||
usr/share/man/man1/gdcmxml.1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libvtkgdcm-*.so.*
|
|
@ -1,2 +0,0 @@
|
|||
usr/lib/*/vtkgdcm-sharp.dll usr/lib/cli/vtkgdcm-sharp-3.0
|
||||
usr/lib/*/libvtkgdcmsharpglue.so usr/lib/cli/vtkgdcm-sharp-3.0
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/cli/vtkgdcm-sharp-3.0/vtkgdcm-sharp.dll
|
|
@ -1,2 +1,2 @@
|
|||
usr/lib/*/libvtkgdcm.so
|
||||
usr/include/gdcm-3.*/vtk*
|
||||
usr/lib/*/libvtkgdcm-*.so
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
usr/lib/*/vtkgdcm.jar usr/share/java
|
||||
usr/lib/*/jni/libvtkgdcmJava.so
|
|
@ -1,6 +1,6 @@
|
|||
usr/bin/gdcmviewer
|
||||
usr/bin/gdcm2vtk
|
||||
usr/bin/gdcm2pnm
|
||||
usr/share/man/man1/gdcmviewer.1
|
||||
usr/share/man/man1/gdcm2vtk.1
|
||||
usr/bin/gdcm2vtk
|
||||
usr/bin/gdcmviewer
|
||||
usr/share/man/man1/gdcm2pnm.1
|
||||
usr/share/man/man1/gdcm2vtk.1
|
||||
usr/share/man/man1/gdcmviewer.1
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# This is a C++ library, using symbols files here is quite a challange
|
||||
libvtkgdcm3.0: no-symbols-control-file
|
|
@ -1 +0,0 @@
|
|||
usr/lib/*/libvtkgdcm.so.*
|
|
@ -1,2 +0,0 @@
|
|||
# renamed in 2.8.8-3 because the ABI broke with 2.8.7-2.
|
||||
package-name-doesnt-match-sonames libvtkgdcm3.0
|
|
@ -0,0 +1,172 @@
|
|||
From: zhouganqing <zhouganqing@kylinos.cn>
|
||||
Date: Thu, 29 Feb 2024 18:23:20 +0800
|
||||
Subject: sync upstream config
|
||||
|
||||
---
|
||||
CMake/ExportConfiguration/GDCMConfig.cmake.in | 4 ++--
|
||||
Source/Common/gdcmSystem.cxx | 4 ++++
|
||||
Source/DataDictionary/gdcmGlobal.cxx | 4 ++++
|
||||
Utilities/doxygen/CMakeLists.txt | 1 +
|
||||
Utilities/doxygen/vtk/CMakeLists.txt | 8 ++++----
|
||||
Utilities/doxygen/vtk/doc_makeall.sh.in | 13 ++++++++-----
|
||||
Utilities/doxygen/vtk/doxyfile.in | 1 +
|
||||
7 files changed, 24 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/CMake/ExportConfiguration/GDCMConfig.cmake.in b/CMake/ExportConfiguration/GDCMConfig.cmake.in
|
||||
index f8e9d0b..3f553f6 100644
|
||||
--- a/CMake/ExportConfiguration/GDCMConfig.cmake.in
|
||||
+++ b/CMake/ExportConfiguration/GDCMConfig.cmake.in
|
||||
@@ -37,9 +37,9 @@ get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
if(EXISTS ${SELF_DIR}/GDCMTargets.cmake)
|
||||
# This is an install tree
|
||||
include(${SELF_DIR}/GDCMTargets.cmake)
|
||||
- get_filename_component(GDCM_INCLUDE_ROOT "${SELF_DIR}/../../@GDCM_INSTALL_INCLUDE_DIR@" ABSOLUTE)
|
||||
+ get_filename_component(GDCM_INCLUDE_ROOT "${SELF_DIR}/../../../@GDCM_INSTALL_INCLUDE_DIR@" ABSOLUTE)
|
||||
set(GDCM_INCLUDE_DIRS ${GDCM_INCLUDE_ROOT})
|
||||
- get_filename_component(GDCM_LIB_ROOT "${SELF_DIR}/../../@GDCM_INSTALL_LIB_DIR@" ABSOLUTE)
|
||||
+ get_filename_component(GDCM_LIB_ROOT "${SELF_DIR}/../../../@GDCM_INSTALL_LIB_DIR@" ABSOLUTE)
|
||||
set(GDCM_LIBRARY_DIRS ${GDCM_LIB_ROOT})
|
||||
else()
|
||||
if(EXISTS ${SELF_DIR}/GDCMExports.cmake)
|
||||
diff --git a/Source/Common/gdcmSystem.cxx b/Source/Common/gdcmSystem.cxx
|
||||
index b778ed5..dfc6598 100644
|
||||
--- a/Source/Common/gdcmSystem.cxx
|
||||
+++ b/Source/Common/gdcmSystem.cxx
|
||||
@@ -461,6 +461,10 @@ std::wstring System::ConvertToUNC(const char *utf8path)
|
||||
#endif
|
||||
}
|
||||
|
||||
+#ifndef PATH_MAX
|
||||
+#define PATH_MAX 4096
|
||||
+#endif
|
||||
+
|
||||
// return size of file; also returns zero if no file exists
|
||||
size_t System::FileSize(const char* filename)
|
||||
{
|
||||
diff --git a/Source/DataDictionary/gdcmGlobal.cxx b/Source/DataDictionary/gdcmGlobal.cxx
|
||||
index 927a020..882034b 100644
|
||||
--- a/Source/DataDictionary/gdcmGlobal.cxx
|
||||
+++ b/Source/DataDictionary/gdcmGlobal.cxx
|
||||
@@ -138,6 +138,10 @@ bool Global::Prepend(const char *path)
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
+#ifndef PATH_MAX
|
||||
+#define PATH_MAX 4096
|
||||
+#endif
|
||||
+
|
||||
const char *Global::Locate(const char *resfile) const
|
||||
{
|
||||
#ifdef _WIN32
|
||||
diff --git a/Utilities/doxygen/CMakeLists.txt b/Utilities/doxygen/CMakeLists.txt
|
||||
index 754d28c..3a5ec60 100644
|
||||
--- a/Utilities/doxygen/CMakeLists.txt
|
||||
+++ b/Utilities/doxygen/CMakeLists.txt
|
||||
@@ -160,6 +160,7 @@ if(GDCM_DOCUMENTATION)
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/latex/gdcm-${GDCM_VERSION}.pdf
|
||||
DESTINATION ${GDCM_INSTALL_DOC_DIR}
|
||||
+ RENAME gdcm-${GDCM_MAJOR_VERSION}.pdf
|
||||
)
|
||||
add_dependencies(DoxygenDoc GDCMDoxygenPDF)
|
||||
else()
|
||||
diff --git a/Utilities/doxygen/vtk/CMakeLists.txt b/Utilities/doxygen/vtk/CMakeLists.txt
|
||||
index 2173ea4..f70d1b8 100644
|
||||
--- a/Utilities/doxygen/vtk/CMakeLists.txt
|
||||
+++ b/Utilities/doxygen/vtk/CMakeLists.txt
|
||||
@@ -22,7 +22,7 @@ mark_as_advanced(VTK_DIR)
|
||||
set (QT_TAG_FILE "${CMAKE_CURRENT_BINARY_DIR}/Qt.tag")
|
||||
endif ()
|
||||
set(BUILD_DOXYGEN ON)
|
||||
- set(DOCUMENTATION_DOWNLOAD_VTK_TAGFILE ON)
|
||||
+ set(DOCUMENTATION_DOWNLOAD_VTK_TAGFILE OFF)
|
||||
set(DOCUMENTATION_HTML_TARZ ON)
|
||||
set(DOXYGEN_PROJECT_NAME "vtkgdcm")
|
||||
if(VTK_SOURCE_DIR)
|
||||
@@ -35,8 +35,8 @@ mark_as_advanced(VTK_DIR)
|
||||
# sudo apt-get install vtk-doc
|
||||
if(EXISTS "/usr/share/doc/vtk-doc/html")
|
||||
set(DOXYGEN_SOURCE_DIR "/usr/share/doc/vtk-doc/html")
|
||||
- elseif(EXISTS "/usr/share/doc/vtk6-doc/doxygen")
|
||||
- set(DOXYGEN_SOURCE_DIR "/usr/share/doc/vtk6-doc/doxygen")
|
||||
+ elseif(EXISTS "/usr/share/doc/vtk9/doxygen")
|
||||
+ set(DOXYGEN_SOURCE_DIR "/usr/share/doc/vtk9/doxygen")
|
||||
else()
|
||||
message(ERROR "DOXYGEN_SOURCE_DIR need to be set.")
|
||||
endif()
|
||||
@@ -97,7 +97,7 @@ mark_as_advanced(VTK_DIR)
|
||||
get_filename_component(DOT_PATH ${DOT} PATH)
|
||||
endif()
|
||||
|
||||
- set(TAGFILES "\"${CMAKE_CURRENT_BINARY_DIR}/vtkNightlyDoc.tag=http://www.vtk.org/doc/nightly/html\"")
|
||||
+ #set(TAGFILES "\"${CMAKE_CURRENT_BINARY_DIR}/vtkNightlyDoc.tag=http://www.vtk.org/doc/nightly/html\"")
|
||||
if(INCLUDE_QT_DOCUMENTATION)
|
||||
set (TAGFILES "${TAGFILES} \"${QT_TAG_FILE}=http://doc.trolltech.com/4.2\"")
|
||||
endif()
|
||||
diff --git a/Utilities/doxygen/vtk/doc_makeall.sh.in b/Utilities/doxygen/vtk/doc_makeall.sh.in
|
||||
index a9f2451..9ee9353 100644
|
||||
--- a/Utilities/doxygen/vtk/doc_makeall.sh.in
|
||||
+++ b/Utilities/doxygen/vtk/doc_makeall.sh.in
|
||||
@@ -42,7 +42,7 @@ export PROJECT_NAME=@DOXYGEN_PROJECT_NAME@
|
||||
# Example:
|
||||
# PATH_TO_VTK_DOX_SCRIPTS=@CMAKE_CURRENT_SOURCE_DIR@
|
||||
#
|
||||
-export PATH_TO_VTK_DOX_SCRIPTS="@DOXYGEN_SOURCE_DIR@"
|
||||
+export PATH_TO_VTK_DOX_SCRIPTS=/usr/share/vtk9/doxygen/
|
||||
|
||||
export PATH_TO_VTKGDCM_FINAL_PATH="@VTKGDCM_FINAL_PATH@"
|
||||
|
||||
@@ -169,12 +169,12 @@ cd "${DOXTEMP}" || echoexit "Cannot find Doxygen output directory: ${DOXTEMP}"
|
||||
# Convert the VTK headers to the Doxygen format.
|
||||
echo "Convert the VTK headers to the Doxygen format."
|
||||
if test "x$PERL_PROG" != "xNOTFOUND" ; then
|
||||
- $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl" \
|
||||
+ $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl" \
|
||||
--to "$INTERMEDIATE_DOX_DIR" \
|
||||
--relativeto "@DOXYGEN_SOURCE_LOCATIONS_DIR@" \
|
||||
@DOXYGEN_SOURCE_LOCATIONS@ || echoexit "Problem converting VTK headers"
|
||||
if test "x@DOXYGEN_BINARY_LOCATIONS_DIR@" != "x"; then
|
||||
- $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl" \
|
||||
+ $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl" \
|
||||
--to "$INTERMEDIATE_DOX_DIR" \
|
||||
--relativeto "@DOXYGEN_BINARY_LOCATIONS_DIR@" \
|
||||
@DOXYGEN_BINARY_LOCATIONS@ || echoexit "Problem converting VTK headers"
|
||||
@@ -186,13 +186,16 @@ echo "Convert the VTK headers to the Doxygen format - done"
|
||||
# Build the full-text index.
|
||||
echo "Build the full-text index."
|
||||
if test "x$PERL_PROG" != "xNOTFOUND" ; then
|
||||
+ cp "$PATH_TO_VTK_DOX_SCRIPTS/doc_index.stop" doc_index.stop
|
||||
+
|
||||
$PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_index.pl" \
|
||||
--project "$PROJECT_NAME" \
|
||||
- --stop "$PATH_TO_VTK_DOX_SCRIPTS/doc_index.stop" \
|
||||
+ --stop "doc_index.stop" \
|
||||
--store "doc_""$PROJECT_NAME""_index.dox" \
|
||||
--to "$INTERMEDIATE_DOX_DIR" \
|
||||
@DOXYGEN_SOURCE_LOCATIONS@ \
|
||||
@DOXYGEN_BINARY_LOCATIONS@ || echoexit "Problem building full-text index"
|
||||
+ rm -f doc_index.stop
|
||||
fi
|
||||
echo "Build the full-text index - done"
|
||||
|
||||
@@ -201,7 +204,7 @@ echo "Build the full-text index - done"
|
||||
# # demos that use that class.
|
||||
|
||||
# if test "x$PERL_PROG" != "xNOTFOUND" ; then
|
||||
-# $PERL_PROG $PATH_TO_VTK_DOX_SCRIPTS/doc_class2example.pl \
|
||||
+# gzip -dc $PATH_TO_VTK_DOX_SCRIPTS/doc_class2example.pl | $PERL_PROG - \
|
||||
# --datamatch "\W((VTK|ParaView)_DATA_ROOT|(VTK|MedVIP)Data|(vtk)?GetDataRoot|ExpandDataFileName)\W" \
|
||||
# --dataicon "paper-clip.gif" \
|
||||
# --dirmatch "^demos$" \
|
||||
diff --git a/Utilities/doxygen/vtk/doxyfile.in b/Utilities/doxygen/vtk/doxyfile.in
|
||||
index 20c47da..a4d308c 100644
|
||||
--- a/Utilities/doxygen/vtk/doxyfile.in
|
||||
+++ b/Utilities/doxygen/vtk/doxyfile.in
|
||||
@@ -23,6 +23,7 @@ PDF_HYPERLINKS = YES
|
||||
HAVE_DOT = YES
|
||||
#HAVE_DOT = NO
|
||||
DOT_PATH = "@DOT_PATH@"
|
||||
+DOT_IMAGE_FORMAT = svg
|
||||
CLASS_GRAPH = YES
|
||||
COLLABORATION_GRAPH = YES
|
||||
TEMPLATE_RELATIONS = YES
|
|
@ -0,0 +1 @@
|
|||
0001-sync-upstream-config.patch
|
|
@ -1,3 +1,3 @@
|
|||
usr/lib/python3*/dist-packages/_gdcmswig.so*
|
||||
usr/lib/python3*/dist-packages/gdcm.py
|
||||
usr/lib/python3*/dist-packages/gdcmswig.py
|
||||
usr/lib/python3*/dist-packages/_gdcmswig.so*
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
usr/lib/python3*/dist-packages/vtkgdcm*
|
||||
usr/lib/*/libvtkgdcmPythonD.so*
|
||||
usr/lib/python3*/dist-packages/vtkgdcm/*
|
||||
usr/lib/*/vtk-*/hierarchy/vtkgdcm/vtkgdcm-hierarchy.txt
|
||||
|
|
|
@ -8,4 +8,4 @@ python3-vtkgdcm: no-symbols-control-file
|
|||
python3-vtkgdcm: package-name-doesnt-match-sonames
|
||||
|
||||
# This seems to be needed for the python module
|
||||
python3-vtkgdcm: non-dev-pkg-with-shlib-symlink
|
||||
python3-vtkgdcm: link-to-shared-library-in-wrong-package
|
||||
|
|
|
@ -5,25 +5,24 @@
|
|||
# results in linking error
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
# to please dpkg-shlibdeps and java private libs in /usr/lib/jni
|
||||
LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):/usr/lib/jni
|
||||
|
||||
WITH_CLI =
|
||||
DEB_WRAP_CSHARP = 0
|
||||
ifeq (,$(filter $(DEB_BUILD_PROFILES),nocil))
|
||||
# required for DEB_MONO_ARCHS (debian/control.in)
|
||||
-include /usr/share/mono/mono-archs.make
|
||||
|
||||
# Mono is not available for all Debian architectures.
|
||||
ifeq ($(shell dh_listpackages | grep -q cil && echo yes),yes)
|
||||
WITH_CLI = --with cli
|
||||
DEB_WRAP_CSHARP = 1
|
||||
# dpkg-shlibdeps needs to know where is libKitware.mummy.Runtime.Unmanaged.so
|
||||
LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):/usr/lib/cli/Kitware.mummy.Runtime-1.0
|
||||
else
|
||||
WITH_CLI =
|
||||
DEB_WRAP_CSHARP = 0
|
||||
endif
|
||||
endif
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
|
@ -34,6 +33,7 @@ endif
|
|||
|
||||
ifneq ($(DEFAULT_JAVA_VERSION),)
|
||||
CMAKE_EXTRA_FLAGS += -DGDCM_WRAP_JAVA:BOOL=ON \
|
||||
-DVTKGDCM_WRAP_JAVA:BOOL=ON \
|
||||
-DGDCM_DEFAULT_JAVA_VERSION:STRING=$(DEFAULT_JAVA_VERSION)
|
||||
endif
|
||||
|
||||
|
@ -54,8 +54,9 @@ endif
|
|||
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)
|
||||
VTKVERS=$(shell apt-cache policy libvtk9-dev | grep "Installed:" | cut -d: -f2 | cut -d' ' -f2 | cut -d- -f1 | cut -d. -f1-2)
|
||||
|
||||
# GDCM_DOCUMENTATION:BOOL=ON is required to build man page (build target)
|
||||
# Need to make sure to build using the same vtk/python version:
|
||||
|
@ -64,16 +65,19 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=ON \
|
|||
-DGDCM_DOXYGEN_NO_FOOTER:BOOL=ON \
|
||||
-DGDCM_BUILD_APPLICATIONS:BOOL=ON \
|
||||
-DGDCM_DOCUMENTATION:BOOL=$(BUILDDOC) \
|
||||
-DGDCM_VTK_DOCUMENTATION:BOOL=$(BUILDDOC) \
|
||||
-DGDCM_VTK_DOCUMENTATION:BOOL=OFF \
|
||||
-DDOCUMENTATION_DOWNLOAD_VTK_TAGFILE:BOOL=OFF \
|
||||
-DGDCM_PDF_DOCUMENTATION:BOOL=$(BUILDDOC) \
|
||||
-DGDCM_BUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DGDCM_WRAP_PYTHON:BOOL=ON \
|
||||
-DVTKGDCM_WRAP_PYTHON:BOOL=ON \
|
||||
-DVTKGDCM_WRAP_JAVA:BOOL=OFF \
|
||||
-DGDCM_WRAP_CSHARP:BOOL=$(DEB_WRAP_CSHARP) \
|
||||
-DGDCM_WRAP_PHP:BOOL=OFF \
|
||||
-DGDCM_USE_PVRG:BOOL=ON \
|
||||
-DGDCM_USE_SYSTEM_PVRG:BOOL=ON \
|
||||
-DGMCS_EXECUTABLE:FILEPATH=/usr/bin/mono-csc \
|
||||
-DEXPAT_LIBRARY:FILEPATH=/usr/lib/$(DEB_HOST_MULTIARCH)/libexpat.so \
|
||||
-DGDCM_BUILD_TESTING:BOOL=OFF \
|
||||
-DGDCM_USE_SYSTEM_EXPAT:BOOL=ON \
|
||||
-DGDCM_USE_SYSTEM_UUID:BOOL=ON \
|
||||
|
@ -97,23 +101,25 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=ON \
|
|||
-DGDCM_NO_VTKJAVA_LIBS_LINKING:BOOL=ON \
|
||||
-DGDCM_INSTALL_LIB_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) \
|
||||
-DGDCM_USE_VTK:BOOL=ON \
|
||||
-DVTK_JAVA_JAR=/usr/share/java/vtk7.jar
|
||||
-DVTK_JAVA_JAR=/usr/share/java/vtk9.jar
|
||||
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
|
||||
|
||||
override_dh_auto_build-indep:
|
||||
dh_auto_build -- DoxygenDoc vtkgdcmDoxygenDoc
|
||||
dh_auto_build -- DoxygenDoc DOCBOOK_MANPAGES
|
||||
|
||||
override_dh_auto_build-arch:
|
||||
dh_auto_build
|
||||
|
||||
override_dh_auto_install-arch:
|
||||
# See #664188
|
||||
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 #664188 and #711214
|
||||
find obj-* -name "GDCMTargets*.cmake" -exec sed -i -e "s/FATAL_ERROR/STATUS/g" \{\} \;
|
||||
# See #989296
|
||||
find obj-* -name "GDCMTargets*.cmake" -exec \
|
||||
sed -i -e 's@/lib/python/dist-packages/vtkgdcmPython.so@/lib/python3/dist-packages/vtkgdcmPython.cpython-$(PV)-$(DEB_HOST_MULTIARCH).so@' \
|
||||
\{\} \;
|
||||
|
||||
dh_auto_install
|
||||
# PHP
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
include:
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
|
@ -0,0 +1 @@
|
|||
debian/tests/data/00191113.dcm
|
|
@ -0,0 +1,5 @@
|
|||
Tests for gdcm
|
||||
=================
|
||||
|
||||
The data for tests has been referenced from:
|
||||
https://sourceforge.net/p/gdcm/gdcmdata/ci/master/tree/gdcm-US-ALOKA-16.dcm
|
|
@ -0,0 +1,3 @@
|
|||
Tests: run-unit-test
|
||||
Depends: @
|
||||
Restrictions: allow-stderr
|
Binary file not shown.
|
@ -0,0 +1,47 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
pkg=libgdcm3.0
|
||||
|
||||
export LC_ALL=C.UTF-8
|
||||
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
|
||||
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
|
||||
trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
|
||||
fi
|
||||
|
||||
cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
|
||||
|
||||
cd "${AUTOPKGTEST_TMP}"
|
||||
|
||||
echo "6234a50361f02cb9a739755d63cdd673 output.dcm" >> checksums
|
||||
echo "ca2df89fe6e206514079597eb8ab070f pixeldata.raw" >> checksums
|
||||
|
||||
echo -e "\e[93m\e[1mRunning Tests\e[0m"
|
||||
|
||||
gdcmanon --password password -e 00191113.dcm anon.dcm
|
||||
|
||||
echo -e "\e[92m\e[1mPASS\e[0m"
|
||||
|
||||
gdcminfo 00191113.dcm
|
||||
|
||||
echo -e "\e[92m\e[1mPASS\e[0m"
|
||||
|
||||
gdcmimg --fill 0 --region 0,100,0,100 -i 00191113.dcm -o output_black.dcm
|
||||
|
||||
gdcmconv 00191113.dcm output.dcm
|
||||
|
||||
gdcmraw -i 00191113.dcm -o pixeldata.raw
|
||||
|
||||
md5sum --check checksums
|
||||
|
||||
#check for output file since md5hash varies in s390
|
||||
if [ -f "output_black.dcm" ]; then
|
||||
echo -e "\e[92m\e[1mPASS\e[0m"
|
||||
else
|
||||
echo -e "\e[1;31FAILED!"
|
||||
fi
|
||||
|
||||
gdcmdump output.dcm
|
||||
|
||||
echo -e "\e[92m\e[1mPASS\e[0m"
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Reference:
|
||||
Author: >
|
||||
David Rodríguez González and Trevor Carpenter and Jano I. van Hemert
|
||||
and Joanna Wardlaw
|
||||
Title: An open source toolkit for medical imaging de-identification
|
||||
Journal: European Radiology
|
||||
Year: 2010
|
||||
Volume: 20
|
||||
Number: 8
|
||||
Pages: 1896-1904
|
||||
DOI: 10.1007/s00330-010-1745-3
|
||||
PMID: 20204640
|
||||
URL: http://www.springerlink.com/content/j20844338623m167
|
||||
eprint: http://www.springerlink.com/content/j20844338623m167/fulltext.pdf
|
|
@ -1,3 +0,0 @@
|
|||
; configuration for the php5-vtkgdcm module
|
||||
|
||||
extension=vtkgdcm.so
|
|
@ -1,2 +1,3 @@
|
|||
version=4
|
||||
https://sf.net/gdcm/ gdcm-(.+)\.tar\.bz2 debian uupdate
|
||||
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
|
||||
https://github.com/malaterre/GDCM/releases/latest .*/v?@ANY_VERSION@\.tar\.gz
|
||||
|
|
Loading…
Reference in New Issue