| Summary: | enable run-time tracing when debug flag is in use | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Philip Kovacs <pkdevel> |
| Component: | New packages | Assignee: | 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: | --- | |
why only trace and not the other flags ? 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. i'm going to close this bug. if anyone does have a need for this, feel free to speak up. Not only is the freetype issue ancient history, I think Gentoo has deprecated the 'debug' USE flag anyway. |
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.