Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 440584 - x11-libs/qt-gui-4.8.x: some elog messages should only be shown when upgrading from an old enough package.
Summary: x11-libs/qt-gui-4.8.x: some elog messages should only be shown when upgrading...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2013-01-26 11:27 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 11:29:38 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package x11-libs/qt-gui-4.8.2, the following elog messages are displayed:

 * Starting with Qt 4.8, you may choose the active Qt Graphics System
 * by using a new eselect module called qtgraphicssystem.
 * Run `eselect qtgraphicssystem` for more information.

Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:

if has_version '<x11-libs/qt-gui-1.0'; then

Or, if the message should also be displayed for new installs:

if !has_version 'x11-libs/qt-gui' || has_version '<x11-libs/qt-gui-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Davide Pesavento gentoo-dev 2012-10-31 19:47:46 UTC
BTW we have REPLACING_VERSIONS and REPLACED_BY_VERSION in EAPI >= 4.
Comment 2 Davide Pesavento gentoo-dev 2013-01-26 11:27:40 UTC
The message has been removed altogether. It was useless anyway.