source: x/lib/cairomm.xml@ 8abf60e

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 8abf60e was 8abf60e, checked in by Pierre Labastie <pieere@…>, 13 months ago

Various fixes to the cairomm page:

  • tarball extension is now .xz
  • if using -Dbuild-tests=true, Boost is recommended
  • if using -Dbuild-tests=true, -Dboost-shared=true is needed because we do not build the boost static libraries
  • -Dbuild-doc.. is an option

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23771 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.1 KB
Line 
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-download-http "https://www.cairographics.org/releases/cairomm-&cairomm-version;.tar.xz">
8 <!ENTITY cairomm-download-ftp " ">
9 <!ENTITY cairomm-md5sum "75a08d50eb08b97667e4ea2be6efa1ad">
10 <!ENTITY cairomm-size "592 KB">
11 <!ENTITY cairomm-buildsize "27 MB (with tests)">
12 <!ENTITY cairomm-time "less than 0.1 SBU (with tests)">
13]>
14
15<sect1 id="cairomm" xreflabel="Cairomm-&cairomm-version;">
16 <?dbhtml filename="cairomm.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Cairomm-&cairomm-version;</title>
24
25 <indexterm zone="cairomm">
26 <primary sortas="a-Cairomm">Cairomm</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Cairomm</title>
31
32 <para>
33 The <application>Cairomm</application> package provides a C++
34 interface to <application>Cairo</application>.
35 </para>
36
37 &lfs10_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&cairomm-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&cairomm-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &cairomm-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &cairomm-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &cairomm-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &cairomm-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Cairomm Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="cairo"/> and
78 <xref linkend="libsigc"/>
79 </para>
80
81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para role="recommended">
83 <xref linkend="boost"/> (for tests)
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="doxygen"/>
89 </para>
90
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/cairomm"/>
93 </para>
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of Cairomm</title>
98
99 <para>
100 Install <application>Cairomm</application> by running the following
101 commands:
102 </para>
103
104<screen><userinput>mkdir bld &amp;&amp;
105cd bld &amp;&amp;
106
107meson --prefix=/usr \
108 -Dbuild-tests=true \
109 -Dboost-shared=true \
110 .. &amp;&amp;
111ninja</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}
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 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>
Note: See TracBrowser for help on using the repository browser.