source: x/lib/libglade.xml

trunk
Last change on this file was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Tags

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 " ">
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
19 <title>libglade-&libglade-version;</title>
20
21 <indexterm zone="libglade">
22 <primary sortas="a-Libglade">Libglade</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libglade</title>
27
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>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&libglade-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&libglade-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &libglade-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &libglade-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &libglade-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &libglade-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">libglade Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="libxml2"/> and
75 <xref linkend="gtk2"/>
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="python2"/> and
81 <xref linkend="gtk-doc"/>
82 </para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of libglade</title>
88
89 <para>
90 Install <application>libglade</application> by running the following
91 commands:
92 </para>
93
94<screen><userinput>sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in &amp;&amp;
95./configure --prefix=/usr --disable-static &amp;&amp;
96make</userinput></screen>
97
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>
102 <!-- on this build run (2018-08-14), the tests skipped. Need to see if
103 there are any functionality issues later. -->
104
105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>make install</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
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>
122
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"
127 href="../../xincludes/gtk-doc-rebuild.xml"/>
128
129 </sect2>
130
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>
138
139 <seglistitem>
140 <seg>libglade-convert (requires <command>python</command>)</seg>
141 <seg>libglade-2.0.so</seg>
142 <seg>/usr/{include/libglade-2.0/glade,share/{gtk-doc/html/libglade,
143 xml/libglade}}</seg>
144 </seglistitem>
145 </segmentedlist>
146
147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
151
152 <varlistentry id="libglade-convert">
153 <term><command>libglade-convert</command></term>
154 <listitem>
155 <para>
156 is used to convert old Glade interface files to
157 Glade-2.0 standards
158 </para>
159 <indexterm zone="libglade libglade-convert">
160 <primary sortas="b-libglade-convert">libglade-convert</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="libglade-lib">
166 <term><filename class="libraryfile">libglade-2.0.so</filename></term>
167 <listitem>
168 <para>
169 contains the functions necessary to load Glade interface files
170 </para>
171 <indexterm zone="libglade libglade-lib">
172 <primary sortas="c-libglade-2.0">libglade-2.0.so</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 </variablelist>
178
179 </sect2>
180
181</sect1>
Note: See TracBrowser for help on using the repository browser.