- scripts/fetch-argyll.sh: POSIX sh port of fetch-argyll.mjs; queries
the Gitea release API for the *_macOS_universal_bin.tgz asset,
extracts Argyll_V*/bin, chmod+x, strips quarantine xattr; honors
ARGYLL_SERVER_URL / ARGYLL_REPO / ARGYLL_RELEASE_TAG / GITEA_TOKEN.
Verified end-to-end: 51 universal tools from v3.5.0-ICCery1.8.
- BinaryResolver: settings argyll_binary_dir override (existence-gated)
→ bundled Argyll/<platform>/, macos-universal preferred when instlist
marker present, else macos-arm64/macos-x86_64; constructed path
returned even when absent (spawn surfaces process:error). Mock and
reference-gamut helpers.
- Vendored tracked resources: mocks/{chartread,colprof,profcheck}.mock
+ reference_gamuts/sRGB.gam from ICCery v1, copied as a folder
reference so the Argyll/ subtree structure survives into the bundle.
- Build phase rsyncs Vendor/Argyll/ → Contents/Resources/Argyll/.
- AppDelegate: killAll via terminateLater so children are signaled
before teardown (#147/#149).
- 6 resolver tests + fetch script smoke-verified against real release.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
21 lines
445 B
Bash
Executable File
21 lines
445 B
Bash
Executable File
#!/bin/bash
|
|
# Mock script for colprof
|
|
# Simulates colprof execution and outputs progress log
|
|
|
|
basename="$1"
|
|
# Find last argument if -D or other flags are used
|
|
for arg in "$@"; do
|
|
basename="$arg"
|
|
done
|
|
|
|
echo "colprof: Starting profile calculation for $basename"
|
|
sleep 1
|
|
echo "Gamut mapping calculation..."
|
|
sleep 1
|
|
echo "Fitting cLUT grid points..."
|
|
sleep 1
|
|
echo "Writing ICC profile $basename.icc..."
|
|
touch "$basename.icc"
|
|
echo "Done."
|
|
exit 0
|