(In reply to comment #53) > Reading > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/firefox/ > firefox-19.0.2.ebuild?view=markup it seems that the use of system-cairo has > been dropped. Which is a shame.
Well, you've seen the patches applied on top of firefox and support for system cairo is there. Out of curiosity I've run some initial steps of firefox build and here's a bit filtered result:
grep cairo /var/tmp/portage/www-client/firefox-19.0.2/temp/build.log * 6009_fix_system_cairo_support.patch ... --enable-system-cairo system_libs --enable-default-toolkit=cairo-gtk2 mozilla.org default --enable-system-cairo --enable-default-toolkit=cairo-gtk2 checking for cairo >= 1.10... yes checking CAIRO_CFLAGS... -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng15 checking CAIRO_LIBS... -lcairo checking for cairo-tee >= 1.10... yes checking CAIRO_TEE_CFLAGS... -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng15 checking CAIRO_TEE_LIBS... -lcairo checking for cairo-xlib-xrender >= 1.10... yes checking CAIRO_XRENDER_CFLAGS... -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng15 checking CAIRO_XRENDER_LIBS... -lcairo -lXrender -lX11
and this is output from already built firefox I am running now:
ldd /usr/lib/firefox/libxul.so | grep cairo libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f205d497000) libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f2059cc2000)
So, system-wide cairo enabled at build time and it is really there as shown by ldd.
(In reply to comment #53) sources. gentoo. org/cgi- bin/viewvc. cgi/gentoo- x86/www- client/ firefox/ 19.0.2. ebuild? view=markup it seems that the use of system-cairo has
> Reading
> http://
> firefox-
> been dropped. Which is a shame.
Well, you've seen the patches applied on top of firefox and support for system cairo is there. Out of curiosity I've run some initial steps of firefox build and here's a bit filtered result:
grep cairo /var/tmp/ portage/ www-client/ firefox- 19.0.2/ temp/build. log system_ cairo_support. patch ... system- cairo system_libs default- toolkit= cairo-gtk2 mozilla.org default system- cairo default- toolkit= cairo-gtk2 include/ cairo -I/usr/ include/ glib-2. 0 -I/usr/ lib64/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libdrm -I/usr/ include/ libpng15 include/ cairo -I/usr/ include/ glib-2. 0 -I/usr/ lib64/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libdrm -I/usr/ include/ libpng15 CFLAGS. .. -I/usr/ include/ cairo -I/usr/ include/ glib-2. 0 -I/usr/ lib64/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libdrm -I/usr/ include/ libpng15 LIBS... -lcairo -lXrender -lX11
* 6009_fix_
--enable-
--enable-
--enable-
--enable-
checking for cairo >= 1.10... yes
checking CAIRO_CFLAGS... -I/usr/
checking CAIRO_LIBS... -lcairo
checking for cairo-tee >= 1.10... yes
checking CAIRO_TEE_CFLAGS... -I/usr/
checking CAIRO_TEE_LIBS... -lcairo
checking for cairo-xlib-xrender >= 1.10... yes
checking CAIRO_XRENDER_
checking CAIRO_XRENDER_
and this is output from already built firefox I am running now:
ldd /usr/lib/ firefox/ libxul. so | grep cairo
libcairo. so.2 => /usr/lib64/ libcairo. so.2 (0x00007f205d49 7000)
libpangocairo- 1.0.so. 0 => /usr/lib64/ libpangocairo- 1.0.so. 0 (0x00007f2059cc 2000)
So, system-wide cairo enabled at build time and it is really there as shown by ldd.