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

Bug 440530

Summary: media-plugins/live-2012.01.07: some elog messages should only be shown when upgrading from an old enough package.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: media-video herd <media-video>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

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.