[ce9b131] | 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 appstream-glib-download-http
|
---|
[8dfc5c3] | 8 | "https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-&appstream-glib-version;.tar.xz">
|
---|
[ce9b131] | 9 | <!ENTITY appstream-glib-download-ftp " ">
|
---|
[43d3258] | 10 | <!ENTITY appstream-glib-md5sum "2122471fff15bb9421313d2110ce538a">
|
---|
[dd6246f] | 11 | <!ENTITY appstream-glib-size "1.9 MB">
|
---|
[43d3258] | 12 | <!ENTITY appstream-glib-buildsize "26 MB (with tests)">
|
---|
| 13 | <!ENTITY appstream-glib-time "0.4 SBU (with tests)">
|
---|
[ce9b131] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="appstream-glib" xreflabel="Appstream-GLib-&appstream-glib-version;" revision="systemd">
|
---|
| 17 | <?dbhtml filename="appstream-glib.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 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> package contains a library
|
---|
| 35 | that provides GObjects and helper methods to make it easy to read and
|
---|
| 36 | write AppStream metadata. It also provides a simple DOM implementation
|
---|
| 37 | that makes it easy to edit nodes and convert to and from the
|
---|
| 38 | standardized XML representation.
|
---|
| 39 | </para>
|
---|
| 40 |
|
---|
[de414da] | 41 | &lfs80_checked;
|
---|
[ce9b131] | 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="gdk-pixbuf"/>,
|
---|
[30712eb] | 82 | <xref linkend="json-glib"/>,
|
---|
[ce9b131] | 83 | <xref linkend="libarchive"/>,
|
---|
| 84 | <xref linkend="libsoup"/> and
|
---|
| 85 | <xref linkend="pango"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="gcab"/>,
|
---|
| 91 | <xref linkend="gobject-introspection"/>,
|
---|
| 92 | <xref linkend="gtk3"/> and
|
---|
| 93 | <xref linkend="yaml"/>
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 97 | <para role="optional">
|
---|
| 98 | <xref linkend="DocBook"/>,
|
---|
| 99 | <xref linkend="docbook-xsl"/> and
|
---|
| 100 | <xref linkend="libxslt"/> (to build manual pages) and
|
---|
| 101 | <xref linkend="gtk-doc"/>
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <para condition="html" role="usernotes">
|
---|
| 105 | User Notes: <ulink url="&blfs-wiki;/appstream-glib"/>
|
---|
| 106 | </para>
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
| 110 | <title>Installation of Appstream-GLib</title>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | Install <application>Appstream-GLib</application> by running the following
|
---|
| 114 | commands:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 118 | make</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | To test the results, issue: <command>make check</command>.
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
| 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 136 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 137 |
|
---|
| 138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 139 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 140 |
|
---|
| 141 | <para>
|
---|
| 142 | <option>--disable-builder</option>: Use this switch if
|
---|
| 143 | you have not installed <xref linkend="gcab"/> and
|
---|
| 144 | <xref linkend="gtk3"/>.
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
| 147 | <para>
|
---|
| 148 | <option>--disable-dep11</option>: Use this switch if you
|
---|
| 149 | have not installed <xref linkend="yaml"/>.
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="content">
|
---|
| 155 | <title>Contents</title>
|
---|
| 156 |
|
---|
| 157 | <segmentedlist>
|
---|
| 158 | <segtitle>Installed Programs</segtitle>
|
---|
| 159 | <segtitle>Installed Libraries</segtitle>
|
---|
| 160 | <segtitle>Installed Directories</segtitle>
|
---|
| 161 |
|
---|
| 162 | <seglistitem>
|
---|
| 163 | <seg>
|
---|
[30712eb] | 164 | appstream-builder, appstream-compose, and appstream-util
|
---|
[ce9b131] | 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | libappstream-builder.so and libappstream-glib.so
|
---|
| 168 | </seg>
|
---|
| 169 | <seg>
|
---|
| 170 | /usr/include/libappstream-builder,
|
---|
| 171 | /usr/include/libappstream-glib,
|
---|
[30712eb] | 172 | /usr/lib/asb-plugins-5,
|
---|
[ce9b131] | 173 | /usr/share/gtk-doc/html/appstream-glib, and
|
---|
| 174 | /usr/share/installed-tests/appstream-glib
|
---|
| 175 | </seg>
|
---|
| 176 | </seglistitem>
|
---|
| 177 | </segmentedlist>
|
---|
| 178 |
|
---|
| 179 | <variablelist>
|
---|
| 180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 181 | <?dbfo list-presentation="list"?>
|
---|
| 182 | <?dbhtml list-presentation="table"?>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="appdata-validate">
|
---|
| 185 | <term><command>appdata-validate</command></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>
|
---|
| 188 | is used to validate AppData for formatting and style guidelines.
|
---|
| 189 | </para>
|
---|
| 190 | <indexterm zone="appstream-glib appdata-validate">
|
---|
| 191 | <primary sortas="b-appdata-validate">appdata-validate</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="appstream-builder">
|
---|
| 197 | <term><command>appstream-builder</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>
|
---|
| 200 | is a developers tool to build metadata.
|
---|
| 201 | </para>
|
---|
| 202 | <indexterm zone="appstream-glib appstream-builder">
|
---|
| 203 | <primary sortas="b-appstream-builder">appstream-builder</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="appstream-util">
|
---|
| 209 | <term><command>appstream-util</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>
|
---|
| 212 | is a management tool for <command>appstream-builder</command>.
|
---|
| 213 | </para>
|
---|
| 214 | <indexterm zone="appstream-glib appstream-util">
|
---|
| 215 | <primary sortas="b-appstream-util">appstream-util</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="libappstream-glib">
|
---|
| 221 | <term><filename class="libraryfile">libappstream-glib.so</filename></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>
|
---|
[30712eb] | 224 | contains objects and helper methods to help with reading and writing
|
---|
[ce9b131] | 225 | AppStream metadata.
|
---|
| 226 | </para>
|
---|
| 227 | <indexterm zone="appstream-glib libappstream-glib">
|
---|
| 228 | <primary sortas="c-libappstream-glib">libappstream-glib.so</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | </variablelist>
|
---|
| 234 |
|
---|
| 235 | </sect2>
|
---|
| 236 |
|
---|
| 237 | </sect1>
|
---|