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