swc: Link to upstream issues/PRsdiff -r1.7 -r1.8 pkgsrc/wm/swc/distinfo
(nia)
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2020/02/24 14:11:17 nia Exp $ | 1 | $NetBSD: distinfo,v 1.8 2020/02/24 14:23:53 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = e0d26a9475d28bd25b7a6485e53bd52fcb8c9d70 | 3 | SHA1 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = e0d26a9475d28bd25b7a6485e53bd52fcb8c9d70 | |
4 | RMD160 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 22dc677900007ce99fc9df1c32008ea50b1b1875 | 4 | RMD160 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 22dc677900007ce99fc9df1c32008ea50b1b1875 | |
5 | SHA512 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = ed63c38a039f6662440095ecc2a2bf467388cd7fc3eaa56f496673a1acc3e91cbe6237d5e89401b37378fe4f65834cc917db73240a69775ad2f174f57f53af39 | 5 | SHA512 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = ed63c38a039f6662440095ecc2a2bf467388cd7fc3eaa56f496673a1acc3e91cbe6237d5e89401b37378fe4f65834cc917db73240a69775ad2f174f57f53af39 | |
6 | Size (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 88300 bytes | 6 | Size (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 88300 bytes | |
7 | SHA1 (patch-libswc_surface.c) = 8b0d373acd8f56f433857e96256757d95b5760ba | 7 | SHA1 (patch-libswc_surface.c) = 755f60197d5df6d8b7a5817ce6958e1e43abe9f2 | |
8 | SHA1 (patch-libswc_swc.c) = 5ca6df4a2a301da46bc811cdb0a09a2368e961ba | 8 | SHA1 (patch-libswc_swc.c) = 89b812a219bf59df08729baacb763e170f263625 |
@@ -1,17 +1,19 @@ | @@ -1,17 +1,19 @@ | |||
1 | $NetBSD: patch-libswc_surface.c,v 1.1 2020/02/24 12:31:20 nia Exp $ | 1 | $NetBSD: patch-libswc_surface.c,v 1.2 2020/02/24 14:23:53 nia Exp $ | |
2 | 2 | |||
3 | Don't error if the transformation type is "normal". | 3 | Don't error if the transformation type is "normal". | |
4 | 4 | |||
5 | https://github.com/michaelforney/swc/pull/57 | |||
6 | ||||
5 | --- libswc/surface.c.orig 2020-02-22 10:04:33.000000000 +0000 | 7 | --- libswc/surface.c.orig 2020-02-22 10:04:33.000000000 +0000 | |
6 | +++ libswc/surface.c | 8 | +++ libswc/surface.c | |
7 | @@ -268,7 +268,10 @@ commit(struct wl_client *client, struct | 9 | @@ -268,7 +268,10 @@ commit(struct wl_client *client, struct | |
8 | static void | 10 | static void | |
9 | set_buffer_transform(struct wl_client *client, struct wl_resource *surface, int32_t transform) | 11 | set_buffer_transform(struct wl_client *client, struct wl_resource *surface, int32_t transform) | |
10 | { | 12 | { | |
11 | - wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, "buffer transform not supported"); | 13 | - wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, "buffer transform not supported"); | |
12 | + if (transform != WL_OUTPUT_TRANSFORM_NORMAL) { | 14 | + if (transform != WL_OUTPUT_TRANSFORM_NORMAL) { | |
13 | + wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, | 15 | + wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, | |
14 | + "buffer transform %#" PRIx32 " not supported", transform); | 16 | + "buffer transform %#" PRIx32 " not supported", transform); | |
15 | + } | 17 | + } | |
16 | } | 18 | } | |
17 | 19 |
@@ -1,19 +1,21 @@ | @@ -1,19 +1,21 @@ | |||
1 | $NetBSD: patch-libswc_swc.c,v 1.1 2020/02/24 14:11:17 nia Exp $ | 1 | $NetBSD: patch-libswc_swc.c,v 1.2 2020/02/24 14:23:53 nia Exp $ | |
2 | 2 | |||
3 | Disable decoration managers until this is stable. | 3 | Disable decoration managers until this is stable. | |
4 | 4 | |||
5 | Currently this causes problems quitting applications. | 5 | Currently this causes problems quitting applications. | |
6 | 6 | |||
7 | https://github.com/michaelforney/swc/issues/58 | |||
8 | ||||
7 | --- libswc/swc.c.orig 2020-02-22 10:04:33.000000000 +0000 | 9 | --- libswc/swc.c.orig 2020-02-22 10:04:33.000000000 +0000 | |
8 | +++ libswc/swc.c | 10 | +++ libswc/swc.c | |
9 | @@ -169,7 +169,7 @@ swc_initialize(struct wl_display *displa | 11 | @@ -169,7 +169,7 @@ swc_initialize(struct wl_display *displa | |
10 | goto error10; | 12 | goto error10; | |
11 | } | 13 | } | |
12 | 14 | |||
13 | - swc.xdg_decoration_manager = xdg_decoration_manager_create(display); | 15 | - swc.xdg_decoration_manager = xdg_decoration_manager_create(display); | |
14 | + /*swc.xdg_decoration_manager = xdg_decoration_manager_create(display); | 16 | + /*swc.xdg_decoration_manager = xdg_decoration_manager_create(display); | |
15 | if (!swc.xdg_decoration_manager) { | 17 | if (!swc.xdg_decoration_manager) { | |
16 | ERROR("Could not initialize XDG decoration manager\n"); | 18 | ERROR("Could not initialize XDG decoration manager\n"); | |
17 | goto error11; | 19 | goto error11; | |
18 | @@ -179,7 +179,7 @@ swc_initialize(struct wl_display *displa | 20 | @@ -179,7 +179,7 @@ swc_initialize(struct wl_display *displa | |
19 | if (!swc.kde_decoration_manager) { | 21 | if (!swc.kde_decoration_manager) { |