commit:     77598c10d35c036aa173f3b64e9a9985e734168a
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 29 18:20:25 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 29 18:21:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77598c10

dev-libs/glib: Add ewarn telling users to restart their session

Closes: https://bugs.gentoo.org/715186
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 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 15d5ed1eac0..f558eaa92f0 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() {

Reply via email to