Closed Bug 780620 Opened 12 years ago Closed 12 years ago

Allow to build gecko with Pango No-X11 version

Categories

(Core :: Graphics: Text, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: romaxa, Unassigned)

Details

Attachments

(1 file)

I'm building gecko on environment without X11, and pango with X does bring a lot of unrelated dependencies. 
and when I compile pango without X it disable also pango-cairo feature
In order to build gecko with such pango version I need to disable pango_cairo_font_map_get_default call and add related define in config.h

Not sure what side effect I would get with disabled gPangoFontMap = pango_cairo_font_map_get_default..
But most of fonts functionality seems to work fine.
Attachment #649271 - Flags: review?(karlt)
When I configure Pango --without-x, I get
configuration:
        backends: Cairo FreeType

If you want to be able to build Pango and Gecko without cairo, then it is reasonable to have a configure check.

If you just want to avoid X11, then it should be possible to build Pango with cairo, if cairo is installed.
Comment on attachment 649271 [details] [diff] [review]
Allow build gecko without pango-cairo

Ok, I double checked and recompiled pango... and got everything working after all. so no need for the patch, pango non-X11 has pango cairo stub which just works great., only thing is that cairo must be recompiled witout X11 too.
Attachment #649271 - Flags: review?(karlt)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: