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
5 changes: 3 additions & 2 deletions garden-common/src/main/assets/linux/flatpak
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ if [ -z "${FLATPAK_BWRAP-}" ] && [ -x "$BWRAP" ]; then
fi
if [ ! -x /usr/bin/flatpak ] || ! command -v dbus-daemon >/dev/null 2>&1; then
echo "Installing flatpak (first use)..." >&2
# A new guest runs apt itself for a while: wait for its lock (5 minutes).
if ! sudo sh -c 'export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends flatpak dbus ||
{ apt-get update && apt-get install -y --no-install-recommends flatpak dbus; }' >&2; then
apt-get -o DPkg::Lock::Timeout=300 install -y --no-install-recommends flatpak dbus ||
{ apt-get -o DPkg::Lock::Timeout=300 update && apt-get -o DPkg::Lock::Timeout=300 install -y --no-install-recommends flatpak dbus; }' >&2; then
echo "flatpak could not be installed. Try: sudo apt install flatpak dbus" >&2
exit 127
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.1 (submodule third_party/thothdock), Apache-2.0.
# github.com/Lord1Egypt/ThothDock v0.4.2 (submodule third_party/thothdock), Apache-2.0.
# The daemon's only dependency, golang.org/x/sys, is vendored in that tree.
thothdockCommit=9e9fcd7
thothdockCommit=e61ee05
# 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.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).
// 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.
Expand All @@ -34,8 +35,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 505
versionName '0.5.5'
versionCode 506
versionName '0.5.6'

// 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 @@
flatpak: LibreOffice starts (a command that is a symlink into /app is found), Inkscape finds its own libraries (apps started through a shell keep their own path), the first flatpak install waits for apt's lock in a new guest. Engine 0.4.2. Tested with 14 apps.
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"}) {
for (String code : new String[]{"301", "400", "401", "402", "500", "501", "502", "503", "504", "505", "506"}) {
assertTrue(code, read(dir + "changelogs/" + code + ".txt").length() <= 500);
}
}
Expand Down
Loading