mozilla-firefox 1.0.5-0vd1, etc.
_ [debian] mozilla-firefox 1.0.5-0vd1
vd_bugzilla-jp_bug-1476_attachment-1656_for-mozfx-0.9.3.patch、vd_mozfx-0.10.1_without-gnome-and-gconf.patch、mozilla-1.8a5-gtk2-composition-fix.diff を当ててのビルド途中でエラー。
.../../../dist/include/gfx/nsIFreeType2.h:53: error: 'FTC_Image_Cache' has not been declared
.../../../dist/include/gfx/nsIFreeType2.h:92: error: 'FTC_Image_Cache' has not been declared
.../../../dist/include/gfx/nsIFreeType2.h:92: error: 'FTC_Image_Desc' has not been declared
.../../../dist/include/gfx/nsIFreeType2.h:104: error: 'FTC_Image_Cache' has not been declared
:
make[5]: *** [nsFreeType.o] エラー 1
調べてみると、FTC_Image_Cache が FTC_ImageCache に、FTC_Image_Desc が FTC_ImageType に代わったなどなど。 探してみると firefox-0.7.3-freetype-compile.patch なる NetBSD 由来のパッチを見つけたのでこれを当ててみると、ビルド成功。動作も問題ないようだ。 Mozilla 本家には Bug 234035 freetype2 2.1.8 compile error: FTC_Image_Cache_* APIs are not available any more として登録されている。
_ [comp] X.Org の Composite 拡張
nvidia + X.Org で Composite 拡張が有効だと GLX 拡張が使えない。
% glxgears
Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
調べてみると、xorg.conf の Device セクションに
Option "AllowGLXWithComposite" "true"
を追加してやればよいようだ。
Option “AllowGLXWithComposite” “boolean”
Enables GLX even when the Composite X extension is loaded. ENABLE AT YOUR OWN RISK. OpenGL applications will not display correctly in many circumstances with this setting enabled. Default: GLX is disabled when Composite is loaded.
でも危険な模様。 また、fglrx + X.Org で Composite 拡張が有効だと DRI を無効にされ、XVideo 拡張も使えない。
(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
% glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
% mplayer -vo xv XXXXXXXX.mpg
:
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Error opening/initializing the selected video_out (-vo) device.
今のところ fglrx では Composite 拡張を無効にするしかないようだ。