pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/swc swc: Allow qt5 applications to run again.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f63464a0f445
branches: trunk
changeset: 423705:f63464a0f445
user: nia <nia%pkgsrc.org@localhost>
date: Mon Feb 24 12:31:20 2020 +0000
description:
swc: Allow qt5 applications to run again.
The compositor was throwing an unsupported transformation type error when
qt5 tried to set a transformation type of "normal" on surfaces, even though
this is asking for the default behaviour.
Bump PKGREVISION
diffstat:
wm/swc/Makefile | 3 ++-
wm/swc/distinfo | 3 ++-
wm/swc/patches/patch-libswc_surface.c | 18 ++++++++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r a9b29ae40be1 -r f63464a0f445 wm/swc/Makefile
--- a/wm/swc/Makefile Mon Feb 24 11:59:06 2020 +0000
+++ b/wm/swc/Makefile Mon Feb 24 12:31:20 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2020/02/24 11:58:57 nia Exp $
+# $NetBSD: Makefile,v 1.7 2020/02/24 12:31:20 nia Exp $
DISTNAME= swc-0.0.0.20200222
+PKGREVISION= 1
CATEGORIES= wm
MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelforney/}
GITHUB_PROJECT= swc
diff -r a9b29ae40be1 -r f63464a0f445 wm/swc/distinfo
--- a/wm/swc/distinfo Mon Feb 24 11:59:06 2020 +0000
+++ b/wm/swc/distinfo Mon Feb 24 12:31:20 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2020/02/24 11:58:57 nia Exp $
+$NetBSD: distinfo,v 1.6 2020/02/24 12:31:20 nia Exp $
SHA1 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = e0d26a9475d28bd25b7a6485e53bd52fcb8c9d70
RMD160 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 22dc677900007ce99fc9df1c32008ea50b1b1875
SHA512 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) =
ed63c38a039f6662440095ecc2a2bf467388cd7fc3eaa56f496673a1acc3e91cbe6237d5e89401b37378fe4f65834cc917db73240a69775ad2f174f57f53af39
Size (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 88300 bytes
+SHA1 (patch-libswc_surface.c) = 8b0d373acd8f56f433857e96256757d95b5760ba
diff -r a9b29ae40be1 -r f63464a0f445 wm/swc/patches/patch-libswc_surface.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/swc/patches/patch-libswc_surface.c Mon Feb 24 12:31:20 2020 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-libswc_surface.c,v 1.1 2020/02/24 12:31:20 nia Exp $
+
+Don't error if the transformation type is "normal".
+
+--- libswc/surface.c.orig 2020-02-22 10:04:33.000000000 +0000
++++ libswc/surface.c
+@@ -268,7 +268,10 @@ commit(struct wl_client *client, struct
+ static void
+ set_buffer_transform(struct wl_client *client, struct wl_resource *surface, int32_t transform)
+ {
+- wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, "buffer transform not supported");
++ if (transform != WL_OUTPUT_TRANSFORM_NORMAL) {
++ wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM,
++ "buffer transform %#" PRIx32 " not supported", transform);
++ }
+ }
+
+ static void
Home |
Main Index |
Thread Index |
Old Index