From 77598c10d35c036aa173f3b64e9a9985e734168a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 29 Mar 2020 11:20:25 -0700 Subject: [PATCH] dev-libs/glib: Add ewarn telling users to restart their session Closes: https://bugs.gentoo.org/715186 Signed-off-by: Matt Turner --- dev-libs/glib/glib-2.64.1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-libs/glib/glib-2.64.1.ebuild b/dev-libs/glib/glib-2.64.1.ebuild index 15d5ed1eac01..f558eaa92f04 100644 --- a/dev-libs/glib/glib-2.64.1.ebuild +++ b/dev-libs/glib/glib-2.64.1.ebuild @@ -262,6 +262,13 @@ pkg_postinst() { ewarn "your final image for performance reasons and re-run it when packages" ewarn "installing GIO modules get upgraded or added to the image." fi + + for v in ${REPLACING_VERSIONS}; do + if ver_test "$v" "-lt" "2.63.6"; then + ewarn "glib no longer installs the gio-launch-desktop binary. You may need" + ewarn "to restart your session for \"Open With\" dialogs to work." + fi + done } pkg_postrm() { -- 2.26.2