[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 | -->
|
---|
[f3429309] | 10 |
|
---|
| 11 | <!ENTITY appstream-glib-download-http
|
---|
[9371753] | 12 | "http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-&appstream-glib-version;.tar.xz">
|
---|
| 13 | <!ENTITY appstream-glib-download-ftp " ">
|
---|
[0a76c13] | 14 | <!ENTITY appstream-glib-md5sum "25f261265b71a4a9944028d4304ebc0d">
|
---|
[8af694bb] | 15 | <!ENTITY appstream-glib-size "1.8 MB">
|
---|
| 16 | <!ENTITY appstream-glib-buildsize "17 MB (with tests)">
|
---|
| 17 | <!ENTITY appstream-glib-time "0.1 SBU (with tests)">
|
---|
[9371753] | 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>
|
---|
[f3429309] | 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
|
---|
[9371753] | 45 | edit nodes and convert to and from the standardized XML representation.
|
---|
| 46 | </para>
|
---|
[f3429309] | 47 |
|
---|
| 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
|
---|
[f3429309] | 91 | <xref linkend="pango"/>
|
---|
[9371753] | 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"/>,
|
---|
[8af694bb] | 104 | <xref linkend="libxslt"/>,
|
---|
| 105 | <ulink url="http://ftp.gnome.org/pub/GNOME/sources/gcab/">gcab</ulink>, and
|
---|
[f3979ba] | 106 | <ulink url="http://pyyaml.org/download/libyaml/">yaml</ulink>
|
---|
[9371753] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para condition="html" role="usernotes">
|
---|
| 110 | User Notes: <ulink url="&blfs-wiki;/appstream-glib"/>
|
---|
| 111 | </para>
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="installation">
|
---|
| 115 | <title>Installation of appstream-glib</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | Install <application>appstream-glib</application> by running the following
|
---|
| 119 | commands:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 |
|
---|
[8af694bb] | 123 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 124 | --disable-dep11 \
|
---|
| 125 | --disable-builder \
|
---|
| 126 | --disable-static &&
|
---|
| 127 |
|
---|
[9371753] | 128 | make</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
[f3979ba] | 131 | To test the results, issue: <command>make -k check</command>. One test
|
---|
| 132 | fails, if <ulink url="http://pyyaml.org/download/libyaml/">yaml</ulink>
|
---|
| 133 | is not installed.
|
---|
[9371753] | 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <!--Optional section-->
|
---|
| 144 | <sect2 role="commands">
|
---|
| 145 | <title>Command Explanations</title>
|
---|
| 146 |
|
---|
| 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 148 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 149 |
|
---|
| 150 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 151 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 152 |
|
---|
[f3979ba] | 153 | <para>
|
---|
[8af694bb] | 154 | <parameter>--disable-builder</parameter>: Remove this switch, if you have
|
---|
| 155 | <ulink url="http://ftp.gnome.org/pub/GNOME/sources/gcab/">gcab</ulink> installed.
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
| 159 | <parameter>--disable-dep11</parameter>: Remove this switch, if you have
|
---|
[f3979ba] | 160 | <ulink url="http://pyyaml.org/download/libyaml/">yaml</ulink> installed.
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
[9371753] | 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="content">
|
---|
| 166 | <title>Contents</title>
|
---|
| 167 |
|
---|
| 168 | <segmentedlist>
|
---|
| 169 | <segtitle>Installed Programs</segtitle>
|
---|
| 170 | <segtitle>Installed Libraries</segtitle>
|
---|
| 171 | <segtitle>Installed Directories</segtitle>
|
---|
| 172 |
|
---|
| 173 | <!-- If there were no programs, libraries, or directories created, then
|
---|
| 174 | we would list the section as "None". However, a decision must have
|
---|
| 175 | been made to change the "None" to just removing the whole section
|
---|
| 176 | because I've noticed that many packages have had the "None"
|
---|
| 177 | removed and the section completely removed as well. The reasoning
|
---|
| 178 | was that by putting "None", it appears as we know there are none.
|
---|
| 179 | Without anything it appears as we are not sure. -->
|
---|
| 180 |
|
---|
| 181 | <seglistitem>
|
---|
| 182 | <seg>
|
---|
[0a76c13] | 183 | appdata-validate and appstream-util
|
---|
[9371753] | 184 | </seg>
|
---|
| 185 | <seg>
|
---|
[0a76c13] | 186 | libappstream-glib.so
|
---|
[9371753] | 187 | </seg>
|
---|
| 188 | <seg>
|
---|
[0a76c13] | 189 | /usr/include/libappstream-glib,
|
---|
| 190 | /usr/share/gtk-doc/html/appstream-glib and
|
---|
[9371753] | 191 | /usr/share/installed-tests/appstream-glib
|
---|
| 192 | </seg>
|
---|
| 193 | </seglistitem>
|
---|
| 194 | </segmentedlist>
|
---|
| 195 |
|
---|
| 196 | <variablelist>
|
---|
| 197 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 198 | <?dbfo list-presentation="list"?>
|
---|
| 199 | <?dbhtml list-presentation="table"?>
|
---|
| 200 |
|
---|
| 201 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 202 | package name, add -prog or -lib to the varlistentry entity id
|
---|
| 203 | and the 2nd entry of the indexterm zone entity -->
|
---|
| 204 |
|
---|
[0a76c13] | 205 | <!-- <varlistentry id="appstream-builder">
|
---|
[9371753] | 206 | <term><command>appstream-builder</command></term>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>
|
---|
| 209 | Is a developers tool to build metadata.
|
---|
| 210 | </para>
|
---|
| 211 | <indexterm zone="appstream-glib appstream-builder">
|
---|
| 212 | <primary sortas="b-appstream-builder">appstream-builder</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
[0a76c13] | 215 | </varlistentry>-->
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="appdata-validate">
|
---|
| 218 | <term><command>appdata-validate</command></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>
|
---|
| 221 | validates AppData metadata.
|
---|
| 222 | </para>
|
---|
| 223 | <indexterm zone="appstream-glib appdata-validate">
|
---|
| 224 | <primary sortas="b-appdata-validate">appdata-validate</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
[9371753] | 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="appstream-util">
|
---|
| 230 | <term><command>appstream-util</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>
|
---|
| 233 | Is a management tool for appstream-builder.
|
---|
| 234 | </para>
|
---|
| 235 | <indexterm zone="appstream-glib appstream-util">
|
---|
| 236 | <primary sortas="b-appstream-util">appstream-util</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
[0a76c13] | 241 | <!-- <varlistentry id="libappstream-builder">
|
---|
[9371753] | 242 | <term><filename class="libraryfile">libappstream-builder.so</filename></term>
|
---|
| 243 | <listitem>
|
---|
| 244 | <para>
|
---|
| 245 | contains functions that aid the developers tool appstream-builder.
|
---|
| 246 | </para>
|
---|
| 247 | <indexterm zone="appstream-glib libappstream-builder">
|
---|
| 248 | <primary sortas="c-libappstream-builder">libappstream-builder.so</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
[0a76c13] | 251 | </varlistentry>-->
|
---|
| 252 |
|
---|
[9371753] | 253 | <varlistentry id="libappstream-glib">
|
---|
| 254 | <term><filename class="libraryfile">libappstream-glib.so</filename></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>
|
---|
| 257 | contains the api functions.
|
---|
| 258 | </para>
|
---|
| 259 | <indexterm zone="appstream-glib libappstream-glib">
|
---|
| 260 | <primary sortas="c-libappstream-glib">libappstream-glib.so</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 | </variablelist>
|
---|
| 265 | </sect2>
|
---|
| 266 | </sect1>
|
---|