summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-07-13 10:49:11 +0100
committerSam James <sam@gentoo.org>2023-07-13 10:49:11 +0100
commit72c7c394a58c59269bdb8af838014ff94ccb9cdc (patch)
treee5f134590103311b48c16635e96eec6f2a2369a8 /media-video
parentmedia-video/pipewire: drop 0.3.73-r1 (diff)
downloadgentoo-72c7c394a58c59269bdb8af838014ff94ccb9cdc.tar.gz
gentoo-72c7c394a58c59269bdb8af838014ff94ccb9cdc.tar.bz2
gentoo-72c7c394a58c59269bdb8af838014ff94ccb9cdc.zip
media-video/pipewire: add note re kwin/mutter
KWin and Mutter need to be restarted after upgrading (most) PipeWire versions to keep screencasting working. KWin no longer crashes w/ >=0.3.74 though. Closes: https://bugs.gentoo.org/908490 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/pipewire/pipewire-0.3.74.ebuild7
-rw-r--r--media-video/pipewire/pipewire-9999.ebuild7
2 files changed, 14 insertions, 0 deletions
diff --git a/media-video/pipewire/pipewire-0.3.74.ebuild b/media-video/pipewire/pipewire-0.3.74.ebuild
index f4759dc2e89a..dfb5716fd7bf 100644
--- a/media-video/pipewire/pipewire-0.3.74.ebuild
+++ b/media-video/pipewire/pipewire-0.3.74.ebuild
@@ -335,6 +335,13 @@ pkg_postinst() {
local ver
for ver in ${REPLACING_VERSIONS} ; do
+ if has_version kde-plasma/kwin[screencast] || has_version x11-wm/mutter[screencast] ; then
+ # https://bugs.gentoo.org/908490
+ # https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3243
+ ewarn "Please restart KWin/Mutter after upgrading PipeWire."
+ ewarn "Screencasting may not work until you do."
+ fi
+
if ver_test ${ver} -le 0.3.66-r1 ; then
elog ">=pipewire-0.3.66 uses the 'pipewire' group to manage permissions"
elog "and limits needed to function smoothly:"
diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild
index f4759dc2e89a..dfb5716fd7bf 100644
--- a/media-video/pipewire/pipewire-9999.ebuild
+++ b/media-video/pipewire/pipewire-9999.ebuild
@@ -335,6 +335,13 @@ pkg_postinst() {
local ver
for ver in ${REPLACING_VERSIONS} ; do
+ if has_version kde-plasma/kwin[screencast] || has_version x11-wm/mutter[screencast] ; then
+ # https://bugs.gentoo.org/908490
+ # https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3243
+ ewarn "Please restart KWin/Mutter after upgrading PipeWire."
+ ewarn "Screencasting may not work until you do."
+ fi
+
if ver_test ${ver} -le 0.3.66-r1 ; then
elog ">=pipewire-0.3.66 uses the 'pipewire' group to manage permissions"
elog "and limits needed to function smoothly:"