Relicense Ely Office's own code from AGPL-3.0 to MIT

LICENSE is the MIT text, copyright Yang Zhang; the workspace crates,
the docs and the site say MIT. Bundled engines keep their licences:
LibreOffice (MPL-2.0), Git (GPL-2.0) and MuPDF (AGPL-3.0), which ElyPDF
links, so the Linux packages name both, e.g. "MIT AND AGPL-3.0-or-later".

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude committed 2026-10-19 19:31:09 -04:00
1 parent 1d74bbc417
commit 271468d0e5
7 files changed
+36 -668

No files matched your search

+8 -1
View File
@@ -18,6 +18,13 @@ row=$(awk -F'\t' -v slug="$slug" '$1 == slug { print $2 "\t" $3 }' "$root/packag
}
name=${row%%$'\t'*}
categories=${row##*$'\t'}
# Ely's own code is MIT; a bundled engine keeps its licence.
case $slug in
ely-doc | ely-table | ely-show) license="MIT AND MPL-2.0" ;;
ely-pdf) license="MIT AND AGPL-3.0-or-later" ;;
ely-tree) license="MIT AND GPL-2.0-only" ;;
*) license=MIT ;;
esac
# The types it opens, from packaging/types.tsv; none drops the line.
mimes=$(awk -F'\t' -v slug="$slug" '$1 == slug && !seen[$3]++ { printf "%s;", $3 }' "$root/packaging/types.tsv")
desktop_entry() {
@@ -193,7 +200,7 @@ maintainer: ZacharyZhang
vendor: ZacharyZhang
description: $name, part of Ely Office
homepage: https://github.com/ELY-Open-Source/ElyOffice
license: AGPL-3.0-or-later
license: $license
contents:
- src: $appdir/usr
dst: /opt/ely-office/$slug