source: gnome/platform/libgweather.xml@ 2f2e98d

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 2f2e98d was 2f2e98d, checked in by Douglas R. Reno <renodr@…>, 2 years ago

libgweather: Fix a bug caused by a duplicate weather station with the same identifier.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22436 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.2 KB
Line 
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/&gnome-minor-34;/libgweather-&libgweather-version;.tar.xz">
9 <!ENTITY libgweather-download-ftp
10 "&gnome-download-ftp;/libgweather/&gnome-minor-34;/libgweather-&libgweather-version;.tar.xz">
11 <!ENTITY libgweather-md5sum "52c3b1e27887fc88f862c92c42d930c1">
12 <!ENTITY libgweather-size "2.6 MB">
13 <!ENTITY libgweather-buildsize "92 MB">
14 <!ENTITY libgweather-time "0.2 SBU">
15]>
16
17<sect1 id="libgweather" xreflabel="libgweather-&libgweather-version;">
18 <?dbhtml filename="libgweather.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>libgweather-&libgweather-version;</title>
26
27 <indexterm zone="libgweather">
28 <primary sortas="a-libgweather">libgweather</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to libgweather</title>
33
34 <para>
35 The <application>libgweather</application> package is a library used
36 to access weather information from online services for numerous
37 locations.
38 </para>
39
40 &lfs90_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libgweather-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libgweather-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libgweather-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libgweather-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libgweather-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libgweather-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">libgweather Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="geocode-glib"/>,
81 <xref linkend="gtk3"/>, and
82 <xref linkend="libsoup"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="gobject-introspection"/>,
88 <xref linkend="libxml2"/>, and
89 <xref linkend="vala"/>
90 </para>
91
92 <bridgehead renderas="sect4">Optional</bridgehead>
93 <para role="optional">
94 <ulink url="http://glade.gnome.org/">Glade</ulink> and
95 <xref linkend="gtk-doc"/>
96 </para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/libgweather"/>
100 </para>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of libgweather</title>
105
106 <para>
107 First, fix a bug in the test suite that causes problems because of a
108 duplicate weather station:
109 </para>
110
111<screen><userinput remap="pre">sed -i '338a "KX26",' libgweather/test_libgweather.c</userinput></screen>
112
113 <para>
114 Install <application>libgweather</application> by running the following
115 commands:
116 </para>
117
118<screen><userinput>mkdir build &amp;&amp;
119cd build &amp;&amp;
120
121meson --prefix=/usr .. &amp;&amp;
122ninja</userinput></screen>
123
124 <para>
125 To test the results, issue: <command>LANG=C ninja test</command>.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>ninja install</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para><option>-Dgtk_doc=true</option>: Use this parameter if
140 <application>GTK-Doc</application> is installed and you wish to rebuild and
141 install the API documentation.</para>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>
155 None
156 </seg>
157 <seg>
158 libgweather-3.so
159 </seg>
160 <seg>
161 /usr/include/libgweather-3.0,
162 /usr/share/gtk-doc/html/libgweather-3.0 and
163 /usr/share/libgweather
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="libgweather-3">
174 <term><filename class="libraryfile">libgweather-3.so</filename></term>
175 <listitem>
176 <para>
177 contains functions that allow the retrieval of weather
178 information.
179 </para>
180 <indexterm zone="libgweather libgweather-3">
181 <primary sortas="c-libgweather-3">libgweather-3.so</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.