[9371753] | 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 " ">
|
---|
[2019fa9] | 14 | <!ENTITY appstream-glib-md5sum "f4be91093be4d43856258766684e7744">
|
---|
[f3979ba] | 15 | <!ENTITY appstream-glib-size "1.6 MB">
|
---|
| 16 | <!ENTITY appstream-glib-buildsize "14 MB (additional 1 MB for the tests)">
|
---|
[9371753] | 17 | <!ENTITY appstream-glib-time "0.3 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$</othername>
|
---|
| 26 | <date>$Date$</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 |
|
---|
[059a1a5c] | 48 | &lfs77_checked;
|
---|
[9371753] | 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">appstream-glib Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
| 88 | <xref linkend="gdk-pixbuf"/>,
|
---|
| 89 | <xref linkend="libarchive"/>
|
---|
| 90 | <xref linkend="libsoup"/>, and
|
---|
| 91 | <xref linkend="pango"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 95 | <para role="recommended">
|
---|
| 96 | <xref linkend="gobject-introspection"/>
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
| 101 | <xref linkend="DocBook"/>,
|
---|
| 102 | <xref linkend="docbook-xsl"/>,
|
---|
[f3979ba] | 103 | <xref linkend="gtk-doc"/>,
|
---|
| 104 | <xref linkend="libxslt"/>, and
|
---|
| 105 | <ulink url="http://pyyaml.org/download/libyaml/">yaml</ulink>
|
---|
[9371753] | 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <para condition="html" role="usernotes">
|
---|
| 109 | User Notes: <ulink url="&blfs-wiki;/appstream-glib"/>
|
---|
| 110 | </para>
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="installation">
|
---|
| 114 | <title>Installation of appstream-glib</title>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Install <application>appstream-glib</application> by running the following
|
---|
| 118 | commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 |
|
---|
[f3979ba] | 122 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 123 | --disable-static \
|
---|
| 124 | --disable-dep11 &&
|
---|
[9371753] | 125 | make</userinput></screen>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
[f3979ba] | 128 | To test the results, issue: <command>make -k check</command>. One test
|
---|
| 129 | fails, if <ulink url="http://pyyaml.org/download/libyaml/">yaml</ulink>
|
---|
| 130 | is not installed.
|
---|
[9371753] | 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <!--Optional section-->
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
| 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 145 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 146 |
|
---|
| 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 148 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 149 |
|
---|
[f3979ba] | 150 | <para>
|
---|
| 151 | <parameter>--disable-dep11</parameter>: Remove this witch, if you have
|
---|
| 152 | <ulink url="http://pyyaml.org/download/libyaml/">yaml</ulink> installed.
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
[9371753] | 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Libraries</segtitle>
|
---|
| 163 | <segtitle>Installed Directories</segtitle>
|
---|
| 164 |
|
---|
| 165 | <!-- If there were no programs, libraries, or directories created, then
|
---|
| 166 | we would list the section as "None". However, a decision must have
|
---|
| 167 | been made to change the "None" to just removing the whole section
|
---|
| 168 | because I've noticed that many packages have had the "None"
|
---|
| 169 | removed and the section completely removed as well. The reasoning
|
---|
| 170 | was that by putting "None", it appears as we know there are none.
|
---|
| 171 | Without anything it appears as we are not sure. -->
|
---|
| 172 |
|
---|
| 173 | <seglistitem>
|
---|
| 174 | <seg>
|
---|
| 175 | appstream-builder and appstream-util
|
---|
| 176 | </seg>
|
---|
| 177 | <seg>
|
---|
| 178 | libappstream-builder.so and libappstream-glib.so
|
---|
| 179 | </seg>
|
---|
| 180 | <seg>
|
---|
| 181 | /usr/include/libappstream-{builder,glib}, /usr/lib/asb-plugins,
|
---|
| 182 | /usr/share/gtk-doc/html/appstream-glib, and
|
---|
| 183 | /usr/share/installed-tests/appstream-glib
|
---|
| 184 | </seg>
|
---|
| 185 | </seglistitem>
|
---|
| 186 | </segmentedlist>
|
---|
| 187 |
|
---|
| 188 | <variablelist>
|
---|
| 189 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 190 | <?dbfo list-presentation="list"?>
|
---|
| 191 | <?dbhtml list-presentation="table"?>
|
---|
| 192 |
|
---|
| 193 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 194 | package name, add -prog or -lib to the varlistentry entity id
|
---|
| 195 | and the 2nd entry of the indexterm zone entity -->
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="appstream-builder">
|
---|
| 198 | <term><command>appstream-builder</command></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>
|
---|
| 201 | Is a developers tool to build metadata.
|
---|
| 202 | </para>
|
---|
| 203 | <indexterm zone="appstream-glib appstream-builder">
|
---|
| 204 | <primary sortas="b-appstream-builder">appstream-builder</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="appstream-util">
|
---|
| 210 | <term><command>appstream-util</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>
|
---|
| 213 | Is a management tool for appstream-builder.
|
---|
| 214 | </para>
|
---|
| 215 | <indexterm zone="appstream-glib appstream-util">
|
---|
| 216 | <primary sortas="b-appstream-util">appstream-util</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="libappstream-builder">
|
---|
| 222 | <term><filename class="libraryfile">libappstream-builder.so</filename></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>
|
---|
| 225 | contains functions that aid the developers tool appstream-builder.
|
---|
| 226 | </para>
|
---|
| 227 | <indexterm zone="appstream-glib libappstream-builder">
|
---|
| 228 | <primary sortas="c-libappstream-builder">libappstream-builder.so</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 | <varlistentry id="libappstream-glib">
|
---|
| 233 | <term><filename class="libraryfile">libappstream-glib.so</filename></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>
|
---|
| 236 | contains the api functions.
|
---|
| 237 | </para>
|
---|
| 238 | <indexterm zone="appstream-glib libappstream-glib">
|
---|
| 239 | <primary sortas="c-libappstream-glib">libappstream-glib.so</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 | </variablelist>
|
---|
| 244 | </sect2>
|
---|
| 245 | </sect1>
|
---|