• Re: [gentoo-dev] USE flag: gui or X?

    From Andrey Grozin@21:1/5 to Filip Kobierski on Thu Feb 20 14:50:01 2025
    On Thu, 20 Feb 2025, Filip Kobierski wrote:
    PyQt are Python bindings for the Qt GUI toolkit.
    That means that the question you're asking is "Should a QT app
    have USE=gui or USE=X for enabling the graphical user interface?".
    In that case I think the answer is obvious: it should be USE=gui.
    Thanks. I also thought so.

    Small FYI: If you are within a Wayland session, to check
    if an app runs on wayland you can call xprop from the command line
    an click on the window. If nothing happens, it's Wayland.
    If output gets printed to the terminal, it's X.
    I use lumina as my desktop environment, it is X11 only. So, I'm not in
    wayland.

    Andrey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Filip Kobierski@21:1/5 to Andrey Grozin on Thu Feb 20 14:30:01 2025
    On Thursday, February 20th, 2025 at 14:15, Andrey Grozin <grozin@gentoo.org> wrote:

    Hello *,

    I have a trivial question. I'm now working on the asymptote ebuild.
    asymptote has an optional gui - a separate python program xasy using pyqt5 and interacting with asy. From time immemorable, the USE flag controlling
    it was called X. Should I rename it to gui?

    Can a pyqt5 program (like xasy) run on wayland? I never used wayland, and have no idea (though I heard that qt programs can run on wayland). If xasy can run on wayland, then the USE flag name X is misleading, and should be replaced by gui.

    Opinions, please.

    Andrey

    Hi Andrey,

    PyQt are Python bindings for the Qt GUI toolkit.
    That means that the question you're asking is "Should a QT app
    have USE=gui or USE=X for enabling the graphical user interface?".
    In that case I think the answer is obvious: it should be USE=gui.

    I heard that qt programs can run on wayland

    Plasma 6 runs on wayland by default and it's apps are using Qt
    so yeah, Qt can run on wayland.

    Small FYI: If you are within a Wayland session, to check
    if an app runs on wayland you can call xprop from the command line
    an click on the window. If nothing happens, it's Wayland.
    If output gets printed to the terminal, it's X.

    Regards
    Filip

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Grozin@21:1/5 to All on Thu Feb 20 14:20:01 2025
    Hello *,

    I have a trivial question. I'm now working on the asymptote ebuild.
    asymptote has an optional gui - a separate python program xasy using pyqt5
    and interacting with asy. From time immemorable, the USE flag controlling
    it was called X. Should I rename it to gui?

    Can a pyqt5 program (like xasy) run on wayland? I never used wayland, and
    have no idea (though I heard that qt programs can run on wayland). If xasy
    can run on wayland, then the USE flag name X is misleading, and should be replaced by gui.

    Opinions, please.

    Andrey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)