svn commit: r542812 - in branches/2020Q3/x11/grim: . files
Jan Beich
jbeich at FreeBSD.org
Tue Jul 21 22:10:20 UTC 2020
Author: jbeich
Date: Tue Jul 21 22:10:19 2020
New Revision: 542812
URL: https://svnweb.freebsd.org/changeset/ports/542812
Log:
x11/grim: partially revert r542791
2020Q3 has wlroots 0.10.1 with old rotate behavior, making grim 1.3.1
take inverted screenshots.
Approved by: ports-secteam blanket
Added:
branches/2020Q3/x11/grim/files/
branches/2020Q3/x11/grim/files/patch-wlroots-0.10 (contents, props changed)
Modified:
branches/2020Q3/x11/grim/Makefile
Modified: branches/2020Q3/x11/grim/Makefile
==============================================================================
--- branches/2020Q3/x11/grim/Makefile Tue Jul 21 22:01:06 2020 (r542811)
+++ branches/2020Q3/x11/grim/Makefile Tue Jul 21 22:10:19 2020 (r542812)
@@ -3,6 +3,7 @@
PORTNAME= grim
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich at FreeBSD.org
Added: branches/2020Q3/x11/grim/files/patch-wlroots-0.10
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q3/x11/grim/files/patch-wlroots-0.10 Tue Jul 21 22:10:19 2020 (r542812)
@@ -0,0 +1,13 @@
+Revert https://github.com/emersion/grim/commit/8f9d60885ce2
+
+--- render.c.orig 2020-07-21 18:11:14 UTC
++++ render.c
+@@ -104,7 +104,7 @@ cairo_surface_t *render(struct grim_state *state, stru
+ cairo_matrix_translate(&matrix,
+ (double)output->geometry.width / 2,
+ (double)output->geometry.height / 2);
+- cairo_matrix_rotate(&matrix, get_output_rotation(output->transform));
++ cairo_matrix_rotate(&matrix, -get_output_rotation(output->transform));
+ cairo_matrix_scale(&matrix,
+ (double)raw_output_width / output_width * output_flipped_x,
+ (double)raw_output_height / output_height * output_flipped_y);
More information about the svn-ports-all
mailing list