svn commit: r568265 - in head/x11/mate-dock-applet: . files

Eric Turgeon ericbsd at FreeBSD.org
Sat Mar 13 17:32:09 UTC 2021


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:


More information about the svn-ports-head mailing list