Open cpaczek opened 5 months ago
I had a similar issue at some point and I installed pycairo-devel
if I recall correctly, but that was on Arch. Maybe try to install something like that from your standard repository.
was able to install python3-cairo-devel but seems to have an error with "gobject-introspection"
Installed:
python3-cairo-devel-1.25.1-3.fc40.x86_64 python3-devel-3.12.3-2.fc40.x86_64
Complete!
[iamroot@fedora ~]$ sudo pipx install waypaper
Fatal error from pip prevented installation. Full pip output in file:
/root/.local/state/pipx/log/cmd_2024-06-05_07.02.21_pip_errors.log
pip seemed to fail to build package:
PyGObject
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
../meson.build:29:9: ERROR: Dependency 'gobject-introspection-1.0' is required but not found.
error: metadata-generation-failed
Error installing waypaper.
was able to install python3-cairo-devel but seems to have an error with "gobject-introspection"
Installed: python3-cairo-devel-1.25.1-3.fc40.x86_64 python3-devel-3.12.3-2.fc40.x86_64 Complete! [iamroot@fedora ~]$ sudo pipx install waypaper Fatal error from pip prevented installation. Full pip output in file: /root/.local/state/pipx/log/cmd_2024-06-05_07.02.21_pip_errors.log pip seemed to fail to build package: PyGObject Some possibly relevant errors from pip install: error: subprocess-exited-with-error ../meson.build:29:9: ERROR: Dependency 'gobject-introspection-1.0' is required but not found. error: metadata-generation-failed Error installing waypaper.
Please install gobject-introspection, python3-gobject and gobject-introspection-devel and try to build again.
So, does this resolve it? Maybe we need to mention it in the documentation if so.
So, does this resolve it? Maybe we need to mention it in the documentation if so.
Haven't tried yet, I can try tomorrow morning and report back
I have the same issue. Any updates on installation instruction for Fedora?
I was having the same issue with Fedora 40. I installed the three packages mentioned gobject-introspection, python3-gobject and gobject-introspection-devel but it still wasn't working.
I installed cairo-gobject-devel and finally was able to get waypaper installed with pipx after that.
For fedora users, Waypaper is available in an external repository owned by Solopasha. So, you can add this repository as
sudo dnf copr enable solopasha/hyprland
and install as
sudo dnf install wayapaper
Thanks for your feedback.
I am unable to install using pipx due to pycairo not being able to build. Took a look at the opensuse issue that seemed similar but this seems like it might be slightly different. Never used pipx so this could be an issue on my end too.