source: general/genlib/telepathy-glib.xml@ ff822d5

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since ff822d5 was 1c7e3b4e, checked in by Douglas R. Reno <renodr@…>, 3 months ago

Fix building telepathy-glib-0.24.2 with gcc-14.

  • Property mode set to 100644
File size: 6.7 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 telepathy-glib-download-http
8 "https://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-&telepathy-glib-version;.tar.gz">
9 <!ENTITY telepathy-glib-download-ftp " ">
10 <!ENTITY telepathy-glib-md5sum "a3a75657e9389381b44fee1680f770a7">
11 <!ENTITY telepathy-glib-size "3.7 MB">
12 <!ENTITY telepathy-glib-buildsize "256 MB">
13 <!ENTITY telepathy-glib-time "1.2 SBU">
14]>
15
16<sect1 id="telepathy-glib" xreflabel="telepathy-glib-&telepathy-glib-version;">
17 <?dbhtml filename="telepathy-glib.html"?>
18
19
20 <title>telepathy-glib-&telepathy-glib-version;</title>
21
22 <indexterm zone="telepathy-glib">
23 <primary sortas="a-telepathy-glib">telepathy-glib</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Telepathy GLib</title>
28
29 <para>
30 The <application>Telepathy GLib</application> contains a library used by
31 <application>GLib</application> based <application>Telepathy</application>
32 components. Telepathy is a <application>D-Bus</application> framework for
33 unifying real time communication, including instant messaging, voice calls
34 and video calls. It abstracts differences between protocols to provide a
35 unified interface for applications.
36 </para>
37
38 &lfs121_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&telepathy-glib-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&telepathy-glib-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &telepathy-glib-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &telepathy-glib-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &telepathy-glib-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &telepathy-glib-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74<!--
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/telepathy-glib-&telepathy-glib-version;-consolidated_fixes-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84-->
85
86 <bridgehead renderas="sect3">Telepathy GLib Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="dbus-glib"/> and
91 <xref linkend="libxslt"/>
92 </para>
93
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
97 &gobject-introspection;, and
98 <xref linkend="vala"/>
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <xref linkend="gtk-doc"/>
104 </para>
105
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of Telepathy Glib</title>
110
111<!--
112 <para>
113 First, apply a patch to fix several bugs discovered after
114 release:
115 </para>
116
117<screen><userinput remap="pre">patch -Np1 -i ../telepathy-glib-&telepathy-glib-version;-consolidated_fixes-1.patch</userinput></screen>
118-->
119
120 <para>
121 First, fix building this package with gcc-14:
122 </para>
123
124<screen><userinput remap="pre">sed -i '1794 s/tp_value_array_free/(GDestroyNotify) tp_value_array_free/' telepathy-glib/protocol.c</userinput></screen>
125
126 <para>
127 If you intend to run the tests, one of them defaults to invoking
128 <filename>/usr/bin/python</filename> and fails if it is absent, causing
129 the second batch of tests to not run - unlike the other tests which can be
130 overridden from the environment. Fix it with the following command:
131 </para>
132 <!-- Still needed with 0.24.2 -->
133
134<screen><userinput>sed -i 's%/usr/bin/python%&amp;3%' tests/all-errors-documented.py</userinput></screen>
135
136 <para>
137 Install <application>Telepathy GLib</application> by running the
138 following commands:
139 </para>
140
141<screen><userinput>PYTHON=/usr/bin/python3 ./configure --prefix=/usr \
142 --enable-vala-bindings \
143 --disable-static &amp;&amp;
144make</userinput></screen>
145
146 <para>
147 To test the results, issue: <command>make check</command>.
148 <!--Four tests are known to fail: <emphasis>test-account</emphasis>,
149 <emphasis>test-cm</emphasis>, <emphasis>test-contact-lists</emphasis>, and
150 <emphasis>test-contact-list-client</emphasis>.-->
151 </para>
152
153 <para>
154 Now, as the <systemitem class="username">root</systemitem> user:
155 </para>
156
157<screen role="root"><userinput>make install</userinput></screen>
158
159 </sect2>
160
161 <sect2 role="commands">
162 <title>Command Explanations</title>
163
164 <para>
165 <parameter>--enable-vala-bindings</parameter>: This switch
166 enables building of the Vala bindings. Remove if you don't
167 have <xref linkend="vala"/> installed.
168 </para>
169
170 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
171 href="../../xincludes/static-libraries.xml"/>
172
173 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
174 href="../../xincludes/gtk-doc-rebuild.xml"/>
175
176 </sect2>
177
178 <sect2 role="content">
179 <title>Contents</title>
180
181 <segmentedlist>
182 <segtitle>Installed Programs</segtitle>
183 <segtitle>Installed Libraries</segtitle>
184 <segtitle>Installed Directories</segtitle>
185
186 <seglistitem>
187 <seg>
188 None
189 </seg>
190 <seg>
191 libtelepathy-glib.so
192 </seg>
193 <seg>
194 /usr/include/telepathy-1.0 and
195 /usr/share/gtk-doc/html/telepathy-glib
196 </seg>
197 </seglistitem>
198 </segmentedlist>
199
200 <variablelist>
201 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
202 <?dbfo list-presentation="list"?>
203 <?dbhtml list-presentation="table"?>
204
205 <varlistentry id="libtelepathy-glib">
206 <term><filename class="libraryfile">libtelepathy-glib.so</filename></term>
207 <listitem>
208 <para>
209 contains the <application>Telepathy GLib</application> API functions
210 </para>
211 <indexterm zone="telepathy-glib libtelepathy-glib">
212 <primary sortas="c-libtelepathy-glib">libtelepathy-glib.so</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 </variablelist>
218
219 </sect2>
220
221</sect1>
Note: See TracBrowser for help on using the repository browser.