honk publishes its own releases with doona embedded, so doona releases stopped attaching honk builds after rc.1. Remove tools/fetch-honk.mjs and its tests, which still expected debug.* tags, the old asset names and the Glassyiris/honk repository; the release procedure now ends with linking the matching honk release, and the install guide sends readers to honk's releases.
6.2 KiB
Installation and packages
doona is distributed as static web files. The current release is v0.1.0-rc.4; doona lite is a preview in testing.
For installation, use the documentation site's system requirements, installation guide and doona lite guide. Those pages cover backend setup, distribution-specific instructions and first sign-in. This page describes the files built by this repository. For where to download honk builds, see Matching honk builds.
Release archives
tools/package.sh creates these archives under release/. <version> is the version without the tag's leading v.
| Archive | Contents |
|---|---|
doona-<version>.tar.gz |
Standard edition from dist/, excluding fonts/ and .vite/, plus licence and notice files |
doona-lite-<version>.tar.gz |
Lite edition from apps/lite/dist/, plus licence and notice files; uses system fonts |
doona-fonts-<version>.tar.gz |
Optional fonts/ directory with Noto Sans TC and SC subsets, OFL.txt and README |
doona-precompressed-<version>.tar.gz |
Optional .br and .gz copies of the standard edition's text assets, at matching relative paths |
Both program archives have index.html at the archive root. Each includes LICENSE, LICENSES/, NOTICE, README.md, README.en.md and THIRD-PARTY-NOTICES.txt. tools/notices.mjs collects licence texts for bundled dependencies. The program archives do not include CHANGELOG.md.
The precompressed archive contains copies of selected text assets at least 1 KiB in size. Packaging uses brotli -q 11 and gzip -9 -n and keeps a copy only when it is smaller than the original. Fonts are packaged separately; see Fonts.
Matching honk builds
honk's own releases carry the builds that embed doona: a full build serves this UI with ui: embedded, and ui: embedded-lite serves doona lite. The doona release notes name the matching honk release under Pairing with honk. Download the builds from that honk release; the doona release does not carry them.
The full builds are named honk-core-v<version>-<target>[-stock]-full.tar.gz. The eight variants cover x86_64 and aarch64, musl and GNU, with mimalloc or the system allocator (-stock). Choose musl when unsure. Each honk release also carries doona-source-<version>.tar.gz, the corresponding source of the embedded UI.
Package layout
| Package or recipe | UI directory |
|---|---|
Debian doona-web |
/usr/share/doona-web |
RPM, Arch and OpenWrt doona; Alpine and Gentoo recipes |
/usr/share/doona |
| Nix recipe | $out/share/doona |
| Manual archive | Directory chosen when extracting the archive |
The Debian add-ons are named doona-web-fonts and doona-web-precompressed. Other distribution packages use doona-fonts and doona-precompressed. The font files go under the UI directory's fonts/; precompressed files sit beside the original assets. Alpine and OpenWrt use separate apk builds and signing procedures.
Package filenames and metadata use different prerelease spellings. See version spellings and apk signing and installation in the packaging reference.
Alpine also provides doona-doc-<version>-r0.alpine.apk, which contains the NOTICE file.
Build and packaging sources
| Source | Responsibility |
|---|---|
| tools/package.sh | Stage both editions, split optional archives and write their SHA256SUMS |
| .github/workflows/release.yml | Build distribution packages, collect release files and regenerate SHA256SUMS |
| install/nfpm/ | Debian, RPM, Arch and ipk package definitions |
| install/alpine/APKBUILD | Alpine package and subpackages |
| install/openwrt/doona/Makefile | OpenWrt package and add-ons |
| install/gentoo/net-proxy/doona/ and install/nix/package.nix | Gentoo and Nix recipes |
Packaging requires built output for both editions, even when only the standard archive is needed. See the development guide for dependency installation and build commands, and install/README.md for package maintenance.