The libcairomm-1.0 package provides a C++ interface to Cairo.
This package is known to build and work properly using an LFS 12.1 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.18.0 and libsigc++-2.12.1
Boost-1.84.0 (for tests)
Install Cairomm-1.0 by running the following commands:
mkdir bld && cd bld && meson setup .. \ --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.84.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.