Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions garden-common/src/main/assets/linux/thothterm-garden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ if [ -n "${PS1-}" ] && [ -t 1 ] \
thothfetch
fi

# Services of installed snaps start with the guest, as under snapd: they end
# with the app, and the guest has no init system to bring them back. `snap
# autostart` starts only what is installed, enabled and not running, and does
# nothing when no snap has a service.
# Services of snaps start when asked (each holds a PRoot process, and an older
# phone runs out of processes): `snap start --enable` marks one to start with
# the guest. They end with the app and the guest has no init system to bring
# them back, so `snap autostart` starts what was enabled and is not running.
# Nothing runs when no snap has an enabled service.
if [ -z "${THOTHTERM_SNAPS_STARTED-}" ] && [ -x /usr/local/bin/snap ] \
&& [ -f /var/lib/thothdock-snaps/state.json ] \
&& grep -q '"daemons": \[$' /var/lib/thothdock-snaps/state.json 2>/dev/null; then
&& grep -q '"autostart": \[$' /var/lib/thothdock-snaps/state.json 2>/dev/null; then
export THOTHTERM_SNAPS_STARTED=1
( /usr/local/bin/snap autostart >/dev/null 2>&1 & )
fi
Expand Down
4 changes: 2 additions & 2 deletions garden-common/thothdock/thothdock.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ThothDock pins (see tools/stage-thothdock.sh). Both programs are built from
# source at exactly these commits; nothing is downloaded during the build.

# github.com/Lord1Egypt/ThothDock v0.4.2 (submodule third_party/thothdock), Apache-2.0.
# github.com/Lord1Egypt/ThothDock v0.4.3 (submodule third_party/thothdock), Apache-2.0.
# The daemon's only dependency, golang.org/x/sys, is vendored in that tree.
thothdockCommit=e61ee05
thothdockCommit=73e30dc
# Lowest Go toolchain accepted (GOTOOLCHAIN=local: Go never fetches another).
goMinVersion=1.26.0

Expand Down
5 changes: 3 additions & 2 deletions garden-debian/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ android {

vectorDrawables.useSupportLibrary = true

// 0.5.7: ThothDock engine 0.4.3 (snap services start when asked, not at install or with every window: each costs a PRoot process; snap start --enable keeps one starting with each window).
// 0.5.6: ThothDock engine 0.4.2 (Flatpak: commands that are symlinks into /app (LibreOffice), $ORIGIN of apps (Inkscape); the flatpak wrapper waits for apt's lock).
// 0.5.5: ThothDock engine 0.4.1 (Flatpak: xdg-dbus-proxy for KeePassXC and Firefox, /dev binds for GL apps; installs resume after a dropped connection).
// 0.5.4: ThothDock engine 0.4.0 (snapctl and snap services, one address per snap, hard-link repair; snap run --shell, snap autostart, refresh).
Expand All @@ -35,8 +36,8 @@ android {
// 0.4.2: store listing only (ThothDock icon, current screenshots, store text); same code and engine as 0.4.1.
// 0.4.1: ThothDock engine 0.2.1 (System V IPC, hostname, long Unix sockets; PRoot patches 0010-0018). (0.4.0 was 400.)
// 0.4.0: ThothTerm (bullet) ThothDock (package com.thothterm.debian), ThothDock engine 0.2.0 (NextGen). (0.3.1 was 301.)
versionCode 506
versionName '0.5.6'
versionCode 507
versionName '0.5.7'

// Device tests (the pinch gesture and garden-common's shared tests);
// run with `am instrument` against the installed app, never
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
snap: services start only when asked (each one costs a process and about 50 MB, which an older phone lacks): snap start <snap>, or snap start --enable <snap> to start with each window. A refresh restarts what ran. Engine 0.4.3.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void storeTextFitsFdroidLimits() throws Exception {
assertTrue(read(dir + "title.txt").trim().length() <= 50);
assertTrue(read(dir + "short_description.txt").trim().length() <= 80);
assertTrue(read(dir + "full_description.txt").length() <= 4000);
for (String code : new String[]{"301", "400", "401", "402", "500", "501", "502", "503", "504", "505", "506"}) {
for (String code : new String[]{"301", "400", "401", "402", "500", "501", "502", "503", "504", "505", "506", "507"}) {
assertTrue(code, read(dir + "changelogs/" + code + ".txt").length() <= 500);
}
}
Expand Down
Loading