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