Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440506

Summary: x11-libs/gtk+-2.24.12: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:59:20 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package x11-libs/gtk+-2.24.12, the following elog messages are displayed:

 * Please install app-text/evince for print preview functionality.
 * Alternatively, check "gtk-print-preview-command" documentation and
 * add it to your gtkrc.

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'x11-libs/gtk+'; then

See the tracker bug 440214 for more details.
Comment 1 Gilles Dartiguelongue gentoo-dev 2012-10-31 12:47:04 UTC
There is already a check on evince iirc.
Comment 2 Pacho Ramos gentoo-dev 2012-11-05 20:57:14 UTC
        if ! has_version "app-text/evince"; then
                elog "Please install app-text/evince for print preview functionality."
                elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
                elog "add it to your gtkrc."
        fi

It's