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

Bug 440538

Summary: media-fonts/urw-fonts-2.4.9: some elog messages should only be shown when upgrading from an old enough package.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: UNCONFIRMED ---    
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:14 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package media-fonts/urw-fonts-2.4.9, the following elog messages are displayed:

 * If you upgraded from urw-fonts-2.1-r2 some fonts will look a bit
 * different. Take a look at bug #208990 if interested.

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-fonts/urw-fonts-1.0'; then

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

if !has_version 'media-fonts/urw-fonts' || has_version '<media-fonts/urw-fonts-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Joe Stroller 2014-02-19 05:39:04 UTC
I came here to report this myself.

The original bug 208990 is just over 6 years old now - I doubt that there remains anyone affected, upgrading from urw-fonts-2.1-r2.

I think the ewarn message can just be completely removed. This is an easy bug closure for someone. ;)