-
-
Notifications
You must be signed in to change notification settings - Fork 707
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
Can't install waybar-hyprland on Arch #2177
Comments
Ok the problem is from gcc. The latest version is gcc13 in Arch. And compilation does not work properly. So I've downgraded gcc 13 to version 12 from https://archive.archlinux.org/
And after that, I installed waybar-hyprland from AUR with success.
|
This is the same issue reported in #2159 two weeks ago. There are some no-longer-implict includes in GCC13, so it needs includes for stdexcept and string in modules/sway/ipc/client.hpp. Since you're installing via AUR, add (a comment to this effect was at the top of the AUR page when you posted about it there) |
Thank you so much !!! |
it dont work for me |
can you explain how to use this, I'm new to it, did you mean use the command 'yay -S waybar-hyprland sed -i '10 sed -i '10 i #include \n#include ' include/modules/sway/ipc/client.hpp' like this? Sorry to bother you but I'm new to this and I like the rices on the internet. Hope for your reply |
First and foremost, this bug is closed because the problem has been fixed upstream, and you don't need to do anything. In fact, you probably shouldn't use the Just for your reference on AUR usage, my suggestion isn't to put on the command line, it's to edit in the PKGBUILD. After you ran that yay command once (whether the build succeeded or failed), it would leave a directory |
can i get a example how to do it ? |
Strictly as a general interest thing, since the bug is fixed in mainline waybar, AND mainline now has hyprland support so you should just be using the normal repo package, several people have asked about this basic AUR thing here, so let's tutorial : To use the edit I suggested you would start a normal AUR workflow and download the AUR package directory with git or curl or your AUR helper of choice, then when you go to look at the contents (because you always look at the PKGBUILD when you use AUR packages, in case the uploader has inserted something stupid or malicious, right?), you point your favorite text editor at the PKGBUILD in the folder you downloaded. If you're using a helper, it (1) by default will show the PKGBUILD to you in an editor or pager and (2) will put them in some standard location, eg. paru checks out to The PKGBUILD file is basically a bash script that contains a couple standard sections/functions like You would insert that sed line in If you look at the (again, now obsolete) waybar-hyprland PKGBUILD it already has a sed line to swap out a line of code for workspace handling for one that makes a hyprctl call... which was, AFIK, actually the only thing special about the waybar-hyprland package relative to mainline. My sed line to fix the code to deal with gcc13 being a little more precise about includes would go right before or after that one, then you would continue with the usual AUR workflow and run |
Hi,
First, a big thanks to developpers for this bar.
So, I'm on Arch Linux and, the package can't be installed (from AUR) cause 👍
For now I use the waybay on the official repos from Arch, but I can't manage workspaces properly.
So I'm trying to install this version.
Can you support me to solve this issue please ?
Thanks a lot.
https://aur.archlinux.org/packages/waybar-hyprland
The text was updated successfully, but these errors were encountered: