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