Brenden Matthews
a0b526278a
Bump cmake version in docker build.
2022-12-27 09:15:29 -05:00
Jan Beich
3fb6534eff
Add missing Wayland dependency on BSDs ( #1349 )
...
src/display-wayland.cc:38:10: fatal error: 'sys/epoll.h' file not found
#include <sys/epoll.h>
^~~~~~~~~~~~~
ld: error: undefined symbol: epoll_create1
>>> referenced by display-wayland.cc
>>> src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::initialize())
ld: error: undefined symbol: epoll_ctl
>>> referenced by display-wayland.cc
>>> src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::main_loop_wait(double))
ld: error: undefined symbol: epoll_wait
>>> referenced by display-wayland.cc
>>> src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::main_loop_wait(double))
2022-12-27 08:04:58 -05:00
Brenden Matthews
7d93cbcf09
Bump version.
2022-12-26 13:54:52 -05:00
Brenden Matthews
dbe66565c9
Use the cmake commands here instead. ( #1346 )
...
* Use the cmake commands here instead.
* This command requires a dir arg.
* Use ctest command here.
* Limit CI to main & PRs.
2022-12-26 13:54:10 -05:00
Brenden Matthews
9bf55cfbfd
Drop this message.
2022-12-26 13:21:40 -05:00
Brenden Matthews
ffd34a4fc0
Fix missing settings fail.
2022-12-26 13:21:40 -05:00
Brenden Matthews
c28ad36c4c
This is superfluous.
2022-12-26 13:21:40 -05:00
Brenden Matthews
59513b4c65
Add this back.
2022-12-26 13:21:40 -05:00
Brenden Matthews
c48df06359
Fix (some) wayland/x11 init ordering issues.
2022-12-26 13:21:40 -05:00
Brenden Matthews
64b001f2f8
Default wayland build to off.
2022-12-26 13:21:40 -05:00
dependabot[bot]
7206490f49
build(deps): bump actions/stale from 6 to 7
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 13:16:12 -05:00
Brenden Matthews
e6643508f0
Put the code coverage stuff behind a build flag.
2022-12-26 11:46:29 -05:00
Brenden Matthews
eb1968e43a
Try it this way instead.
2022-12-25 09:06:00 -05:00
Brenden Matthews
f0eb4a2ea9
Fix this install command fail.
2022-12-25 08:53:57 -05:00
Brenden Matthews
20eecd6ee2
Fix package name.
2022-12-25 08:34:57 -05:00
Brenden Matthews
558891aab5
Use ninja instead of make in build.
2022-12-25 08:34:57 -05:00
Brenden Matthews
15aa99836b
Add missing unistd include.
2022-12-25 07:52:05 -05:00
Brenden Matthews
a0b183cd03
Better release note generation, for next release.
2022-12-24 12:17:57 -05:00
Brenden Matthews
af2a3c0af0
Use clang for appimage build.
2022-12-24 12:10:36 -05:00
Brenden Matthews
8c521fdbdf
Bump version.
2022-12-24 12:04:20 -05:00
Brenden Matthews
5f0ed0d72d
Bump version.
2022-12-24 11:31:13 -05:00
Brenden Matthews
dd07a838c4
Build fixes for newly introduced Wayland support.
2022-12-24 11:29:19 -05:00
Brenden Matthews
09da5bbf0c
Bump web deps.
2022-12-24 10:41:01 -05:00
Brenden Matthews
7247a4c1e6
Fix some include ordering/build stuff.
2022-12-24 10:36:31 -05:00
Brenden Matthews
76b0f049bc
Apply clang-format.
2022-12-24 09:44:03 -05:00
Brenden Matthews
cf16110c7a
Merge branch 'bi4k8-wayland-gui-backend'
2022-12-24 09:42:09 -05:00
Brenden Matthews
028fce015d
Tidy a couple things.
2022-12-24 09:42:04 -05:00
bi4k8
ae971d1cff
build: add pangoft2 to Wayland deps
2022-12-24 09:42:04 -05:00
bi4k8
a585e36d93
wayland: permit unused parameters
...
the Wayland callbacks have many params that we don't use; it isn't worthwhile to individually annotate these
2022-12-24 09:42:04 -05:00
bi4k8
a6c52ee73f
wayland: clamp text width
2022-12-24 09:42:03 -05:00
bi4k8
06c33cc3b0
ci: update for Wayland build
2022-12-24 09:42:03 -05:00
bi4k8
6b0c194515
x11: do not treat init failure as fatal with Wayland
2022-12-24 09:42:03 -05:00
bi4k8
b556f17648
x11: early-return from use_xdbe_setting::set_up if X11 not initialized
2022-12-24 09:42:03 -05:00
bi4k8
1eb88aeb43
x11, imlib2: early-exit in some X functions if X is not available at runtime
2022-12-24 09:42:03 -05:00
bi4k8
a30cc64a98
x11: update x11.cc for functionality moved into gui.cc
2022-12-24 09:42:03 -05:00
bi4k8
8973b58299
gui: remove background_color from gui.cc and window_type/window_hints from gui.h
2022-12-24 09:42:03 -05:00
bi4k8
2a4f5216c1
x11, gui: update display-x11.cc to account for some code moved into gui.h/gui.cc
2022-12-24 09:42:03 -05:00
bi4k8
5859d76741
core: fix misbehavior in specials handling that fails badly with Wayland backend
2022-12-24 09:42:03 -05:00
bi4k8
d183ad3f6f
core: fix segfault when no display outputs are enabled
2022-12-24 09:42:02 -05:00
bi4k8
d856e397d7
core: fix right-alignment with wayland
...
I'm not sure why this is necessary (or what it might break), but it seems to work
2022-12-24 09:42:02 -05:00
bi4k8
20ac59b0b1
doc: document out_to_wayland setting
2022-12-24 09:42:02 -05:00
bi4k8
e5413a22d7
config: add out_to_wayland to bool setting list for config converter
2022-12-24 09:42:02 -05:00
bi4k8
343f4545cd
wayland: rework window destruction/resizing
2022-12-24 09:42:02 -05:00
bi4k8
0b00ff487f
wayland: respond to xdg_wm_base.ping
2022-12-24 09:42:02 -05:00
bi4k8
03d9c25491
wayland: fix crash after 5 minutes
2022-12-24 09:42:02 -05:00
bi4k8
65f4d4f7eb
colours: define manually_get_x11_color for usage outside X11
2022-12-24 09:42:02 -05:00
bi4k8
e914128c32
colours: parse X11 colors under Wayland
2022-12-24 09:42:02 -05:00
bi4k8
35b874de65
wayland: switch to zwlr_layer_shell_v1 and implement proper window placement
...
this vendors the wlr-layer-shell-unstable-v1 protocol XML file
2022-12-24 09:42:02 -05:00
bi4k8
4c71e4527b
wayland: implement buffer scaling
2022-12-24 09:42:01 -05:00
bi4k8
9ce6ffbb87
wl: declare desktop/monitor info functions as weak symbols
...
these are implemented on both Wayland and X11, as stubs on the former. we need
to properly dispatch these based on the backend, but for now this resolves the
conflict
2022-12-24 09:42:01 -05:00