Skip to content

Commit

Permalink
packages wip
Browse files Browse the repository at this point in the history
  • Loading branch information
issakomi committed Jul 4, 2022
1 parent 127031c commit b7eef2e
Show file tree
Hide file tree
Showing 21 changed files with 738 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian-10/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ alizams (1.7.5-1) stable; urgency=low

* Initial upload to Debian. Closes: #999999.

-- Package Maintainer <[email protected]> Fri, 1 Jul 2022 00:00:00 -0000
-- Replace Maintainer <[email protected]> Fri, 1 Jul 2022 00:00:00 -0000
4 changes: 2 additions & 2 deletions debian-10/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: alizams
Maintainer: Package Maintainer <[email protected]>
Maintainer: Replace Maintainer <[email protected]>
Section: science
Priority: optional
Build-Depends: cmake,
Expand All @@ -23,7 +23,7 @@ Standards-Version: 4.3.0
Homepage: https://github.com/AlizaMedicalImaging/AlizaMS

Package: alizams
Architecture: amd64 i386
Architecture: amd64
Multi-Arch: no
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Expand Down
3 changes: 3 additions & 0 deletions debian-12-qt5/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Aliza MS DICOM Viewer Debian package
------------------------------------

1 change: 1 addition & 0 deletions debian-12-qt5/alizams.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
2 changes: 2 additions & 0 deletions debian-12-qt5/alizams.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/bin/alizams
usr/share/*
Empty file.
5 changes: 5 additions & 0 deletions debian-12-qt5/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
alizams (1.7.5-1) stable; urgency=low

* Initial upload to Debian. Closes: #999999.

-- Replace Maintainer <[email protected]> Fri, 1 Jul 2022 00:00:00 -0000
33 changes: 33 additions & 0 deletions debian-12-qt5/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Source: alizams
Maintainer: Replace Maintainer <[email protected]>
Section: science
Priority: optional
Build-Depends: cmake,
pkg-config,
debhelper-compat (= 13),
dh-strip-nondeterminism,
qtbase5-dev-tools,
qt5-qmake-bin,
qtbase5-dev,
libqt5svg5-dev,
libbullet-dev,
uuid-dev,
libz-dev,
libcharls-dev (>= 2.0.0),
libopenjp2-7-dev,
liblcms2-dev,
libinsighttoolkit4-dev
Build-Depends-Indep:
Build-Conflicts:
Standards-Version: 4.6.0
Homepage: https://github.com/AlizaMedicalImaging/AlizaMS

Package: alizams
Architecture: amd64
Multi-Arch: no
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: Aliza MS DICOM Viewer
The package contains Aliza MS binary and files.


290 changes: 290 additions & 0 deletions debian-12-qt5/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: alizams
Upstream-Contact: [email protected]
Source: https://github.com/AlizaMedicalImaging/AlizaMS

Files: *
Copyright:
2018-2022 Mikhail Isakov
License: GLPv3
On Debian systems, the text of the GNU GPL can be found in
/usr/share/common-licenses/GPL.

Files: b/*
Copyright:
2003-2020 Erwin Coumans and contributors
License: Zlib
All source code files are licensed under the permissive zlib license.
http:https://opensource.org/licenses/Zlib
Bullet Continuous Collision Detection and Physics Library
http:https://bulletphysics.org
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.

Files: common/colorspace/*
Copyright: 2005-2010 Pascal Getreuer
License: BSD
All rights reserved.
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.
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.

Files: mdcm/*
Copyright:
2018-2022 Mikhail Isakov
2006-2016 Mathieu Malaterre
1993-2005 CREATIS
License: BSD-3-clause-alike-CREATIS
All rights reserved.
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.
* Neither name of Mathieu Malaterre, or CREATIS, nor the names of any
contributors (CNRS, INSERM, UCB, Universite Lyon I), 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 AUTHORS 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.

Files: mdcm/Source/Common/mdcmBase64.*
Copyright:
2004-2008 René Nyffenegger
License: BSD-3-clause

Files: mdcm/Source/Common/zipstreamimpl.*
Copyright: 2003 Jonathan de Halleux
License: Zlib

Files: mdcm/Utilities/mdcmcharls/*
Copyright:
2007-2010 Jan de Vaan
CharLS Team 2014
License: BSD-3-clause-alike-Jan-de-Vaan

Files: mdcm/Utilities/mdcmjpeg/*
Copyright: 1991-1998, Thomas G. Lane.
License: jpeg
Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject to these
conditions:
(1) If any part of the source code for this software is distributed, then this
README file must be included, with this copyright and no-warranty notice
unaltered and any additions, deletions, or changes to the original files
must be clearly indicated in accompanying documentation.
(2) If only executable code is distributed, then the accompanying
documentation must state that "this software is based in part on the work of
the Independent JPEG Group".
(3) Permission for use of this software is granted only if the user accepts
full responsibility for any undesirable consequences the authors accept
NO LIABILITY for damages of any kind.
These conditions apply to any software derived from or based on the IJG code,
not just to the unmodified library. If you use our work, you ought to
acknowledge us.
Permission is NOT granted for the use of any IJG author's name or company name
in advertising or publicity relating to this software or products derived from
it. This software may be referred to only as "the Independent JPEG Group's
software".
We specifically permit and encourage the use of this software as the basis of
commercial products, provided that all warranty or liability claims are
assumed by the product vendor.

Files: mdcm/Utilities/mdcmuuid/*
Copyright:
1996, 1997 Theodore Ts'o.
License: BSD-3-clause-alike-Theodore-Ts
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, and the entire permission notice in its entirety,
including the disclaimer of warranties.
2. 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.
3. The name of the author may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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 NOT ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

Files: mdcm/Utilities/mdcmopenjpeg/*
Copyright:
2002-2014, Universite catholique de Louvain (UCL), Belgium
2002-2014, Professor Benoit Macq
2003-2014, Antonin Descampe
2003-2009, Francois-Olivier Devaux
2005, Herve Drolon, FreeImage Team
2002-2003, Yannick Verschueren
2001-2003, David Janssens
2011-2012, Centre National d'Etudes Spatiales (CNES), France
2012, CS Systemes d'Information, France
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. 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.
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.

Files: mdcm/Utilities/mdcmzlib/*
Copyright:
1995-2017 Jean-loup Gailly and Mark Adler
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.

Files: mdcm/Utilities/pvrg/*
Copyright:
1990, 1991, 1993 Andy C. Hung
License: public-domain
PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research
Group. If you use this software, you agree to the following: This
program package is purely experimental, and is licensed "as is".
Permission is granted to use, modify, and distribute this program
q without charge for any purpose, provided this license/ disclaimer
notice appears in the copies. No warranty or maintenance is given,
either expressed or implied. In no event shall the author(s) be
liable to you or a third party for any special, incidental,
consequential, or other damages, arising out of the use or inability
to use the program for any purpose (or the loss of data), even if we
have been advised of such possibilities. Any public reference or
advertisement of this source code should refer to it as the Portable
Video Research Group (PVRG) code, and not by any author(s) (or
Stanford University) name.

Files: vectormath/sse/allocator.h
Copyright:
Mikhail Isakov
License: BSD-2-clause

Files: vectormath/*
Copyright:
2006, 2007 Sony Computer Entertainment Inc. All rights reserved.
License: BSD
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.
* Neither the name of the Sony Computer Entertainment Inc nor the names
of its contributors 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.

Files: CG/glew/*
Copyright:
2008-2017 Nigel Stewart
2002-2008 Milan Ikits
2002-2008 Marcelo E. Magallon
2002 Lev Povalahev
License: BSD, MIT

Files: alizalcms/*
Copyright:
1998-2020 Marti Maria Saguer
License: MIT
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject
to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

34 changes: 34 additions & 0 deletions debian-12-qt5/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic

%:
dh $@ --buildsystem=cmake

# Option -DALIZA_CXX_STANDARD:STRING=14 sets CMAKE_CXX_STANDARD
# to 14 only to get rid of ITK-4.12 dev-package VNL warnings
# (Debian 10, cmake-3.13.4), should be not required generally,
# C++ >= 11 is OK for Aliza MS.
#
# ITK version 5 is OK too.
#
CMAKEFLAGS = -DALIZA_QT_VERSION:STRING=5 \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DALIZA_CXX_STANDARD:STRING=14 \
-DALIZA_USE_SYSTEM_BULLET:BOOL=ON \
-DALIZA_USE_SYSTEM_LCMS2:BOOL=ON \
-DMDCM_USE_SYSTEM_UUID:BOOL=ON \
-DMDCM_USE_SYSTEM_ZLIB:BOOL=ON \
-DMDCM_USE_SYSTEM_OPENJPEG:BOOL=ON \
-DMDCM_USE_SYSTEM_CHARLS:BOOL=ON

override_dh_auto_configure:
dh_auto_configure -- $(CMAKEFLAGS)

override_dh_auto_test:
echo "No tests for this package"

override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
1 change: 1 addition & 0 deletions debian-12-qt5/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
Loading

0 comments on commit b7eef2e

Please sign in to comment.