source: gnome/platform/libpeas.xml@ b56f4046

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 b56f4046 was b56f4046, checked in by Douglas R. Reno <renodr@…>, 13 months ago

Adapt the tests in libpeas to meson-0.55

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

  • Property mode set to 100644
File size: 6.4 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 libpeas-download-http "&gnome-download-http;/libpeas/1.26/libpeas-&libpeas-version;.tar.xz">
8 <!ENTITY libpeas-download-ftp "&gnome-download-ftp;/libpeas/1.26/libpeas-&libpeas-version;.tar.xz">
9 <!ENTITY libpeas-md5sum "f7723bf8433b7984121157e1e9a629b5">
10 <!ENTITY libpeas-size "188 KB">
11 <!ENTITY libpeas-buildsize "12 MB (with tests)">
12 <!ENTITY libpeas-time "0.2 SBU (with tests)">
13]>
14
15<sect1 id="libpeas" xreflabel="libpeas-&libpeas-version;">
16 <?dbhtml filename="libpeas.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libpeas-&libpeas-version;</title>
24
25 <indexterm zone="libpeas">
26 <primary sortas="a-libpeas">libpeas</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libpeas</title>
31
32 <para>
33 <application>libpeas</application> is a GObject based plugins
34 engine, and is targeted at giving every application the chance
35 to assume its own extensibility.
36 </para>
37
38 &lfs10_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&libpeas-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&libpeas-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &libpeas-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &libpeas-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &libpeas-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &libpeas-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">libpeas Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="gobject-introspection"/> and
79 <xref linkend="gtk3"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="libxml2"/> and
85 <xref linkend="pygobject3"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="gtk-doc"/>,
91 <ulink url="http://glade.gnome.org/">Glade</ulink>,
92 <ulink url="https://pypi.org/project/embed">embed</ulink>,
93 <ulink url="https://github.com/pavouk/lgi">LGI</ulink> (for LUA bindings,
94 built with LUA-5.1), with either
95 <ulink url="http://luajit.org/">luajit</ulink> or
96 <ulink url="http://www.lua.org/ftp/lua-5.1.5.tar.gz">LUA-5.1</ulink>
97 </para>
98
99 <para condition="html" role="usernotes">User Notes:
100 <ulink url="&blfs-wiki;/libpeas"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of libpeas</title>
106
107 <para>
108 First, adapt the tests to changes in meson-0.55:
109 </para>
110
111<screen><userinput remap="pre">sed -i 's/test_exe,/test_exe, depends: [libintrospection_gir],/' tests/libpeas/meson.build</userinput></screen>
112
113 <para>
114 Install <application>libpeas</application> by running the following
115 commands:
116 </para>
117
118<screen><userinput>mkdir build &amp;&amp;
119cd build &amp;&amp;
120
121meson --prefix=/usr .. &amp;&amp;
122ninja</userinput></screen>
123
124 <para>
125 To test the results, issue: <command>ninja test</command>.
126 An active graphical session with bus address is necessary to
127 run the tests.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>ninja install</userinput></screen>
135
136 </sect2>
137
138 <sect2 role="commands">
139 <title>Command Explanations</title>
140
141 <para>
142 <option>-Dvapi=true</option>: Add this switch if you wish to
143 generate vapi (vala) data.
144 </para>
145
146 <para>
147 <option>-Ddemos=false</option>: Add this switch if you do not wish to
148 build the demo programs.
149 </para>
150
151 <para>
152 <option>-Dgtk-doc=true</option>: Add this switch if wish to
153 build the reference manual.
154 </para>
155
156 </sect2>
157
158 <sect2 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Program</segtitle>
163 <segtitle>Installed Libraries</segtitle>
164 <segtitle>Installed Directories</segtitle>
165
166 <seglistitem>
167 <seg>
168 peas-demo
169 </seg>
170 <seg>
171 libpeas-1.0.so and libpeas-gtk-1.0.so
172 </seg>
173 <seg>
174 /usr/include/libpeas-1.0,
175 /usr/lib/libpeas-1.0,
176 /usr/lib/peas-demo and
177 /usr/share/gtk-doc/html/libpeas
178 </seg>
179 </seglistitem>
180 </segmentedlist>
181
182 <variablelist>
183 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
184 <?dbfo list-presentation="list"?>
185 <?dbhtml list-presentation="table"?>
186
187 <varlistentry id="peas-demo">
188 <term><command>peas-demo</command></term>
189 <listitem>
190 <para>
191 is the Peas demo program.
192 </para>
193 <indexterm zone="libpeas peas-demo">
194 <primary sortas="b-peas-demo">peas-demo</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="libpeas-1">
200 <term><filename class="libraryfile">libpeas-1.0.so</filename></term>
201 <listitem>
202 <para>
203 contains the <application>libpeas</application> API functions.
204 </para>
205 <indexterm zone="libpeas libpeas-1">
206 <primary sortas="c-libpeas-1">libpeas-1.0.so</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libpeas-gtk-1">
212 <term><filename class="libraryfile">libpeas-gtk-1.0.so</filename></term>
213 <listitem>
214 <para>
215 contains the <application>libpeas</application>
216 <application>GTK+</application> widgets.
217 </para>
218 <indexterm zone="libpeas libpeas-gtk-1">
219 <primary sortas="c-libpeas-gtk-1">libpeas-gtk-1.0.so</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225
226 </sect2>
227
228</sect1>
Note: See TracBrowser for help on using the repository browser.