| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.3 2012/03/23 19:53:51 floppym Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.4 2012/05/23 18:16:30 floppym Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: chromium.eclass |
5 | # @ECLASS: chromium.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Chromium Herd <chromium@gentoo.org> |
7 | # Chromium Herd <chromium@gentoo.org> |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 124 | chromium_pkg_postinst() { |
124 | chromium_pkg_postinst() { |
| 125 | fdo-mime_desktop_database_update |
125 | fdo-mime_desktop_database_update |
| 126 | gnome2_icon_cache_update |
126 | gnome2_icon_cache_update |
| 127 | |
127 | |
| 128 | # For more info see bug #292201, bug #352263, bug #361859. |
128 | # For more info see bug #292201, bug #352263, bug #361859. |
|
|
129 | if ! has_version x11-themes/gnome-icon-theme && |
|
|
130 | ! has_version x11-themes/oxygen-icons ; then |
| 129 | elog |
131 | elog |
| 130 | elog "Depending on your desktop environment, you may need" |
132 | elog "Depending on your desktop environment, you may need" |
| 131 | elog "to install additional packages to get icons on the Downloads page." |
133 | elog "to install additional packages to get icons on the Downloads page." |
| 132 | elog |
134 | elog |
| 133 | elog "For KDE, the required package is kde-base/oxygen-icons." |
135 | elog "For KDE, the required package is kde-base/oxygen-icons." |
| 134 | elog |
136 | elog |
| 135 | elog "For other desktop environments, try one of the following:" |
137 | elog "For other desktop environments, try one of the following:" |
| 136 | elog " - x11-themes/gnome-icon-theme" |
138 | elog " - x11-themes/gnome-icon-theme" |
| 137 | elog " - x11-themes/tango-icon-theme" |
139 | elog " - x11-themes/tango-icon-theme" |
|
|
140 | fi |
| 138 | |
141 | |
| 139 | # For more info see bug #359153. |
142 | # For more info see bug #359153. |
| 140 | elog |
143 | elog |
| 141 | elog "Some web pages may require additional fonts to display properly." |
144 | elog "Some web pages may require additional fonts to display properly." |
| 142 | elog "Try installing some of the following packages if some characters" |
145 | elog "Try installing some of the following packages if some characters" |