Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23829 - static USE flag requested for XFree86
Summary: static USE flag requested for XFree86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-01 13:30 UTC by solar (RETIRED)
Modified: 2003-07-13 02:28 UTC (History)
1 user (show)

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 solar (RETIRED) gentoo-dev 2003-07-01 13:30:18 UTC
I would like to see the "static" USE var added. X is reported to use less RSS
memory when linked static.

The trick to get a statically linked XFree86 server is supposed to be very easy.
--
Before compiling/configuring it you have to add the following line to
xc/config/cf/host.def

Code:
 #define DoLoadableServer NO

Note: 
 Gentoo may already define other things in there, so don't blindly overwrite
this file. also if gentoo defines BeforeVendorCF/AfterVendorCF sections in
host.def then the above line should go into the AfterVendorCF part.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-07-02 08:28:24 UTC
easily done -- currently USE="debug" will do this as well, I'll add it for USE="static" momentarily
Comment 2 solar (RETIRED) gentoo-dev 2003-07-12 08:22:47 UTC
I see the static flag has been added to xfree

x11-base/xfree-4.3.0-r3 [4.2.1-r2] -3dfx -sse +mmx +3dnow +xml2 +truetype +nls -cjk +doc -ipv6 -debug -static

I would think you could close this bug now.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-12 11:45:13 UTC
The static USE flag is broken, probably due to something in our patchset. It would be optimal to have it in a working state before the bug is closed.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-13 02:28:19 UTC
Fixed. See bug #19512 comment #9 for details. Closing.