source: gnome/platform/geocode-glib.xml

trunk
Last change on this file was c0bc0a9, checked in by Xi Ruoyao <xry111@…>, 6 weeks ago

Update to glib-2.80.0 and gobject-introspection-1.80.0

Merge gobject-introspection into glib page to better handle a circular
dependency between these two packages.

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 geocode-glib-download-http
8 "&gnome-download-http;/geocode-glib/&gnome-minor-26;/geocode-glib-&geocode-glib-version;.tar.xz">
9 <!ENTITY geocode-glib-download-ftp " ">
10 <!ENTITY geocode-glib-md5sum "4c0dcdb7ee1222435b20acd3d7b68cd1">
11 <!ENTITY geocode-glib-size "76 KB">
12 <!ENTITY geocode-glib-buildsize "4.6 MB (with tests)">
13 <!ENTITY geocode-glib-time "0.1 SBU (with tests)">
14]>
15
16<sect1 id="geocode-glib" xreflabel="geocode-glib-&geocode-glib-version;">
17 <?dbhtml filename="geocode-glib.html"?>
18
19
20 <title>geocode-glib-&geocode-glib-version;</title>
21
22 <indexterm zone="geocode-glib">
23 <primary sortas="a-geocode-glib">geocode-glib</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Geocode GLib</title>
28
29 <para>
30 The <application>Geocode GLib</application> is a convenience library
31 for the Yahoo! Place Finder APIs. The Place Finder web service allows
32 to do geocoding (finding longitude and latitude from an address), and
33 reverse geocoding (finding an address from coordinates).
34 </para>
35
36 &lfs121_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&geocode-glib-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&geocode-glib-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &geocode-glib-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &geocode-glib-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &geocode-glib-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &geocode-glib-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Geocode GLib Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="json-glib"/> and
77 <xref linkend="libsoup3"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 &gobject-introspection;
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="gtk-doc"/>
88 </para>
89
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of Geocode GLib</title>
94
95 <para>
96 Install <application>Geocode GLib</application> by running the following
97 commands:
98 </para>
99
100<screen><userinput>mkdir build &amp;&amp;
101cd build &amp;&amp;
102
103meson setup --prefix /usr \
104 --buildtype=release \
105 -Denable-gtk-doc=false \
106 -Dsoup2=false \
107 .. &amp;&amp;
108ninja</userinput></screen>
109
110
111 <para>
112 To test the results, issue: <command>LANG=C ninja test</command>.
113 One test fails because it needs the <literal>sv_SE.utf8</literal> locale,
114 which is not installed by default in LFS.
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>ninja install</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
129 href="../../xincludes/meson-buildtype-release.xml"/>
130
131 <para>
132 <parameter>-Denable-gtk-doc=false</parameter>: Allow this package to be
133 built without <xref linkend="gtk-doc" role="nodep"/>. Remove this
134 parameter if <xref linkend="gtk-doc" role="nodep"/> is installed
135 and you wish to rebuild and install the API documentation.
136 </para>
137
138 <para>
139 <parameter>-Dsoup2=false</parameter>: This switch forces this package
140 to use libsoup-3 for HTTP requests instead of libsoup-2. The packages in
141 BLFS that use geocode-glib now expect libsoup-3 to be used.
142 </para>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Library</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>
156 None
157 </seg>
158 <seg>
159 libgeocode-glib-2.so
160 </seg>
161 <seg>
162 /usr/include/geocode-glib-2.0,
163 /usr/libexec/installed-tests/geocode-glib,
164 /usr/share/icons/gnome/scalable/places, and
165 /usr/share/gtk-doc/html/geocode-glib
166 </seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="libgeocode-glib-2">
176 <term><filename class="libraryfile">libgeocode-glib-2.so</filename></term>
177 <listitem>
178 <para>
179 contains the <application>Geocode GLib</application> API functions
180 </para>
181 <indexterm zone="geocode-glib libgeocode-glib-2">
182 <primary sortas="c-libgeocode-glib-2">libgeocode-glib-2.so</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.