From cf2e4276c89a9c00dc1c561bbfb382951e89524e Mon Sep 17 00:00:00 2001 From: Violet Purcell Date: Fri, 20 Mar 2026 16:52:59 -0400 Subject: [PATCH] gui-wm/river: copy pkg_postinst message over to 9999 Signed-off-by: Violet Purcell --- gui-wm/river/river-9999.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gui-wm/river/river-9999.ebuild b/gui-wm/river/river-9999.ebuild index 194c223961..77a32676fa 100644 --- a/gui-wm/river/river-9999.ebuild +++ b/gui-wm/river/river-9999.ebuild @@ -7,7 +7,7 @@ DESCRIPTION="A dynamic tiling Wayland compositor" HOMEPAGE="https://isaacfreund.com/software/river/ https://codeberg.org/river/river" ZIG_SLOT="0.15" -inherit zig +inherit eapi9-ver zig if [[ "${PV}" = "9999" ]]; then inherit git-r3 @@ -78,3 +78,15 @@ src_install() { insinto /usr/share/wayland-sessions/ doins contrib/river.desktop } + +pkg_postinst() { + if ver_replacing -lt 0.4; then + ewarn "River 0.4.x is a significant rework of the compositor's architecture," + ewarn "and requires significant manual migration. If you would like to stay on" + ewarn "river 0.3.x, simply add '>=gui-wm/river-0.4' to your package.mask to" + ewarn "use river-classic continuation of the 0.3.x branch." + fi + + einfo "River requires an separate window manager in addition to the main" + einfo "compositor. For some options, see gui-wm/canoe and gui-wm/kwm." +}