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