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 | <!-- Place this in the packages.ent file
|
---|
8 | <!ENTITY TEMPLATE-version "">
|
---|
9 | -->
|
---|
10 |
|
---|
11 | <!ENTITY appstream-glib-download-http
|
---|
12 | "http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib&-appstream-glib-version;.tar.xz">
|
---|
13 | <!ENTITY appstream-glib-download-ftp " ">
|
---|
14 | <!ENTITY appstream-glib-md5sum "925a056455b4eef441e692423ac0c5c5">
|
---|
15 | <!ENTITY appstream-glib-size "1.4 MB">
|
---|
16 | <!ENTITY appstream-glib-buildsize "16 MB">
|
---|
17 | <!ENTITY appstream-glib-time "0.5 SBU ">
|
---|
18 | ]>
|
---|
19 |
|
---|
20 | <!-- Try to keep the indentation used in this file-->
|
---|
21 | <sect1 id="APPSTREAM-GLIB" xreflabel="APPSTREAM-GLIB-&appstream-glib-version;">
|
---|
22 | <?dbhtml filename="appstream-glib.html"?>
|
---|
23 |
|
---|
24 | <sect1info>
|
---|
25 | <othername>$LastChangedBy: pierre $</othername>
|
---|
26 | <date>$Date: 2014-08-30 18:39:13 +1200 (Sat, 30 Aug 2014) $</date>
|
---|
27 | </sect1info>
|
---|
28 |
|
---|
29 | <!-- No other tags inside any title.
|
---|
30 | Use Title Case in All Titles -->
|
---|
31 | <title>APPSTREAM-GLIB-&appstream-glib-version;</title>
|
---|
32 |
|
---|
33 | <indexterm zone="APPSTREAM-GLIB">
|
---|
34 | <primary sortas="a-APPSTREAM-GLIB">APPSTREAM-GLIB</primary>
|
---|
35 | </indexterm>
|
---|
36 |
|
---|
37 | <!--Required section-->
|
---|
38 | <sect2 role="package">
|
---|
39 | <title>Introduction to APPSTREAM-GLIB</title>
|
---|
40 |
|
---|
41 | <para>
|
---|
42 | The <application>APPSTREAM-GLIB</application> provides GObjects and
|
---|
43 | helper methods to make it easy to read and write AppStream metadata.
|
---|
44 | It also provides a simple DOM implementation that makes it easy to
|
---|
45 | edit nodes and convert to and from the standardized XML representation.
|
---|
46 | </para>
|
---|
47 |
|
---|
48 | &lfs76_checked;
|
---|
49 |
|
---|
50 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
51 | <itemizedlist spacing="compact">
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download (HTTP): <ulink url="&appstream-glib-download-http;"/>
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download (FTP): <ulink url="&appstream-glib-download-ftp;"/>
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Download MD5 sum: &appstream-glib-md5sum;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Download size: &appstream-glib-size;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Estimated disk space required: &appstream-glib-buildsize;
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | <listitem>
|
---|
78 | <para>
|
---|
79 | Estimated build time: &appstream-glib-time;
|
---|
80 | </para>
|
---|
81 | </listitem>
|
---|
82 | </itemizedlist>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
87 | <para role="required">
|
---|
88 | <xref linkend="fontconfig"/>,
|
---|
89 | <xref linkend="gdk-pixbuf"/>, and
|
---|
90 | <xref linkend="libarchive"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
94 | <para role="recommended">
|
---|
95 | <xref linkend="gobject-introspection"/>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
99 | <para role="optional">
|
---|
100 | <xref linkend="DocBook"/>,
|
---|
101 | <xref linkend="docbook-xsl"/>,
|
---|
102 | <xref linkend="gtk-doc"/>, and
|
---|
103 | <xref linkend="libxslt"/>
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para condition="html" role="usernotes">
|
---|
107 | User Notes: <ulink url="&blfs-wiki;/appstream-glib"/>
|
---|
108 | </para>
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="installation">
|
---|
112 | <title>Installation of APPSTREAM-GLIB</title>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | Install <application>APPSTREAM-GLIB</application> by running the following
|
---|
116 | commands:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 |
|
---|
120 | <screen><userinput>./configure --prefix=/usr \
|
---|
121 | --disable-static \
|
---|
122 | --disable-rpm \
|
---|
123 | --enable-introspection=yes &&
|
---|
124 | make</userinput></screen>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | To test the results, issue: <command>make check</command>.
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <!--Optional section-->
|
---|
138 | <sect2 role="commands">
|
---|
139 | <title>Command Explanations</title>
|
---|
140 |
|
---|
141 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
142 | href="../../xincludes/static-libraries.xml"/>
|
---|
143 |
|
---|
144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
145 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
146 |
|
---|
147 | <para>
|
---|
148 | <parameter>--disable-rpm</parameter>: This disables rpm support
|
---|
149 | as rpm is not a part of BLFS.
|
---|
150 | </para>
|
---|
151 |
|
---|
152 | <para>
|
---|
153 | <option>--enable-introspection=no</option>: Use this option if you
|
---|
154 | have not installed the recommended package <xref linkend="gobject-introspection"/>.
|
---|
155 | </para>
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="content">
|
---|
159 | <title>Contents</title>
|
---|
160 |
|
---|
161 | <segmentedlist>
|
---|
162 | <segtitle>Installed Programs</segtitle>
|
---|
163 | <segtitle>Installed Libraries</segtitle>
|
---|
164 | <segtitle>Installed Directories</segtitle>
|
---|
165 |
|
---|
166 | <!-- If there were no programs, libraries, or directories created, then
|
---|
167 | we would list the section as "None". However, a decision must have
|
---|
168 | been made to change the "None" to just removing the whole section
|
---|
169 | because I've noticed that many packages have had the "None"
|
---|
170 | removed and the section completely removed as well. The reasoning
|
---|
171 | was that by putting "None", it appears as we know there are none.
|
---|
172 | Without anything it appears as we are not sure. -->
|
---|
173 |
|
---|
174 | <seglistitem>
|
---|
175 | <seg>
|
---|
176 | appstream-builder and appstream-util.
|
---|
177 | </seg>
|
---|
178 | <seg>
|
---|
179 | libappstream-builder.so and libappstream-glib.so.
|
---|
180 | </seg>
|
---|
181 | <seg>
|
---|
182 | /usr/include/libappstream-builder, /usr/include/libappstream-glib,
|
---|
183 | /usr/lib/asb-plugins,
|
---|
184 | /usr/share/gtk-doc/html/appstream-glib, and
|
---|
185 | /usr/share/installed-tests/appstream-glib.
|
---|
186 | </seg>
|
---|
187 | </seglistitem>
|
---|
188 | </segmentedlist>
|
---|
189 |
|
---|
190 | <variablelist>
|
---|
191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
192 | <?dbfo list-presentation="list"?>
|
---|
193 | <?dbhtml list-presentation="table"?>
|
---|
194 |
|
---|
195 | <!-- If the program or library name conflicts (is the same) as the
|
---|
196 | package name, add -prog or -lib to the varlistentry entity id
|
---|
197 | and the 2nd entry of the indexterm zone entity -->
|
---|
198 |
|
---|
199 | <varlistentry id="appstream-builder">
|
---|
200 | <term><command>appstream-builder</command></term>
|
---|
201 | <listitem>
|
---|
202 | <para>
|
---|
203 | Is a developers tool to build metadata.
|
---|
204 | </para>
|
---|
205 | <indexterm zone="APPSTREAM-GLIB appstream-builder">
|
---|
206 | <primary sortas="b-appstream-builder">appstream-builder</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | <varlistentry id="appstream-util">
|
---|
212 | <term><command>appstream-util</command></term>
|
---|
213 | <listitem>
|
---|
214 | <para>
|
---|
215 | Is a management tool for appstream-builder.
|
---|
216 | </para>
|
---|
217 | <indexterm zone="APPSTREAM-GLIB appstream-util">
|
---|
218 | <primary sortas="b-appstream-util">appstream-util</primary>
|
---|
219 | </indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | <varlistentry id="libappstream-builder">
|
---|
224 | <term><filename class="libraryfile">libappstream-builder.so</filename></term>
|
---|
225 | <listitem>
|
---|
226 | <para>
|
---|
227 | contains functions that aid the developers tool appstream-builder.
|
---|
228 | </para>
|
---|
229 | <indexterm zone="APPSTREAM-GLIB libappstream-builder">
|
---|
230 | <primary sortas="c-libappstream-builder">libappstream-builder.so</primary>
|
---|
231 | </indexterm>
|
---|
232 | </listitem>
|
---|
233 | </varlistentry>
|
---|
234 | <varlistentry id="libappstream-glib">
|
---|
235 | <term><filename class="libraryfile">libappstream-glib.so</filename></term>
|
---|
236 | <listitem>
|
---|
237 | <para>
|
---|
238 | contains the api functions.
|
---|
239 | </para>
|
---|
240 | <indexterm zone="APPSTREAM-GLIB libappstream-glib">
|
---|
241 | <primary sortas="c-libappstream-glib">libappstream-glib.so</primary>
|
---|
242 | </indexterm>
|
---|
243 | </listitem>
|
---|
244 | </varlistentry>
|
---|
245 | </variablelist>
|
---|
246 | </sect2>
|
---|
247 | </sect1>
|
---|