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

Bug 440518

Summary: media-libs/fontconfig-2.8.0-r1: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
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 10:59:27 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

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

 * Please make fontconfig configuration changes using Usage: eselect fontconfig <action> <options>

Standard actions:
  help                      Display help text
  usage                     Display usage information
  version                   Display version information

Extra actions:
  disable <target>          Disable specified fontconfig .conf file(s)
    <target>                  Target name or number (from 'list' action)
  enable <target>           Enable specified fontconfig .conf file(s)
    <target>                  Target name or number (from 'list' action)
  list                      List available fontconfig .conf files
 * Any changes made to /etc/fonts/fonts.conf will be overwritten.

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'media-libs/fontconfig'; then

See the tracker bug 440214 for more details.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2013-02-08 14:59:41 UTC
Fixed in fontconfig-2.10.2.ebuild by using readme.gentoo.eclass.