Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440530 - media-plugins/live-2012.01.07: some elog messages should only be shown when upgrading from an old enough package.
Summary: media-plugins/live-2012.01.07: some elog messages should only be shown when u...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2012-11-01 16:22 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:10 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package media-plugins/live-2012.01.07, the following elog messages are displayed:

 * If you are upgrading from a version prior to live-2008.02.08
 * Please make sure to rebuild applications built against live
 * like vlc or mplayer. live may have had ABI changes and live
 * support might be broken.

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 '<media-plugins/live-1.0'; then

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

if !has_version 'media-plugins/live' || has_version '<media-plugins/live-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Alexis Ballier gentoo-dev 2012-10-31 16:58:46 UTC
it could probably be dropped entirely, its 4 years old...
Comment 2 poletti.marco 2012-10-31 17:04:50 UTC
Yes, I also think so.
Comment 3 Alexis Ballier gentoo-dev 2012-11-01 16:22:57 UTC
actually, this warning is gone in ~arch version, so nothing to do, closing as invalid, it'll reach stable when we'll stabilise a newer version.