pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/wm/swc



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.

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



Home | Main Index | Thread Index | Old Index