qtwayland: propagate wayland#359559
Conversation
|
tdesktop releases very frequently, can we wait for the next release? |
Sure. It will take a while before the GCC bump arrives on master anyhow. |
|
If this is happening, it means the deps needed for web bots support on Wayland are missing. The real fix would likely be to add qtdeclarative (how did it work before?). |
|
If anything, I would rather think it's caused by some change in propagated deps (perhaps qtwayland's?) rather than gcc bump |
|
Although looking at staging, qtwayland still propagates qtdeclarative. It could be only any of those three:
|
afa33d1 to
477865f
Compare
desktop-app/lib_webview#117 fixed a real issue.
No, the issue is that qtwayland apparently does not propagate wayland. I have added it here and it now builds successfully. |
|
Are you sure? The code doesn't use libwayland. Maybe you had a temporary problem on your end and niw it builds without any changes too? |
|
The build sure fails without it: |
|
The configure log indicates Wayland is required: (this is without my change) |
|
This means that qtwayland's cmake config requires libwayland to be installed (as it marks QtWaylandCompositor as not found due to those errors) and the right fix would be to move |
0167fdd to
1269e74
Compare
This is required for e.g. telegram-desktop.
1269e74 to
c50f540
Compare
| # (for the wayland-scanner binary) and host (for the | ||
| # actual wayland.xml protocol definition) | ||
| propagatedBuildInputs = [ qtbase qtdeclarative wayland-scanner ]; | ||
| propagatedNativeBuildInputs = [ wayland wayland-scanner ]; |
There was a problem hiding this comment.
Wayland needs to still be in propagatedNativeBuildInputs.
There was a problem hiding this comment.
Are you sure? There are no binaries in wayland.
There was a problem hiding this comment.
Yes, it has to do with cmake weirdness and the wayland.xml protocol definition.
|
Included in #361047. |
Some dependencies like telegram-desktop require it.
Things done
(previously this PR contained a patch to telegram-desktop)