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