Skip to content
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

[Feature] Wayland Support #2306

Open
furretgd1 opened this issue May 5, 2024 · 8 comments
Open

[Feature] Wayland Support #2306

furretgd1 opened this issue May 5, 2024 · 8 comments
Labels
chat gpt4all-chat issues enhancement New feature or request

Comments

@furretgd1
Copy link

Feature Request

Implement Wayland support as when building or trying to run the binary release with Wayland support fails.

@furretgd1 furretgd1 added the enhancement New feature or request label May 5, 2024
@cebtenzzre
Copy link
Member

upstream issue: probonopd/linuxdeployqt#189
upstream PR: probonopd/linuxdeployqt#540

@cebtenzzre cebtenzzre added the chat gpt4all-chat issues label May 10, 2024
@ThiloteE
Copy link
Collaborator

ThiloteE commented Jul 3, 2024

Just for sake of completion, this is the error message I get on Nobara 40 trying to compile 1ce65e8, which is a Fedora based distribution:

[cmake] Führe /usr/bin/cmake -S /home/thilo/Prog/Development/GPT4All_Nomic.AI_GPT4All/gpt4all/gpt4all-chat -B /home/thilo/Prog/Development/GPT4All_Nomic.AI_GPT4All/gpt4all/gpt4all-chat/build/Desktop-Release in /home/thilo/Prog/Development/GPT4All_Nomic.AI_GPT4All/gpt4all/gpt4all-chat/build/Desktop-Release aus.
[cmake] -- Could NOT find Wayland_Client (missing: Wayland_Client_LIBRARY Wayland_Client_INCLUDE_DIR) (found version "")
[cmake] -- Could NOT find Wayland_Server (missing: Wayland_Server_LIBRARY Wayland_Server_INCLUDE_DIR) (found version "")
[cmake] -- Could NOT find Wayland_Cursor (missing: Wayland_Cursor_LIBRARY Wayland_Cursor_INCLUDE_DIR) (found version "")
[cmake] -- Could NOT find Wayland_Egl (missing: Wayland_Egl_LIBRARY Wayland_Egl_INCLUDE_DIR Wayland_Client_FOUND) (found version "")
[cmake] -- Could NOT find Wayland (missing: Wayland_LIBRARIES) (Required is at least version "1.15")
[cmake] CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:179 (find_package):
[cmake]   Found package configuration file:
[cmake] 
[cmake]     /usr/lib64/cmake/Qt6WaylandCompositor/Qt6WaylandCompositorConfig.cmake
[cmake] 
[cmake]   but it set Qt6WaylandCompositor_FOUND to FALSE so package
[cmake]   "Qt6WaylandCompositor" is considered to be NOT FOUND.  Reason given by
[cmake]   package:
[cmake] 
[cmake]   Qt6WaylandCompositor could not be found because dependency Wayland could
[cmake]   not be found.
[cmake] 
[cmake]   Configuring with --debug-find-pkg=Wayland might reveal details why the
[cmake]   package was not found.
[cmake] 
[cmake]   Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
[cmake]   of the path variables that find_package uses to try and find the package.
[cmake] 
[cmake] Call Stack (most recent call first):
[cmake]   CMakeLists.txt:47 (find_package)
[cmake] 
[cmake] 
[cmake] -- Configuring incomplete, errors occurred!
[cmake] CMake Error at CMakeLists.txt:47 (find_package):
[cmake]   Found package configuration file:
[cmake] 
[cmake]     /usr/lib64/cmake/Qt6/Qt6Config.cmake
[cmake] 
[cmake]   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
[cmake]   FOUND.  Reason given by package:
[cmake] 
[cmake]   Failed to find required Qt component "WaylandCompositor".
[cmake] 
[cmake]   Expected Config file at
[cmake]   "/usr/lib64/cmake/Qt6WaylandCompositor/Qt6WaylandCompositorConfig.cmake"
[cmake]   exists
[cmake] 
[cmake] 
[cmake] 
[cmake]   Configuring with --debug-find-pkg=Qt6WaylandCompositor might reveal details
[cmake]   why the package was not found.
[cmake] 
[cmake]   Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
[cmake]   of the path variables that find_package uses to try and find the package.
[cmake] 
[cmake] 
[cmake] 
[cmake] 
[cmake] Das Kommando "/usr/bin/cmake -S /home/thilo/Prog/Development/GPT4All_Nomic.AI_GPT4All/gpt4all/gpt4all-chat -B /home/thilo/Prog/Development/GPT4All_Nomic.AI_GPT4All/gpt4all/gpt4all-chat/build/Desktop-Release" wurde beendet, Rückgabewert 1.
[cmake] 
[cmake] Verstrichene Zeit: 00:00.

@CodeMystic21
Copy link

CodeMystic21 commented Aug 21, 2024

Why not just use flatpak. Better anyway and you dont have to deal with @probonopd

@ThiloteE
Copy link
Collaborator

Flatpak support is tracked here: #698 (comment)

@CodeMystic21
Copy link

@probonopd wrote:

pardon?

What do you mean pardon.? Just look at this issues title.

Your are blocking a very simple wayland fix for years. Even if it would not have any downsides for non wayland user (if you are for some not understandble reqson). (Dont tell me about the like 1mb size increase actually matters ...

There are people like me that don't want and insecure system with legacy decades old x11 no one wants to maintain anymore. And still using long deprecated fuse2, which does not get patched anymore.

@probonopd
Copy link

I am not blocking any fixes in Wayland. I am just not adding anything Wayland specific to my own tools, because I am not running Wayland and hence cannot test nor support it.

There are many different tools that can deploy applications in the AppImage format, there is no need to use mine if they don't satisfy your needs.

@cebtenzzre
Copy link
Member

linuxdeploy (different from linuxdeployqt) has a Qt plugin with Wayland support, it seems like it was added here.

@CodeMystic21
Copy link

I am not blocking any fixes in Wayland. I am just not adding anything Wayland specific to my own tools, because I am not running Wayland and hence cannot test nor support it.

I can understand not wanting to do the work yourself, but not accepting a very simple pr is "blocking" for me. Lets don't play word pickery.

But I dont care then, if flatpak support is on the roadmap.
Has better Desktopintegration / theming, sandboxing, dbus, portals,... support anyway.

But lets stop discussing here on some random projects issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chat gpt4all-chat issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants