glfs/x/lib/xdg-desktop-portal-gtk.xml
2024-01-19 22:39:35 +01:00

139 lines
4.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY xdg-desktop-portal-gtk-download-http "https://github.com/flatpak/xdg-desktop-portal-gtk/releases/download/&xdg-desktop-portal-gtk-version;/xdg-desktop-portal-gtk-&xdg-desktop-portal-gtk-version;.tar.xz">
<!ENTITY xdg-desktop-portal-gtk-download-ftp " ">
<!ENTITY xdg-desktop-portal-gtk-md5sum "9c7836b1fe09bc914ea4c06b9c58231f">
<!ENTITY xdg-desktop-portal-gtk-size "89 KB">
<!ENTITY xdg-desktop-portal-gtk-buildsize "9.7 MB">
<!ENTITY xdg-desktop-portal-gtk-time "less than 0.1 SBU">
]>
<sect1 id="xdg-desktop-portal-gtk" xreflabel="xdg-desktop-portal-gtk-&xdg-desktop-portal-gtk-version;">
<?dbhtml filename="xdg-desktop-portal-gtk.html"?>
<title>xdg-desktop-portal-gtk-&xdg-desktop-portal-gtk-version;</title>
<indexterm zone="xdg-desktop-portal-gtk">
<primary sortas="a-xdg-desktop-portal-gtk">xdg-desktop-portal-gtk</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to xdg-desktop-portal-gtk</title>
<para>
<application>xdg-desktop-portal-gtk</application> is a backend for
<application>xdg-desktop-portal</application>, that is using GTK and
various pieces of GNOME infrastructure.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&xdg-desktop-portal-gtk-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&xdg-desktop-portal-gtk-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &xdg-desktop-portal-gtk-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &xdg-desktop-portal-gtk-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &xdg-desktop-portal-gtk-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &xdg-desktop-portal-gtk-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">xdg-desktop-portal-gtk Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="gtk3"/> and
<xref linkend="xdg-desktop-portal"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gnome-desktop"/> (for compiling more portal interfaces)
</para>
</sect2>
<sect2 role="installation">
<title>Installation of xdg-desktop-portal-gtk</title>
<para>
Install <application>xdg-desktop-portal-gtk</application> by running the
following commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup .. --prefix=/usr &amp;&amp;
ninja</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the &root; user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
<para revision="sysv">
Remove systemd files that are useless: as the &root; user:
</para>
<screen role="root" revision="sysv"><userinput>rm -rvf /usr/lib/systemd</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
one daemon in /usr/libexec
</seg>
<seg>
None
</seg>
<seg>
/usr/share/xdg-desktop-portal (if no other
<application>xdg-desktop-portal</application> backend is installed)
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>