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