RFE: Disable FONTCACHE extension in the Xorg default build.
Xfree86 did the same long ago and AFAIK the extension isn't used anymore.
Created attachment 242 [details] [review]
Patch for 2004-04-25-trunk
Checking in ChangeLog;
/cvs/xorg/xc/ChangeLog,v <-- ChangeLog
new revision: 1.6; previous revision: 1.5
Checking in config/cf/X11.tmpl;
/cvs/xorg/xc/config/cf/X11.tmpl,v <-- X11.tmpl
new revision: 1.5; previous revision: 1.4
Mailing the commit message to firstname.lastname@example.org...
... marking bug as FIXED.
With this change checked in xc/lib/font/X-TrueType no longer builds:
making all in lib/font/X-TrueType/module...
rm -f xttfuncs.o
cc -xO4 -xbuiltin -xlibmil -xpentium -Xa -v -Kpic -I..
-I../../../../include/fonts -I../../include -I../../fontcache
-I../../../.. -I../../../../exports/include -Dsun -Di386 -DSVR4
-D__EXTENSIONS__ -D__i386 -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR
-DXFIXES -DDAMAGE -DINCLUDE_ALLOCA_H -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
-DXFreeXDGA -DXvExtension -DXFree86LOADER -DDLOPEN_HACK -DXFree86Server
-DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7)
* 100000) + ((0) * 1000) + 0)"
-DNDEBUG -DIN_MODULE -DXFree86Module -DTT_MAKE_OPTION_SINGLE_OBJECT=1
-DTT_CONFIG_OPTION_EXTEND_ENGINE -DFONTMODULE -DCCONV_MODULE
-DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -c xttfuncs.c
"../../fontcache/fontcache.h", line 38: cannot find include file:
cc: acomp failed for xttfuncs.c
*** Error code 2
Should X-TT be modified to not require it or should it simply be disabled
whenever BuildFontCache is set to NO?
Alan Coopersmith wrote:
> With this change checked in xc/lib/font/X-TrueType no longer builds:
> Should X-TT be modified to not require it or should it simply be disabled
> whenever BuildFontCache is set to NO?
Good question... I've CC:'ed Chisato... he knows that stuff better than I do.
I guess it would be sufficient to enable the FONTCACHE extension on the Xserver
side when X-TT is being build.
How did Xfree86 deal with the problem ?
First, please apply xtt2-1.2a patch:
(and update freetype2 library to 2.1.8).
If they are done, the X-TrueType and FONTCACHE extension can be removed
after May 1st 2004. The X-TrueType is now under the farewell announcement...
I'll also permit XFree86 people to remove them after May 1st 2004.
The XFree86's tree already has xtt2-1.2a.
Chisato Yamauchi wrote:
> If they are done, the X-TrueType and FONTCACHE extension can be removed
> after May 1st 2004. The X-TrueType is now under the farewell announcement...
OK, I filed bug 595 ("RFE: Retire XTT font module from xorg tree") for that...
... I'll mark this bug as FIXED then again.