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
|
---|
8 | "&gnome-download-http;/libgweather/&libgweather-minor;/libgweather-&libgweather-version;.tar.xz">
|
---|
9 | <!ENTITY libgweather-download-ftp
|
---|
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)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="libgweather" xreflabel="libgweather-&libgweather-version;">
|
---|
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 |
|
---|
39 | &lfs111_checked;
|
---|
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">
|
---|
86 | <xref linkend="gobject-introspection"/>,
|
---|
87 | <xref linkend="libxml2"/>, and
|
---|
88 | <xref linkend="vala"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
92 | <para role="optional">
|
---|
93 | <xref linkend="gtk-doc"/>,
|
---|
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:
|
---|
97 | <phrase revision="sysv"><xref linkend="Jinja2"/>,
|
---|
98 | <xref linkend="MarkupSafe"/>,</phrase>
|
---|
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>
|
---|
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 |
|
---|
118 | <screen><userinput>mkdir build &&
|
---|
119 | cd build &&
|
---|
120 |
|
---|
121 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
122 | ninja</userinput></screen>
|
---|
123 |
|
---|
124 | <para>
|
---|
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.
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | To test the results, issue: <command>ninja test</command>. One test,
|
---|
137 | metar, is known to fail.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | <sect2 role="commands">
|
---|
143 | <title>Command Explanations</title>
|
---|
144 |
|
---|
145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
146 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
147 |
|
---|
148 | <para>
|
---|
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
|
---|
152 | and install the API documentation.
|
---|
153 | </para>
|
---|
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>
|
---|
170 | libgweather-4.so
|
---|
171 | </seg>
|
---|
172 | <seg>
|
---|
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
|
---|
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 |
|
---|
186 | <varlistentry id="libgweather-4">
|
---|
187 | <term><filename class="libraryfile">libgweather-4.so</filename></term>
|
---|
188 | <listitem>
|
---|
189 | <para>
|
---|
190 | contains functions that allow the retrieval of weather
|
---|
191 | information
|
---|
192 | </para>
|
---|
193 | <indexterm zone="libgweather libgweather-4">
|
---|
194 | <primary sortas="c-libgweather-3">libgweather-4.so</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | </variablelist>
|
---|
200 |
|
---|
201 | </sect2>
|
---|
202 |
|
---|
203 | </sect1>
|
---|