~eliasnaur/gio-cmd

go.*: update to Gio v0.7.1

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*: update to Gio v0.7.0

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
6465f30f — zhengrui 6 months ago
gogio: [Android] add -targetsdk flag to specify the target SDK level

Fixes: https://todo.sr.ht/~eliasnaur/gio/582
Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: use buildmode exe directly instead of a Objective-C main function

Using buildmode exe directly is faster to build, avoids the runMain
linker mode hack, and leaves more control to Gio instead of gogio's
synthetic main function.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
go.*,gogio: update to Gio 0.6.0

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: [tvOS] bump minSDK to 11.0

References: https://todo.sr.ht/~eliasnaur/gio/567
Signed-off-by: Aman Karmani <aman@tmm1.net>
gogio: support explicit version codes through a fourth version field

As suggested in review, explicitly specifying the version code with
-version major.minor.patch.versioncode provides more flexibility than
the a version code implied from the major, minor, patch fields.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: [iOS] link with -lresolv

Since Go 1.20 c-shared object files may lack a reference to the resolv
library and it must be added manually to the linking step.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: replace deprecated calls

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: change -version parameter to accept semver versions

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: set gioui.org/app.ID in addition to the log package's appID

app.ID is documented to be set by the gogio tool, but never was.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: skip e2e test on macOS and other unsupported platforms

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
gogio: add -tags to 'go list' command

Signed-off-by: Masala <masala@riseup.net>
gogio: remove fallback for missing GOOS=ios support in Go <= 1.15

Go 1.16 is already old, and the GOOS detection code fails for me on
Nix:

$ go run gioui.org/cmd/gogio -target ios ../gio-example/kitchen
gogio: go tool dist list failed: go tool dist: FAILED: not a Git repo; must put a VERSION file in $GOROOT

The error message points to a Nix packaging issue, but removing the
fallback is easier to fix.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: [macOS] add notarizing

Now, it's possible to notarize the app, using -notaryid,
-notarypass and -notaryteamid flags. Those flags are
similar to -signkey and -signpass.

Signed-off-by: inkeliz <inkeliz@inkeliz.com>
gogio: [macOS] fix signature on network-drives

Previously, gogio creates the `.app` and then generates
the signature.

Now, it will generate the `.app` on the temporary folder,
then move it. It also generates one `.zip` folder, which
will be used in the next patch.

Signed-off-by: inkeliz <inkeliz@inkeliz.com>
ci: use working debian image

Builds.sr.ht is having problems with the debian/testing image because it is
switching which concrete debian release it points at. In the meantime, we can
use use the same release as before by a concrete name.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
gogio: add ldflags support for the macos build

Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
gogio: update keytool path for newer JDK

Signed-off-by: gedw99 <gedw99@gmail.com>
go.mod: bump Go to 1.19

Signed-off-by: Elias Naur <mail@eliasnaur.com>
Next