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