[adb843d] | 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 libhandy-download-http "https://source.puri.sm/Librem5/libhandy/-/archive/v&libhandy-version;/libhandy-v&libhandy-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libhandy-download-ftp " ">
|
---|
[2e6472e6] | 9 | <!ENTITY libhandy-md5sum "932ba6e80908c7579fa0392d6e0d0ceb">
|
---|
| 10 | <!ENTITY libhandy-size "388 KB">
|
---|
| 11 | <!ENTITY libhandy-buildsize "16 MB (with tests)">
|
---|
[adb843d] | 12 | <!ENTITY libhandy-time "0.2 SBU (with tests)">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libhandy" xreflabel="libhandy-&libhandy-version;">
|
---|
| 16 | <?dbhtml filename="libhandy.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Libhandy-&libhandy-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="libhandy">
|
---|
| 25 | <primary sortas="a-libhandy">libhandy</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to libhandy</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>libhandy</application> package provides additional
|
---|
| 33 | GTK UI widgets for use in developing user interfaces.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[170e308] | 36 | &lfs10_checked;
|
---|
[adb843d] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&libhandy-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&libhandy-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &libhandy-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &libhandy-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &libhandy-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &libhandy-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">libhandy Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="gtk3"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
| 81 | <xref linkend="vala"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
| 86 | <xref linkend="gtk-doc"/> and
|
---|
| 87 | <ulink url="https://glade.gnome.org/">Glade</ulink>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <para condition="html" role="usernotes">
|
---|
| 91 | User Notes: <ulink url="&blfs-wiki;/libhandy"/>
|
---|
| 92 | </para>
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of libhandy</title>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | Install <application>libhandy</application> by running the following
|
---|
| 100 | commands:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <screen><userinput>mkdir build &&
|
---|
| 104 | cd build &&
|
---|
| 105 |
|
---|
| 106 | meson --prefix=/usr .. &&
|
---|
| 107 | ninja</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | To test the results, issue: <command>ninja test</command>.
|
---|
[2e6472e6] | 111 | The tests must be run from a graphical session.
|
---|
[adb843d] | 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | <option>-Dgtk_doc=true</option>: Use this option if you have
|
---|
| 126 | <xref linkend="gtk-doc"/> installed and wish to install the documentation.
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Programs</segtitle>
|
---|
| 136 | <segtitle>Installed Libraries</segtitle>
|
---|
| 137 | <segtitle>Installed Directories</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
| 140 | <seg>
|
---|
| 141 | handy-demo-0.0
|
---|
| 142 | </seg>
|
---|
| 143 | <seg>
|
---|
| 144 | libhandy-0.0.so
|
---|
| 145 | </seg>
|
---|
| 146 | <seg>
|
---|
| 147 | /usr/include/libhandy-0.0
|
---|
| 148 | </seg>
|
---|
| 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="handy-demo-0.0">
|
---|
| 158 | <term><command>handy-demo-0.0</command></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>
|
---|
| 161 | provides an example of how to use the
|
---|
| 162 | <application>libhandy</application> library.
|
---|
| 163 | </para>
|
---|
| 164 | <indexterm zone="libhandy handy-demo-0.0">
|
---|
| 165 | <primary sortas="b-handy-demo-0.0">handy-demo-0.0</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="libhandy-0.0">
|
---|
| 171 | <term><filename class="libraryfile">libhandy-0.0.so</filename></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | provides additional GTK widgets for use in creating user interfaces.
|
---|
| 175 | </para>
|
---|
| 176 | <indexterm zone="libhandy libhandy-0.0">
|
---|
| 177 | <primary sortas="c-libhandy-0.0">libhandy-0.0.so</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 | </variablelist>
|
---|
| 182 | </sect2>
|
---|
| 183 | </sect1>
|
---|