Commit 42fdfaa4 authored by Sebastien Jodogne's avatar Sebastien Jodogne

preparing new release

parent 830822a9
orthanc-wsi (0.5-1) UNRELEASED; urgency=medium
* New upstream version
-- Sebastien Jodogne <s.jodogne@gmail.com> Tue, 24 Apr 2018 11:38:56 +0200
orthanc-wsi (0.4+dfsg-4) unstable; urgency=medium
* Fix FTBFS with libopenjp2-7-dev 2.2.0-1, Closes: #876807
......
......@@ -18,9 +18,9 @@ Build-Depends: cmake,
uuid-dev,
yui-compressor,
zlib1g-dev
Standards-Version: 4.0.0
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/orthanc-wsi.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/orthanc-wsi.git
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/orthanc-wsi
Vcs-Git: https://salsa.debian.org/med-team/orthanc-wsi.git
Homepage: http://www.orthanc-server.com/static.php?page=wsi
Package: orthanc-wsi
......
......@@ -2,25 +2,15 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: OrthancWSI
Upstream-Contact: Sebastien Jodogne <s.jodogne@gmail.com>
Source: https://bitbucket.org/sjodogne/orthanc-wsi/
Files-Excluded:
Resources/Orthanc/Resources/ThirdParty/patch/*
Files: *
Copyright: 2012-2016 Sebastien Jodogne <s.jodogne@gmail.com>, University Hospital of Liege (Belgium), and 2017 Osimis
Copyright: 2012-2016 Sebastien Jodogne <s.jodogne@gmail.com>, University Hospital of Liege (Belgium), and 2017-2018 Osimis S.A. (Belgium)
License: AGPL-3+
Files: Resources/Orthanc/*
Copyright: 2012-2016 Sebastien Jodogne <s.jodogne@gmail.com>, University Hospital of Liege (Belgium), and 2017 Osimis
Copyright: 2012-2016 Sebastien Jodogne <s.jodogne@gmail.com>, University Hospital of Liege (Belgium), and 2017-2018 Osimis S.A. (Belgium)
License: GPL-3+ with OpenSSL exception
Files: Resources/Orthanc/Resources/ThirdParty/base64/*
Copyright: 2004-2008 Rene Nyffenegger
License: zlib
Files: Resources/Orthanc/Resources/ThirdParty/VisualStudio/*
Copyright: 2006-2013 Alexander Chemeris
License: BSD-3-clause
Files: debian/JS/openlayers-3.19.0/*
Copyright: 2005-2016 OpenLayers Contributors. All rights reserved.
License: BSD-2-clause
......@@ -74,56 +64,6 @@ License: GPL-3+ with OpenSSL exception
`/usr/share/common-licenses/GPL-3'.
License: zlib
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
.
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product documentation
would be appreciated but is not required.
.
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
.
3. This notice may not be removed or altered from any source
distribution.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
* The name of the autors may be used to endorse or promote
products derived from this software without specific prior written
permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: BSD-2-clause
Copyright 2005-2016 OpenLayers Contributors. All rights reserved.
.
......
......@@ -19,41 +19,49 @@ CMAKE_VIEWER_EXTRA_FLAGS += \
-DUSE_SYSTEM_OPENLAYERS=ON \
-DOPENLAYERS_CSS=$(CURDIR)/BuildViewer/ol.min.css \
-DOPENLAYERS_JS=$(CURDIR)/BuildViewer/ol.min.js \
-DCMAKE_BUILD_TYPE="" # The build type must be left empty, see #711515
-DCMAKE_BUILD_TYPE=None # The build type must be set to None, see #711515
override_dh_auto_configure:
# Configure the command-line tools
# Put 3rd party packages where the cmake build system expects them
mkdir -p ThirdPartyDownloads
( cd ThirdPartyDownloads; cp ../debian/ThirdPartyDownloads/Orthanc-1.3.2.tar.gz . )
# Configure the command-line tools
mkdir BuildApplications
dh_auto_configure --builddirectory=BuildApplications \
--sourcedirectory=Applications \
-- $(CMAKE_APPLICATIONS_EXTRA_FLAGS)
# Minify the official OpenLayers 3.19.0 distribution (Debian
# packages only contains OpenLayers 2 for the time being,
# which is incompatible with OpenLayers 3)
# Minify the official OpenLayers 3.19.0 distribution (Debian
# packages only contains OpenLayers 2 for the time being,
# which is incompatible with OpenLayers 3)
mkdir -p BuildViewer
yui-compressor debian/JS/openlayers-3.19.0/ol-debug.js > BuildViewer/ol.min.js
yui-compressor debian/JS/openlayers-3.19.0/ol.css > BuildViewer/ol.min.css
# Configure the Web viewer plugin
# Configure the Web viewer plugin
dh_auto_configure --builddirectory=BuildViewer \
--sourcedirectory=ViewerPlugin \
-- $(CMAKE_VIEWER_EXTRA_FLAGS)
override_dh_auto_build:
# Build the command-line tools
# Build the command-line tools
dh_auto_build --builddirectory=BuildApplications \
--sourcedirectory=Applications
# Build the Web viewer plugin
# Build the Web viewer plugin
dh_auto_build --builddirectory=BuildViewer \
--sourcedirectory=ViewerPlugin
override_dh_clean:
rm -rf ThirdPartyDownloads
dh_clean
override_dh_auto_install:
# Install the command-line tools
# Install the command-line tools
dh_auto_install --builddirectory=BuildApplications
# Install the plugin
# Install the plugin
cp BuildViewer/${VIEWER_TARGET} BuildViewer/${VIEWER_TARGET}.${UPSTREAM_VERSION}
dh_install BuildViewer/${VIEWER_TARGET}.${UPSTREAM_VERSION} usr/lib
......@@ -63,6 +71,3 @@ override_dh_link:
override_dh_installchangelogs:
dh_installchangelogs -k NEWS
get-orig-source:
uscan --verbose --force-download --repack --compression xz
debian/ThirdPartyDownloads/Orthanc-1.3.2.tar.gz
debian/ThirdPartyDownloads/openlayers-3.19.0-dist.zip
version=3
opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,downloadurlmangle=s/\/browse\.php\?path=//g,repack,compression=xz" \
http://www.orthanc-server.com/browse.php?path=/whole-slide-imaging downloads/get\.php\?path=/whole-slide-imaging/OrthancWSI-(\d\S*)\.tar\.gz
https://www.orthanc-server.com/browse.php?path=/whole-slide-imaging downloads/get\.php\?path=/whole-slide-imaging/OrthancWSI-(\d\S*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment