[ec6047d8] | 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 "dffd58a937dfbabc873e51029dc587f3">
|
---|
| 10 | <!ENTITY libportal-size "52 KB">
|
---|
| 11 | <!ENTITY libportal-buildsize "3.5 MB">
|
---|
| 12 | <!ENTITY libportal-time "less than 0.1 SBU">
|
---|
| 13 |
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libportal" xreflabel="libportal-&libportal-version;">
|
---|
| 17 | <?dbhtml filename="libportal.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libportal-&libportal-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libportal">
|
---|
| 27 | <primary sortas="a-libportal">libportal</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libportal</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>libportal</application> package provides
|
---|
| 35 | a library that contains GIO-style async APIs for most Flatpak portals.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
| 38 | &lfs10_checked;
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libportal-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libportal-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &libportal-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &libportal-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &libportal-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &libportal-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">libportal Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="glib2"/> and
|
---|
| 79 | <xref linkend="gtk-doc"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <para condition="html" role="usernotes">
|
---|
| 83 | User Notes: <ulink url="&blfs-wiki;/libportal"/>
|
---|
| 84 | </para>
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of libportal</title>
|
---|
| 89 |
|
---|
| 90 | <para>
|
---|
| 91 | Install <application>libportal</application> by running the following
|
---|
| 92 | commands:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>mkdir build &&
|
---|
| 96 | cd build &&
|
---|
| 97 |
|
---|
| 98 | meson --prefix=/usr .. &&
|
---|
| 99 | ninja</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | <para>
|
---|
| 102 | This package does not come with a test suite.
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="content">
|
---|
| 113 | <title>Contents</title>
|
---|
| 114 |
|
---|
| 115 | <segmentedlist>
|
---|
| 116 | <segtitle>Installed Programs</segtitle>
|
---|
| 117 | <segtitle>Installed Libraries</segtitle>
|
---|
| 118 | <segtitle>Installed Directories</segtitle>
|
---|
| 119 |
|
---|
| 120 | <seglistitem>
|
---|
| 121 | <seg>
|
---|
| 122 | None
|
---|
| 123 | </seg>
|
---|
| 124 | <seg>
|
---|
| 125 | libportal.so
|
---|
| 126 | </seg>
|
---|
| 127 | <seg>
|
---|
| 128 | /usr/include/libportal and
|
---|
| 129 | /usr/share/gtk-doc/html/libportal
|
---|
| 130 | </seg>
|
---|
| 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | <variablelist>
|
---|
| 135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 136 | <?dbfo list-presentation="list"?>
|
---|
| 137 | <?dbhtml list-presentation="table"?>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="libportal-lib">
|
---|
| 140 | <term><filename class="libraryfile">libportal.so</filename></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>
|
---|
| 143 | provides GIO-style async APIs for most Flatpak portals.
|
---|
| 144 | </para>
|
---|
| 145 | <indexterm zone="libportal libportal-lib">
|
---|
| 146 | <primary sortas="c-libportal">libportal.so</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 | </variablelist>
|
---|
| 151 | </sect2>
|
---|
| 152 | </sect1>
|
---|