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

Bug 440550

Summary: x11-proto/xcb-proto-1.7.1: some elog messages should only be shown when upgrading from an old enough package.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 11:29:21 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package x11-proto/xcb-proto-1.7.1, the following elog messages are displayed:

 * Please rebuild both libxcb and xcb-util if you are upgrading from version 1.6

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-proto/xcb-proto-1.0'; then

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

if !has_version 'x11-proto/xcb-proto' || has_version '<x11-proto/xcb-proto-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-11-24 08:39:03 UTC
purged from portage