<!-- Markdown variant of https://www.dajent.co/open-source/ — see https://www.dajent.co/llms.txt -->

# Open-source licenses

DaJent is built on open-source software, and we are grateful to the people who make it. This page
lists the components DaJent ships under the GNU Lesser General Public License (LGPL), where to get
their source code, and how to ask us for it. It is the LGPL part of the list only: the desktop app
carries the complete list, with every license text, in **Settings > About > Open-source licenses**,
and on the web that row leads here.

## Written offer

For each LGPL component listed below, DaJent will provide the complete corresponding source code of
the exact version shipped in our products, together with the scripts and options that built it
(FFmpeg: reproduced on this page; the other components: the upstream build named under each one), to
anyone who asks, for at least three years after the release that contains it. Email
**[hello@dajent.co](mailto:hello@dajent.co)**, name the component and your DaJent version (Settings >
About), and we will send the source or a download link. The upstream locations below also work
directly.

The Python libraries listed here are separate files inside the analysis engine folder of the desktop
app, and FFmpeg is a separate program (`ffmpeg`, `ffprobe`) in the same folder, so each can be
replaced by a build of your own.

## FFmpeg 9.0.2

The `ffmpeg` and `ffprobe` command-line tools in the analysis engine, built under LGPL-2.1-or-later
only (no GPL, version 3 or nonfree options), for macOS (Apple silicon) and Windows (x64).

- Source: [ffmpeg-9.0.2.tar.xz](https://ffmpeg.org/releases/ffmpeg-9.0.2.tar.xz), sha256 `8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e`
- Windows build: [vcpkg ffmpeg port at the pinned baseline](https://github.com/microsoft/vcpkg/tree/9a5dfef5d1a0438a7d24856a85bd60f309d355e9/ports/ffmpeg)
- macOS build: the tarball above, configured with exactly these options (`build-ffmpeg.sh`, a script in
  DaJent's private repository, which is why they are reproduced here):

```
--disable-gpl --disable-nonfree --disable-autodetect --disable-network --disable-everything --disable-doc --disable-ffplay --disable-debug --disable-shared --enable-static --enable-pic --enable-zlib --arch=arm64 --cc=clang --extra-cflags=-mmacosx-version-min=13.0 --extra-ldflags=-mmacosx-version-min=13.0 --enable-protocol=file,pipe --enable-demuxer=mp3,mov,flac,ogg,wav,aiff,matroska,w64,aac,pcm_s16le,pcm_f32le --enable-parser=mpegaudio,aac,flac,vorbis,opus --enable-decoder=mp3float,mp3,aac,alac,flac,vorbis,opus --enable-decoder=pcm_s8,pcm_u8,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s24be,pcm_s32le,pcm_s32be,pcm_f32le,pcm_f32be,pcm_f64le,pcm_f64be --enable-encoder=pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_s64le,pcm_f32le --enable-muxer=wav,pcm_s16le,pcm_f32le --enable-filter=aresample,aformat,anull,atrim --enable-swresample
```

- Windows build: the vcpkg manifest builds the `ffmpeg` port at that baseline with no default features
  and the features `ffmpeg`, `ffprobe`, `avcodec`, `avformat`, `avfilter`, `swresample`, `swscale`,
  installed with `vcpkg install --triplet x64-windows-release`
  (`scripts/win/engine/build-ffmpeg.ps1`, `scripts/win/engine/ffmpeg/vcpkg.json`).

## python-soxr 1.0.0 and libsoxr 0.1.3-14-ga66f3ee

The SoX Resampler library, statically linked in the `soxr_ext` module of python-soxr (with PFFFT,
which is BSD-style licensed). python-soxr bundles a modified libsoxr.

- Source: [python-soxr 1.0.0 source distribution](https://pypi.org/project/soxr/1.0.0/#files)
- Repository: [python-soxr v1.0.0](https://github.com/dofuuz/python-soxr/tree/v1.0.0)
- libsoxr fork: [commit a66f3ee](https://github.com/dofuuz/soxr/tree/a66f3ee)

## libsndfile 1.2.2

libsndfile is a shared library inside the python-soundfile 0.13.1 package. The macOS and the Windows
library are built differently, so the recipe is given for each. mpg123 and LAME (below) are linked
statically into it, together with the libFLAC, libogg, libvorbis and libopus codecs (BSD licensed,
credited in the app's notices file).

- libsndfile source: [libsndfile-1.2.2.tar.xz](https://github.com/libsndfile/libsndfile/releases/download/1.2.2/libsndfile-1.2.2.tar.xz)
- macOS build: [libsndfile-binaries tag 1.2.2](https://github.com/bastibe/libsndfile-binaries/blob/1.2.2/mac_build.sh) (commit a3e6f97; `mac_build.sh` sets mpg123 1.32.3, LAME 3.100, libFLAC 1.4.3, libogg 1.3.5, libvorbis 1.3.7 and libopus 1.4)
- Windows build: [build-libs.yml of the same tag](https://github.com/bastibe/libsndfile-binaries/blob/1.2.2/.github/workflows/build-libs.yml), whose Windows job runs `vcpkg install libsndfile:x64-windows-custom` with the repository's [triplets](https://github.com/bastibe/libsndfile-binaries/tree/1.2.2/triplets), and the [vcpkg libsndfile port](https://github.com/microsoft/vcpkg/tree/2024.12.16/ports/libsndfile) at vcpkg tag 2024.12.16, the vcpkg state the shipped DLL's build paths match

## mpg123

MP3 decoding, statically inside libsndfile. The two platforms ship different versions.

- macOS: mpg123 1.32.3, [mpg123-1.32.3.tar.bz2](https://www.mpg123.de/download/mpg123-1.32.3.tar.bz2)
- Windows: mpg123 1.32.9 with the three vcpkg patches `fix-dllexport.diff`, `have-fpu.diff` and
  `pkgconfig.diff`: [mpg123-1.32.9.tar.bz2](https://www.mpg123.de/download/mpg123-1.32.9.tar.bz2) and the [vcpkg mpg123 port](https://github.com/microsoft/vcpkg/tree/2024.12.16/ports/mpg123) at tag 2024.12.16. The DLL records the vcpkg build directory `mpg123\src\-66150af195.clean`, and only that port revision produces that suffix.

Copyright (c) 1995-2020 by Michael Hipp and others, free software under the terms of the LGPL v2.1.

## LAME 3.100

MP3 encoding, statically inside libsndfile, under the GNU Library General Public License version 2
(LAME's COPYING). This product uses LAME (www.mp3dev.org; project site: [lame.sourceforge.io](https://lame.sourceforge.io/)).

- macOS: [lame-3.100.tar.gz](https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz)
- Windows: the same tarball, built with the four patches of the [vcpkg mp3lame port](https://github.com/microsoft/vcpkg/tree/2024.12.16/ports/mp3lame) at tag 2024.12.16

## libquadmath

The GCC runtime library for quad-precision math, shipped inside the numpy 1.26.4 and scipy 1.16.3
packages. The versions come from the binaries and the wheels' build scripts, as far as they record
them:

- numpy on macOS: GCC 11.3.0 runtime, taken from the conda-forge `gfortran_impl_osx-arm64` and
  `libgfortran5` packages that [isuruf/gcc release gcc-11.3.0-2](https://github.com/isuruf/gcc/releases/tag/gcc-11.3.0-2)
  repackages; numpy's [gfortran script](https://github.com/numpy/numpy/blob/v1.26.4/tools/wheels/gfortran_utils.sh)
  downloads that release. The recipe repository is [gfortran_impl_osx-64-feedstock](https://github.com/conda-forge/gfortran_impl_osx-64-feedstock/tree/d79f11c18bae52de4ed41a528c3ecf4ac61751f3),
  which builds the Apple silicon package as a cross target. The wheel records a build timestamp of
  2022-11-07 21:43 UTC, and commit d79f11c1 (21:37 UTC, with no later commit for two days) is the last
  one before it, so that is the build commit by inference, not by a record. Its recipe builds stock GCC
  11.3.0 and applies the Apple silicon patch [gcc-11.3.0-arm.diff](https://github.com/conda-forge/gfortran_impl_osx-64-feedstock/blob/d79f11c18bae52de4ed41a528c3ecf4ac61751f3/recipe/gcc-11.3.0-arm.diff).
  Upstream base: [GCC 11.3.0](https://ftp.gnu.org/gnu/gcc/gcc-11.3.0/gcc-11.3.0.tar.xz).
- scipy on macOS: GCC 13.4.0 (the `macosx_14_0_arm64` wheel records `gcc-13.4.0` in a build directory
  dated 2025-09-20). scipy's [wheel workflow](https://github.com/scipy/scipy/blob/v1.16.3/.github/workflows/wheels.yml)
  links the runner's preinstalled gfortran-13, which fits Homebrew's gcc@13: its
  [formula at commit af36c21c](https://github.com/Homebrew/homebrew-core/blob/af36c21c1e30bdae763ec747504dff4ea25540f3/Formula/g/gcc@13.rb)
  (the 13.4.0 bottle of that day) builds the GCC 13.4.0 tarball with the patch
  [gcc-13.4.0.diff](https://github.com/Homebrew/formula-patches/blob/8bbfd6c920e63f6ed1bf143771bfbfed0a3aaa1d/gcc/gcc-13.4.0.diff).
  That the shipped runtime is that bottle is an inference from the directory name and date.
  Upstream base: [GCC 13.4.0](https://ftp.gnu.org/gnu/gcc/gcc-13.4.0/gcc-13.4.0.tar.xz).
- numpy on Windows: GCC 10.3.0, linked into the OpenBLAS library (its strings read
  `GCC: (Built by Jeroen for the R-project) 10.3.0`).
  Upstream base: [GCC 10.3.0](https://ftp.gnu.org/gnu/gcc/gcc-10.3.0/gcc-10.3.0.tar.xz).

The numpy Windows runtime comes from the R project's toolchain, whose patches are not recorded in the
wheel; the GNU tarball is its upstream base, and we will say so in reply to a request.

## GNU libiconv

Statically linked into the lxml 6.1.3 package. The two platforms ship different builds.

- macOS: libiconv 1.18, built from source by lxml's wheel build: [libiconv-1.18.tar.gz](https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz),
  [lxml 6.1.3 wheel workflow](https://github.com/lxml/lxml/blob/lxml-6.1.3-1/.github/workflows/wheels.yml), [lxml 6.1.3](https://github.com/lxml/lxml/tree/lxml-6.1.3-1) (tag `lxml-6.1.3-1`, the tag that built the wheels)
- Windows: the `iconv-1.17.1.win64.zip` asset of the [libxml2-win-binaries release 2026.05.17](https://github.com/lxml/libxml2-win-binaries/releases/tag/2026.05.17)
  ([asset](https://github.com/lxml/libxml2-win-binaries/releases/download/2026.05.17/iconv-1.17.1.win64.zip)),
  built by its [build.ps1](https://github.com/lxml/libxml2-win-binaries/blob/2026.05.17/build.ps1) from the
  [winlibs/libiconv tree](https://github.com/winlibs/libiconv/tree/880a1fa8b5581e37e136a7b051947d3ea39097b6)
  with [libiconv.patch](https://github.com/lxml/libxml2-win-binaries/blob/2026.05.17/libiconv.patch).
  The log of the lxml CI run that built the 6.1.3 wheels (tag `lxml-6.1.3-1`) names this release and
  iconv 1.17.1; that tree's header reports libiconv 1.17. The version was read from the build log and
  the release, not from the shipped module.

## FFmpeg as built by Chromium (shipped with Electron 45.0.0)

The `libffmpeg` library inside the Electron runtime, unmodified Electron output, at Chromium
revision 9db86ce5b5b454dfc96c435f9f0723012980c37f (Chromium 156.0.8078.48).

- Source: [Chromium's FFmpeg at that revision](https://chromium.googlesource.com/chromium/third_party/ffmpeg/+/9db86ce5b5b454dfc96c435f9f0723012980c37f)
- Revision pin: [Chromium 156.0.8078.48 DEPS](https://chromium.googlesource.com/chromium/src/+/refs/tags/156.0.8078.48/DEPS)
- Electron pin: [Electron v45.0.0 DEPS](https://github.com/electron/electron/blob/v45.0.0/DEPS)
- Electron's patches applied to that tree: [patches/ffmpeg](https://github.com/electron/electron/tree/v45.0.0/patches/ffmpeg) (a macOS install-name change in `BUILD.gn`)

## Everything else

The desktop app's notices file also covers the other software inside DaJent (the Electron and
Chromium runtime, the Kotlin standard library and Okio, SQLite3 Multiple Ciphers, the Python
interpreter and the libraries built into it, the Python and JavaScript packages, the libFLAC, libogg,
libvorbis and libopus codecs, ONNX Runtime, OpenSSL, the image libraries bundled in the PyTorch
wheels, and the Microsoft Visual C++ runtime on Windows) with each license text, and the model
weights published under permissive licenses. Bundled media is outside that file. This software is
based in part on the work of the Independent JPEG Group. Questions about any of it:
[hello@dajent.co](mailto:hello@dajent.co).
