A release provides two files:
raven-VERSION-linux-x86_64.tar.gz: executable, guest components and notices.raven-VERSION-source.tar.gz: the corresponding Raven and third-party source, modifications and build/install recipes.
Publish both in the same release with equivalent access. Users need only the
binary archive to run Raven on a supported Linux system. Its SOURCE.txt names
the matching source download. Source availability is the distributor's job;
users do not need to classify licenses or collect DLLs.
Use a clean checkout with a build directory outside it. Set SOURCE, BUILD and ARTIFACTS to absolute paths. Configure the components needed for that release, using the provisioners documented in the main README.
cmake -S "$SOURCE" -B "$BUILD" -DCMAKE_BUILD_TYPE=RelWithDebInfo
python3 "$SOURCE/scripts/package-native.py" prepare --source "$SOURCE" --build "$BUILD"
cmake --build "$BUILD" -j2
python3 "$SOURCE/scripts/package-native.py" seal --source "$SOURCE" --build "$BUILD"
ctest --test-dir "$BUILD" --output-on-failure -j1 \
--output-junit "$BUILD/ctest-results.xml"
python3 "$SOURCE/scripts/package-native.py" bundle \
--source "$SOURCE" --build "$BUILD" \
--test-report "$BUILD/ctest-results.xml" \
--materials /absolute/path/to/materials.json \
--output "$ARTIFACTS/raven-VERSION-linux-x86_64.tar.gz" \
--source-output "$ARTIFACTS/raven-VERSION-source.tar.gz"The release command records source inputs before building the host. The final seal, after all runtime components are built, records their hashes. Changing source, configuration or runtime files requires a rebuild. Packaging checks the complete configured CTest report, refuses failures and preserves executable permissions. Skipped checks are recorded, not treated as application compatibility evidence. Do not upload an additional raw build directory that bypasses packaging.
The maintainer supplies a JSON inventory of configured third-party inputs:
[
{
"name": "libxml2-2.12.8-installer",
"cmake_keys": ["RAVEN_INSTALLER_COMPONENT_DIR"],
"source": "/absolute/path/to/installer/libxml2-2.12.8-source.tar.xz",
"sha256": "43ad877b018bc63deb2468d71f95219c2fac196876ef36d1bee51d226173ec93",
"recipe": "/absolute/path/to/installer/provenance.json",
"notices": [
"/absolute/path/to/installer/licenses/libxml2-2.12.8/Copyright",
"/absolute/path/to/installer/licenses/libxml2-2.12.8/README.md"
]
}
]One archive may cover several configuration keys. Include all applicable notices,
not just the ones in this example. The upstream source archives, Raven's
provisioning scripts and patches, and the recorded provenance supply the inputs
and modifications. Include generated files too when the recipe cannot recreate
them. The provisioners retain upstream root and module notices in licenses/
and record their hashes. Modified source copies carry a dated modification notice.
Which inputs need source material follows from their terms. Guest components built
from upstream releases (the RTL, controls and installer components) and
vkd3d-proton, which is LGPL-2.1-or-later, need it: scripts/provision-graphics.py
keeps vkd3d-proton's source at the pinned commit with every submodule it builds
with, and DXVK's source archive, beside their notices. Inputs under permissive
terms ship with their notices in LICENSES/ and need no source archive: Skia and
libpng linked into the runtime, SQLite, and the fonts.
Configured Liberation fonts are included in runtime/fonts, which the executable
finds beside itself. Their copyright and OFL terms are included in LICENSES/.
The Raven Sans dialog faces that scripts/provision-text.py derives from DejaVu
Sans Condensed 2.37 go in the same directory, with the Bitstream Vera and Arev
terms beside them in RavenSans-LICENSE.txt and in LICENSES/. The 64-bit DXVK
and vkd3d-proton libraries go in runtime/, where the executable finds them.
Microsoft's code signing roots are not distributed. The runtime downloads the ones
the host certificate bundle lacks from Microsoft the first time it checks a
signature, verifies each against the SHA-256 in
native/nt/code_signing_roots.inc, and keeps them in ~/.cache/raven-roots.
Unmodified compiler tools and system libraries
need not be copied into this source inventory solely because they build or run
Raven. Added static dependencies or bundled shared libraries need their own review.
The material checks validate hashes and configuration coverage. They cannot infer the completeness of a manually supplied recipe. Record the full build recipe, including tool versions and options; an upstream URL or main-branch link alone is not the corresponding source.
Each archive contains SHA256SUMS, BUILD-INFO.json and license notices. Extract it
and run sha256sum -c SHA256SUMS. The binary archive contains runtime/ and
identifies the matching source archive. The source archive contains raven.tar
and sources/ with third-party inputs and recipes. Extract raven.tar and follow
the README and recorded recipes to rebuild; the extracted source builds without
Git. A Git checkout is needed only to create a new release record.
Keep the corresponding source accessible alongside the binary download under GPLv3 section 6(d), and satisfy each guest component's applicable source terms. The full source/build material allows recipients to modify and rebuild the LGPL portions too. Do not restrict reverse engineering needed to debug those changes. CI release jobs must depend on successful tests and upload these archives together.