Closed
Bug 328292
Opened 18 years ago
Closed 18 years ago
doesn't build without pango
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: wbrana, Assigned: vlad)
References
Details
Attachments
(1 file)
87.85 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060222 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060222 Firefox/1.6a1 Fx trunk cairo-gtk2 doesn't build without pango .mozconfig: ac_add_options --enable-xft ac_add_options --enable-shared ac_add_options --enable-canvas ac_add_options --enable-application=browser ac_add_options --enable-crypto ac_add_options --enable-single-profile ac_add_options --enable-strip ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --enable-glitz ac_add_options --enable-optimize="-s -pipe" ac_add_options --enable-elf-dynstr-gc ac_add_options --enable-reorder ac_add_options --disable-static ac_add_options --disable-pango ac_add_options --disable-js-static-build ac_add_options --disable-ldap ac_add_options --disable-mailnews ac_add_options --disable-profilesharing ac_add_options --disable-debug ac_add_options --disable-installer ac_add_options --disable-gtktest ac_add_options --disable-glibtest ac_add_options --disable-tests ac_add_options --disable-updater ac_add_options --disable-composer ac_add_options --disable-mathml ac_add_options --disable-gnomevfs ac_add_options --disable-gnomeui ac_add_options --disable-xprint ac_add_options --disable-freetype2 ac_add_options --disable-system-cairo ac_add_options --disable-accessibility ac_add_options --disable-svg Reproducible: Always Actual Results: c++ -o gfxPangoFonts.o -c -I../../../dist/include/system_wrappers -include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I../../../dist/include/cairo -I../../../dist/include/libpixman -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/glitz -I../../../dist/include/glitzglx -I../../../dist/include -I../../../dist/include/thebes -I../../../dist/include/nspr -I../../../dist/sdk/include -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -s -pipe -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -s -pipe -I../../../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../../../dist/include/cairo -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/gfxPangoFonts.pp gfxPangoFonts.cpp In file included from gfxPangoFonts.cpp:64: ../../../dist/include/system_wrappers/freetype/tttables.h:3:36: error: freetype/tttables.h: No such file or directory In file included from ../../../dist/include/system_wrappers/ft2build.h:3, from /usr/include/pango-1.0/pango/pangofc-font.h:25, from ../../../dist/include/system_wrappers/pango/pangofc-font.h:3, from /usr/include/pango-1.0/pango/pango-ot.h:25, from /usr/include/pango-1.0/pango/pangoxft.h:27, from ../../../dist/include/system_wrappers/pango/pangoxft.h:3, from gfxPangoFonts.cpp:68: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory In file included from ../../../dist/include/system_wrappers/pango/pangofc-font.h:3, from /usr/include/pango-1.0/pango/pango-ot.h:25, from /usr/include/pango-1.0/pango/pangoxft.h:27, from ../../../dist/include/system_wrappers/pango/pangoxft.h:3, from gfxPangoFonts.cpp:68: /usr/include/pango-1.0/pango/pangofc-font.h:26:10: error: #include expects "FILENAME" or <FILENAME> In file included from ../../../dist/include/system_wrappers/X11/Xft/Xft.h:3, from /usr/include/pango-1.0/pango/pangoxft-render.h:32, from /usr/include/pango-1.0/pango/pangoxft.h:30, from ../../../dist/include/system_wrappers/pango/pangoxft.h:3, from gfxPangoFonts.cpp:68: /usr/include/X11/Xft/Xft.h:42:10: error: #include expects "FILENAME" or <FILENAME> In file included from gfxPangoFonts.cpp:70: ../../../dist/include/cairo/cairo-ft.h:48:10: error: #include expects "FILENAME" or <FILENAME> /usr/include/pango-1.0/pango/pangofc-font.h:111: error: expected identifier before ‘*’ token /usr/include/pango-1.0/pango/pangofc-font.h:111: error: ‘FT_Face’ declared as function returning a function /usr/include/pango-1.0/pango/pangofc-font.h:144: error: ‘FT_Face’ does not name a type /usr/include/pango-1.0/pango/pango-ot.h:57: error: ‘FT_Face’ was not declared in this scope /usr/include/X11/Xft/Xft.h:62: error: ‘FT_Library’ does not name a type /usr/include/X11/Xft/Xft.h:96: error: ‘FT_UInt’ does not name a type /usr/include/X11/Xft/Xft.h:103: error: ‘FT_UInt’ does not name a type /usr/include/X11/Xft/Xft.h:200: error: expected ‘,’ or ‘...’ before ‘*’ token /usr/include/X11/Xft/Xft.h:305: error: expected ‘,’ or ‘...’ before ‘*’ token /usr/include/X11/Xft/Xft.h:363: error: ‘FT_Face’ does not name a type /usr/include/X11/Xft/Xft.h:403: error: expected ‘,’ or ‘...’ before ‘*’ token /usr/include/X11/Xft/Xft.h:409: error: expected ‘,’ or ‘...’ before ‘*’ token /usr/include/X11/Xft/Xft.h:418: error: ‘FT_UInt’ has not been declared /usr/include/X11/Xft/Xft.h:419: error: ‘FT_UInt’ has not been declared /usr/include/X11/Xft/Xft.h:427: error: ‘FT_UInt’ does not name a type /usr/include/X11/Xft/Xft.h:471: error: expected ‘,’ or ‘...’ before ‘*’ token /usr/include/pango-1.0/pango/pangoxft.h:81: error: ‘FT_Face’ does not name a type ../../../dist/include/cairo/cairo-ft.h:60: warning: ‘cairo_ft_font_face_create_for_ft_face’ initialized and declared ‘extern’ ../../../dist/include/cairo/cairo-ft.h:60: error: ‘FT_Face’ was not declared in this scope ../../../dist/include/cairo/cairo-ft.h:61: error: expected primary-expression before ‘int’ ../../../dist/include/cairo/cairo-ft.h:61: error: initializer expression list treated as compound expression ../../../dist/include/cairo/cairo-ft.h:63: error: ‘FT_Face’ does not name a type gfxPangoFonts.cpp: In member function ‘virtual const gfxFont::Metrics& gfxPangoFont::GetMetrics()’: gfxPangoFonts.cpp:405: error: ‘FT_Face’ was not declared in this scope gfxPangoFonts.cpp:405: error: expected `;' before ‘face’ gfxPangoFonts.cpp:406: error: ‘TT_OS2’ was not declared in this scope gfxPangoFonts.cpp:406: error: ‘os2’ was not declared in this scope gfxPangoFonts.cpp:411: error: ‘face’ was not declared in this scope gfxPangoFonts.cpp:411: error: ‘XftLockFace’ was not declared in this scope gfxPangoFonts.cpp:412: error: expected primary-expression before ‘)’ token gfxPangoFonts.cpp:412: error: expected `;' before ‘FT_Get_Sfnt_Table’ gfxPangoFonts.cpp:446: error: ‘FT_MulFix’ was not declared in this scope
Comment 1•18 years ago
|
||
Confirmed with the latest CVS revision on trunk. It does, however, compile fine if you add --enable-pango.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•18 years ago
|
||
Require pango if a gtk2 cairo build is being done.
Assignee | ||
Comment 3•18 years ago
|
||
*** Bug 324095 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
Attachment #214496 -
Flags: review?(pavlov) → review+
Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•