[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 libgweather-download-http
|
---|
[27d3028] | 8 | "&gnome-download-http;/libgweather/&libgweather-minor;/libgweather-&libgweather-version;.tar.xz">
|
---|
[69a16457] | 9 | <!ENTITY libgweather-download-ftp
|
---|
[27d3028] | 10 | "&gnome-download-ftp;/libgweather/&libgweather-minor;/libgweather-&libgweather-version;.tar.xz">
|
---|
| 11 | <!ENTITY libgweather-md5sum "2aa2708dfde3481c87da3d7ea27110da">
|
---|
| 12 | <!ENTITY libgweather-size "4.5 MB">
|
---|
| 13 | <!ENTITY libgweather-buildsize "108 MB (with tests)">
|
---|
| 14 | <!ENTITY libgweather-time "0.2 SBU (with tests)">
|
---|
[69a16457] | 15 | ]>
|
---|
| 16 |
|
---|
[51dfb3e] | 17 | <sect1 id="libgweather" xreflabel="libgweather-&libgweather-version;">
|
---|
[69a16457] | 18 | <?dbhtml filename="libgweather.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libgweather-&libgweather-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libgweather">
|
---|
| 27 | <primary sortas="a-libgweather">libgweather</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libgweather</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>libgweather</application> package is a library used
|
---|
| 35 | to access weather information from online services for numerous
|
---|
| 36 | locations.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[b410868] | 39 | &lfs111_checked;
|
---|
[69a16457] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&libgweather-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libgweather-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &libgweather-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &libgweather-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &libgweather-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &libgweather-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">libgweather Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="geocode-glib"/>,
|
---|
| 80 | <xref linkend="gtk3"/>, and
|
---|
| 81 | <xref linkend="libsoup"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
[bb8b4003] | 86 | <xref linkend="gobject-introspection"/>,
|
---|
| 87 | <xref linkend="libxml2"/>, and
|
---|
[69a16457] | 88 | <xref linkend="vala"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 92 | <para role="optional">
|
---|
[3b339ddc] | 93 | <xref linkend="gtk-doc"/>,
|
---|
[27d3028] | 94 | <ulink url="http://glade.gnome.org/">Glade</ulink>,
|
---|
| 95 | <ulink url="https://pypi.org/project/pylint/">pylint</ulink>, and
|
---|
| 96 | for the bundled gi-docgen module:
|
---|
[fde1abe] | 97 | <phrase revision="sysv"><xref linkend="Jinja2"/>,
|
---|
| 98 | <xref linkend="MarkupSafe"/>,</phrase>
|
---|
[27d3028] | 99 | <xref linkend="pygments"/>,
|
---|
| 100 | <ulink url="https://pypi.org/project/Markdown/">Markdown</ulink>,
|
---|
| 101 | <ulink url="https://pypi.org/project/toml/">toml</ulink>, and
|
---|
| 102 | <ulink url="https://pypi.org/project/typogrify/">typogrify</ulink>
|
---|
[69a16457] | 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <para condition="html" role="usernotes">User Notes:
|
---|
| 106 | <ulink url="&blfs-wiki;/libgweather"/>
|
---|
| 107 | </para>
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
| 111 | <title>Installation of libgweather</title>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | Install <application>libgweather</application> by running the following
|
---|
| 115 | commands:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
[27229db] | 118 | <screen><userinput>mkdir build &&
|
---|
| 119 | cd build &&
|
---|
| 120 |
|
---|
[27d3028] | 121 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
[27229db] | 122 | ninja</userinput></screen>
|
---|
[69a16457] | 123 |
|
---|
| 124 | <para>
|
---|
[27d3028] | 125 | One test needs that the locale files be installed on the system. So
|
---|
| 126 | it is better to run the tests after installing the package.
|
---|
[69a16457] | 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
[27229db] | 133 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[69a16457] | 134 |
|
---|
[27d3028] | 135 | <para>
|
---|
| 136 | To test the results, issue: <command>ninja test</command>. One test,
|
---|
| 137 | metar, is known to fail.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[69a16457] | 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
[adf17153] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 146 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 147 |
|
---|
[82192a18] | 148 | <para>
|
---|
[27d3028] | 149 | <parameter>-Dgtk_doc=false</parameter>: allows building without using
|
---|
| 150 | the bundled <application>gi-docgen</application> module. Remove this
|
---|
| 151 | switch if you have the needed dependencies, and you wish to rebuild
|
---|
[82192a18] | 152 | and install the API documentation.
|
---|
| 153 | </para>
|
---|
[69a16457] | 154 |
|
---|
| 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 | <seglistitem>
|
---|
| 166 | <seg>
|
---|
| 167 | None
|
---|
| 168 | </seg>
|
---|
| 169 | <seg>
|
---|
[27d3028] | 170 | libgweather-4.so
|
---|
[69a16457] | 171 | </seg>
|
---|
| 172 | <seg>
|
---|
[27d3028] | 173 | /usr/lib/libgweather-4,
|
---|
| 174 | /usr/include/libgweather-4.0,
|
---|
| 175 | /usr/share/gtk-doc/html/libgweather-4.0 (optional), and
|
---|
| 176 | /usr/share/libgweather-4
|
---|
[69a16457] | 177 | </seg>
|
---|
| 178 | </seglistitem>
|
---|
| 179 | </segmentedlist>
|
---|
| 180 |
|
---|
| 181 | <variablelist>
|
---|
| 182 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 183 | <?dbfo list-presentation="list"?>
|
---|
| 184 | <?dbhtml list-presentation="table"?>
|
---|
| 185 |
|
---|
[27d3028] | 186 | <varlistentry id="libgweather-4">
|
---|
| 187 | <term><filename class="libraryfile">libgweather-4.so</filename></term>
|
---|
[69a16457] | 188 | <listitem>
|
---|
| 189 | <para>
|
---|
| 190 | contains functions that allow the retrieval of weather
|
---|
[4c24eb0a] | 191 | information
|
---|
[69a16457] | 192 | </para>
|
---|
[27d3028] | 193 | <indexterm zone="libgweather libgweather-4">
|
---|
| 194 | <primary sortas="c-libgweather-3">libgweather-4.so</primary>
|
---|
[69a16457] | 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | </variablelist>
|
---|
| 200 |
|
---|
| 201 | </sect2>
|
---|
| 202 |
|
---|
| 203 | </sect1>
|
---|