-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
'cairo/cairo.h' file not found #170
Comments
Should I open an issue in sway too? This way we can opt for a common solution. |
I guess we should rename cairo.h to cairo_renderer.h or something and then use cairo.h, pretty weird the pc file has changed like that. |
I faced this issue with swaybg too, so I’ve opened an issue upstream https://gitlab.freedesktop.org/cairo/cairo/-/issues/479 once for all. We will wait for their response before any action. |
Does anyone know what exactly causes this? I downloaded the Archlinux package and it installs |
maybe fixed here ebd7338 |
@psychon Well, I didn’t install cairo to
This is the issue. It should have not worked because that’s not how cairo is meant to be used. |
I confirm it works. Thank you. |
Thanks, I'll try to prepare new release soon including this fix. |
When building bemenu (and sway too), I face this:
This issue happens because pkgconfig strips the cairo namespace.
Relevant part from
/lib/pkgconfig/cairo.pc
:You can verify by yourself from Archlinux’s package.
I don’t know if this behaviour is for keeping backward compatibility, or that cairo namespace is deprecated.
Two options:
lib/renderers/cairo.h
tolib/renderers/cairo_internal.h
, and replace<cairo/cairo.h>
by<cairo.h>
from it, otherwise we would have twocairo.h
in compiler’s search path and probably an issue.The text was updated successfully, but these errors were encountered: