Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases/v1.4.0 rc1 #176

Merged
merged 238 commits into from
Mar 29, 2023
Merged

Releases/v1.4.0 rc1 #176

merged 238 commits into from
Mar 29, 2023

Conversation

Bluebugs
Copy link
Contributor

@Bluebugs Bluebugs commented Mar 6, 2023

Description:

This push all the change waiting in develop into master for the v1.4.0 release.

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Where applicable:

  • Public APIs match existing style.

Cedric BAIL added 30 commits April 6, 2022 11:34
This does not impact the requirement on our code which still compile
with go 1.14 as per the other CI entry below.
@andydotxyz
Copy link
Member

I have tested the result of the freebsd/arm64 - but not the build process so cannot say if Jacob is on to something or not, will try later.

@andydotxyz
Copy link
Member

I can replicate the error that @Jacalz reported now - it seems to be triggered by using Fyne v2.3.2.
I cannot currently figure out why that version is tying to compile the mobile driver - and did we somehow miss that in release testing, or is it triggered by using the zig compiler?

@andydotxyz
Copy link
Member

andydotxyz commented Mar 23, 2023

It looks like Fyne-cross is telling the compiler to include gles for some reason...

/usr/local/bin/docker run --rm -t -w /app -v /Users/andy/Code/Fyne/examples:/app -v /Users/andy/Library/Caches/fyne-cross:/go --platform linux/arm64 -u 501:20 --entrypoint fixuid -v /private/tmp/com.apple.launchd.XZOtnKWCzD/Listeners:/tmp/ssh-agent -e SSH_AUTH_SOCK=/tmp/ssh-agent -e CGO_ENABLED=1 -e GOCACHE=/go/go-build -e GOARCH=arm64 -e CC=zig cc -target aarch64-linux-gnu -isystem /usr/include -L/usr/lib/aarch64-linux-gnu -e CXX=zig c++ -target aarch64-linux-gnu -isystem /usr/include -L/usr/lib/aarch64-linux-gnu -e GOOS=linux docker.io/fyneio/fyne-cross-images:linux /usr/local/bin/fyne package -os linux -name examples -icon /app/fyne-cross/tmp/linux-arm64/Icon.png -appBuild 1 -appVersion 1.0.0 -tags "gles" -release

@Bluebugs
Copy link
Contributor Author

@andydotxyz the strange bit is that you are building for arm64 while @Jacalz is building for amd64. On arm64, it is expected to have the gles tag. So that part is normal, but it isn't normal that we borked it.

@andydotxyz
Copy link
Member

I don't think it is expected to set the tag manually... the compile should handle it automatically rather than set on the tag list.
Unless I have misunderstood how fyne-cross is using the fyne build

@Bluebugs
Copy link
Contributor Author

I am not to sure what you mean. Should we expect fyne to automatically add the gles tag and that code is not needed anymore in fyne-cross?

@andydotxyz
Copy link
Member

The tag should not be required, and "fyne build" does not need to add it either.
We use GOOS/GOARCH to determine what GL to use don't we?

@Bluebugs
Copy link
Contributor Author

In that case that tag might be historical and could be removed, I guess.

@andydotxyz
Copy link
Member

The issue itself may not be with the tag. It seems a change in a recent release brings in mobile as a dep to anything not darwin.

The following change to the release/v2.3.x branch fixes it in my testing:

diff --git a/internal/painter/gl/gl_const_other.go b/internal/painter/gl/gl_const_other.go
index 239bee457..da17f83ba 100644
--- a/internal/painter/gl/gl_const_other.go
+++ b/internal/painter/gl/gl_const_other.go
@@ -1,5 +1,6 @@
-//go:build !darwin && !js && !wasm
+//go:build !darwin && !js && !wasm && (android || ios)
 // +build !darwin,!js,!wasm
+// +build android,ios

Cedric BAIL added 5 commits March 24, 2023 11:47
In the case of using Kubernetes backend, the container isn't started
and accessible before we start the image with Prepare. It is simpler to
just not try to test when we know what we are doing.
@Jacalz
Copy link
Member

Jacalz commented Mar 27, 2023

I can confirm that everything is back to working with Fyne v2.3.3. FreeBSD compiles work fine on armd64 👍

Bluebugs and others added 2 commits March 27, 2023 11:54
Remove gles tag now that we rely on fyne to do the right things for us.
Co-authored-by: Jacob Alzén <jacob.alzen@gmail.com>
Jacalz
Jacalz previously approved these changes Mar 27, 2023
Copy link
Member

@Jacalz Jacalz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

Add ability to bypass darwin sdk on image test.
andydotxyz
andydotxyz previously approved these changes Mar 27, 2023
Copy link
Member

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good rc1 - is the plan to cut rc2 after #180 and #182, or update here?

@Bluebugs Bluebugs dismissed stale reviews from andydotxyz and Jacalz via e521163 March 27, 2023 18:21
@Bluebugs
Copy link
Contributor Author

Looks like a good rc1 - is the plan to cut rc2 after #180 and #182, or update here?

I went with update here. This way it is one merge in main.

Copy link
Member

@lucor lucor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! Thanks @Bluebugs

@Bluebugs Bluebugs merged commit 4fbae90 into master Mar 29, 2023
@Bluebugs Bluebugs deleted the releases/v1.4.0-rc1 branch March 29, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants