From owner-svn-ports-head@freebsd.org Sat Mar 13 17:32:09 2021 Return-Path: Delivered-To: svn-ports-head@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 AD5B457D517; Sat, 13 Mar 2021 17:32:09 +0000 (UTC) (envelope-from ericbsd@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 4DyV9j4HCGz57Jl; Sat, 13 Mar 2021 17:32:09 +0000 (UTC) (envelope-from ericbsd@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 85EB36859; Sat, 13 Mar 2021 17:32:09 +0000 (UTC) (envelope-from ericbsd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12DHW94Q068251; Sat, 13 Mar 2021 17:32:09 GMT (envelope-from ericbsd@FreeBSD.org) Received: (from ericbsd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12DHW9DF068250; Sat, 13 Mar 2021 17:32:09 GMT (envelope-from ericbsd@FreeBSD.org) Message-Id: <202103131732.12DHW9DF068250@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ericbsd set sender to ericbsd@FreeBSD.org using -f From: Eric Turgeon Date: Sat, 13 Mar 2021 17:32:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568265 - in head/x11/mate-dock-applet: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ericbsd X-SVN-Commit-Paths: in head/x11/mate-dock-applet: . files X-SVN-Commit-Revision: 568265 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2021 17:32:09 -0000 Author: ericbsd Date: Sat Mar 13 17:32:08 2021 New Revision: 568265 URL: https://svnweb.freebsd.org/changeset/ports/568265 Log: add mate-dock-applet/files/patch-src_dock.in This patch fix the slow start of mate-dock-applet Added: head/x11/mate-dock-applet/files/ head/x11/mate-dock-applet/files/patch-src_dock.in (contents, props changed) Modified: head/x11/mate-dock-applet/Makefile Modified: head/x11/mate-dock-applet/Makefile ============================================================================== --- head/x11/mate-dock-applet/Makefile Sat Mar 13 17:12:00 2021 (r568264) +++ head/x11/mate-dock-applet/Makefile Sat Mar 13 17:32:08 2021 (r568265) @@ -3,7 +3,7 @@ PORTNAME= mate-dock-applet PORTVERSION= 20.04.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 mate DIST_SUBDIR= mate Added: head/x11/mate-dock-applet/files/patch-src_dock.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/mate-dock-applet/files/patch-src_dock.in Sat Mar 13 17:32:08 2021 (r568265) @@ -0,0 +1,26 @@ +--- src/dock.in.orig 2021-03-13 13:10:08.665755000 -0400 ++++ src/dock.in 2021-03-13 13:13:58.873312000 -0400 +@@ -615,21 +615,8 @@ + dbus_interface="com.canonical.Unity.LauncherEntry", + signal_name="Update") + +- # we need a Bamf.Matcher for matching windows to running apps +- self.matcher = None +- # wait for max 10s to ensure bamf is available +- # (bamf is not always immediately available after login on Linux Mint +- # 19 - e.g. https://forums.linuxmint.com/viewtopic.php?t=272747 and +- # issue #158) +- i = 0 +- while i < 10: +- if (not self.session_bus.name_has_owner("org.ayatana.bamf")): +- i += 1 +- sleep(1) +- else: +- break +- +- self.matcher = Bamf.Matcher() ++ # create a Bamf.Matcher for matching windows to running apps ++ self.matcher = Bamf.Matcher.get_default() + + # can we resize nicely on the panel? + try: