Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440590 - media-libs/freetype-2.4.9-r1: some elog messages should only be shown when upgrading from an old enough package.
Summary: media-libs/freetype-2.4.9-r1: some elog messages should only be shown when up...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
Depends on:
Blocks: first-time-messages
  Show dependency tree
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2014-12-13 10:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


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:42 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package media-libs/freetype-2.4.9-r1, the following elog messages are displayed:

 * The TrueType bytecode interpreter is no longer patented and thus no
 * longer controlled by the bindist USE flag.  Enable the auto-hinter
 * USE flag if you want the old USE=bindist hinting behavior.

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-libs/freetype-1.0'; then

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

if !has_version 'media-libs/freetype' || has_version '<media-libs/freetype-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2014-12-13 10:48:34 UTC
This message is not displayed in the current version.