Addis Ortho DICOM Viewer, release ao-4.7.3-4 (version 1.0)
Corresponding Source

This archive is the source of the Addis Ortho DICOM Viewer installers published as release
ao-4.7.3-4 (version 1.0) (macOS .pkg and Windows .msi). Addis Ortho distributed that release under the GNU
General Public License version 3. It is offered free of charge from
https://addisortho.com/viewer/source/ as required by section 6(d) of that licence.

Contents

  viewer/               The program's source tree at release tag ao-4.7.3-4 (version 1.0)
                        (commit 654c874fdb86dff4b0c80633e81ba14bc442637d), exported with git archive, then cleaned as described in
                        viewer/SOURCE-NOTES.txt. It holds
                        the Java, JavaScript and resource sources, the Maven build files, and the
                        build and packaging scripts (weasis-distributions/script/ and
                        .github/workflows/build-installer.yml, which built these installers).
                        Licence texts: viewer/LICENSE, viewer/NOTICE and
                        viewer/weasis-distributions/src/main/resources-native/Licence.txt.
  third-party-source/   The source of the libraries bundled in the installers, at the versions
                        shipped. SOURCES.txt lists each one and where it was downloaded from.
  SHA256SUMS.txt        Checksums of every file in this archive.

Java runtime

The installers include a reduced Eclipse Temurin Java runtime, version 26.0.2.1+1 (GPL-2.0 with
the Classpath Exception). Its source is the separate file
OpenJDK26U-jdk-sources_26.0.2.1_1.tar.xz on the same page: Adoptium's source archive
OpenJDK26U-jdk-sources_26.0.2.1_1.tar.gz from
https://github.com/adoptium/temurin26-binaries/releases/tag/jdk-26.0.2.1+1
with the same tar inside, compressed with xz instead of gzip. SHA-256 of the uncompressed tar:
276851fdd0c3f44472b7b98b96aa0ae4ec8e1306aa5f61d99804c08f2afdd82c

Native libraries and decoders (permissive licences)

  OpenCV native library weasis-opencv-core 5.0.0-dcm (Apache-2.0, with OpenJPEG and CharLS under
  BSD and libjpeg 6b under the IJG licence), built and published by the Weasis Team. The Java
  wrapper weasis-core-img 5.0.0 is in third-party-source/. The native build itself is not
  included in this archive.
  JOGL, JOCL and GlueGen 2.6.0 natives (BSD): source at https://jogamp.org and
  https://github.com/jogamp (tags v2.6.0).
  Templating page decoders in viewer/weasis-dicom/weasis-dicom-templating/src/main/resources/
  templating-web/vendor/ (MIT): copied unchanged from the npm packages listed in VERSIONS.md
  there.

Building

The build needs a JDK 25 or later (the release installers were built with Temurin 26) and Maven
3.8.1 or later. From viewer/:

  mvn -B install -DskipTests
  mvn -B -P compressXZ -f weasis-distributions clean package

This gives weasis-distributions/target/native-dist/weasis-native.zip. The installers were made
from it with jpackage (and WiX 3 on Windows), as in .github/workflows/build-installer.yml and
weasis-distributions/script/package-weasis.sh.

Using modified versions of the bundled libraries

The libraries are packaged in the installers as follows (see the poms in viewer/):
  Logback (logback-core, logback-classic): its classes are shaded into weasis-launcher.jar.
  dcm4che (core, dict, image, json, net): its classes are included in the weasis-dicom-codec bundle.
  VectorGraphics2D and java-iso-tools (iso9660-writer, sabre): their jars are embedded unchanged inside the
  bundles that use them.
  Docking Frames: a bundle of its own.
To build the viewer with a modified version of any of them, install your modified library into your local Maven
repository under the coordinates the poms name (or change the version in the pom to yours), then run the build
above. The shading and bundling steps take the library from Maven, so the rebuilt launcher and bundles carry your
version. The program as a whole is distributed under the GNU General Public License version 3; the libraries
under the LGPL are carried under its terms.

Trademarks

The GNU General Public License does not grant rights to the Addis Ortho name and logo.

Contact: dicom@addisortho.com, https://addisortho.com
