Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81309 - enable run-time tracing when debug flag is in use
Summary: enable run-time tracing when debug flag is in use
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL: http://cvs.freedesktop.org/xorg/xc/ex...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 17:02 UTC by Philip Kovacs
Modified: 2007-06-22 16:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.