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 "2ffd46eff1c16f31e435849b706c2287">
|
---|
15 | <!ENTITY appstream-glib-size "2.2 MB">
|
---|
16 | <!ENTITY appstream-glib-buildsize "15 MB (with tests)">
|
---|
17 | <!ENTITY appstream-glib-time "0.1 SBU (with tests)">
|
---|
18 | ]>
|
---|
19 |
|
---|
20 | <sect1 id="appstream-glib" xreflabel="appstream-glib-&appstream-glib-version;">
|
---|
21 | <?dbhtml filename="appstream-glib.html"?>
|
---|
22 |
|
---|
23 |
|
---|
24 | <title>appstream-glib-&appstream-glib-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="appstream-glib">
|
---|
27 | <primary sortas="a-appstream-glib">appstream-glib</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to appstream-glib</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>appstream-glib</application> provides GObjects and
|
---|
35 | helper methods to make it easy to read and write AppStream metadata.
|
---|
36 | It also provides a simple DOM (Document Object Model) implementation
|
---|
37 | that makes it easy to edit nodes and convert to and from the
|
---|
38 | standardized XML representation.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs121_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&appstream-glib-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&appstream-glib-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &appstream-glib-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &appstream-glib-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &appstream-glib-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &appstream-glib-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">appstream-glib Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="curl"/>,
|
---|
82 | <xref linkend="gdk-pixbuf"/>, and
|
---|
83 | <xref linkend="libarchive"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional">
|
---|
88 | <xref linkend="DocBook"/>,
|
---|
89 | <xref linkend="docbook-xsl"/>,
|
---|
90 | <xref linkend="gtk-doc"/>,
|
---|
91 | <xref linkend="libxslt"/>, and
|
---|
92 | <xref linkend="libyaml"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
98 | <title>Installation of appstream-glib</title>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Install <application>appstream-glib</application> by running the following
|
---|
102 | commands:
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <screen><userinput>mkdir build &&
|
---|
106 | cd build &&
|
---|
107 |
|
---|
108 | meson setup .. \
|
---|
109 | --prefix=/usr \
|
---|
110 | --buildtype=release \
|
---|
111 | -D rpm=false &&
|
---|
112 | ninja</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | To test the results, issue: <command>ninja test</command>.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the &root; user:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>ninja install &&
|
---|
123 | rm -v -rf /usr/share/installed-tests</userinput></screen>
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="content">
|
---|
127 | <title>Contents</title>
|
---|
128 |
|
---|
129 | <segmentedlist>
|
---|
130 | <segtitle>Installed Programs</segtitle>
|
---|
131 | <segtitle>Installed Libraries</segtitle>
|
---|
132 | <segtitle>Installed Directories</segtitle>
|
---|
133 |
|
---|
134 | <seglistitem>
|
---|
135 | <seg>
|
---|
136 | appstream-builder,
|
---|
137 | appstream-compose, and
|
---|
138 | appstream-util
|
---|
139 | </seg>
|
---|
140 | <seg>
|
---|
141 | libappstream-glib.so
|
---|
142 | </seg>
|
---|
143 | <seg>
|
---|
144 | /usr/include/libappstream-glib and
|
---|
145 | /usr/lib/asb-plugins-5
|
---|
146 | </seg>
|
---|
147 | </seglistitem>
|
---|
148 | </segmentedlist>
|
---|
149 |
|
---|
150 | <variablelist>
|
---|
151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
152 | <?dbfo list-presentation="list"?>
|
---|
153 | <?dbhtml list-presentation="table"?>
|
---|
154 |
|
---|
155 | <varlistentry id="appstream-builder">
|
---|
156 | <term><command>appstream-builder</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>
|
---|
159 | builds AppStream metadata
|
---|
160 | </para>
|
---|
161 | <indexterm zone="appstream-glib appstream-builder">
|
---|
162 | <primary sortas="b-appstream-builder">appstream-builder</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | <varlistentry id="appdata-compose">
|
---|
168 | <term><command>appdata-compose</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>
|
---|
171 | generates AppStream metadata
|
---|
172 | </para>
|
---|
173 | <indexterm zone="appstream-glib appdata-compose">
|
---|
174 | <primary sortas="b-appdata-compose">appdata-compose</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="appstream-util">
|
---|
180 | <term><command>appstream-util</command></term>
|
---|
181 | <listitem>
|
---|
182 | <para>
|
---|
183 | Is a management tool for appstream-builder
|
---|
184 | </para>
|
---|
185 | <indexterm zone="appstream-glib appstream-util">
|
---|
186 | <primary sortas="b-appstream-util">appstream-util</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="libappstream-glib">
|
---|
192 | <term><filename class="libraryfile">libappstream-glib.so</filename></term>
|
---|
193 | <listitem>
|
---|
194 | <para>
|
---|
195 | contains the API functions
|
---|
196 | </para>
|
---|
197 | <indexterm zone="appstream-glib libappstream-glib">
|
---|
198 | <primary sortas="c-libappstream-glib">libappstream-glib.so</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 | </variablelist>
|
---|
203 | </sect2>
|
---|
204 | </sect1>
|
---|