commit:     e9806afc9bce7187ca7a1d769f1c7404e8c698fb
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Tue Jan 10 18:30:16 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan 18 10:18:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9806afc

gnome-extra/chrome-gnome-shell: added post installation notice

Closes: https://github.com/gentoo/gentoo/pull/3419

 .../chrome-gnome-shell/chrome-gnome-shell-7.1.ebuild  | 16 +++++++++++++++-
 .../chrome-gnome-shell/chrome-gnome-shell-8.ebuild    | 19 ++++++++++++++++++-
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.1.ebuild 
b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.1.ebuild
index fb1fc29..324bdd7 100644
--- a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.1.ebuild
+++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.1.ebuild
@@ -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/";
+}

diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.ebuild 
b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.ebuild
index c51dd30..6356db9 100644
--- a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.ebuild
+++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.ebuild
@@ -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/";
+}

Reply via email to