From nobody Fri Jan 14 12:35:57 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E3C181963C5C; Fri, 14 Jan 2022 12:35:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jb14F64tmz4T1f; Fri, 14 Jan 2022 12:35:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642163757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Bkxy6UYxZ1Y56Fa5UC9oKPAXF9GOXw1qK9jdDLYXoTk=; b=JByttwg5/tkNqnqhnMegzTIH7aHD/FZy2wqYU3NZAVLR+4C+En4QitGYN55l2JSeVoPKL8 jmeK7Jbz/6Q26LiGjP05gr+dJotLUyyfDu6YG9CvNowNS3rsoF9ptYIZy7uVbFqZ1uyATU kg1iGR4UkqNkXWj8t3RN1acbH8+CP77RVl91bTasUGAiRzSvSMshDKo5irSrbkxQCCJPln 4U1iSEgtc6K3dTRmi0HaH8ju4Pe4Sz+7SCrh0lKUzia+3qc+sQKURHhF5thjPkobJ/853k L5uVNHFTkRDsPTY0xOIbQhiRii+VRZv3ARuNZVDtLvlGfi7NpSCheEyP5iKNMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B1826138FD; Fri, 14 Jan 2022 12:35:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20ECZvrh043649; Fri, 14 Jan 2022 12:35:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20ECZvHH043648; Fri, 14 Jan 2022 12:35:57 GMT (envelope-from git) Date: Fri, 14 Jan 2022 12:35:57 GMT Message-Id: <202201141235.20ECZvHH043648@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 9e639257834b - main - x11-wm/hikari: update to 2.3.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9e639257834b139c31175671c759aca4c1a3b602 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642163757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Bkxy6UYxZ1Y56Fa5UC9oKPAXF9GOXw1qK9jdDLYXoTk=; b=T7gcYyFnuICAmYjMN4nYGrb9LD9vm3mu0Ed5L5c8CxOLQtiAlkqohT0QeX3aqghGiTSdRP j1yx2xsfO9uGC6nQ8ZgbpetznWHMxJ2Hbdvr1LAVfEH4ZN4QeN9x+I891+fjNy+TpmP9rw oGed10eKhq7nK/jTZNop5JyCEDp9XkhPo6jXe6s5B0BSxOYN61TPXyYHzQgmTC4hoXbe// n0Ptkua8uRQPgEF7ITjUr02w7MzJFwu6GNjuUA6yhnyGQcJI8qadoX9jc8hescYOCPVSZv HLNOFrFCbje3BNHS93/BNbTwK7aJKbRrJYXvNS7yi7TZmI/Avag5hJihZr8tqA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642163757; a=rsa-sha256; cv=none; b=WLC7BYj9AagMKOPnOJ8PMV5eK36qzomllYPKwe6FhU3qbmu4hPvCMHUfekP09aR0+mptZF xThwrlaWk2iaGFYKukYa1ntHcQ9pCzrvjqgHKVbkhLRoHeJY9PyS3GZ0L99eHOK1N7rBxy dsx4N6NSG7IuXeTuwXUmV6FHIUQa8Rf3x2quBrkalgaYG7WqOhntGVVFjctmAUt5/v36aP AeFA+Hv3CKqJAHWWGMPzFgYBXZ6Cc51mUckATqWpUEM/wzuuIUqy5jVKGPdc7gGO5j/hGp W0WFT/NuopUsGDZYKegdetG8DaFiPmXNDVEa7i0PWWBnoAcd5pXpVXaZOHFZ8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e639257834b139c31175671c759aca4c1a3b602 commit 9e639257834b139c31175671c759aca4c1a3b602 Author: Jan Beich AuthorDate: 2020-03-09 19:20:06 +0000 Commit: Jan Beich CommitDate: 2022-01-14 12:35:32 +0000 x11-wm/hikari: update to 2.3.3 PR: 261188 Approved by: Alexander Sieg (maintainer) --- x11-wm/hikari/Makefile | 3 +- x11-wm/hikari/distinfo | 6 +- x11-wm/hikari/files/patch-wlroots-0.15 | 256 --------------------------------- 3 files changed, 4 insertions(+), 261 deletions(-) diff --git a/x11-wm/hikari/Makefile b/x11-wm/hikari/Makefile index f03452ab7ef1..e1c187e3f459 100644 --- a/x11-wm/hikari/Makefile +++ b/x11-wm/hikari/Makefile @@ -1,6 +1,5 @@ PORTNAME= hikari -DISTVERSION= 2.3.2 -PORTREVISION= 2 +DISTVERSION= 2.3.3 CATEGORIES= x11-wm MASTER_SITES= https://hikari.acmelabs.space/releases/ diff --git a/x11-wm/hikari/distinfo b/x11-wm/hikari/distinfo index 7ef3fe915956..28de7786b360 100644 --- a/x11-wm/hikari/distinfo +++ b/x11-wm/hikari/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1626901745 -SHA256 (hikari-2.3.2.tar.gz) = 9e8f135b4b31ae1267ae4fdf0c25932b62aeaf1e6642e1dc67471b9863107ecb -SIZE (hikari-2.3.2.tar.gz) = 1022093 +TIMESTAMP = 1583781606 +SHA256 (hikari-2.3.3.tar.gz) = 40736ff326e11a51128c1739051a692ad2c79173fc4b695c8be5ec7a614b4de2 +SIZE (hikari-2.3.3.tar.gz) = 1022191 diff --git a/x11-wm/hikari/files/patch-wlroots-0.15 b/x11-wm/hikari/files/patch-wlroots-0.15 deleted file mode 100644 index dde7380f765f..000000000000 --- a/x11-wm/hikari/files/patch-wlroots-0.15 +++ /dev/null @@ -1,256 +0,0 @@ -src/layer_shell.c:202:37: error: no member named 'client_pending' in 'struct wlr_layer_surface_v1' - layer->layer = wlr_layer_surface->client_pending.layer; - ~~~~~~~~~~~~~~~~~ ^ - -src/layer_shell.c:312:51: error: no member named 'geometry' in 'struct wlr_xdg_surface' - int popup_sx = popup->geometry.x - popup->base->geometry.x; - ~~~~~~~~~~~ ^ -src/layer_shell.c:313:51: error: no member named 'geometry' in 'struct wlr_xdg_surface' - int popup_sy = popup->geometry.y - popup->base->geometry.y; - ~~~~~~~~~~~ ^ - -src/output.c:199:5: warning: implicit declaration of function 'wlr_layer_surface_v1_close' is invalid in C99 [-Wimplicit-function-declaration] - wlr_layer_surface_v1_close(layer->surface); - ^ -src/workspace.c:123:5: warning: implicit declaration of function 'wlr_layer_surface_v1_close' is invalid in C99 [-Wimplicit-function-declaration] - wlr_layer_surface_v1_close(focus_layer->surface); - ^ - -src/view.c:812:47: error: no member named 'subsurfaces_below' in 'struct wlr_surface' - wl_list_for_each (wlr_subsurface, &surface->subsurfaces_below, parent_link) { - ~~~~~~~ ^ -/usr/local/include/wayland-util.h:443:30: note: expanded from macro 'wl_list_for_each' - for (pos = wl_container_of((head)->next, pos, member); \ - ^~~~ -/usr/local/include/wayland-util.h:409:32: note: expanded from macro 'wl_container_of' - (__typeof__(sample))((char *)(ptr) - \ - ^~~ - -src/xdg_view.c:50:30: error: no member named 'configure_serial' in 'struct wlr_xdg_surface' - uint32_t serial = surface->configure_serial; - ~~~~~~~ ^ - -ld: error: undefined symbol: wlr_backend_get_renderer ->>> referenced by indicator_bar.c ->>> indicator_bar.o:(hikari_indicator_bar_update) ->>> referenced by lock_indicator.c ->>> lock_indicator.o:(init_indicator_circle) ->>> referenced by output.c ->>> output.o:(hikari_output_load_background) ->>> referenced 2 more times - -src/server.c:9:10: fatal error: 'wlr/backend/noop.h' file not found -#include - ^~~~~~~~~~~~~~~~~~~~ - ---- include/hikari/server.h.orig 2021-04-09 17:37:23 UTC -+++ include/hikari/server.h -@@ -51,6 +51,7 @@ struct hikari_server { - struct wl_event_loop *event_loop; - struct wlr_backend *backend; - struct wlr_renderer *renderer; -+ struct wlr_allocator *allocator; - struct wlr_xdg_output_manager_v1 *output_manager; - struct wlr_data_device_manager *data_device_manager; - ---- src/indicator_bar.c.orig 2021-04-10 08:38:40 UTC -+++ src/indicator_bar.c -@@ -80,8 +80,7 @@ hikari_indicator_bar_update(struct hikari_indicator_ba - struct hikari_font *font = &hikari_configuration->font; - int width = hikari_configuration->font.character_width * len + 8; - int height = hikari_configuration->font.height; -- struct wlr_renderer *wlr_renderer = -- wlr_backend_get_renderer(output->wlr_output->backend); -+ struct wlr_renderer *wlr_renderer = output->wlr_output->renderer; - - indicator_bar->width = width; - ---- src/layer_shell.c.orig 2021-03-28 17:02:57 UTC -+++ src/layer_shell.c -@@ -199,7 +199,7 @@ hikari_layer_init( - layer->node.focus = focus; - layer->node.for_each_surface = for_each_surface; - layer->output = output; -- layer->layer = wlr_layer_surface->client_pending.layer; -+ layer->layer = wlr_layer_surface->pending.layer; - layer->surface = wlr_layer_surface; - layer->mapped = false; - -@@ -309,8 +309,8 @@ damage_popup(struct hikari_layer_popup *layer_popup, b - struct wlr_xdg_popup *popup = layer_popup->popup; - struct wlr_surface *surface = popup->base->surface; - -- int popup_sx = popup->geometry.x - popup->base->geometry.x; -- int popup_sy = popup->geometry.y - popup->base->geometry.y; -+ int popup_sx = popup->geometry.x - popup->base->current.geometry.x; -+ int popup_sy = popup->geometry.y - popup->base->current.geometry.y; - int ox = popup_sx, oy = popup_sy; - - struct hikari_layer *layer; ---- src/lock_indicator.c.orig 2021-04-10 11:39:20 UTC -+++ src/lock_indicator.c -@@ -19,8 +19,7 @@ init_indicator_circle(float color[static 4]) - const int size = 100; - - struct wlr_texture *texture; -- struct wlr_renderer *wlr_renderer = -- wlr_backend_get_renderer(hikari_server.backend); -+ struct wlr_renderer *wlr_renderer = hikari_server.renderer; - - cairo_surface_t *surface = - cairo_image_surface_create(CAIRO_FORMAT_ARGB32, size, size); ---- src/output.c.orig 2021-07-20 21:52:59 UTC -+++ src/output.c -@@ -84,8 +84,7 @@ hikari_output_load_background(struct hikari_output *ou - unsigned char *data = cairo_image_surface_get_data(output_surface); - int stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, output_width); - -- struct wlr_renderer *renderer = -- wlr_backend_get_renderer(output->wlr_output->backend); -+ struct wlr_renderer *renderer = output->wlr_output->renderer; - - output->background = wlr_texture_from_pixels( - renderer, DRM_FORMAT_ARGB8888, stride, output_width, output_height, data); -@@ -196,7 +195,7 @@ close_layers(struct wl_list *layers) - { - struct hikari_layer *layer, *layer_temp; - wl_list_for_each_safe (layer, layer_temp, layers, layer_surfaces) { -- wlr_layer_surface_v1_close(layer->surface); -+ wlr_layer_surface_v1_destroy(layer->surface); - layer->output = NULL; - } - } -@@ -257,7 +256,7 @@ hikari_output_init(struct hikari_output *output, struc - - if (!wl_list_empty(&wlr_output->modes)) { - struct wlr_output_mode *mode = -- wl_container_of(wlr_output->modes.prev, mode, link); -+ wl_container_of(wlr_output->modes.next, mode, link); - wlr_output_set_mode(wlr_output, mode); - } - ---- src/renderer.c.orig 2021-03-28 17:02:57 UTC -+++ src/renderer.c -@@ -487,8 +487,7 @@ static inline void - render_output(struct hikari_output *output, pixman_region32_t *damage) - { - struct wlr_output *wlr_output = output->wlr_output; -- struct wlr_renderer *wlr_renderer = -- wlr_backend_get_renderer(wlr_output->backend); -+ struct wlr_renderer *wlr_renderer = wlr_output->renderer; - - struct hikari_renderer renderer = { - .wlr_output = wlr_output, .wlr_renderer = wlr_renderer, .damage = damage ---- src/server.c.orig 2021-07-20 21:52:59 UTC -+++ src/server.c -@@ -5,9 +5,11 @@ - #include - - #include -+#include - #include --#include - #include -+#include -+#include - #include - #include - #include -@@ -213,6 +215,10 @@ new_output_handler(struct wl_listener *listener, void - struct wlr_output *wlr_output = data; - struct hikari_output *output = hikari_malloc(sizeof(struct hikari_output)); - -+ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { -+ exit(EXIT_FAILURE); -+ } -+ - hikari_output_init(output, wlr_output); - hikari_cursor_reset_image(&server->cursor); - } -@@ -766,9 +772,9 @@ done: - static void - init_noop_output(struct hikari_server *server) - { -- server->noop_backend = wlr_noop_backend_create(server->display); -+ server->noop_backend = wlr_headless_backend_create(server->display); - -- struct wlr_output *wlr_output = wlr_noop_add_output(server->noop_backend); -+ struct wlr_output *wlr_output = wlr_headless_add_output(server->noop_backend, 800, 600); - struct hikari_output *noop_output = - hikari_malloc(sizeof(struct hikari_output)); - -@@ -816,14 +822,19 @@ server_init(struct hikari_server *server, char *config - - signal(SIGPIPE, SIG_IGN); - -- server->renderer = wlr_backend_get_renderer(server->backend); -- -+ server->renderer = wlr_renderer_autocreate(server->backend); - if (server->renderer == NULL) { - wl_display_destroy(server->display); - exit(EXIT_FAILURE); - } - - wlr_renderer_init_wl_display(server->renderer, server->display); -+ -+ server->allocator = wlr_allocator_autocreate(server->backend, server->renderer); -+ if (server->allocator == NULL) { -+ wl_display_destroy(server->display); -+ exit(EXIT_FAILURE); -+ } - - server->socket = wl_display_add_socket_auto(server->display); - if (server->socket == NULL) { ---- src/view.c.orig 2021-07-20 21:52:59 UTC -+++ src/view.c -@@ -809,13 +809,13 @@ hikari_view_map(struct hikari_view *view, struct wlr_s - wl_signal_add(&surface->events.new_subsurface, &view->new_subsurface); - - struct wlr_subsurface *wlr_subsurface; -- wl_list_for_each (wlr_subsurface, &surface->subsurfaces_below, parent_link) { -+ wl_list_for_each (wlr_subsurface, &surface->current.subsurfaces_below, current.link) { - struct hikari_view_subsurface *subsurface = - (struct hikari_view_subsurface *)malloc( - sizeof(struct hikari_view_subsurface)); - hikari_view_subsurface_init(subsurface, view, wlr_subsurface); - } -- wl_list_for_each (wlr_subsurface, &surface->subsurfaces_above, parent_link) { -+ wl_list_for_each (wlr_subsurface, &surface->current.subsurfaces_above, current.link) { - struct hikari_view_subsurface *subsurface = - (struct hikari_view_subsurface *)malloc( - sizeof(struct hikari_view_subsurface)); -@@ -1695,10 +1695,10 @@ hikari_view_child_init(struct hikari_view_child *view_ - wl_list_insert(&parent->children, &view_child->link); - - struct wlr_subsurface *subsurface; -- wl_list_for_each (subsurface, &surface->subsurfaces_below, parent_link) { -+ wl_list_for_each (subsurface, &surface->current.subsurfaces_below, current.link) { - view_subsurface_create(subsurface, parent); - } -- wl_list_for_each (subsurface, &surface->subsurfaces_above, parent_link) { -+ wl_list_for_each (subsurface, &surface->current.subsurfaces_above, current.link) { - view_subsurface_create(subsurface, parent); - } - } ---- src/workspace.c.orig 2021-04-09 17:37:23 UTC -+++ src/workspace.c -@@ -120,7 +120,7 @@ hikari_workspace_quit_view(struct hikari_workspace *wo - - if (focus_layer != NULL) { - assert(focus_view == NULL); -- wlr_layer_surface_v1_close(focus_layer->surface); -+ wlr_layer_surface_v1_destroy(focus_layer->surface); - return; - } - #endif ---- src/xdg_view.c.orig 2021-03-28 17:02:57 UTC -+++ src/xdg_view.c -@@ -47,7 +47,7 @@ commit_handler(struct wl_listener *listener, void *dat - - struct hikari_view *view = (struct hikari_view *)xdg_view; - struct wlr_xdg_surface *surface = xdg_view->surface; -- uint32_t serial = surface->configure_serial; -+ uint32_t serial = surface->current.configure_serial; - - assert(view->surface != NULL); -