-
Notifications
You must be signed in to change notification settings - Fork 154
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
Add CMake option to disable Wayland support code #1155
base: master
Are you sure you want to change the base?
Conversation
IMO, this isn't acceptable anywhere in LXQt. You may dislike Wayland, but it's unavoidable in the long rum. LayerShellQt is just a small dependency, whose removal doesn't justify adding conditions that could easily complicate development and maintenance. |
This PR is not about whether or not I like Wayland. I'm agnostic, actually. I've seen other software having options to enable or disable Wayland/X11 support at compile-time (including Qt itself). While LayerShellQt may be a small dependency, it comes with a rat tail of other requirements.
LXQt is about lightness, isn't it? |
On Arch, the package of Anyway, that's not the point.
Yes, but it isn't a bare-bones DE either. |
Correct, the point is not installed binary size. In any case: are you suggesting me to recompile Qt with Wayland support, compile the Qt Wayland module and the Wayland libraries which I won't be able to use because my window manager does not support Wayland? Or is QTerminal just not meant to be used outside of the LXQt desktop environment and I should be looking for an alternative instead? |
I'm half-half on this, it's not a invasive change as there are a few lines only to disable a small block. The point is if we accept it in QTerminal why not in pcmanfm-qt or in the other components? We could accept it in apps but not in the DE? |
@stefonarch pcmanfm-qt would've been my next target, indeed. |
I'm against it for the reason I clearly mentioned in my first comment. Also, I don't have time for reports like this: — It doesn't work on LabWC/Wayfire/.... |
This was irrelevant. Of course QTerminal can be used outside LXQt or without Wayland. But if you want a bare-bones system, you'll have to install bare-bones programs. |
I don't think this change will be the source of many reports. First of all, the option is default on, so you have to actively disable it. And it will print an error message on start-up when running on Wayland with |
For me for the applications only this option would be fine. If it will generate timeconsuming issues we can still revert it but I don't think so as most distros are shipping wayland. For the DE it's a not necessary because we depend on kwindowsystem/kscreen which depends among other on layer-shell-qt anyway. Let's hear others maybe. |
Also see tsujan/Kvantum#948. It's as "valid" as this. I think we should avoid changing our codes because someone wants to compile Qt without X11 or Wayland. Of course, they have right to do so, but they also have to accept the consequences. Last but not least, as the new maintainer (or half-Maintainer) of QTerminal, and considering that I also maintain libfm-qt, pcmanfm-qt, lximage-qt,..., I should manage my time efficiently. That requires having an approach different from that of the previous maintainer. We lack manpower for these things. |
I added a CMake option to disable Wayland support code requiring LayerShellQt.
The dependency on LayerShellQt generates quite a few extra dependencies which are not used for people running QTerminal only on X11.