[69a16457] | 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 grilo-download-http "&gnome-download-http;/grilo/0.3/grilo-&grilo-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY grilo-download-ftp " ">
|
---|
[6716afc] | 9 | <!ENTITY grilo-md5sum "e81c4d7e182eb6448b9f0458f52511a3">
|
---|
[6729290] | 10 | <!ENTITY grilo-size "236 KB">
|
---|
[6716afc] | 11 | <!ENTITY grilo-buildsize "13 MB (with tests)">
|
---|
| 12 | <!ENTITY grilo-time "0.2 SBU (with tests)">
|
---|
[69a16457] | 13 | ]>
|
---|
| 14 |
|
---|
[51dfb3e] | 15 | <sect1 id="grilo" xreflabel="Grilo-&grilo-version;">
|
---|
[69a16457] | 16 | <?dbhtml filename="grilo.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Grilo-&grilo-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="grilo">
|
---|
| 22 | <primary sortas="a-Grilo">Grilo</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Grilo</title>
|
---|
| 27 |
|
---|
[82192a18] | 28 | <para>
|
---|
| 29 | <application>Grilo</application> is a framework focused on making
|
---|
| 30 | media discovery and browsing easy for applications and application
|
---|
| 31 | developers.
|
---|
| 32 | </para>
|
---|
[69a16457] | 33 |
|
---|
[b5c0ca3] | 34 | &lfs120_checked;
|
---|
[69a16457] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[82192a18] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&grilo-download-http;"/>
|
---|
| 41 | </para>
|
---|
[69a16457] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[82192a18] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&grilo-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[69a16457] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[82192a18] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &grilo-md5sum;
|
---|
| 51 | </para>
|
---|
[69a16457] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[82192a18] | 54 | <para>
|
---|
| 55 | Download size: &grilo-size;
|
---|
| 56 | </para>
|
---|
[69a16457] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[82192a18] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &grilo-buildsize;
|
---|
| 61 | </para>
|
---|
[69a16457] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[82192a18] | 64 | <para>
|
---|
| 65 | Estimated build time: &grilo-time;
|
---|
| 66 | </para>
|
---|
[69a16457] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">Grilo Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="glib2"/> and
|
---|
| 75 | <xref linkend="libxml2"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 79 | <para role="recommended">
|
---|
| 80 | <xref linkend="gobject-introspection"/>,
|
---|
| 81 | <xref linkend="gtk3"/>,
|
---|
[f187e97] | 82 | <xref linkend="libsoup3"/>,
|
---|
[69a16457] | 83 | <xref linkend="totem-pl-parser"/>, and
|
---|
| 84 | <xref linkend="vala"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
| 89 | <xref linkend="docbook-utils"/>,
|
---|
| 90 | <xref linkend="liboauth"/>, and
|
---|
| 91 | <xref linkend="gtk-doc"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Grilo</title>
|
---|
[819213e] | 98 | <!--
|
---|
[82192a18] | 99 | <para>
|
---|
| 100 | First, fix a build failure introduced by an API change in
|
---|
| 101 | <application>totem-pl-parser</application>:
|
---|
| 102 | </para>
|
---|
[a91774f] | 103 |
|
---|
| 104 | <screen><userinput remap="pre">sed -i 's/TOTEM_IS_PL_PARSER/TOTEM_PL_IS_PARSER/' libs/pls/grl-pls.c</userinput></screen>
|
---|
[819213e] | 105 | -->
|
---|
[82192a18] | 106 | <para>
|
---|
| 107 | Install <application>Grilo</application> by running the
|
---|
| 108 | following commands:
|
---|
| 109 | </para>
|
---|
[69a16457] | 110 |
|
---|
[e130fead] | 111 | <screen><userinput>mkdir build &&
|
---|
[25b7f55] | 112 | cd build &&
|
---|
| 113 |
|
---|
[91318eb] | 114 | meson setup --prefix=/usr \
|
---|
| 115 | --buildtype=release \
|
---|
| 116 | -Denable-gtk-doc=false \
|
---|
| 117 | .. &&
|
---|
[e130fead] | 118 | ninja</userinput></screen>
|
---|
[69a16457] | 119 |
|
---|
[82192a18] | 120 | <para>
|
---|
| 121 | To test the results, issue: <command>ninja test</command>.
|
---|
| 122 | </para>
|
---|
[69a16457] | 123 |
|
---|
[82192a18] | 124 | <para>
|
---|
| 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
[69a16457] | 127 |
|
---|
[e130fead] | 128 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[69a16457] | 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
[adf17153] | 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 136 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 137 |
|
---|
[e130fead] | 138 | <para>
|
---|
[aa41434] | 139 | <parameter>-Denable-gtk-doc=false</parameter>: This option disables
|
---|
| 140 | generating documentation. If you have <xref linkend="gtk-doc"/>
|
---|
| 141 | installed and wish to generate documentation, remove this option.
|
---|
[5a82b26f] | 142 | <!--Note that building the documentation is currently broken due to
|
---|
| 143 | an incompatibility with gtk-doc.-->
|
---|
[e130fead] | 144 | </para>
|
---|
[69a16457] | 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
| 153 | <segtitle>Installed Libraries</segtitle>
|
---|
| 154 | <segtitle>Installed Directories</segtitle>
|
---|
| 155 |
|
---|
| 156 | <seglistitem>
|
---|
| 157 | <seg>grilo-test-ui-0.3, grl-inspect-0.3 and grl-launch-0.3</seg>
|
---|
| 158 | <seg>libgrilo-0.3.so, libgrlnet-0.3.so and libgrlpls-0.3.so</seg>
|
---|
| 159 | <seg>/usr/include/grilo-0.3</seg>
|
---|
| 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
| 162 |
|
---|
| 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="grilo-test-ui">
|
---|
| 169 | <term><command>grilo-test-ui-0.3</command></term>
|
---|
| 170 | <listitem>
|
---|
[82192a18] | 171 | <para>
|
---|
| 172 | is a simple playground application that you can use to test the
|
---|
[4c24eb0a] | 173 | framework and its plugins
|
---|
[82192a18] | 174 | </para>
|
---|
[69a16457] | 175 | <indexterm zone="grilo grilo-test-ui">
|
---|
| 176 | <primary sortas="b-grilo-test-ui">grilo-test-ui</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="grl-inspect">
|
---|
| 182 | <term><command>grl-inspect-0.3</command></term>
|
---|
| 183 | <listitem>
|
---|
[82192a18] | 184 | <para>
|
---|
[4c24eb0a] | 185 | is a tool that prints out information on available Grilo sources
|
---|
[82192a18] | 186 | </para>
|
---|
[69a16457] | 187 | <indexterm zone="grilo grl-inspect">
|
---|
| 188 | <primary sortas="b-grl-inspect">grl-inspect</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="grl-launch">
|
---|
| 194 | <term><command>grl-launch-0.3</command></term>
|
---|
| 195 | <listitem>
|
---|
[82192a18] | 196 | <para>
|
---|
| 197 | is a tool to run <application>Grilo</application> operations
|
---|
[4c24eb0a] | 198 | from command line
|
---|
[82192a18] | 199 | </para>
|
---|
[69a16457] | 200 | <indexterm zone="grilo grl-launch">
|
---|
| 201 | <primary sortas="b-grl-launch">grl-launch</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
| 206 | <varlistentry id="libgrilo">
|
---|
[4c24eb0a] | 207 | <term><filename class="libraryfile">libgrilo.so</filename></term>
|
---|
[69a16457] | 208 | <listitem>
|
---|
[82192a18] | 209 | <para>
|
---|
[4c24eb0a] | 210 | provides the Grilo framework
|
---|
[82192a18] | 211 | </para>
|
---|
[69a16457] | 212 | <indexterm zone="grilo libgrilo">
|
---|
| 213 | <primary sortas="c-libgrilo">libgrilo.so</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | <varlistentry id="libgrlnet">
|
---|
[4c24eb0a] | 219 | <term><filename class="libraryfile">libgrlnet.so</filename></term>
|
---|
[69a16457] | 220 | <listitem>
|
---|
[82192a18] | 221 | <para>
|
---|
[4c24eb0a] | 222 | provides Grilo networking helpers for plug-ins
|
---|
[82192a18] | 223 | </para>
|
---|
[69a16457] | 224 | <indexterm zone="grilo libgrilo">
|
---|
| 225 | <primary sortas="c-libgrlnet">libgrlnet.so</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
| 230 | <varlistentry id="libgrlpls">
|
---|
[4c24eb0a] | 231 | <term><filename class="libraryfile">libgrlpls.so</filename></term>
|
---|
[69a16457] | 232 | <listitem>
|
---|
[82192a18] | 233 | <para>
|
---|
[4c24eb0a] | 234 | provides playlist handling functions
|
---|
[82192a18] | 235 | </para>
|
---|
[69a16457] | 236 | <indexterm zone="grilo libgrilo">
|
---|
| 237 | <primary sortas="c-libgrlpls">libgrlpls.so</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | </variablelist>
|
---|
| 243 |
|
---|
| 244 | </sect2>
|
---|
| 245 |
|
---|
| 246 | </sect1>
|
---|