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: 11 additions & 0 deletions garden-common/src/main/assets/linux/thothterm-garden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,14 @@ if [ -n "${PS1-}" ] && [ -t 1 ] \
export THOTHTERM_WELCOME_SHOWN=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.
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
export THOTHTERM_SNAPS_STARTED=1
( /usr/local/bin/snap autostart >/dev/null 2>&1 & )
fi
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.3.1 (submodule third_party/thothdock), Apache-2.0.
# github.com/Lord1Egypt/ThothDock v0.4.0 (submodule third_party/thothdock), Apache-2.0.
# The daemon's only dependency, golang.org/x/sys, is vendored in that tree.
thothdockCommit=631c67f
thothdockCommit=08b0e69
# 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,15 +25,16 @@ android {

vectorDrawables.useSupportLibrary = true

// 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).
// 0.5.3: ThothDock engine 0.3.1 (snap downloads resume, store aliases, squashfs-tools and flatpak set up on first use, snapd guarded); volume keys are no longer Ctrl/Fn by default.
// 0.5.2: swipes reach full-screen TUIs as mouse wheel events (OpenCode), SGR mouse reports.
// 0.5.1: /proc/stat and /proc/uptime stand-ins (ps -o lstart, Codex's background server).
// 0.5.0: ThothDock engine 0.3.0 (Flatpak sandboxes, snap command, Apps screen), 24-bit terminal colours.
// 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 503
versionName '0.5.3'
versionCode 504
versionName '0.5.4'

// 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: snapctl works, so Nextcloud and other snaps with services install and run (their services start with the snap and come back when the app opens); snap get/set/refresh/restart and snap run --shell added; a snap's processes share one address, so redis.cli reaches the redis service on localhost; hard links inside snaps no longer break (httpie, python in core18 snaps). Tested with 28 snaps.
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"}) {
for (String code : new String[]{"301", "400", "401", "402", "500", "501", "502", "503", "504"}) {
assertTrue(code, read(dir + "changelogs/" + code + ".txt").length() <= 500);
}
}
Expand Down
Loading