tce-load -i compiletc meson glib2-dev Xorg-7.7-3d-dev wget https://www.cairographics.org/releases/cairo-1.18.0.tar.xz cd cairo-1.18.0 mkdir build cd build CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --buildtype=plain -Dxlib-xcb=enabled ninja [1m 1.37s] sudo ninja install cairo 1.18.0 Surface Backends Image : YES Recording : YES Observer : YES Mime : YES Tee : YES Xlib : YES Xlib Xrender : YES Quartz : NO Quartz-image : NO XCB : YES Win32 : NO CairoScript : YES PostScript : YES PDF : YES SVG : YES Font Backends User : YES FreeType : YES Fontconfig : YES Win32 : NO Win32 DWrite : NO Quartz : NO Functions PNG functions : YES X11-xcb : YES XCB-shm : YES Features and Utilities cairo-trace: : YES cairo-script-interpreter: YES API reference : NO User defined options buildtype : plain prefix : /usr/local xlib-xcb : enabled