Relicense Ely Office's own code from AGPL-3.0 to MIT
release / macos (push) Waiting to run
release / windows (push) Waiting to run

Applied on top of the released v0.1.5 so the tag says MIT, as main does
(271468d). Bundled engines keep their licences: LibreOffice (MPL-2.0),
Git (GPL-2.0) and MuPDF (AGPL-3.0).
This commit is contained in:
雷电芽衣 committed 2026-10-20 01:33:33 -04:00
1 parent aa419fdfc9
commit 8be14052ae
7 files changed
+36 -669

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 is MIT; bundled engines keep their licences.
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://git.zacharyzhang.com/ZacharyZhang-NY/ElyOffice
license: AGPL-3.0-or-later
license: $license
contents:
- src: $appdir/usr
dst: /opt/ely-office/$slug