summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-04-27 18:31:33 +0200
committerUlrich Müller <ulm@gentoo.org>2022-04-27 18:38:20 +0200
commit8e83d5804fe006f3da794768b288b4091536bd1e (patch)
treeca216d3b0e6509453ffe58de569a1a8a1ab886f4 /net-im
parentnet-im/gg-transport: treeclean (diff)
downloadgentoo-8e83d5804fe006f3da794768b288b4091536bd1e.tar.gz
gentoo-8e83d5804fe006f3da794768b288b4091536bd1e.tar.bz2
gentoo-8e83d5804fe006f3da794768b288b4091536bd1e.zip
net-im/zoom: Don't depend on glibc[-clone3]
Display an explanatory message in README.gentoo instead. Bug: https://bugs.gentoo.org/835930 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/zoom/files/README.gentoo8
-rw-r--r--net-im/zoom/zoom-5.10.3.2778.ebuild21
-rw-r--r--net-im/zoom/zoom-5.10.4.2845-r1.ebuild (renamed from net-im/zoom/zoom-5.10.4.2845.ebuild)21
3 files changed, 30 insertions, 20 deletions
diff --git a/net-im/zoom/files/README.gentoo b/net-im/zoom/files/README.gentoo
deleted file mode 100644
index 12e5058b397a..000000000000
--- a/net-im/zoom/files/README.gentoo
+++ /dev/null
@@ -1,8 +0,0 @@
-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)
-
-To enable screen sharing on GNOME Wayland, edit ~/.config/zoomus.conf
-and change the value of enableWaylandShare to true.
diff --git a/net-im/zoom/zoom-5.10.3.2778.ebuild b/net-im/zoom/zoom-5.10.3.2778.ebuild
index fb4a05464d8c..6a6b21c08daf 100644
--- a/net-im/zoom/zoom-5.10.3.2778.ebuild
+++ b/net-im/zoom/zoom-5.10.3.2778.ebuild
@@ -34,7 +34,7 @@ RDEPEND="!games-engines/zoom
net-print/cups
sys-apps/dbus
sys-apps/util-linux
- || ( >=sys-libs/glibc-2.34[-clone3(+)] <sys-libs/glibc-2.34 )
+ sys-libs/glibc
virtual/opengl
x11-libs/cairo
x11-libs/libdrm
@@ -159,17 +159,26 @@ src_install() {
application/x-zoom)"
doicon videoconference-zoom.svg
doicon -s scalable videoconference-zoom.svg
+
+ local DOC_CONTENTS="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:
+ \\n- Enable compositing in your window manager if it is supported
+ \\n- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)"
+ use wayland \
+ && DOC_CONTENTS+="\\n\\nTo enable screen sharing on GNOME Wayland,
+ edit ~/.config/zoomus.conf and change the value of
+ enableWaylandShare to true."
+ has_version ">=sys-libs/glibc-2.34[clone3(+)]" \
+ && DOC_CONTENTS+="\\n\\nIf you encounter illegal instruction errors,
+ try disabling the clone3 use flag of sys-libs/glibc."
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} -lt 5.7.28852.0718 && use wayland && FORCE_PRINT_ELOG=1
- done
readme.gentoo_print_elog
}
diff --git a/net-im/zoom/zoom-5.10.4.2845.ebuild b/net-im/zoom/zoom-5.10.4.2845-r1.ebuild
index fb4a05464d8c..6a6b21c08daf 100644
--- a/net-im/zoom/zoom-5.10.4.2845.ebuild
+++ b/net-im/zoom/zoom-5.10.4.2845-r1.ebuild
@@ -34,7 +34,7 @@ RDEPEND="!games-engines/zoom
net-print/cups
sys-apps/dbus
sys-apps/util-linux
- || ( >=sys-libs/glibc-2.34[-clone3(+)] <sys-libs/glibc-2.34 )
+ sys-libs/glibc
virtual/opengl
x11-libs/cairo
x11-libs/libdrm
@@ -159,17 +159,26 @@ src_install() {
application/x-zoom)"
doicon videoconference-zoom.svg
doicon -s scalable videoconference-zoom.svg
+
+ local DOC_CONTENTS="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:
+ \\n- Enable compositing in your window manager if it is supported
+ \\n- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)"
+ use wayland \
+ && DOC_CONTENTS+="\\n\\nTo enable screen sharing on GNOME Wayland,
+ edit ~/.config/zoomus.conf and change the value of
+ enableWaylandShare to true."
+ has_version ">=sys-libs/glibc-2.34[clone3(+)]" \
+ && DOC_CONTENTS+="\\n\\nIf you encounter illegal instruction errors,
+ try disabling the clone3 use flag of sys-libs/glibc."
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} -lt 5.7.28852.0718 && use wayland && FORCE_PRINT_ELOG=1
- done
readme.gentoo_print_elog
}