Prepare FileBow 1.0.1 packages and dependency source distribution

This commit is contained in:
nordik committed 2026-10-27 03:01:45 +01:00
1 parent 0e84a1c452
commit 569f0324d6
22 files changed
+282647 -68

No files matched your search

+3 -2
View File
@@ -36,10 +36,11 @@ for name in ['LICENSE','LICENSES.chromium.html']:
if (electron/name).exists():shutil.copy2(electron/name,out/('Electron-'+name))
(out/'components.json').write_text(json.dumps(records,indent=2,ensure_ascii=False),encoding='utf-8')
(out/'FileBow-LICENSE.txt').write_text((root/'COPYRIGHT.md').read_text(encoding='utf-8')+'\n\n'+(root/'LICENSE').read_text(encoding='utf-8'),encoding='utf-8')
parts=['<!doctype html><html lang="en"><meta charset="utf-8"><title>FileBow – License notices</title><style>body{font:15px system-ui;max-width:960px;margin:40px auto;padding:24px;line-height:1.6;color:#20232a}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px monospace}summary{cursor:pointer}a{color:#9a4518}</style><h1>FileBow – Third-party components</h1><p>The following components are distributed under their respective licenses. These notices do not change any rights granted by those licenses.</p><h2>FFmpeg</h2><p>FileBow uses FFmpeg libraries under the GNU LGPL version 3. FFmpeg runs as a separate process. The shared libraries are included unmodified. Version: n9.0.2-36-g6882969ce9, BtbN LGPL shared x64. Source archives and build scripts are in <code>licenses/sources</code>.</p>']
parts.append('<h2>FileBow</h2><p>Copyright (C) 2026 Nordik.dev. Licensed under GPL-3.0-or-later. You may redistribute and modify FileBow under the GNU GPL; there is no warranty. <a href="https://git.nordik.dev/nordik/FileBow">Source code</a>.</p><h2>HEIF codecs</h2><p>The pillow-heif wheel contains GPL-covered x265, as well as LGPL-covered libheif and libde265. Its BSD wrapper license does not cover the whole binary wheel. See the preserved upstream notices below.</p><p>Source archives currently cover FFmpeg itself and its build recipes, not every bundled dependency. See <a href="sources/README.md">source availability</a> before redistributing a binary build.</p>')
parts=['<!doctype html><html lang="en"><meta charset="utf-8"><title>FileBow – License notices</title><style>body{font:15px system-ui;max-width:960px;margin:40px auto;padding:24px;line-height:1.6;color:#20232a}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px monospace}summary{cursor:pointer}a{color:#9a4518}</style><h1>FileBow – Third-party components</h1><p>The following components are distributed under their respective licenses. These notices do not change any rights granted by those licenses.</p><h2>FFmpeg</h2><p>FileBow uses FFmpeg libraries under the GNU LGPL version 3. FFmpeg runs as a separate process. The shared libraries are included unmodified. Version: n9.0.2-36-g6882969ce9, BtbN LGPL shared x64. Source downloads and build instructions are linked below.</p>']
parts.append('<h2>FileBow</h2><p>Copyright (C) 2026 Nordik.dev. Licensed under GPL-3.0-or-later. You may redistribute and modify FileBow under the GNU GPL; there is no warranty. <a href="https://git.nordik.dev/nordik/FileBow">Source code</a>.</p><h2>HEIF codecs</h2><p>The pillow-heif wheel contains GPL-covered x265, as well as LGPL-covered libheif and libde265. Its BSD wrapper license does not cover the whole binary wheel. See the preserved upstream notices below.</p><p><a href="https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1">Download FileBow 1.0.1 and third-party sources</a>. Source archives, Windows build recipes, patches and checksums are provided separately. See <a href="https://git.nordik.dev/nordik/FileBow/src/tag/v1.0.1/licenses/sources/BUILDING.md">build instructions and coverage</a>.</p>')
for file in sorted(out.glob('*.txt')) + sorted((out/'upstream').glob('*.txt')):
parts.append(f'<details><summary>{html.escape(file.name)}</summary><pre>{html.escape(file.read_text(encoding="utf-8",errors="replace"))}</pre></details>')
parts.append('<h2>Supplemental notices</h2><p><a href="Native-NOTICES.html">Native library and source notices</a> · <a href="Rust-NOTICES.html">Rust dependency notices</a></p>')
parts.append('<h2>Electron / Chromium</h2><p><a href="Electron-LICENSES.chromium.html">Chromium-License notices</a></p>')
for record in records:
parts.append(f'<h2>{html.escape(record["name"])} {record["version"]}</h2>')