# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2025 ai-ad4 and the FreePDFEditor contributors # License allowlist for the scancode-based license gate (§8.2). # # GPL-3-compatible licenses that may be linked into FreePDFEditor. Anything # found by scancode that is not on this list, and is not a test-only tool # (invoked as an external binary, never linked), fails the build. # # License identifiers are SPDX IDs as scancode reports them. # Permissive / GPL-3-compatible Apache-2.0 BSD-2-Clause BSD-3-Clause ISC MIT MITNFA Unicode-DFS-2016 Unicode-3.0 Zlib # Copyleft, GPL-3-compatible GPL-3.0-only GPL-3.0-or-later LGPL-3.0-only LGPL-3.0-or-later LGPL-2.1-only LGPL-2.1-or-later MPL-2.0 MPL-2.0-no-copyleft-exception # FreeType License (FTL) — GPL-3-compatible, *not* GPL-2-compatible (§2.4). FTL # Test-only tools — invoked as external binaries in CI, never linked. # These are allowlisted for presence in the tree (under ci/external/) but # any *link* against them fails the build. Listed by name for check-licenses.py. TEST-ONLY: - ghostscript # AGPL-3.0 — external binary only - verapdf # MPL-2.0/GPL dual — external binary only