Allow to build gecko with Pango No-X11 version

RESOLVED WORKSFORME

Status

()

Core
Graphics: Text
RESOLVED WORKSFORME
5 years ago
5 years ago

People

(Reporter: romaxa, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 649271 [details] [diff] [review]
Allow build gecko without pango-cairo

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.
(Reporter)

Comment 2

5 years ago
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)
(Reporter)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.