[med-svn] [dcm2niix] 05/07: Use the system zlib and openjpeg2 libraries

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu May 11 18:39:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/experimental
in repository dcm2niix.

commit e7977fe81892d3b971e5a0f883abfb46ef30f60e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu May 11 18:06:06 2017 +0100

    Use the system zlib and openjpeg2 libraries
---
 debian/control | 4 +++-
 debian/rules   | 5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 969dcb7..e23d36d 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,9 @@ Section: science
 Priority: optional
 Build-Depends: cmake,
                debhelper (>= 10),
-               libyaml-cpp-dev
+               libopenjp2-7-dev,
+               libyaml-cpp-dev,
+               zlib1g-dev
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/dcm2niix.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/dcm2niix.git
diff --git a/debian/rules b/debian/rules
index e365500..aaadbfe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,4 +12,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 	dh $@ --sourcedirectory=console --buildsystem=cmake
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DBATCH_VERSION=ON -DUSE_STATIC_RUNTIME=OFF
+	dh_auto_configure -- -DBATCH_VERSION=ON \
+		-DUSE_STATIC_RUNTIME=OFF \
+		-DUSE_SYSTEM_ZLIB=ON \
+		-DUSE_OPENJPEG=ON

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/dcm2niix.git



More information about the debian-med-commit mailing list