Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 2021 10:07:48 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 681bcb69088b - 2021Q3 - x11/wshowkeys: unbreak runtime after d81a61abe465
Message-ID:  <202108011007.171A7m2b048660@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=681bcb69088b784f40252bfb14df7f450fb60cc7

commit 681bcb69088b784f40252bfb14df7f450fb60cc7
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-01 10:00:33 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-08-01 10:07:29 +0000

    x11/wshowkeys: unbreak runtime after d81a61abe465
    
    $ WAYLAND_DEBUG=1 wshowkeys
    [...]
    [0.182]  -> wl_compositor@5.create_surface(new id wl_surface@3)
    [0.185]  -> zwlr_layer_shell_v1@7.get_layer_surface(new id zwlr_layer_surface_v1@11, wl_surface@3, nil, 2, "showkeys")
    [0.192]  -> zwlr_layer_surface_v1@11.set_anchor(0)
    [0.194]  -> zwlr_layer_surface_v1@11.set_margin(32, 32, 32, 32)
    [0.198]  -> zwlr_layer_surface_v1@11.set_exclusive_zone(-1)
    [0.200]  -> wl_surface@3.commit()
    [0.296]  -> wl_surface@3.attach(nil, 0, 0)
    [0.302]  -> wl_surface@3.commit()
    [0.313] wl_display@1.error(zwlr_layer_surface_v1@11, 1, "width 0 requested without setting left and right anchors")
    zwlr_layer_surface_v1@11: error 1: width 0 requested without setting left and right anchors
    wl_display_dispatch: Protocol error
    
    (cherry picked from commit 03855710ed221e2035d6a4062389f4af8cbbed39)
---
 x11/wshowkeys/Makefile | 4 ++++
 x11/wshowkeys/distinfo | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/x11/wshowkeys/Makefile b/x11/wshowkeys/Makefile
index 8045e1e06d6a..e3a1bd1888ad 100644
--- a/x11/wshowkeys/Makefile
+++ b/x11/wshowkeys/Makefile
@@ -1,9 +1,13 @@
 PORTNAME=	wshowkeys
 PORTVERSION=	s20200330
 DISTVERSIONSUFFIX=	-0-g6388a49
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
+PATCH_SITES=	https://github.com/ammgws/${PORTNAME}/commit/
+PATCHFILES+=	35b6f15bd088.patch:-p1 # https://old.reddit.com/r/swaywm/comments/ovfzpv/new_custodianmaintainerbugfix_needed_for_wshowkeys/
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Display keystrokes for screencasts on wlroots compositors
 
diff --git a/x11/wshowkeys/distinfo b/x11/wshowkeys/distinfo
index ea40e5bab097..3379ec831426 100644
--- a/x11/wshowkeys/distinfo
+++ b/x11/wshowkeys/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1585574498
 SHA256 (wshowkeys-s20200330-0-g6388a49.tar.gz) = 1a32d4de6372464aa17f8da10688d03831edc838783ed72ee4ab15d830e0e808
 SIZE (wshowkeys-s20200330-0-g6388a49.tar.gz) = 26748
+SHA256 (35b6f15bd088.patch) = dea3c4bb80d3fa8647baedf315360ce7a129a81e80cfd9936adcaafbca15d8be
+SIZE (35b6f15bd088.patch) = 759



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108011007.171A7m2b048660>