source: general/genlib/libportal.xml@ e202579

trunk
Last change on this file since e202579 was 0e16b36, checked in by Bruce Dubbs <bdubbs@…>, 3 weeks ago

Archive qt5.

There are a large number of packages that needed to be changed to
remove qt5, but most are harmless. One package that is affected
is vlc where the gui interface is no longer available. Videos
can still be played from the command line and the kf6 dependency
on vlc is still satisfied.

If necessary qt5 can be restored for vlc.

Also three other files are archived that are no longer needed.

  • Property mode set to 100644
File size: 7.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 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 "f94be41e8495ae7d6aaed046481daa61">
10 <!ENTITY libportal-size "76 KB">
11 <!ENTITY libportal-buildsize "3.0 MB (with tests)">
12 <!ENTITY libportal-time "0.1 SBU (add 0.3 SBU for tests)">
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 &lfs122_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">Additional Downloads</bridgehead>
70 <itemizedlist spacing="compact">
71 <listitem>
72 <para>
73 Optional patch (required for running the test suite):
74 <ulink url="&patch-root;/libportal-&libportal-version;-testsuite_fix-1.patch"/>
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">libportal Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 &gobject-introspection;
84 </para>
85
86 <bridgehead renderas="sect4">Recommended</bridgehead>
87 <para role="recommended">
88 <xref linkend="gtk3"/> and
89 <xref linkend="gtk4"/>
90 </para>
91
92 <bridgehead renderas="sect4">Recommended (Runtime)</bridgehead>
93 <para role="runtime">
94 To make this package really useful, install
95 <xref linkend="xdg-desktop-portal"/>,
96 <xref linkend="xdg-desktop-portal-gtk"/>,
97 <xref role="nodep" linkend="xdg-desktop-portal-gnome"/> (if running
98 a GNOME desktop environment), and
99 <xref role="nodep" linkend="xdg-desktop-portal-lxqt"/> (if running
100 a LXQt desktop environment). They are not needed if only using this
101 package to satisfy a build dependency.
102 </para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <xref linkend="gi-docgen"/> (for documentation),
107 <xref linkend="python-dbusmock"/> and
108 <xref linkend="pytest"/> (for testing), and
109 <xref linkend="vala"/>
110 </para>
111
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of libportal</title>
116
117 <warning>
118 <para>
119 If a previous version of libportal is installed, move the
120 headers out of the way so that later packages do not encounter
121 conflicts (as the <systemitem role="username">root</systemitem>
122 user):
123 </para>
124<screen role="root"><userinput>if [ -e /usr/include/libportal ]; then
125 rm -rf /usr/include/libportal.old &amp;&amp;
126 mv -vf /usr/include/libportal{,.old}
127fi</userinput></screen>
128 </warning>
129
130 <para>
131 If running the test suite, apply a patch to fix several test
132 failures with python-dbusmock 0.30.0 or later:
133 </para>
134
135 <screen><userinput>patch -Np1 -i ../libportal-&libportal-version;-testsuite_fix-1.patch</userinput></screen>
136
137 <para>
138 Install <application>libportal</application> by running the following
139 commands:
140 </para>
141
142<screen><userinput>mkdir build &amp;&amp;
143cd build &amp;&amp;
144
145meson setup --prefix=/usr --buildtype=release -D docs=false .. &amp;&amp;
146ninja</userinput></screen>
147
148 <para>
149 If you have <xref linkend='gi-docgen'/> installed and wish to build
150 the API documentation for this package, issue:
151 </para>
152
153<screen role='nodump'><userinput>sed "/output/s/-1/-&libportal-version;/" -i ../doc/meson.build &amp;&amp;
154meson configure -D docs=true &amp;&amp;
155ninja</userinput></screen>
156
157 <para>
158 To test the results, issue: <command>ninja test</command>. Note that
159 additional <filename>dbus-daemon</filename> processes may need to be
160 killed after the tests are run.
161 </para>
162
163 <para>
164 Now, as the <systemitem class="username">root</systemitem> user:
165 </para>
166
167<screen role="root"><userinput>ninja install</userinput></screen>
168
169 </sect2>
170
171 <sect2 role="commands">
172 <title>Command Explanations</title>
173
174 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
175 href="../../xincludes/meson-buildtype-release.xml"/>
176
177 <para>
178 <parameter>-D docs=false</parameter>: &gi-doc-disable;
179 </para>
180
181 </sect2>
182 <sect2 role="content">
183 <title>Contents</title>
184
185 <segmentedlist>
186 <segtitle>Installed Programs</segtitle>
187 <segtitle>Installed Libraries</segtitle>
188 <segtitle>Installed Directories</segtitle>
189
190 <seglistitem>
191 <seg>
192 None
193 </seg>
194 <seg>
195 libportal.so,
196 libportal-gtk3.so, and
197 libportal-gtk4.so
198 </seg>
199 <seg>
200 /usr/include/libportal and
201 /usr/share/gtk-doc/html/libportal
202 </seg>
203 </seglistitem>
204 </segmentedlist>
205
206 <variablelist>
207 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
208 <?dbfo list-presentation="list"?>
209 <?dbhtml list-presentation="table"?>
210
211 <varlistentry id="libportal-lib">
212 <term><filename class="libraryfile">libportal.so</filename></term>
213 <listitem>
214 <para>
215 provides GIO-style async APIs for most Flatpak portals
216 </para>
217 <indexterm zone="libportal libportal-lib">
218 <primary sortas="c-libportal">libportal.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="libportal-gtk3">
224 <term><filename class="libraryfile">libportal-gtk3.so</filename></term>
225 <listitem>
226 <para>
227 provides GTK+-3 specific functions for interacting with Flatpak
228 portals
229 </para>
230 <indexterm zone="libportal libportal-gtk3">
231 <primary sortas="c-libportal-gtk3">libportal-gtk3.so</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="libportal-gtk4">
237 <term><filename class="libraryfile">libportal-gtk4.so</filename></term>
238 <listitem>
239 <para>
240 provides GTK-4 specific functions for interacting with Flatpak
241 portals
242 </para>
243 <indexterm zone="libportal libportal-gtk4">
244 <primary sortas="c-libportal-gtk4">libportal-gtk4.so</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 </variablelist>
250 </sect2>
251
252</sect1>
Note: See TracBrowser for help on using the repository browser.