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

Bug 455494

Summary: xfce-extra/xfce4-weather-plugin-0.8.2 - USE=debug does not work and should be removed
Product: Gentoo Linux Reporter: Small_Penguin <dark.shadow>
Component: [OLD] LibraryAssignee: XFCE Team <xfce>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.xfce.org/panel-plugins/xfce4-weather-plugin/plain/README
Whiteboard:
Package list:
Runtime testing required: ---

Description Small_Penguin 2013-02-04 20:32:45 UTC
The debug USE flag is useless (pun intended!). xfce4-weather-plugin has a runtime debug mode which can be enabled by setting an environment variable before starting the panel. The debug USE flag doesn't have any effect and should be removed.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-02-05 12:46:52 UTC
It looks okay to me, it's using xfce4-dev-tools and as documented in `man xfconf.eclass` you can switch --enable-debug=minimum to --enable-debug=yes by setting the USE flag and by also setting XFCONF_FULL_DEBUG=1 it turns into --enable-debug=full
Both =yes and =full triggers various precompiler flags like -DXFCE_DEPRECATED and -Werror
So any xfce related ebuild that supports the yes/no/minimum/full should use $(xfconf_use_debug) and have IUSE="debug" accordingly