scripts/build-linux.sh builds the key-tao deb and rpm for the native
architecture of the Docker builder. packaging/linux/build-packages.sh stages
the tree and packaging/linux/key-tao.spec packages it as rpm.
/usr/lib/KeyTao/: Flutter bundle,keytao-ime,runtime/(librime and its libraries,rime-plugins,rime-data),rime-data -> runtime/rime-data, andaddon-schemas/./usr/bin/keytao-app,/usr/bin/keytao-ime: relative symlinks into/usr/lib/KeyTao, socurrent_exe()and DartresolvedExecutablefind the bundle root./usr/share/applications/KeyTao.desktop: app entry (StartupWMClass=keytao-app)./usr/share/applications/keytao-wayland-launcher.desktop: KDE virtual keyboard entry./usr/share/ibus/component/keytao.xml: IBus component./etc/xdg/autostart/keytao-ime.desktop: login autostart (NotShowIn=GNOME;)./usr/share/icons/hicolor/<size>/apps/keytao-app.png.
RPATHs: the app uses $ORIGIN/lib, bridge libraries $ORIGIN:$ORIGIN/../runtime/lib,
and the daemon $ORIGIN/runtime/lib. No system librime or WebKit is required.
- deb:
libegl1, libgl1, procpsplus the owning packages of every external library the bundle links, computed withldd/dpkg-queryinbuild-packages.sh. - rpm:
gtk3, libEGL.so.1()(64bit), libGL.so.1()(64bit), procps-ng(seekey-tao.spec).
rpmbuild rejects hyphens in Version, so only the RPM header replaces them
with underscores (1.2.1_alpha.N); file names and the deb version keep the
hyphen. scripts/verify-linux-bundles.sh checks that both formats upgrade the
last Tauri-era release 1.2.1-alpha.88.
python3 packaging/linux/check.py: offline staging and contract fixtures.scripts/build-linux.sh: build both packages intodist/.scripts/verify-linux-bundles.sh [target/release/bundle] [<version>]: recheck the built packages inside the existing builder image.