From owner-dev-commits-ports-all@freebsd.org Sat Sep 11 07:53:19 2021 Return-Path: Delivered-To: dev-commits-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 89DCE66CF9E; Sat, 11 Sep 2021 07:53:19 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H64jq3QRcz3m3J; Sat, 11 Sep 2021 07:53:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 56E9F1CC41; Sat, 11 Sep 2021 07:53:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18B7rJsj062705; Sat, 11 Sep 2021 07:53:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18B7rJUX062704; Sat, 11 Sep 2021 07:53:19 GMT (envelope-from git) Date: Sat, 11 Sep 2021 07:53:19 GMT Message-Id: <202109110753.18B7rJUX062704@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 397248043ee3 - 2021Q3 - x11/wf-shell: drop gtkmm workaround after 8e3dc93add09 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q3 X-Git-Reftype: branch X-Git-Commit: 397248043ee3c78ecb1f5b5689a7e1e58ae97a80 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2021 07:53:19 -0000 The branch 2021Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=397248043ee3c78ecb1f5b5689a7e1e58ae97a80 commit 397248043ee3c78ecb1f5b5689a7e1e58ae97a80 Author: Jan Beich AuthorDate: 2021-09-11 07:31:58 +0000 Commit: Jan Beich CommitDate: 2021-09-11 07:53:09 +0000 x11/wf-shell: drop gtkmm workaround after 8e3dc93add09 (cherry picked from commit 60a8a088880301aa60c256f7e74e106379de318d) --- x11/wf-shell/Makefile | 1 + x11/wf-shell/files/patch-gtkmm-3.22 | 79 ------------------------------------- 2 files changed, 1 insertion(+), 79 deletions(-) diff --git a/x11/wf-shell/Makefile b/x11/wf-shell/Makefile index 3186033dc3df..8cf1eb1d71d1 100644 --- a/x11/wf-shell/Makefile +++ b/x11/wf-shell/Makefile @@ -1,6 +1,7 @@ PORTNAME= wf-shell DISTVERSIONPREFIX= v DISTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org diff --git a/x11/wf-shell/files/patch-gtkmm-3.22 b/x11/wf-shell/files/patch-gtkmm-3.22 deleted file mode 100644 index ddec368cd86c..000000000000 --- a/x11/wf-shell/files/patch-gtkmm-3.22 +++ /dev/null @@ -1,79 +0,0 @@ -Revert https://github.com/WayfireWM/wf-shell/commit/6e3ac5da8d24 -until x11-toolkits/gtkmm30 is updated to 3.24 or later. - -../src/background/background.cpp:33:35: error: no member named 'create_surface_from_pixbuf' in namespace 'Gdk::Cairo' - to_image.source = Gdk::Cairo::create_surface_from_pixbuf(image, - ~~~~~~~~~~~~^ - ---- src/background/background.cpp.orig 2020-03-21 19:18:51 UTC -+++ src/background/background.cpp -@@ -21,19 +21,17 @@ void BackgroundDrawingArea::show_image(Glib::RefPtrget_scale_factor()); -+ to_image.pbuf = image; -+ to_image.x = offset_x; -+ to_image.y = offset_y; -+ fade.animate(from_image.pbuf ? 0.0 : 1.0, 1.0); - -- to_image.x = offset_x / this->get_scale_factor(); -- to_image.y = offset_y / this->get_scale_factor(); -- fade.animate(from_image.source ? 0.0 : 1.0, 1.0); -- - Glib::signal_idle().connect_once([=] () { - this->queue_draw(); - }); -@@ -41,19 +39,25 @@ void BackgroundDrawingArea::show_image(Glib::RefPtr& cr) - { -- if (!to_image.source) -+ if (!to_image.pbuf) - return false; - - if (fade.running()) - queue_draw(); - -- cr->set_source(to_image.source, to_image.x, to_image.y); -+ Gdk::Cairo::set_source_pixbuf(cr, to_image.pbuf, to_image.x, to_image.y); -+ cr->rectangle(0, 0, to_image.pbuf->get_width(), to_image.pbuf->get_height()); - cr->paint_with_alpha(fade); -- if (!from_image.source) -+ -+ if (!from_image.pbuf) - return false; - -- cr->set_source(from_image.source, from_image.x, from_image.y); -+ Gdk::Cairo::set_source_pixbuf(cr, from_image.pbuf, -+ from_image.x, from_image.y); -+ cr->rectangle(0, 0, from_image.pbuf->get_width(), -+ from_image.pbuf->get_height()); - cr->paint_with_alpha(1.0 - fade); -+ - return false; - } - ---- src/background/background.hpp.orig 2020-03-21 19:18:51 UTC -+++ src/background/background.hpp -@@ -11,9 +11,9 @@ class WayfireBackground; - - class BackgroundImage - { -- public: -+ public: - double x, y; -- Cairo::RefPtr source; -+ Glib::RefPtr pbuf; - }; - - class BackgroundDrawingArea : public Gtk::DrawingArea