Closed Zishan-Rahman closed 8 months ago
Build 72042 failed
"warnings": [
"finish-args-contains-both-x11-and-wayland"
]
Looks like I'll need to add an exception to flatpak-builder-lint for this app.
"warnings": [ "finish-args-contains-both-x11-and-wayland" ]
Looks like I'll need to add an exception to flatpak-builder-lint for this app.
Looks like I won't need to do that, because there's a bug in flatpak-builder-lint that's causing this error: flathub/flatpak-builder-lint#183
Once that's fixed, I'll have the test Flatpak rebuilt, and, hopefully, the test build should succeed.
bot, build
Queued test build for net.ankiweb.Anki.
what's the justification for having both?
Started test build 72143
Build 72143 successful To test this build, install it from the testing repository:
flatpak install --user https://dl.flathub.org/build-repo/54799/net.ankiweb.Anki.flatpakref
what's the justification for having both?
@hfiguiere The Qt6 version of Anki (used for this Flatpak) comes with support for both X11 and Wayland. Better Wayland support is even listed as an advantage of the Qt6 version over the Qt5 version in the docs. The use of Wayland can even be enforced by setting, to 1
, a variable called ANKI_WAYLAND
upon running the application (it is not enforced by default). Allowing Anki access to both the x11
and wayland
socket
s should allow it to use a specific windowing system when it is required (in my case, I'm using X11 with Linux Mint 21.2 Cinnamon).
then you should disable wayland if it doesn't work out of the box. otherwise that's what 'fallback-x11' is for.
bot, build
Queued test build for net.ankiweb.Anki.
Started test build 72181
Build 72181 successful To test this build, install it from the testing repository:
flatpak install --user https://dl.flathub.org/build-repo/54835/net.ankiweb.Anki.flatpakref
then you should disable wayland if it doesn't work out of the box. otherwise that's what 'fallback-x11' is for.
@hfiguiere (sorry for the ping) I just took out the X11 socket from finish-args
and used fallback-x11
instead, as per your suggestion. Hopefully this should be good to go now :+1:
bot, build
Queued test build for net.ankiweb.Anki.
Started test build 73764
Build 73764 successful To test this build, install it from the testing repository:
flatpak install --user https://dl.flathub.org/build-repo/56411/net.ankiweb.Anki.flatpakref
Started test build 72042