cairo reqs

Tomasz Pala gotar at
Sun May 31 13:02:54 CEST 2015

rrdtool-1.4.8-7.i686 marks cairo-1.14.2-2.i686 (cap cairo >= 1.10.2)
 cairo-1.8.6-1.i686 obsoleted by cairo-1.14.2-2.i686
 cairo-1.14.2-2.i686 marks Mesa-libEGL-10.5.4-1.i686 (cap
  Mesa-libEGL-10.5.4-1.i686 marks Mesa-libgbm-10.5.4-1.i686 (cap Mesa-libgbm = 10.5.4-1)
   Mesa-libgbm-10.5.4-1.i686 marks Mesa-libglapi-10.5.4-1.i686 (cap Mesa-libglapi = 10.5.4-1)
   Mesa-libgbm-10.5.4-1.i686 marks libdrm-2.4.61-1.i686 (cap
    libdrm-2.4.61-1.i686 marks xorg-lib-libpciaccess-0.13.4-1.i686 (cap
     xorg-lib-libpciaccess-0.13.4-1.i686 marks hwdata-0.275-1.noarch (cap hwdata >= 0.243-2)
      hwdata-0.275-1.noarch marks pciutils-3.3.1-2.i686 (cap pciutils >= 3.1.10-6)
       pciutils-3.1.2-1.i686 obsoleted by pciutils-3.3.1-2.i686
       pciutils-3.3.1-2.i686 marks kmod-libs-20-2.i686 (cap
       pciutils-3.3.1-2.i686 marks pciutils-libs-3.3.1-2.i686 (cap
   Mesa-libgbm-10.5.4-1.i686 marks wayland-1.7.0-1.i686 (cap
Mesa-libEGL-10.5.4-1.i686: required "OpenGL >= 1.2" is provided by following packages:
a) Mesa-libGL-10.5.4-1.i686
b) xorg-driver-video-fglrx-libs-14.12-5.i686
c) xorg-driver-video-nvidia-legacy-304xx-libs-304.125-3.i686
d) xorg-driver-video-nvidia-legacy-340xx-libs-340.76-2.i686
e) xorg-driver-video-nvidia-libs-346.35-4.i686
f) xorg-driver-video-vboxvideo-4.3.28-2.i686
g) xorg-driver-video-vboxvideo-4.3.26-3.i686
Which one do you want to install ('Q' to abort)? [a]
  Mesa-libEGL-10.5.4-1.i686 marks Mesa-libGL-10.5.4-1.i686 (cap OpenGL >= 1.2)
   Mesa-libGL-10.5.4-1.i686 marks xorg-lib-libXdamage-1.1.4-2.i686 (cap
   Mesa-libGL-10.5.4-1.i686 marks xorg-lib-libXfixes-5.0.1-2.i686 (cap
   Mesa-libGL-10.5.4-1.i686 marks xorg-lib-libXxf86vm-1.1.4-1.i686 (cap
    xorg-lib-libXxf86vm-1.1.4-1.i686 marks xorg-lib-libX11-1.6.3-1.i686 (cap xorg-lib-libX11 >= 1.6)
     xorg-lib-libX11-1.2.1-1.i686 obsoleted by xorg-lib-libX11-1.6.3-1.i686
   Mesa-libGL-10.5.4-1.i686 marks xorg-lib-libxshmfence-1.2-2.i686 (cap

is that all really necessary? Mesa-whatever, libdrm, xorg-whatever
(pciaccess), hwdata, pciutils, kmod, wayland just to have rrdtool seems
to be some massive overkill for drawing some stats...

cairo library is 1.2 MB itself, I've found one discussion regarding this
issue: but
apparently they haven't done any split into cairo-backend libraries.

According to INSTALL file: default=no: These are the "experimental" features

$ grep -B1 default=no configure | grep Enable

                          Enable cairo's Xlib/XCB functions feature
                          Enable cairo's Qt surface backend feature
                          Enable cairo's Quartz Image surface backend feature
                          Enable cairo's Skia surface backend feature
                          Enable cairo's OS/2 surface backend feature
                          Enable cairo's BeOS/Zeta surface backend feature
                          Enable cairo's DRM surface backend feature
                          Enable cairo's Gallium3D surface backend feature
                          Enable cairo's OpenGL surface backend feature
                          Enable cairo's OpenGLESv2 surface backend feature
                          Enable cairo's Cogl surface backend feature
                          Enable cairo's directfb surface backend feature
                          Enable cairo's OpenVG surface backend feature
                          Enable cairo's test surfaces feature [default=no]
                          Enable cairo's tee surface backend feature
                          Enable cairo's xml surface backend feature

Why did we enable this GL backend? We should ship at least a version
without gl, tee and xml as they are mostly useless in real life:
(oops, tee seems to be required by firefox). While xml doesn't pull much
overhead, it is all about this gl... As the upstream didn't manage to
split this for 4 years now:

couldn't we just disable this *experimental* backend?

Tomasz Pala <gotar at>

More information about the pld-devel-en mailing list