[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">
|
---|
[71b76886] | 11 | <!ENTITY libgweather-md5sum "4c0c46102dcb5e813ff698e5f713e4bb">
|
---|
| 12 | <!ENTITY libgweather-size "2.6 MB">
|
---|
| 13 | <!ENTITY libgweather-buildsize "95 MB (with tests)">
|
---|
[27d3028] | 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"/>,
|
---|
[71b76886] | 77 | <xref linkend="gtk3"/>,
|
---|
| 78 | <xref linkend="libsoup3"/>, and
|
---|
| 79 | <xref linkend="pygobject3"/>
|
---|
[69a16457] | 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
[bb8b4003] | 84 | <xref linkend="gobject-introspection"/>,
|
---|
| 85 | <xref linkend="libxml2"/>, and
|
---|
[69a16457] | 86 | <xref linkend="vala"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
[71b76886] | 91 | <xref linkend="llvm"/> (for clang-format),
|
---|
| 92 | <ulink url="&gi-docgen-url;">gi-docgen</ulink>,
|
---|
[27d3028] | 93 | <ulink url="https://pypi.org/project/pylint/">pylint</ulink>, and
|
---|
| 94 | for the bundled gi-docgen module:
|
---|
[fde1abe] | 95 | <phrase revision="sysv"><xref linkend="Jinja2"/>,
|
---|
| 96 | <xref linkend="MarkupSafe"/>,</phrase>
|
---|
[27d3028] | 97 | <xref linkend="pygments"/>,
|
---|
| 98 | <ulink url="https://pypi.org/project/Markdown/">Markdown</ulink>,
|
---|
| 99 | <ulink url="https://pypi.org/project/toml/">toml</ulink>, and
|
---|
| 100 | <ulink url="https://pypi.org/project/typogrify/">typogrify</ulink>
|
---|
[69a16457] | 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para condition="html" role="usernotes">User Notes:
|
---|
| 104 | <ulink url="&blfs-wiki;/libgweather"/>
|
---|
| 105 | </para>
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of libgweather</title>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | Install <application>libgweather</application> by running the following
|
---|
| 113 | commands:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
[27229db] | 116 | <screen><userinput>mkdir build &&
|
---|
| 117 | cd build &&
|
---|
| 118 |
|
---|
[27d3028] | 119 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
[27229db] | 120 | ninja</userinput></screen>
|
---|
[69a16457] | 121 |
|
---|
| 122 | <para>
|
---|
[71b76886] | 123 | One test needs that the locale files be installed on the system, so
|
---|
[27d3028] | 124 | it is better to run the tests after installing the package.
|
---|
[69a16457] | 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
[27229db] | 131 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[69a16457] | 132 |
|
---|
[27d3028] | 133 | <para>
|
---|
[71b76886] | 134 | To test the results, issue: <command>LC_ALL=C ninja test</command>. One
|
---|
| 135 | test, metar, is known to fail.
|
---|
[27d3028] | 136 | </para>
|
---|
| 137 |
|
---|
[69a16457] | 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
| 142 |
|
---|
[adf17153] | 143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 144 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 145 |
|
---|
[82192a18] | 146 | <para>
|
---|
[27d3028] | 147 | <parameter>-Dgtk_doc=false</parameter>: allows building without using
|
---|
| 148 | the bundled <application>gi-docgen</application> module. Remove this
|
---|
| 149 | switch if you have the needed dependencies, and you wish to rebuild
|
---|
[82192a18] | 150 | and install the API documentation.
|
---|
| 151 | </para>
|
---|
[69a16457] | 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Libraries</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>
|
---|
| 165 | None
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
[27d3028] | 168 | libgweather-4.so
|
---|
[69a16457] | 169 | </seg>
|
---|
| 170 | <seg>
|
---|
[27d3028] | 171 | /usr/lib/libgweather-4,
|
---|
| 172 | /usr/include/libgweather-4.0,
|
---|
| 173 | /usr/share/gtk-doc/html/libgweather-4.0 (optional), and
|
---|
| 174 | /usr/share/libgweather-4
|
---|
[69a16457] | 175 | </seg>
|
---|
| 176 | </seglistitem>
|
---|
| 177 | </segmentedlist>
|
---|
| 178 |
|
---|
| 179 | <variablelist>
|
---|
| 180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 181 | <?dbfo list-presentation="list"?>
|
---|
| 182 | <?dbhtml list-presentation="table"?>
|
---|
| 183 |
|
---|
[27d3028] | 184 | <varlistentry id="libgweather-4">
|
---|
| 185 | <term><filename class="libraryfile">libgweather-4.so</filename></term>
|
---|
[69a16457] | 186 | <listitem>
|
---|
| 187 | <para>
|
---|
| 188 | contains functions that allow the retrieval of weather
|
---|
[4c24eb0a] | 189 | information
|
---|
[69a16457] | 190 | </para>
|
---|
[27d3028] | 191 | <indexterm zone="libgweather libgweather-4">
|
---|
[71b76886] | 192 | <primary sortas="c-libgweather-4">libgweather-4.so</primary>
|
---|
[69a16457] | 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | </variablelist>
|
---|
| 198 |
|
---|
| 199 | </sect2>
|
---|
| 200 |
|
---|
| 201 | </sect1>
|
---|