Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2020 22:10:19 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r542812 - in branches/2020Q3/x11/grim: . files
Message-ID:  <202007212210.06LMAJ9T006378@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007212210.06LMAJ9T006378>