source: gnome/platform/libgweather.xml@ 91318eb

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 91318eb was 91318eb, checked in by Pierre Labastie <pierre.labastie@…>, 15 months ago

Add "setup" to meson commands

I've not been very consistent on typography, but it is a start

  • Property mode set to 100644
File size: 6.0 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/&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 "4c0c46102dcb5e813ff698e5f713e4bb">
12 <!ENTITY libgweather-size "2.6 MB">
13 <!ENTITY libgweather-buildsize "95 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
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
36 &lfs113_checked;
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"/>,
78 <xref linkend="libsoup3"/>, and
79 <xref linkend="pygobject3"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="gobject-introspection"/>,
85 <xref linkend="libxml2"/>, and
86 <xref linkend="vala"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="gi-docgen"/> (gi-docgen is also provided as a meson
92 subproject, which will be used if <option>-Dgtk_doc=false</option>
93 is not passed to <command>meson</command>),
94 <xref linkend="llvm"/> (for clang-format), and
95 <ulink url="https://pypi.org/project/pylint/">pylint</ulink>
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 Install <application>libgweather</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>mkdir build &amp;&amp;
112cd build &amp;&amp;
113
114meson setup --prefix=/usr \
115 --buildtype=release \
116 -Dgtk_doc=false \
117 .. &amp;&amp;
118ninja</userinput></screen>
119
120 <para>
121 If you have <xref linkend='gi-docgen'/> installed and wish to build
122 the API documentation for this package, issue:
123 </para>
124
125<screen role='nodump'><userinput>sed "s/libgweather_full_version/'libgweather-&libgweather-version;'/" \
126 -i ../doc/meson.build &amp;&amp;
127meson configure -Dgtk_doc=true &amp;&amp;
128ninja</userinput></screen>
129
130 <para>
131 One test needs that the locale files be installed on the system, so
132 it is better to run the tests after installing the package.
133 </para>
134
135 <para>
136 Now, as the <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>ninja install</userinput></screen>
140
141 <para>
142 To test the results, issue: <command>LC_ALL=C ninja test</command>. One
143 test, metar, is known to fail.
144 </para>
145
146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/meson-buildtype-release.xml"/>
153
154 <para>
155 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
156 </para>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 None
171 </seg>
172 <seg>
173 libgweather-4.so
174 </seg>
175 <seg>
176 /usr/lib/libgweather-4,
177 /usr/include/libgweather-4.0,
178 /usr/share/gtk-doc/html/libgweather-4.0 (optional), and
179 /usr/share/libgweather-4
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="libgweather-4">
190 <term><filename class="libraryfile">libgweather-4.so</filename></term>
191 <listitem>
192 <para>
193 contains functions that allow the retrieval of weather
194 information
195 </para>
196 <indexterm zone="libgweather libgweather-4">
197 <primary sortas="c-libgweather-4">libgweather-4.so</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 </variablelist>
203
204 </sect2>
205
206</sect1>
Note: See TracBrowser for help on using the repository browser.