From owner-svn-ports-all@freebsd.org Tue Jul 21 22:10:20 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26FB03699D9; Tue, 21 Jul 2020 22:10:20 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BBCT80HfGz4KVB; Tue, 21 Jul 2020 22:10:20 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DE4942541A; Tue, 21 Jul 2020 22:10:19 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06LMAJXH006379; Tue, 21 Jul 2020 22:10:19 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06LMAJ9T006378; Tue, 21 Jul 2020 22:10:19 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202007212210.06LMAJ9T006378@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 21 Jul 2020 22:10:19 +0000 (UTC) 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 X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in branches/2020Q3/x11/grim: . files X-SVN-Commit-Revision: 542812 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 22:10:20 -0000 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);