Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440506 - x11-libs/gtk+-2.24.12: some elog messages should only be shown for the first install.
Summary: x11-libs/gtk+-2.24.12: some elog messages should only be shown for the first ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 10:59 UTC by poletti.marco
Modified: 2012-11-05 20:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 (RETIRED) 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