Files
Jungfraujoch/licenses/COLLECT.sh
T
leonarski_f 75e401f0e5
Build Packages / Unit tests (push) Successful in 1h31m59s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 8m43s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 10m5s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 9m27s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 8m56s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 9m24s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 10m27s
Build Packages / build:rpm (rocky8) (push) Successful in 9m20s
Build Packages / build:rpm (rocky9) (push) Successful in 10m50s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 9m54s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 8m38s
Build Packages / DIALS test (push) Successful in 12m13s
Build Packages / XDS test (durin plugin) (push) Successful in 7m8s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 7m8s
Build Packages / XDS test (neggia plugin) (push) Successful in 7m50s
Build Packages / Generate python client (push) Successful in 16s
Build Packages / Build documentation (push) Successful in 50s
Build Packages / Create release (push) Skipped
v1.0.0-rc.153 (#63)
This is an UNSTABLE release. It includes many experimental features, as well as many AI generated fixes. We recommend using rc.152 for production use.

* jfjoch_broker: Add EXPERIMENTAL pixelrefine mode for image processing
* jfjoch_broker: Allow to load user mask from 8-bit and 16-bit TIFF files
* jfjoch_broker: Add ROI calculation in non-FPGA workflow
* jfjoch_broker: Fixes to TCP image pusher
* jfjoch_broker: Remove NUMA bindings
* jfjoch_broker: Improvements to indexing
* jfjoch_broker: For PSI EIGER, trimming energies are taken from the detector configuration (now compulsory) instead of hardcoded values
* jfjoch_writer: Save ROI definitions and the per-pixel ROI bitmap in the master file; azimuthal ROIs support phi (angular) sectors
* jfjoch_viewer: Major redesign with dockable panels and saved layouts, plus on-canvas creation/move/resize of box, circle and azimuthal ROIs
* jfjoch_viewer: Run jfjoch_process reprocessing jobs from inside the GUI and overlay per-run results

Reviewed-on: #63
2026-06-23 20:29:49 +02:00

82 lines
4.0 KiB
Bash

#!/usr/bin/env bash
# Collect the verbatim license texts of all third-party components into this directory.
#
# This is the bulk reference material that accompanies THIRD_PARTY_NOTICES.md (the human-readable
# manifest at the repo root). Run from the repo root after a configure/build has populated the
# FetchContent source trees (build/_deps or cmake-build-*/_deps). Re-run when a dependency version
# changes. The output (licenses/*.txt) is committed so a source checkout needs no build to ship the
# notices.
#
# bash licenses/COLLECT.sh
#
set -euo pipefail
cd "$(dirname "$0")/.."
OUT=licenses
# Copy $1 to licenses/$2, trying each source path in $1 (space-separated) until one exists.
copy_license() {
local dest="$1"; shift
local src
for src in "$@"; do
if [[ -f "$src" ]]; then
cp "$src" "$OUT/$dest"
echo " $dest <- $src"
return 0
fi
done
echo " !! MISSING: $dest (none of: $*)" >&2
return 0
}
# Search the populated dependency trees in order of preference.
DEPS=(_deps cmake-build-release/_deps build/_deps cmake-build-debug/_deps)
find_dep() { # find_dep <relative-path-under-a-deps-dir>
local d
for d in "${DEPS[@]}"; do [[ -f "$d/$1" ]] && { echo "$d/$1"; return; }; done
}
echo "Collecting third-party license texts into $OUT/ ..."
# --- Fetched at build, statically linked into the C++ binaries -------------------------------
copy_license spdlog.txt "$(find_dep spdlog-src/LICENSE)"
copy_license zstd.txt "$(find_dep zstd-src/LICENSE)"
copy_license hdf5.txt "$(find_dep hdf5-src/LICENSE)"
copy_license catch2.txt "$(find_dep catch2-src/LICENSE.txt)"
copy_license cpp-httplib.txt "$(find_dep httplib-src/LICENSE)"
copy_license libzmq.txt "$(find_dep libzmq-src/LICENSE)"
copy_license libtiff.txt "$(find_dep tiff-src/LICENSE.md)"
copy_license fftw.txt "$(find_dep fftw-src/COPYING)"
copy_license ceres-solver.txt "$(find_dep ceres-src/LICENSE)"
copy_license fast-feedback-indexer.txt "$(find_dep fast-indexer-src/LICENSE.md)"
copy_license eigen.txt "$(find_dep eigen3-src/COPYING.MPL2)"
copy_license eigen-README.txt "$(find_dep eigen3-src/COPYING.README)"
copy_license zlib.txt "$(find_dep zlib-src/LICENSE.md)"
# slsDetectorPackage is LGPL-3.0-or-later: ship both the GPL-3.0 base and the LGPL-3.0 addendum.
copy_license slsDetectorPackage-LGPL-3.0.txt "$(find_dep sls_detector_package-src/LICENSES/LGPL-3.0)"
copy_license slsDetectorPackage-GPL-3.0.txt "$(find_dep sls_detector_package-src/LICENSES/GPL-3.0)"
# libjpeg-turbo is built out-of-line by preview/ (ExternalProject), not under _deps.
copy_license libjpeg-turbo.txt \
cmake-build-release/preview/libjpeg-turbo/src/libjpeg-turbo-project/LICENSE.md \
build/preview/libjpeg-turbo/src/libjpeg-turbo-project/LICENSE.md
# --- Vendored directly in the repository ----------------------------------------------------
copy_license nlohmann-json.txt include/nlohmann/LICENSE.MIT
copy_license tinycbor.txt frame_serialize/tinycbor/LICENSE
copy_license bitshuffle.txt compression/bitshuffle/LICENSE
copy_license bitshuffle-hperf.txt compression/bitshuffle_hperf/LICENSE-APACHE
copy_license lz4.txt compression/lz4/LICENSE
copy_license xilinx-hls-headers.txt fpga/include/LICENSE.HLS_Headers
copy_license gemmi.txt gemmi_gph/LICENSE.txt
copy_license xbflash-qspi.txt tools/xbflash.qspi/LICENSE
copy_license wingetopt.txt tools/wingetopt/LICENSE
# --- Runtime SDK license texts, copied from their system install (best effort) ---------------
# These come from outside the build tree; the committed copies are authoritative if absent here.
copy_license Qt6-LGPL-3.0.txt /usr/share/common-licenses/LGPL-3
copy_license NVIDIA-CUDA-EULA.txt \
/usr/local/cuda/EULA.txt /usr/local/cuda-12.8/EULA.txt
echo "Done. base64-macaron.txt, Qt6-NOTICE.txt and NVIDIA-CUDA-NOTICE.txt are maintained by hand."