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