Received: by mail.netbsd.org (Postfix, from userid 605) id 0712684E64; Mon, 24 Feb 2020 12:31:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 82E9184E5B for ; Mon, 24 Feb 2020 12:31:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id uBVkZQK-gHha for ; Mon, 24 Feb 2020 12:31:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0109F84C81 for ; Mon, 24 Feb 2020 12:31:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E894AFBF4; Mon, 24 Feb 2020 12:31:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1582547480126850" MIME-Version: 1.0 Date: Mon, 24 Feb 2020 12:31:20 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/wm/swc To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200224123120.E894AFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1582547480126850 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Mon Feb 24 12:31:20 UTC 2020 Modified Files: pkgsrc/wm/swc: Makefile distinfo Added Files: pkgsrc/wm/swc/patches: patch-libswc_surface.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/wm/swc/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/wm/swc/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/wm/swc/patches/patch-libswc_surface.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1582547480126850 Content-Disposition: inline Content-Length: 2397 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/wm/swc/Makefile diff -u pkgsrc/wm/swc/Makefile:1.6 pkgsrc/wm/swc/Makefile:1.7 --- pkgsrc/wm/swc/Makefile:1.6 Mon Feb 24 11:58:57 2020 +++ pkgsrc/wm/swc/Makefile Mon Feb 24 12:31:20 2020 @@ -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 Index: pkgsrc/wm/swc/distinfo diff -u pkgsrc/wm/swc/distinfo:1.5 pkgsrc/wm/swc/distinfo:1.6 --- pkgsrc/wm/swc/distinfo:1.5 Mon Feb 24 11:58:57 2020 +++ pkgsrc/wm/swc/distinfo Mon Feb 24 12:31:20 2020 @@ -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 Added files: Index: pkgsrc/wm/swc/patches/patch-libswc_surface.c diff -u /dev/null pkgsrc/wm/swc/patches/patch-libswc_surface.c:1.1 --- /dev/null Mon Feb 24 12:31:20 2020 +++ pkgsrc/wm/swc/patches/patch-libswc_surface.c Mon Feb 24 12:31:20 2020 @@ -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 --_----------=_1582547480126850--