The libcairomm-1.0 package provides a C++ interface to Cairo.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://www.cairographics.org/releases/cairomm-1.14.0.tar.xz
Download MD5 sum: 75a08d50eb08b97667e4ea2be6efa1ad
Download size: 592 KB
Estimated disk space required: 9.5 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
Cairo-1.17.6 and libsigc++-2.10.8
Boost-1.80.0 (for tests)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/cairomm-1.0
Install Cairomm-1.0 by running the following commands:
mkdir bld && cd bld && meson --prefix=/usr \ --buildtype=release \ -Dbuild-tests=true \ -Dboost-shared=true \ .. && ninja
To run the test suite, run: ninja test.
Now, as the root
user:
ninja install
-Dbuild-tests=true
: This
switch is for building the unit tests. Remove if you have not
installed Boost-1.80.0.
-Dboost-shared=true
: This
switch has the package use the shared version of boost libraries.
It is required if you have not installed the boost static
libraries, and you have passed -Dbuild-tests=true
.
-Dbuild-documentation=true
: This switch
builds the html documentation if doxygen is installed.