source: general/genlib/libportal.xml@ bf565e06

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/xf86-video-removal
Last change on this file since bf565e06 was c5408a2, checked in by Douglas R. Reno <renodr@…>, 17 months ago

Add an entity for the gi-docgen URL and change several packages to use
it.

This should make the different URLs we had previously consistent with
one another, and ease maintenance burden.

This is only temporary though since eventually gi-docgen will become
part of the book, when Pierre's python-modules branch is brought into
trunk.

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