source: general/genlib/libportal.xml@ 19f84a6

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 19f84a6 was 19f84a6, checked in by Douglas R. Reno <renodr@…>, 20 months ago

Update to gnome-bluetooth-42.3 and tag the rest of GNOME Desktop.

  • Property mode set to 100644
File size: 7.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 libportal-download-http "https://github.com/flatpak/libportal/releases/download/&libportal-version;/libportal-&libportal-version;.tar.xz">
8 <!ENTITY libportal-download-ftp " ">
9 <!ENTITY libportal-md5sum "e16c8ca2621aff64774a1d2ad6a2a346">
10 <!ENTITY libportal-size "64 KB">
11 <!ENTITY libportal-buildsize "2.9 MB">
12 <!ENTITY libportal-time "0.1 SBU">
13]>
14
15<sect1 id="libportal" xreflabel="libportal-&libportal-version;">
16 <?dbhtml filename="libportal.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>libportal-&libportal-version;</title>
23
24 <indexterm zone="libportal">
25 <primary sortas="a-libportal">libportal</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to libportal</title>
30
31 <para>
32 The <application>libportal</application> package provides
33 a library that contains GIO-style async APIs for most Flatpak portals.
34 </para>
35
36 &lfs112_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&libportal-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&libportal-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &libportal-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &libportal-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &libportal-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &libportal-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">libportal Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="gobject-introspection"/>
77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="gtk3"/>,
82 <xref linkend="gtk4"/>, and
83 <xref linkend="qt5"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="vala"/> and
89 <ulink url="https://gitlab.gnome.org/ebassi/gi-docgen">gi-docgen</ulink>
90 </para>
91
92 <para condition="html" role="usernotes">
93 User Notes: <ulink url="&blfs-wiki;/libportal"/>
94 </para>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of libportal</title>
99
100 <warning>
101 <para>
102 If a previous version of libportal is installed, move the
103 headers out of the way so that later packages do not encounter
104 conflicts (as the <systemitem role="username">root</systemitem>
105 user):
106 </para>
107<screen role="root"><userinput>if [ -e /usr/include/libportal ]; then
108 rm -rf /usr/include/libportal.old &amp;&amp;
109 mv -vf /usr/include/libportal{,.old}
110fi</userinput></screen>
111 </warning>
112
113 <para>
114 Install <application>libportal</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 --buildtype=release -Ddocs=false .. &amp;&amp;
122ninja</userinput></screen>
123
124 <para>
125 This package does not come with a test suite.
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 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
139 href="../../xincludes/meson-buildtype-release.xml"/>
140
141 <para>
142 <parameter>-Ddocs=false</parameter>: Remove this parameter if
143 <application>gi-docgen</application> is installed and you wish to rebuild
144 and install the API documentation.
145 </para>
146
147 <para>
148 <option>-Dbackends=gtk3,gtk4,qt5</option>: This switch allows you to set
149 the available backends. You can use it to disable the dependency on gtk-3,
150 gtk-4, or qt-5. Most applications that use libportal will use either
151 gtk-4 or gtk-3. The default is to build all three backends.
152 </para>
153
154 </sect2>
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Libraries</segtitle>
161 <segtitle>Installed Directories</segtitle>
162
163 <seglistitem>
164 <seg>
165 None
166 </seg>
167 <seg>
168 libportal.so,
169 libportal-gtk3.so,
170 libportal-gtk4.so, and
171 libportal-qt5.so
172 </seg>
173 <seg>
174 /usr/include/libportal and
175 /usr/share/gtk-doc/html/libportal
176 </seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="libportal-lib">
186 <term><filename class="libraryfile">libportal.so</filename></term>
187 <listitem>
188 <para>
189 provides GIO-style async APIs for most Flatpak portals
190 </para>
191 <indexterm zone="libportal libportal-lib">
192 <primary sortas="c-libportal">libportal.so</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="libportal-gtk3">
198 <term><filename class="libraryfile">libportal-gtk3.so</filename></term>
199 <listitem>
200 <para>
201 provides GTK+-3 specific functions for interacting with Flatpak
202 portals.
203 </para>
204 <indexterm zone="libportal libportal-gtk3">
205 <primary sortas="c-libportal-gtk3">libportal-gtk3.so</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="libportal-gtk4">
211 <term><filename class="libraryfile">libportal-gtk4.so</filename></term>
212 <listitem>
213 <para>
214 provides GTK-4 specific functions for interacting with Flatpak
215 portals.
216 </para>
217 <indexterm zone="libportal libportal-gtk4">
218 <primary sortas="c-libportal-gtk4">libportal-gtk4.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="libportal-qt5">
224 <term><filename class="libraryfile">libportal-qt5.so</filename></term>
225 <listitem>
226 <para>
227 provides Qt5 specific functions for interacting with Flatpak
228 portals.
229 </para>
230 <indexterm zone="libportal libportal-qt5">
231 <primary sortas="c-libportal-qt5">libportal-qt5.so</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235 </variablelist>
236 </sect2>
237
238</sect1>
Note: See TracBrowser for help on using the repository browser.