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