[med-svn] [Git][med-team/gdcm][master] Removed mono support. Closes: #1079884
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Thu Aug 29 05:02:40 BST 2024
Michael R. Crusoe pushed to branch master at Debian Med / gdcm
Commits:
b8379f74 by Michael R. Crusoe at 2024-08-29T11:35:02+09:00
Removed mono support. Closes: #1079884
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+gdcm (3.0.24-4) unstable; urgency=medium
+
+ * Team upload.
+ * Removed mono support. Closes: #1079884
+
+ -- Michael R. Crusoe <crusoe at debian.org> Thu, 29 Aug 2024 11:34:53 +0900
+
gdcm (3.0.24-3) unstable; urgency=medium
* Team upload
=====================================
debian/control
=====================================
@@ -6,7 +6,6 @@ Uploaders: Steve M. Robbins <smr at debian.org>,
Section: libs
Priority: optional
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],
@@ -28,7 +27,6 @@ Build-Depends: castxml,
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,
@@ -90,19 +88,6 @@ Description: Grassroots DICOM development libraries and headers
GDCM, but are needed to build plugins or programs that link against
libgdcm.
-Package: libgdcm-cil
-Build-Profiles: <!nocil>
-Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mipsel powerpc ppc64 ppc64el s390x
-Section: cli-mono
-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
- RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
- .
- CLI bindings to the GDCM DICOM library. It allows developers to use
- GDCM from C# environment.
-
Package: python3-gdcm
Architecture: any
Section: python
=====================================
debian/rules
=====================================
@@ -9,22 +9,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
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
-endif
-endif
-export LD_LIBRARY_PATH
+export LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):/usr/lib/jni
DEFAULT_JAVA_VERSION=1.8
ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH),hppa hurd-i386 kfreebsd-i386 kfreebsd-amd64))
@@ -51,7 +36,7 @@ else
endif
%:
- dh $@ $(WITH_CLI) --with python3 --with javahelper --buildsystem=cmake+ninja
+ dh $@ --with python3 --with javahelper --buildsystem=cmake+ninja
PYVER := $(shell py3versions -dv)
PV := $(shell echo $(PYVER) | sed 's/\.//')
@@ -72,7 +57,7 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=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_CSHARP:BOOL=OFF \
-DGDCM_WRAP_PHP:BOOL=OFF \
-DGDCM_USE_PVRG:BOOL=ON \
-DGDCM_USE_SYSTEM_PVRG:BOOL=ON \
@@ -136,12 +121,6 @@ override_dh_auto_install-arch:
mv debian/tmp/usr/lib/python debian/tmp/$(PYMODDIR)
#mv debian/tmp/usr/lib/_gdcmswig.so* debian/tmp/$(PYMODDIR)/dist-packages/
-ifeq ($(DEB_WRAP_CSHARP), 1)
- #Csharp correct file name (Why did it change on most archs, and why not on kFreeBSD?)
- test -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgdcmsharpglue.so || \
- mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gdcmsharpglue.so debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgdcmsharpglue.so
-endif
-
override_dh_auto_install-indep:
DESTDIR=$(CURDIR)/debian/tmp/ cmake --build obj-* --target Utilities/doxygen/install
@@ -151,11 +130,6 @@ override_dh_auto_install-indep:
override_dh_strip_nondeterminism:
dh_strip_nondeterminism -Xsharp
-override_dh_clideps:
-ifeq ($(DEB_WRAP_CSHARP), 1)
- dh_clideps
-endif
-
# No tests needed for docs
override_dh_auto_test-indep:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/commit/b8379f74278222245f0a53dc622f395996f06a95
--
View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/commit/b8379f74278222245f0a53dc622f395996f06a95
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240829/efae4c1d/attachment-0001.htm>
More information about the debian-med-commit
mailing list