8000 Upgrade Flutter and packaged dependencies by leaf-node · Pull Request #235 · ale64bit/WeiqiHub · GitHub
[go: up one dir, main page]

Skip to content

Upgrade Flutter and packaged dependencies - #235

#235
Draft
leaf-node wants to merge 7 commits into
ale64bit:mainfrom
leaf-node:leaf-node-update-flutter
Draft

leaf-node wants to merge 7 commits into
ale64bit:mainfrom
leaf-node:leaf-node-update-flutter

Conversation

@leaf-node
Copy link
Copy Markdown
Contributor

This change is a starting point for fixing F-Droid builds of the flutter_soloud dependency (#232) , which uses

flutter/flutter#176393

to support conditional inclusion of build artifacts according to the build target:

https://github.com/alnitak/flutter_soloud/blob/main/pubspec.yaml#L72

An alternative may be to downgrade flutter_soloud, which may or may not work out.

If you test this patch, you'll also need to update the pubspec.lock file. It looks like there are a few listed above the error message in the CI job, but those four are sub-dependencies. I don't know if there is a way to selectively upgrade the lock file... Perhaps doing as suggested: running run flutter pub get without --enforce-lockfile, then commit the result. I suspect that keeping the same versions of packages in pubspec.yaml may allow you to upgrade the lock file a little bit without breaking too much compatibility with otherwise working dependencies.

This change fixes builds of the flutter_soloud dependency, which uses

flutter/flutter#176393

to support conditional inclusion of build artifacts according to the
build target:

https://github.com/alnitak/flutter_soloud/blob/main/pubspec.yaml#L72
They were upgraded with `dart pub upgrade`, and without the use of
`--major-versions`, which should minimize the amount of churn.
@leaf-node
leaf-node marked this pull request as draft October 15, 2026 00:56
@leaf-node leaf-node changed the title Upgrade Flutter for flutter_soloud depenency Upgrade Flutter and packaged dependencies Oct 15, 2026
@leaf-node
Copy link
Copy Markdown
Contributor Author

I got this to build on my local machine, but connecting to OGS with a user name and password is not working, at least on a debug build running in an Android emulator.

@leaf-node
Copy link
Copy Markdown
Contributor Author

How can I regenerate the .gd.dart files? I don't see any .proto files in https://github.com/lightvector/KataGo

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.

1 participant

0