[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c023b7d] | 7 | <!ENTITY libglade-download-http "&gnome-download-http;/libglade/2.6/libglade-&libglade-version;.tar.bz2">
|
---|
[e1e58be] | 8 | <!ENTITY libglade-download-ftp " ">
|
---|
[214718a] | 9 | <!ENTITY libglade-md5sum "d1776b40f4e166b5e9c107f1c8fe4139">
|
---|
| 10 | <!ENTITY libglade-size "348 KB">
|
---|
| 11 | <!ENTITY libglade-buildsize "5 MB">
|
---|
[d93a17c1] | 12 | <!ENTITY libglade-time "0.1 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[1776828] | 15 | <sect1 id="libglade" xreflabel="libglade-&libglade-version;">
|
---|
[41affe68] | 16 | <?dbhtml filename="libglade.html"?>
|
---|
[b66607a] | 17 |
|
---|
| 18 |
|
---|
[0cbc4b36] | 19 | <title>libglade-&libglade-version;</title>
|
---|
[b66607a] | 20 |
|
---|
[41affe68] | 21 | <indexterm zone="libglade">
|
---|
| 22 | <primary sortas="a-Libglade">Libglade</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[0cbc4b36] | 26 | <title>Introduction to libglade</title>
|
---|
[41affe68] | 27 |
|
---|
[baac59c] | 28 | <para>
|
---|
| 29 | The <application>libglade</application> package contains
|
---|
| 30 | <filename class="libraryfile">libglade</filename> libraries. These are
|
---|
| 31 | useful for loading Glade interface files in a program at runtime.
|
---|
| 32 | </para>
|
---|
[b66607a] | 33 |
|
---|
[e8b3f50] | 34 | &lfs121_checked;
|
---|
[214718a] | 35 |
|
---|
[41affe68] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[baac59c] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&libglade-download-http;"/>
|
---|
| 41 | </para>
|
---|
[41affe68] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[baac59c] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&libglade-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[41affe68] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[baac59c] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &libglade-md5sum;
|
---|
| 51 | </para>
|
---|
[41affe68] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[baac59c] | 54 | <para>
|
---|
| 55 | Download size: &libglade-size;
|
---|
| 56 | </para>
|
---|
[41affe68] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[baac59c] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &libglade-buildsize;
|
---|
| 61 | </para>
|
---|
[41affe68] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[baac59c] | 64 | <para>
|
---|
| 65 | Estimated build time: &libglade-time;
|
---|
| 66 | </para>
|
---|
[41affe68] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[b66607a] | 69 |
|
---|
[0cbc4b36] | 70 | <bridgehead renderas="sect3">libglade Dependencies</bridgehead>
|
---|
[b66607a] | 71 |
|
---|
[41affe68] | 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[baac59c] | 73 | <para role="required">
|
---|
| 74 | <xref linkend="libxml2"/> and
|
---|
| 75 | <xref linkend="gtk2"/>
|
---|
| 76 | </para>
|
---|
[b66607a] | 77 |
|
---|
[41affe68] | 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[baac59c] | 79 | <para role="optional">
|
---|
| 80 | <xref linkend="python2"/> and
|
---|
| 81 | <xref linkend="gtk-doc"/>
|
---|
| 82 | </para>
|
---|
[b66607a] | 83 |
|
---|
[41affe68] | 84 | </sect2>
|
---|
[b66607a] | 85 |
|
---|
[41affe68] | 86 | <sect2 role="installation">
|
---|
[0cbc4b36] | 87 | <title>Installation of libglade</title>
|
---|
[41affe68] | 88 |
|
---|
[baac59c] | 89 | <para>
|
---|
| 90 | Install <application>libglade</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
[fdca4266] | 93 |
|
---|
[978865f2] | 94 | <screen><userinput>sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in &&
|
---|
[9beb334] | 95 | ./configure --prefix=/usr --disable-static &&
|
---|
[feb2027] | 96 | make</userinput></screen>
|
---|
[b66607a] | 97 |
|
---|
[baac59c] | 98 | <para>
|
---|
| 99 | To test the results, issue: <command>make check</command>.
|
---|
| 100 | One of the tests, test-convert, is known to fail.
|
---|
| 101 | </para>
|
---|
[790d9dfd] | 102 | <!-- on this build run (2018-08-14), the tests skipped. Need to see if
|
---|
| 103 | there are any functionality issues later. -->
|
---|
[d93a17c1] | 104 |
|
---|
[baac59c] | 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
[b66607a] | 108 |
|
---|
[41affe68] | 109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b66607a] | 110 |
|
---|
[41affe68] | 111 | </sect2>
|
---|
[b66607a] | 112 |
|
---|
[41affe68] | 113 | <sect2 role="commands">
|
---|
| 114 | <title>Command Explanations</title>
|
---|
| 115 |
|
---|
[baac59c] | 116 | <para>
|
---|
| 117 | <command>sed -i '/DG_DISABLE_DEPRECATED/d'</command>: Some of the
|
---|
| 118 | <application>glib</application> functions that
|
---|
| 119 | <application>libglade</application> uses were declared deprecated in
|
---|
| 120 | glib-2.30. This sed removes the G_DISABLE_DEPRECATED CFLAG.
|
---|
| 121 | </para>
|
---|
[978865f2] | 122 |
|
---|
[9beb334] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 124 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 125 |
|
---|
| 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[baac59c] | 127 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[48d0ea5b] | 128 |
|
---|
[41affe68] | 129 | </sect2>
|
---|
[b66607a] | 130 |
|
---|
[41affe68] | 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Program</segtitle>
|
---|
| 136 | <segtitle>Installed Library</segtitle>
|
---|
| 137 | <segtitle>Installed Directories</segtitle>
|
---|
[b66607a] | 138 |
|
---|
[41affe68] | 139 | <seglistitem>
|
---|
[d93a17c1] | 140 | <seg>libglade-convert (requires <command>python</command>)</seg>
|
---|
[9beb334] | 141 | <seg>libglade-2.0.so</seg>
|
---|
[214718a] | 142 | <seg>/usr/{include/libglade-2.0/glade,share/{gtk-doc/html/libglade,
|
---|
| 143 | xml/libglade}}</seg>
|
---|
[41affe68] | 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
[b66607a] | 146 |
|
---|
[41affe68] | 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
[c5f43719] | 150 | <?dbhtml list-presentation="table"?>
|
---|
[b66607a] | 151 |
|
---|
[41affe68] | 152 | <varlistentry id="libglade-convert">
|
---|
| 153 | <term><command>libglade-convert</command></term>
|
---|
| 154 | <listitem>
|
---|
[baac59c] | 155 | <para>
|
---|
| 156 | is used to convert old Glade interface files to
|
---|
[4c24eb0a] | 157 | Glade-2.0 standards
|
---|
[baac59c] | 158 | </para>
|
---|
[41affe68] | 159 | <indexterm zone="libglade libglade-convert">
|
---|
| 160 | <primary sortas="b-libglade-convert">libglade-convert</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
[b66607a] | 164 |
|
---|
[41affe68] | 165 | <varlistentry id="libglade-lib">
|
---|
[4c24eb0a] | 166 | <term><filename class="libraryfile">libglade-2.0.so</filename></term>
|
---|
[41affe68] | 167 | <listitem>
|
---|
[baac59c] | 168 | <para>
|
---|
[4c24eb0a] | 169 | contains the functions necessary to load Glade interface files
|
---|
[baac59c] | 170 | </para>
|
---|
[41affe68] | 171 | <indexterm zone="libglade libglade-lib">
|
---|
[9beb334] | 172 | <primary sortas="c-libglade-2.0">libglade-2.0.so</primary>
|
---|
[41affe68] | 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
[b66607a] | 176 |
|
---|
[41affe68] | 177 | </variablelist>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
[1776828] | 180 |
|
---|
| 181 | </sect1>
|
---|