cage: update to 0.1.2.1.

This commit is contained in:
Isaac Freund 2020-07-16 18:03:40 +02:00 committed by Andrew J. Hesford
parent db9587036b
commit 59aa6ab8b0
2 changed files with 4 additions and 46 deletions

View file

@ -1,41 +0,0 @@
--- output.c
+++ output.c
@@ -386,6 +386,9 @@
/* Place the cursor in the center of the screen. */
wlr_cursor_warp(server->seat->cursor, NULL, wlr_output->width / 2, wlr_output->height / 2);
wlr_output_damage_add_whole(server->output->damage);
+
+ wlr_output_enable(wlr_output, true);
+ wlr_output_commit(wlr_output);
}
void
--- meson.build
+++ meson.build
@@ -35,7 +35,7 @@
)
endif
-wlroots = dependency('wlroots', version: '>= 0.6.0')
+wlroots = dependency('wlroots', version: '>= 0.10.0')
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
wayland_server = dependency('wayland-server')
pixman = dependency('pixman-1')
--- cage.c
+++ cage.c
@@ -374,15 +374,6 @@
wl_event_source_remove(sigint_source);
wl_event_source_remove(sigterm_source);
seat_destroy(server.seat);
- wlr_server_decoration_manager_destroy(server_decoration_manager);
- wlr_xdg_decoration_manager_v1_destroy(xdg_decoration_manager);
- wlr_xdg_shell_destroy(xdg_shell);
- wlr_idle_inhibit_v1_destroy(server.idle_inhibit_v1);
- if (server.idle) {
- wlr_idle_destroy(server.idle);
- }
- wlr_data_device_manager_destroy(data_device_mgr);
- wlr_compositor_destroy(compositor);
wlr_output_layout_destroy(server.output_layout);
/* This function is not null-safe, but we only ever get here
with a proper wl_display. */

View file

@ -1,18 +1,17 @@
# Template file for 'cage'
pkgname=cage
version=0.1.1
revision=2
version=0.1.2.1
revision=1
build_style=meson
hostmakedepends="pkg-config wayland-devel"
hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="xcb-util-wm-devel xcb-util-errors-devel libxkbcommon-devel pixman-devel wayland-devel wlroots-devel"
short_desc="Kiosk compositor for Wayland"
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
license="MIT"
homepage="https://www.hjdskes.nl/projects/cage/"
distfiles="https://github.com/Hjdskes/cage/archive/v${version}.tar.gz"
checksum=63efbe96cf307381f2bedf9b80153343e255970a70d612515da7dc325dd49478
checksum=38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac
post_install() {
vlicense LICENSE
vdoc README.md
}