[5064953] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8abf60e] | 7 | <!ENTITY cairomm-download-http "https://www.cairographics.org/releases/cairomm-&cairomm-version;.tar.xz">
|
---|
[5064953] | 8 | <!ENTITY cairomm-download-ftp " ">
|
---|
[39ae4e34] | 9 | <!ENTITY cairomm-md5sum "7b5c3d7ca5578f0de7d05aef756f97f1">
|
---|
| 10 | <!ENTITY cairomm-size "568 KB">
|
---|
| 11 | <!ENTITY cairomm-buildsize "29 MB (with tests)">
|
---|
| 12 | <!ENTITY cairomm-time "0.2 SBU (with tests)">
|
---|
[5064953] | 13 | ]>
|
---|
| 14 |
|
---|
[a2912ff] | 15 | <sect1 id="cairomm" xreflabel="Cairomm-&cairomm-version;">
|
---|
[5064953] | 16 | <?dbhtml filename="cairomm.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[a2912ff] | 19 | <title>Cairomm-&cairomm-version;</title>
|
---|
[5064953] | 20 |
|
---|
| 21 | <indexterm zone="cairomm">
|
---|
[a2912ff] | 22 | <primary sortas="a-Cairomm">Cairomm</primary>
|
---|
[5064953] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[a2912ff] | 26 | <title>Introduction to Cairomm</title>
|
---|
[5064953] | 27 |
|
---|
[a2912ff] | 28 | <para>
|
---|
| 29 | The <application>Cairomm</application> package provides a C++
|
---|
| 30 | interface to <application>Cairo</application>.
|
---|
| 31 | </para>
|
---|
[5064953] | 32 |
|
---|
[7ebcf19] | 33 | &lfs10_checked;
|
---|
[a680ea90] | 34 |
|
---|
[5064953] | 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[a2912ff] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&cairomm-download-http;"/>
|
---|
| 40 | </para>
|
---|
[5064953] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[a2912ff] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&cairomm-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[5064953] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[a2912ff] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &cairomm-md5sum;
|
---|
| 50 | </para>
|
---|
[5064953] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[a2912ff] | 53 | <para>
|
---|
| 54 | Download size: &cairomm-size;
|
---|
| 55 | </para>
|
---|
[5064953] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[a2912ff] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &cairomm-buildsize;
|
---|
| 60 | </para>
|
---|
[5064953] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[a2912ff] | 63 | <para>
|
---|
| 64 | Estimated build time: &cairomm-time;
|
---|
| 65 | </para>
|
---|
[5064953] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[a2912ff] | 69 | <bridgehead renderas="sect3">Cairomm Dependencies</bridgehead>
|
---|
[5064953] | 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 72 | <para role="required">
|
---|
| 73 | <xref linkend="cairo"/> and
|
---|
[f9a888a] | 74 | <xref linkend="libsigc3"/>
|
---|
[b8a081c] | 75 | </para>
|
---|
[5064953] | 76 |
|
---|
[8abf60e] | 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
| 79 | <xref linkend="boost"/> (for tests)
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
[5064953] | 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 83 | <para role="optional">
|
---|
| 84 | <xref linkend="doxygen"/>
|
---|
| 85 | </para>
|
---|
[5064953] | 86 |
|
---|
| 87 | <para condition="html" role="usernotes">User Notes:
|
---|
[a2912ff] | 88 | <ulink url="&blfs-wiki;/cairomm"/>
|
---|
| 89 | </para>
|
---|
[5064953] | 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
[a2912ff] | 93 | <title>Installation of Cairomm</title>
|
---|
[5064953] | 94 |
|
---|
[a2912ff] | 95 | <para>
|
---|
| 96 | Install <application>Cairomm</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
[5064953] | 99 |
|
---|
[a934691] | 100 | <screen><userinput>mkdir bld &&
|
---|
| 101 | cd bld &&
|
---|
| 102 |
|
---|
[8abf60e] | 103 | meson --prefix=/usr \
|
---|
| 104 | -Dbuild-tests=true \
|
---|
| 105 | -Dboost-shared=true \
|
---|
| 106 | .. &&
|
---|
[a934691] | 107 | ninja</userinput></screen>
|
---|
[5064953] | 108 |
|
---|
[a2912ff] | 109 | <para>
|
---|
[a934691] | 110 | To run the test suite, run: <command>ninja test</command>.
|
---|
[a2912ff] | 111 | </para>
|
---|
[5064953] | 112 |
|
---|
[a2912ff] | 113 | <para>
|
---|
| 114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 115 | </para>
|
---|
[5064953] | 116 |
|
---|
[a934691] | 117 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
[8abf60e] | 124 | <para>
|
---|
| 125 | <parameter>-Dbuild-tests=true</parameter>: This switch is for building
|
---|
| 126 | the unit tests. Remove if you have not installed <xref linkend="boost"/>.
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[a934691] | 129 | <para>
|
---|
| 130 | <parameter>-Dboost-shared=true</parameter>: This switch has the package
|
---|
[8abf60e] | 131 | use the shared version of boost libraries. It is required if you have
|
---|
| 132 | not installed the boost static libraries, and you have passed
|
---|
| 133 | <parameter>-Dbuild-tests=true</parameter>.
|
---|
[a934691] | 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
[8abf60e] | 137 | <option>-Dbuild-documentation=true</option>: This switch builds the
|
---|
[a934691] | 138 | html documentation if doxygen is installed.
|
---|
| 139 | </para>
|
---|
[5064953] | 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
[910d888] | 147 | <segtitle>Installed Programs</segtitle>
|
---|
[5064953] | 148 | <segtitle>Installed Library</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
[b8a081c] | 152 | <seg>
|
---|
[13507eb] | 153 | None
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
[aaebb95c] | 156 | libcairomm-1.16.so
|
---|
[b8a081c] | 157 | </seg>
|
---|
| 158 | <seg>
|
---|
[aaebb95c] | 159 | /usr/{lib,include}/cairomm-1.16 and
|
---|
| 160 | /usr/share/{devhelp/books,doc}/cairomm-1.16 (optional)
|
---|
[b8a081c] | 161 | </seg>
|
---|
[5064953] | 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
[aaebb95c] | 170 | <varlistentry id="libcairomm-1.16">
|
---|
| 171 | <term><filename class="libraryfile">libcairomm-1.16.so</filename></term>
|
---|
[5064953] | 172 | <listitem>
|
---|
[a2912ff] | 173 | <para>
|
---|
[4c24eb0a] | 174 | contains the <application>Cairo</application> API classes
|
---|
[a2912ff] | 175 | </para>
|
---|
[aaebb95c] | 176 | <indexterm zone="cairomm libcairomm-1.16">
|
---|
| 177 | <primary sortas="c-libcairomm-1.16">libcairomm-1.16.so</primary>
|
---|
[5064953] | 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | </variablelist>
|
---|
| 183 |
|
---|
| 184 | </sect2>
|
---|
| 185 |
|
---|
| 186 | </sect1>
|
---|