# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 DESCRIPTION="GnoCHM is a CHM file viewer that integrates with the GNOME desktop" HOMEPAGE="http://gnochm.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL" SLOT="0" IUSE="doc" KEYWORDS="~x86 ~ppc" RDEPEND=">=dev-python/pychm-0.8.2 =dev-python/pygtk-2* =dev-python/gnome-python-2*" DEPEND="${RDEPEND} app-text/scrollkeeper >=dev-util/intltool-0.21" DOCS="AUTHORS ChangeLog NEWS README" pkg_postinst() { ewarn "" ewarn "GnoCHM may not work properly for ordinary users after installation." ewarn "A workaround is for each user to run the following command:" ewarn "" ewarn " GCONF_CONFIG_SOURCE=xml::/\$HOME/.gconf \\" ewarn " gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnochm.schemas" ewarn "" ewarn "See the TROUBLESHOOTING section of the README file for details." ewarn "" }