Files
FileBow/licenses/sources/BUILDING.md
T

9.5 KiB

FileBow 1.0.1 dependency sources

The source downloads are attached to the FileBow 1.0.1 release. Download every FileBow-1.0.1-sources-*.zip and extract them into the same directory. They are ordinary independent ZIP files, not a split ZIP volume. Keep the directory layout intact.

SOURCE-MANIFEST.json records each archive's origin, version or revision where available, size and SHA-256. SOURCE-BUNDLES.json records the downloadable ZIPs. Verify extracted archives with:

python scripts/verify-sources.py C:/path/to/extracted-sources

The FileBow source archive and repository include the application source, lockfiles and build scripts. The large dependency archives are release assets, not Git objects or part of the installed app. License notices remain in the app under About FileBow → View licenses.

Contents and scope

Directory Sources
python 29 pinned Python distributions, including fpdf2, PyInstaller and its build dependencies.
native HEIF/x265 stack, Windows recipes, GCC/MinGW, Pillow/lxml build sources, Python build recipes, OpenSSL, Electron, Chromium's FFmpeg, Node and .NET.
python-native Libraries selected from the Python runtime supplier's 20260901 build recipes.
pillow-dependencies Pillow's Windows image/font dependency source archives. zlib-ng and libavif's additional dependencies are under native.
ffmpeg FFmpeg revision 6882969ce9 and the BtbN build repository at 937868360a21d711ec94a33f5591d345ad9b7754.
ffmpeg-dependencies All 129 source-cache archives from that upstream build, including nested repositories and vendored sources. Other platforms and optional variants are also present; this is not a list of enabled codecs.
rust 599 crate archives from the cryptography, rav1e and librsvg lockfiles, verified against their lockfile checksums. Includes build-only and other-platform dependencies.

Source archives keep their original licenses. The source collection is not a relicensing of those projects. Microsoft redistributable runtime files are provided under Microsoft's redistribution terms; they are not represented as open-source code here.

FileBow and the Python worker

Follow docs/DEVELOPMENT.md from the matching FileBow source revision. Use Python 3.11.16, the versions in engine/requirements.lock.txt, Electron 43.7.0 and .NET 8.0.31. scripts/build-engine.cjs contains the complete PyInstaller invocation; scripts/build.cjs packages the desktop app.

To modify a Python dependency, unpack its source archive, build/install it into FileBow's .venv, and rebuild the worker. For example, install the unpacked fpdf2 source with .venv/Scripts/python.exe -m pip install C:/sources/fpdf2-2.8.9, then run pnpm build:engine. The worker directory is copied to vendor/engine; regenerate notices before packaging. The source archives also include upstream packaging scripts and build requirements.

The bundled CPython runtime comes from python-build-standalone build 20260901. Its source archive includes the supplier's patches and Windows build scripts. Its pythonbuild/downloads.py is the version/hash reference for python-native, rather than the older defaults in CPython's PCbuild/get_externals.bat. OpenSSL 3.5.8 belongs to Python; cryptography 50.0.2 separately embeds OpenSSL 4.0.3.

HEIF, x265 and MinGW

The pillow-heif 1.8.1 source contains .github/workflows/wheels.yml and libheif/windows/mingw-w64-libheif/PKGBUILD. These describe the Windows wheel build, stripping and DLL repair/renaming. The libheif build enables x265 encoding and libde265 decoding; it disables the other optional codecs/plugins.

Use libheif 1.23.6, libde265 1.1.3 and the supplied official x265 4.3 release archive. Its x265Version.txt records repositorychangeset: e9b8812 and releasetagdistance: 1, matching the DLL's 4.3+1-e9b8812 version string.

The supplied MSYS2 recipe snapshots contain the build scripts and patches:

  • x265 4.3-1: MINGW-packages revision f6ae36581d8dd1f6878442575cc8471830b863ed, directory mingw-w64-x265, including 0001-missing-include.patch and the 8/10/12-bit build configuration.
  • libde265 1.1.3-1: revision c32cb4bc3e7de5dfc31415748daabe79c469d5fb, directory mingw-w64-libde265.
  • GCC runtime 16.2.0-5: revision 7c4b39d9bb2605b63a904a031b0aec309b4ac548, directory mingw-w64-gcc; GCC 16.2.0 source is included.
  • MinGW/winpthreads 14.0.0.r426.g4564ee4b5-1: recipe revision 6c5d16ee3b3e0dd9a5387878709ad55ea0887d6d and mingw-w64 source revision 4564ee4b5063097bf747af3a3f8270a28adff820.

HEIF-BUILD-EVIDENCE.txt records package versions from upstream Windows job 114479001949, run 38132864028. Build the selected MSYS2 recipes with makepkg-mingw in the corresponding x86_64 environment, then follow the wheel workflow. The full recipe snapshots contain many unrelated package recipes; only the directories above identify this codec/runtime stack.

Pillow and lxml

Pillow 13.0.0's winbuild/build_prepare.py and .github/dependencies.json contain Windows compiler flags, patches and dependency versions. Follow winbuild/README.md. libavif 1.4.2 additionally selects AOM 3.14.1, dav1d 1.5.3, libyuv revision 644251f25 and libsharpyuv from libwebp 1.6.0; these sources are included. No libimagequant dependency is enabled in this Windows build.

lxml's Windows build uses the lxml/libxml2-win-binaries 2026.10.05 release. The supplied recipe archive contains build.ps1, .gitmodules and patches. Place the winlibs-* source snapshots in the corresponding libiconv, libxml2, libxslt and zlib subdirectories, and follow that repository's Windows build instructions (build.ps1 -x64). Its snapshots are pinned to the release's Git submodule commits, including libiconv accac417318a3eef7402685a268cab8037e62ba1. The release script labels iconv 1.19, libxml2 2.11.9, libxslt 1.1.45 and zlib 1.3.2. lxml's general environment defaults do not identify the Windows prebuilt libraries. Install the rebuilt libraries as described in lxml's buildlibxml.py, then build the lxml wheel and worker.

FFmpeg

The binaries are the unmodified BtbN autobuild-2026-10-25-13-00 LGPL shared Windows x64 build, n9.0.2-36-g6882969ce9. FFMPEG-BUILD-CONFIGURATION.txt contains the binary's configuration. GPL-only and nonfree FFmpeg variants are not used.

The source cache is from upstream run 40192150700, artifact 12598108870. Its original ZIP SHA-256 is 708e2fabd41f1f5a5c3ee6d0c1815fb1008957c2ec68d119b098e3363e9ecb23. Individual original .tar.xz members are distributed unchanged. FFMPEG-CACHE-ALIASES.json maps the short names to their content-addressed cache names.

On a Linux host with Bash and Docker:

  1. Unpack the BtbN build repository into a working directory.
  2. Copy ffmpeg-dependencies/*.tar.xz into its .cache/downloads/ directory. Restore the short-name symlinks using FFMPEG-CACHE-ALIASES.json. download.sh documents how cache keys are calculated.
  3. Use win64 lgpl-shared 9.0 for makeimage.sh and build.sh. Preserve the supplied recipes and patches; do not substitute today's recipe revisions or a different variant.
  4. Pin FFmpeg to 6882969ce9. In build.sh, replace the moving-branch clone with a clone followed by git checkout --detach 6882969ce9 after entering the FFmpeg directory. The supplied main-source archive is the source snapshot at that revision.
  5. Rebuild the dependency image and then FFmpeg following the repository README. Replace the files in vendor/ffmpeg together and run the FileBow engine tests.

The upstream scripts reference Docker toolchain images and contain cargo update cc in the rav1e build. Toolchain downloads are still required; the source bundle is not a prebuilt offline toolchain or a claim of bit-for-bit reproducibility. librsvg's original cache already contains its vendored Cargo sources. The separate Rust archives preserve the lockfile inputs for the other Rust builds as well.

Electron, Chromium, Node and .NET

Electron 43.7.0 source includes its DEPS, build instructions and patches. It pins Chromium 150.0.7871.250, Node 24.21.0 and nan 675cefebca42410733da8a454c8d9391fcebfbc2. Node and nan source archives are included.

CHROMIUM-DEPS.txt preserves the matching Chromium dependency specification. Chromium's FFmpeg source is archived at ad41607c61898cf7150e0fb20fe4bbabd44922a3, with Electron's applicable changes in the Electron patch directory. This is distinct from FileBow's external BtbN FFmpeg binaries. Follow Electron's source-build documentation and its pinned DEPS to retrieve the complete Chromium checkout and remaining browser dependencies. The entire Chromium checkout is not mirrored in these downloads. Its bundled notices are preserved in Electron-LICENSES.chromium.html.

The .NET runtime and WinForms 8.0.31 source archives include their upstream build scripts. FileBow's helper is built from native/FileBow.Windows.csproj; the repository lockfile records its restore inputs.

Verification boundaries

Archive hashes, package versions, original source-cache integrity and selected native version/build evidence have been checked. Native dependencies were not all rebuilt from source as part of assembling this collection. The collection is not a certification of reproducible builds, Microsoft Store approval or the contents of earlier FileBow releases. Keep these sources available alongside the binaries they accompany; publish a new manifest when dependency inputs change.

Questions or missing source material: filebow@nordik.dev.