source: gnome/platform/libpeas.xml@ fcc4d96d

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since fcc4d96d was b035527, checked in by Xi Ruoyao <xry111@…>, 2 years ago

libpeas: add --wrap-mode=nofallback

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