Skip to content

Commit

Permalink
Update README after latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jan 23, 2025
1 parent a81e6d4 commit 71adb31
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,18 +450,13 @@ While Syncthing Tray basically works on Android, there are still some unresolved
[FUSE Passthrough](https://source.android.com/docs/core/storage/fuse-passthrough) things have
improved but especially if one has many files in one directory the performance is still bad.
There is nothing one can do about it except storing the data in app's private directory. While
this is possible it of course doesn't cover all use cases.
this is possible it of course doesn't cover all use cases. A file provider to be able to share
the private app directory also still needs to be implemented.
* Opening a directory in the file browser still doesn't work. Not sure what Android APIs need to
be used to make this work. The approach taken by
[syncthing-android](https://github.com/Catfriend1/syncthing-android) did not work when trying
to use it in my app.
* Media rescans need to be triggered manually.
* When using Go 1.23 the resulting APK does not run on older Android versions like Android 10.
Use `go install golang.org/dl/go1.22.11@latest && $GOPATH/src/go/bin/go1.22.11 download` to
install an older version of Go. Then conduct the build with `-DGO_BIN=$GOPATH/bin/go1.22.11`.
With this version of Go the resulting APK works Android 10 in my tests. The problem is likely
caused the an [upstream bug](https://github.com/golang/go/issues/70508) (even though it is not
limited to arm64).
* The app doesn't use the configured system font. (It does use the configured font size and weight,
though.) Not sure what Android APIs need to be used to read the configured system font.
* There are probably still many small UI bugs in the Qt Quick based UI used on Android.
Expand Down Expand Up @@ -603,6 +598,20 @@ To build Syncthing itself as a library Go is required and Syncthing needs to be
Checkout the [documentation of Syncthing itself](https://docs.syncthing.net/dev/building#prerequisites) for
details.

Sometimes it can be useful to use a different version of Go then what is provided by the packaging one would
normally use. To download and install a different version of Go into `GOPATH` one can invoke the following
command:

```
go install golang.org/dl/go1.22.11@latest && $GOPATH/src/go/bin/go1.22.11 download`
```

Checkout the [release history of Go](https://go.dev/doc/devel/release) for available versions.

Then the version can be used by adding `-DGO_BIN=$GOPATH/bin/go1.22.11` to the CMake arguments. It is not
necassary to clean an existing build directly. All relevant parts will be re-built as necassary with the
new version.

---

It is also possible to build only the CLI (`syncthingctl`) by adding `-DNO_MODEL:BOOL=ON` and
Expand Down

0 comments on commit 71adb31

Please sign in to comment.