Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136977 - Suggestion to add USE flag "trace" to ncurses
Summary: Suggestion to add USE flag "trace" to ncurses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 04:53 UTC by Fredrik Klasson
Modified: 2006-06-26 23:16 UTC (History)
0 users

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


Attachments
the ebuild (ncurses-5.5-r3.ebuild,5.31 KB, text/plain)
2006-06-16 04:54 UTC, Fredrik Klasson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Klasson 2006-06-16 04:53:04 UTC
I suggest that the USE flag "trace" to the ncurses ebuild, this would allow developpers to build ncurses with the "trace" (man 3 trace) which can help debugging code. One could also consider that the existing "debug" USE could auto flip "--with-trace", however as it's not done by default I assume someone doesn't want that to happen, hence the suggestion to add a "trace" use flag (it would probably require adding a short desc like "enables trace in ncurses (see man 3 trace)" to the use.desc.local file as welll).

I'm attaching an ebuild which adds the "trace" USE. (note: all KEYWORDS are ~ in this ebuild)

I've put this file in my overlay and emerged it and compiled it with a project of mine with success (the trace output data as expected to the trace file).
emerge command:
$ ACCEPT_KEYWORDS="~amd64" USE="trace" sudo emerge -va ncurses
$ # yes, I know KEYWORDS="~amd64" is BadPratcice(tm) :P
(full USE="doc gpm trace unicode -bootstrap -build -debug -minimal -nocxx")
Comment 1 Fredrik Klasson 2006-06-16 04:54:22 UTC
Created attachment 89300 [details]
the ebuild
Comment 2 SpanKY gentoo-dev 2006-06-26 23:16:45 UTC
now in 5.5-r3, thanks for the suggestion !