Yesterday, I upgraded my system to the newest openSUSE Factory, which now includes pango 1.23.0, and I get that compile error on both mozilla-central and 1.9.1:
c++ -o gfxPangoFonts.o -c -I../../../dist/include/system_wrappers -include /mnt/mozilla/hg/comm-central/mozilla/config/gcc_hidden.h -DIMPL_THEBES -DMOZILLA_INTERNAL_API -DMOZ_SUITE=1 -DSUITE_USING_XPFE_DM=1 -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I/mnt/mozilla/hg/comm-central/mozilla/gfx/thebes/src -I. -I../../../dist/include/cairo -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/lcms -I../../../dist/include/locale -I../../../dist/include -I../../../dist/include/thebes -I/mnt/mozilla/build/seamonkey/mozilla/dist/include/nspr -I/mnt/mozilla/build/seamonkey/mozilla/dist/sdk/include -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -march=pentium4 -mtune=nocona -msse2 -msse3 -mssse3 -mfpmath=sse -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -I/mnt/mozilla/build/seamonkey/mozilla/dist/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/gfxPangoFonts.pp /mnt/mozilla/hg/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp /mnt/mozilla/hg/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp: In function 'void gfx_pango_font_map_class_init(gfxPangoFontMapClass*)': /mnt/mozilla/hg/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp:1833: error: 'struct _PangoFcFontMapClass' has no member named 'context_substitute' /mnt/mozilla/hg/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp:1834: error: invalid conversion from 'PangoFcFont* (*)(PangoFcFontMap*, PangoContext*, const PangoFontDescription*, FcPattern*)' to 'PangoFcFont* (*)(PangoFcFontMap*, PangoFcFontKey*)' gmake[7]: *** [gfxPangoFonts.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... gmake[7]: Leaving directory `/mnt/mozilla/build/seamonkey/mozilla/gfx/thebes/src' gmake[6]: *** [libs] Error 2 gmake[6]: Leaving directory `/mnt/mozilla/build/seamonkey/mozilla/gfx/thebes' gmake[5]: *** [libs] Error 2 gmake[5]: Leaving directory `/mnt/mozilla/build/seamonkey/mozilla/gfx' gmake[4]: *** [libs_tier_gecko] Error 2 gmake[4]: Leaving directory `/mnt/mozilla/build/seamonkey/mozilla' gmake[3]: *** [tier_gecko] Error 2 gmake[3]: Leaving directory `/mnt/mozilla/build/seamonkey/mozilla' gmake[2]: *** [default] Error 2 gmake[2]: Leaving directory `/mnt/mozilla/build/seamonkey/mozilla' gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory `/mnt/mozilla/build/seamonkey' gmake: *** [build] Error 2
http://svn.gnome.org/viewvc/pango/tags/PANGO_1_23_0/pango/pangofc-fontmap.h?view=log tells me they removed context_substitute in revision 2804, ultimately (in rev. 2808) with fontset_key_substitute, the final 1.23.0 definition is in http://svn.gnome.org/viewvc/pango/tags/PANGO_1_23_0/pango/pangofc-fontmap.h?revision=2830&view=markup#l174
Yesterday, I upgraded my system to the newest openSUSE Factory, which now includes pango 1.23.0, and I get that compile error on both mozilla-central and 1.9.1:
c++ -o gfxPangoFonts.o -c -I../.. /../dist/ include/ system_ wrappers -include /mnt/mozilla/ hg/comm- central/ mozilla/ config/ gcc_hidden. h -DIMPL_THEBES -DMOZILLA_ INTERNAL_ API -DMOZ_SUITE=1 -DSUITE_ USING_XPFE_ DM=1 -DOSTYPE= \"Linux2. 6\" -DOSARCH=Linux -I/mnt/ mozilla/ hg/comm- central/ mozilla/ gfx/thebes/ src -I. -I../.. /../dist/ include/ cairo -I../.. /../dist/ include/ string -I../.. /../dist/ include/ pref -I../.. /../dist/ include/ xpcom -I../.. /../dist/ include/ unicharutil -I../.. /../dist/ include/ lcms -I../.. /../dist/ include/ locale -I../.. /../dist/ include -I../.. /../dist/ include/ thebes -I/mnt/ mozilla/ build/seamonkey /mozilla/ dist/include/ nspr -I/mnt/ mozilla/ build/seamonkey /mozilla/ dist/sdk/ include -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded- virtual -Wsynth -Wno-ctor- dtor-privacy -Wno-non- virtual- dtor -Wcast-align -Wno-invalid- offsetof -Wno-long-long -pedantic -march=pentium4 -mtune=nocona -msse2 -msse3 -mssse3 -mfpmath=sse -fno-strict- aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder- functions -I/mnt/ mozilla/ build/seamonkey /mozilla/ dist/include/ cairo -I/usr/ include/ gtk-2.0 -I/usr/ lib/gtk- 2.0/include -I/usr/ include/ atk-1.0 -I/usr/ include/ cairo -I/usr/ include/ pango-1. 0 -I/usr/ include/ glib-2. 0 -I/usr/ lib/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libpng12 -I/usr/ include/ gtk-unix- print-2. 0 -I/usr/ include/ pango-1. 0 -I/usr/ include/ glib-2. 0 -I/usr/ lib/glib- 2.0/include -I/usr/ include/ freetype2 -DMOZILLA_CLIENT -include ../../. ./mozilla- config. h -Wp,-MD, .deps/gfxPangoF onts.pp /mnt/mozilla/ hg/comm- central/ mozilla/ gfx/thebes/ src/gfxPangoFon ts.cpp hg/comm- central/ mozilla/ gfx/thebes/ src/gfxPangoFon ts.cpp: In function 'void gfx_pango_ font_map_ class_init( gfxPangoFontMap Class*) ': hg/comm- central/ mozilla/ gfx/thebes/ src/gfxPangoFon ts.cpp: 1833: error: 'struct _PangoFcFontMap Class' has no member named 'context_ substitute' hg/comm- central/ mozilla/ gfx/thebes/ src/gfxPangoFon ts.cpp: 1834: error: invalid conversion from 'PangoFcFont* (*)(PangoFcFont Map*, PangoContext*, const PangoFontDescri ption*, FcPattern*)' to 'PangoFcFont* (*)(PangoFcFont Map*, PangoFcFontKey*)' build/seamonkey /mozilla/ gfx/thebes/ src' build/seamonkey /mozilla/ gfx/thebes' build/seamonkey /mozilla/ gfx' build/seamonkey /mozilla' build/seamonkey /mozilla' build/seamonkey /mozilla' build/seamonkey '
/mnt/mozilla/
/mnt/mozilla/
/mnt/mozilla/
gmake[7]: *** [gfxPangoFonts.o] Error 1
gmake[7]: *** Waiting for unfinished jobs....
gmake[7]: Leaving directory `/mnt/mozilla/
gmake[6]: *** [libs] Error 2
gmake[6]: Leaving directory `/mnt/mozilla/
gmake[5]: *** [libs] Error 2
gmake[5]: Leaving directory `/mnt/mozilla/
gmake[4]: *** [libs_tier_gecko] Error 2
gmake[4]: Leaving directory `/mnt/mozilla/
gmake[3]: *** [tier_gecko] Error 2
gmake[3]: Leaving directory `/mnt/mozilla/
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/mnt/mozilla/
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/mnt/mozilla/
gmake: *** [build] Error 2
http:// svn.gnome. org/viewvc/ pango/tags/ PANGO_1_ 23_0/pango/ pangofc- fontmap. h?view= log tells me they removed context_substitute in revision 2804, ultimately (in rev. 2808) with fontset_ key_substitute, the final 1.23.0 definition is in http:// svn.gnome. org/viewvc/ pango/tags/ PANGO_1_ 23_0/pango/ pangofc- fontmap. h?revision= 2830&view= markup# l174