awesome: add optional gtk3 support #61161
Merged
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.
Motivation for this change
Add optional gtk3 support to Awesome so that the
beautiful.gtk
module can beused.
The
beautiful.gtk
useslgi
to obtain Gtk via gobject-introspect:Since the current build does not include the typelib files needed, the above
call fails.
It turns out that both
gtk3
andatk
(Accessibility toolkit) are needed, sothis commit adds them as optional build inputs.
Setting
gtk3Support
totrue
e.g. in an overlay will makebeautiful.gtk
work at the cost of an increased closure size (currently 99.6M vs 223.4M).
Fixes #60538
Things done
nix.useSandbox
on NixOS, or optionsandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)