[med-svn] [Git][med-team/gdcm][master] Don't build CLI bindings when nocil build profile is enabled

Michael R. Crusoe gitlab at salsa.debian.org
Thu Dec 17 14:01:14 GMT 2020



Michael R. Crusoe pushed to branch master at Debian Med / gdcm


Commits:
26b45c54 by Alexander Volkov at 2020-12-17T11:00:42+00:00
Don't build CLI bindings when nocil build profile is enabled

- - - - -


3 changed files:

- debian/control
- debian/control.in
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -30,8 +30,8 @@ Build-Depends: cmake,
                castxml,
                libsocket++-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],
+               cli-common-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64] <!nocil>,
+               mono-devel [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64] <!nocil>,
                xsltproc,
                docbook-xsl-ns
 Build-Depends-Indep: vtk7-doc,
@@ -94,6 +94,7 @@ Description: Grassroots DICOM development libraries and headers
  libgdcm.
 
 Package: libgdcm-cil
+Build-Profiles: <!nocil>
 Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64
 Section: cli-mono
 Depends: ${shlibs:Depends},
@@ -154,6 +155,7 @@ Description: Grassroots DICOM VTK development libraries and headers
  against libvtkgdcm.
 
 Package: libvtkgdcm-cil
+Build-Profiles: <!nocil>
 Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64
 Section: cli-mono
 Depends: ${shlibs:Depends},


=====================================
debian/control.in
=====================================
@@ -30,8 +30,8 @@ Build-Depends: cmake,
                castxml,
                libsocket++-dev,
                libpapyrus3-dev,
-               cli-common-dev [@DEB_MONO_ARCHS@],
-               mono-devel [@DEB_MONO_ARCHS@],
+               cli-common-dev [@DEB_MONO_ARCHS@] <!nocil>,
+               mono-devel [@DEB_MONO_ARCHS@] <!nocil>,
                xsltproc,
                docbook-xsl-ns
 Build-Depends-Indep: vtk7-doc,
@@ -94,6 +94,7 @@ Description: Grassroots DICOM development libraries and headers
  libgdcm.
 
 Package: libgdcm-cil
+Build-Profiles: <!nocil>
 Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 ppc64el s390x arm64
 Section: cli-mono
 Depends: ${shlibs:Depends},
@@ -154,6 +155,7 @@ Description: Grassroots DICOM VTK development libraries and headers
  against libvtkgdcm.
 
 Package: libvtkgdcm-cil
+Build-Profiles: <!nocil>
 Architecture: @DEB_MONO_ARCHS@
 Section: cli-mono
 Depends: ${shlibs:Depends},


=====================================
debian/rules
=====================================
@@ -12,18 +12,18 @@ 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
 



View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/commit/26b45c5472002309678e3600c763c48c16bbc44b

-- 
View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/commit/26b45c5472002309678e3600c763c48c16bbc44b
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/20201217/0c778281/attachment-0001.html>


More information about the debian-med-commit mailing list