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

Bug 123097

Summary: app-admin/gkrellm has gettext as RDEPEND
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Martin Holzer (RETIRED) <mholzer>
Status: RESOLVED FIXED    
Severity: normal CC: alt, qa, rockoo, tinaught
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 129257    
Bug Blocks:    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-16 15:38:03 UTC
The ebuild in summary has a runtime dependency over gettext.

gettext is normally used only as build-time dependency to create the po files in nls-enabled packages.
A part from development tools, the only case when gettext is needed as runtime dependency is when the system c library does not provide intl functions.
For this reason the right way to state the dependencies for nls-enabled packages is:

RDEPEND="nls? ( virtual/libintl )
   ...."

DEPEND="${RDEPEND}
   nls? ( sys-devel/gettext )"

this way libintl takes care of adding the dependency when needed and gettext is required only at build time.

Thanks,
Diego
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2006-05-02 05:44:52 UTC
fixed with bug #129257