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