-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Release 1.2.0 #90
Release 1.2.0 #90
Conversation
Weird that I can't see the reason for the command test to fail...? Also, should we hold back for the (planned) v2.1.3 in a week or so? |
This commit update the isEngineDocker logic for the alias detection looking at the docker --version output. This will prevent to search into the docker binary for the podman string match
As discussed on slack this PR will be marked as ready for review once fyne 2.1.3 will be released in a week or so.
|
Nice work on this. I'll make sure to review it towards the end of the week :) |
Need to fix some unit tests related to podman and flag order, but it should be ready for testing.
|
@lucor Have you managed to dig into why the CI tests are failing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two notes about things that I think we might want to do before we release this:
- Update to the Go release for a security fix.
- Update https://github.com/BurntSushi/toml to v1.0.0.
I am getting this error when I try to build using podman:
|
New images are published on docker hub for testing:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so very close now! You are doing some amazing work, as usual :)
I managed to build Windows amd64, FreeBSD and Linux (amd64 and arm64) without any issues at all.
I ran into one small snag though, and that is that the darwin-image
command still expects docker to be installed. I get this error message:
[jacob@vostro Downloads]$ ~/go/bin/fyne-cross darwin-image -xcode-path Command_Line_Tools_for_Xcode_13.2.dmg
[i] Building docker darwin image...
[i] Work dir: /tmp/fyne-cross-darwin-build385098383
[i] Copying the Command Line Tools for Xcode from Command_Line_Tools_for_Xcode_13.2.dmg to /tmp/fyne-cross-darwin-build385098383/command_line_tools_for_xcode.dmg...
[✓] Command Line Tools for Xcode copied
[✓] Dockerfile created
[i] Building docker image...
[i] macOS SDK: auto
[✗] could not create the docker darwin image: exec: "docker": executable file not found in $PATH
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm running into this error again (but now when building the image):
~/go/bin/fyne-cross darwin-image -xcode-path Command_Line_Tools_for_Xcode_13.2.dmg
[i] Building docker darwin image...
[i] Work dir: /tmp/fyne-cross-darwin-build906248948
[i] Copying the Command Line Tools for Xcode from Command_Line_Tools_for_Xcode_13.2.dmg to /tmp/fyne-cross-darwin-build906248948/command_line_tools_for_xcode.dmg...
[✓] Command Line Tools for Xcode copied
[✓] Dockerfile created
[i] Building docker image...
[i] macOS SDK: auto
[1/2] STEP 1/11: FROM fyneio/fyne-cross:1.2-base-llvm AS osxcross
[2/2] STEP 1/3: FROM fyneio/fyne-cross:1.2-base-llvm
Error: error creating build container: short-name resolution enforced but cannot prompt without a TTY
[✗] could not create the docker darwin image: exit status 125
The image name needs to be in long format (i.e. docker.io/fyneio/fyne-cross) otherwise podman will prompt for a registry to download from unless not specified in the configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked flawlessly. Nice work!
I couldn't get it to build when using -tags legacy
for my darwin builds but that is not something that is part of this PR directly, so I'll approve this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I may have jumped the gun there. The build of amd64
had failed but not with a return code that made everything else fail. I'll look into it and see if an older SDK makes any difference.
# fyne.io/fyne/v2/app
app_darwin.m:17:25: warning: 'UNUserNotificationCenter' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:38:12: note: 'UNUserNotificationCenter' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:17:6: note: annotate 'doSendNotification' with an availability attribute to silence this warning
app_darwin.m:18:5: warning: 'UNMutableNotificationContent' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:63:12: note: 'UNMutableNotificationContent' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:18:5: note: enclose 'UNMutableNotificationContent' in an @available check to silence this warning
app_darwin.m:18:46: warning: 'UNMutableNotificationContent' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:63:12: note: 'UNMutableNotificationContent' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:18:46: note: enclose 'UNMutableNotificationContent' in an @available check to silence this warning
app_darwin.m:25:5: warning: 'UNNotificationRequest' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: 'UNNotificationRequest' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:25:5: note: enclose 'UNNotificationRequest' in an @available check to silence this warning
app_darwin.m:25:39: warning: 'UNNotificationRequest' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: 'UNNotificationRequest' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:25:39: note: enclose 'UNNotificationRequest' in an @available check to silence this warning
app_darwin.m:36:5: warning: 'UNUserNotificationCenter' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:38:12: note: 'UNUserNotificationCenter' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:36:5: note: enclose 'UNUserNotificationCenter' in an @available check to silence this warning
app_darwin.m:36:41: warning: 'UNUserNotificationCenter' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:38:12: note: 'UNUserNotificationCenter' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:36:41: note: enclose 'UNUserNotificationCenter' in an @available check to silence this warning
app_darwin.m:40:5: warning: 'UNAuthorizationOptions' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:22:32: note: 'UNAuthorizationOptions' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:40:5: note: enclose 'UNAuthorizationOptions' in an @available check to silence this warning
app_darwin.m:40:38: warning: 'UNAuthorizationOptionAlert' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
/osxcross/target/bin/../SDK/MacOSX11.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:22:32: note: 'UNAuthorizationOptions' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.12.0
app_darwin.m:40:38: note: enclose 'UNAuthorizationOptionAlert' in an @available check to silence this warning
That was with 13.2 SDK. I'm rebuilding the image with forcing the 11.3 SDK to be used. If that doesn't work, I'll try to drop down to 12.4 and see if that makes any difference. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like forcing the -std-version
worked perfectly. Sorry for the fuzz.
Glad it worked, thanks for testing @Jacalz |
Description:
This branch contains the updates for develop in order to release v1.2.0
Checklist:
Where applicable: