gnome-extra/chrome-gnome-shell: added post installation notice
authorYuri Konotopov <ykonotopov@gnome.org>
Tue, 10 Jan 2017 18:30:16 +0000 (22:30 +0400)
committerDavid Seifert <soap@gentoo.org>
Wed, 18 Jan 2017 10:18:29 +0000 (11:18 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3419

gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.1.ebuild
gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.ebuild

index fb1fc29191afaa3ab3e9086b2883326b206278f9..324bdd7dc163a0609293fd68137cedb6f5f8d842 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -43,3 +43,17 @@ src_install() {
 
        cmake-utils_src_install
 }
+
+pkg_postinst() {
+       elog "Please note that this package provides native messaging connector only."
+       elog
+       elog "Managed policy was installed to force web extension installation"
+       elog "for Google Chrome, Chromium and Vivaldi browsers from Chrome Store"
+       elog "https://chrome.google.com/webstore/detail/gphhapmejobijbbhgpjhcjognlahblep"
+       elog
+       elog "For Mozilla Firefox you should manualy install web extension from"
+       elog "https://addons.mozilla.org/firefox/addon/gnome-shell-integration/"
+       elog
+       elog "For Opera you should manualy install web extension from"
+       elog "https://addons.opera.com/extensions/details/gnome-shell-integration/"
+}
index c51dd30aad21632113719400b5efb08d3a51375c..6356db938831599bfbf3093f493898d8607d7407 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -44,3 +44,20 @@ src_install() {
 
        cmake-utils_src_install
 }
+
+pkg_postinst() {
+       elog "If you are installing ${PN} for the first time then you should"
+       elog "restart or reload dbus service before starting your browser."
+       elog
+       elog "Please note that this package provides native messaging connector only."
+       elog
+       elog "Managed policy was installed to force web extension installation"
+       elog "for Google Chrome, Chromium and Vivaldi browsers from Chrome Store"
+       elog "https://chrome.google.com/webstore/detail/gphhapmejobijbbhgpjhcjognlahblep"
+       elog
+       elog "For Mozilla Firefox you should manualy install web extension from"
+       elog "https://addons.mozilla.org/firefox/addon/gnome-shell-integration/"
+       elog
+       elog "For Opera you should manualy install web extension from"
+       elog "https://addons.opera.com/extensions/details/gnome-shell-integration/"
+}