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

Bug 81309

Summary: enable run-time tracing when debug flag is in use
Product: Gentoo Linux Reporter: Philip Kovacs <pkdevel>
Component: New packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://cvs.freedesktop.org/xorg/xc/extras/freetype2/docs/DEBUG?rev=1.2
Whiteboard:
Package list:
Runtime testing required: ---

Description Philip Kovacs 2005-02-08 17:02:02 UTC
src_compile() {
        use debug && append-flags -DFT_DEBUG_LEVEL_TRACE
        ...
}

The above compile-time flag enables run-time tracing through environment variables, e.g. export FT2_DEBUG="any:2 memory:5 io:4"  in a bash terminal, in and freetype2 will show a great deal of debug information in the term, which can often be useful.

Please consider this addition.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 foser (RETIRED) gentoo-dev 2006-06-20 05:31:48 UTC
why only trace and not the other flags ?
Comment 2 Philip Kovacs 2006-06-20 12:17:03 UTC
Unfortunately, I reported this bug so long ago (1 year and 4 months) that I can't even remember the circumstances surrounding my need to use freetype in a debug or trace mode.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-06-22 02:18:34 UTC
i'm going to close this bug.  if anyone does have a need for this, feel free to speak up.
Comment 4 Philip Kovacs 2007-06-22 16:42:28 UTC
Not only is the freetype issue ancient history, I think Gentoo has deprecated 
the 'debug' USE flag anyway.