-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
Separate cairo-xlib.h Lua bindings from cairo.h #1844
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This allows cairo.h to be used from Lua on Wayland without X11 as requirement. A way of creating surfaces in Lua that uses Shm allocated buffers should be added in future. This commit only cleans up build options to avoid weird errors. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Caellian
added
build system
Issues and PRs related to build system (CMake) and process
display: wayland
Issue related to Wayland backend
lua
Issue or PR related to Lua code
cairo
Issue or PR related to cairo
labels
Apr 19, 2024
✅ Deploy Preview for conkyweb canceled.
|
github-actions
bot
added
dependencies
Issue or PR that affects dependencies
gh-actions
Issue or PR that suggest changing GitHub actions
labels
Apr 19, 2024
Caellian
force-pushed
the
fix/separate-cairo-xlib
branch
from
April 19, 2024 13:24
9b236a2
to
dd32803
Compare
Caellian
commented
Apr 19, 2024
@@ -88,7 +88,6 @@ jobs: | |||
libaudclient-dev \ | |||
libcairo2-dev \ | |||
libcurl4-gnutls-dev \ | |||
libcurl4-gnutls-dev \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate line?
Caellian
force-pushed
the
fix/separate-cairo-xlib
branch
from
April 19, 2024 13:28
dd32803
to
e279109
Compare
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
...to fix CI. Also, it just makes sense. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Obliterated the IF guard because it made me angry. Also, not needed because it doesn't **directly contain any module checks** and flags can be checked individually because dependent_option already turns them off if their dependencies aren't satisfied. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
brndnmtthws
approved these changes
Apr 19, 2024
if this PR has been included in v1.20.2 included in debian trixie, I still have the issue using that version
using the conky rings lua script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
build system
Issues and PRs related to build system (CMake) and process
cairo
Issue or PR related to cairo
dependencies
Issue or PR that affects dependencies
display: wayland
Issue related to Wayland backend
feature
New feature PR or issue
gh-actions
Issue or PR that suggest changing GitHub actions
lua
Issue or PR related to Lua code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This allows cairo.h to be used from Lua on Wayland without X11 as requirement.
A way of creating surfaces in Lua that uses Shm allocated buffers should be added in future. This PR only cleans up build options to avoid weird errors.
Closes #1804 -
BUILD_LUA_CAIRO
didn't depend on X11 andlua/CMakeLists.txt
doesn't provide warnings likedependent_option
s do, so it wasn't clear why the build was failing withBUILD_LUA_CAIRO && !BUILD_X11
.