From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1170502-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B2E831382C5
	for <garchives@archives.gentoo.org>; Tue, 12 May 2020 09:31:35 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D3D2FE08CE;
	Tue, 12 May 2020 09:31:34 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B8B7AE08CE
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 May 2020 09:31:34 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6A84C350034
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 May 2020 09:31:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 19F111F2
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 May 2020 09:31:31 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1589275842.97cbda2dbf2439bf009e5345177b12b54c941228.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/zoom/, net-im/zoom/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-im/zoom/files/README.gentoo net-im/zoom/zoom-5.0.403652.0509.ebuild
X-VCS-Directories: net-im/zoom/ net-im/zoom/files/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 97cbda2dbf2439bf009e5345177b12b54c941228
X-VCS-Branch: master
Date: Tue, 12 May 2020 09:31:31 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8143eec2-4b42-4d1d-885a-8cf1d94f0085
X-Archives-Hash: f3166ef3eb3cbc8280fd8ecd37f3dd55

commit:     97cbda2dbf2439bf009e5345177b12b54c941228
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 09:30:42 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue May 12 09:30:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cbda2d

net-im/zoom: Add README.gentoo about display compositing.

Closes: https://bugs.gentoo.org/722430
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-im/zoom/files/README.gentoo         | 5 +++++
 net-im/zoom/zoom-5.0.403652.0509.ebuild | 9 ++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/net-im/zoom/files/README.gentoo b/net-im/zoom/files/README.gentoo
new file mode 100644
index 00000000000..06f1f9b3dce
--- /dev/null
+++ b/net-im/zoom/files/README.gentoo
@@ -0,0 +1,5 @@
+Some of Zoom's screen share features (e.g., the whiteboard) require
+display compositing. If you encounter a black window when sharing
+the screen, then one of the following actions should help:
+- Enable compositing in your window manager if it is supported
+- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)

diff --git a/net-im/zoom/zoom-5.0.403652.0509.ebuild b/net-im/zoom/zoom-5.0.403652.0509.ebuild
index f2a3aea4c10..314ddbedc6b 100644
--- a/net-im/zoom/zoom-5.0.403652.0509.ebuild
+++ b/net-im/zoom/zoom-5.0.403652.0509.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop eutils xdg-utils
+inherit desktop eutils readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="Video conferencing and web conferencing service"
 HOMEPAGE="https://zoom.us/"
@@ -86,11 +86,18 @@ src_install() {
 	# white on a blue background
 	doicon -s scalable "${FILESDIR}"/zoom-videocam.svg
 	doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm
+	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
 	xdg_desktop_database_update
 	xdg_icon_cache_update
+
+	local FORCE_PRINT_ELOG v
+	for v in ${REPLACING_VERSIONS}; do
+		ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1
+	done
+	readme.gentoo_print_elog
 }
 
 pkg_postrm() {