Add xdg-desktop-portal-gnome

This commit is contained in:
Pierre Labastie 2024-01-10 18:47:11 +01:00
parent 5c75cc9612
commit eebda93666
3 changed files with 205 additions and 0 deletions

View File

@ -58,6 +58,7 @@
<!ENTITY tracker3-version "3.6.0"> <!ENTITY tracker3-version "3.6.0">
<!ENTITY tracker3-miners-version "3.6.2"> <!ENTITY tracker3-miners-version "3.6.2">
<!ENTITY gsound-version "1.0.3"> <!ENTITY gsound-version "1.0.3">
<!ENTITY xdg-desktop-portal-gnome-version "45.1">
<!-- Runtime (sysv) and Desktop (systemd) --> <!-- Runtime (sysv) and Desktop (systemd) -->
<!--<!ENTITY caribou-version "0.4.21">--> <!--<!ENTITY caribou-version "0.4.21">-->

View File

@ -47,6 +47,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tracker3.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tracker3.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tracker3-miners.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tracker3-miners.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gsound.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gsound.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xdg-desktop-portal-gnome.xml"/>
<!-- GNOME Desktop --> <!-- GNOME Desktop -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dummy-desktop.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dummy-desktop.xml"/>

View File

@ -0,0 +1,203 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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-gnome-download-http "https://download.gnome.org/sources/xdg-desktop-portal-gnome/&gnome-45;/xdg-desktop-portal-gnome-&xdg-desktop-portal-gnome-version;.tar.xz">
<!ENTITY xdg-desktop-portal-gnome-download-ftp " ">
<!ENTITY xdg-desktop-portal-gnome-md5sum "390b42a8a671ee20e280d69b1e2ae1c6">
<!ENTITY xdg-desktop-portal-gnome-size "138 KB">
<!ENTITY xdg-desktop-portal-gnome-buildsize "9.7 MB">
<!ENTITY xdg-desktop-portal-gnome-time "?? SBU">
]>
<sect1 id="xdg-desktop-portal-gnome" xreflabel="xdg-desktop-portal-gnome-&xdg-desktop-portal-gnome-version;">
<?dbhtml filename="xdg-desktop-portal-gnome.html"?>
<title>xdg-desktop-portal-gnome-&xdg-desktop-portal-gnome-version;</title>
<indexterm zone="xdg-desktop-portal-gnome">
<primary sortas="a-xdg-desktop-portal-gnome">xdg-desktop-portal-gnome</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to xdg-desktop-portal-gnome</title>
<para>
<application>xdg-desktop-portal-gnome</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-gnome-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&xdg-desktop-portal-gnome-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &xdg-desktop-portal-gnome-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &xdg-desktop-portal-gnome-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &xdg-desktop-portal-gnome-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &xdg-desktop-portal-gnome-time;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/xdg-desktop-portal-gnome-&xdg-desktop-portal-gnome-version;-patch_name-patch_version.patch"/>
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">xdg-desktop-portal-gnome Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="gnome-backgrounds"/>,
<xref linkend="gnome-desktop"/>,
<xref linkend="gtk4"/>,
<xref linkend="libadwaita1"/>,
<xref linkend="xdg-desktop-portal"/>, and
<xref role="runtime" linkend="xdg-desktop-portal-gtk"/> (at runtime)
</para>
</sect2>
<sect2 role="installation">
<title>Installation of xdg-desktop-portal-gnome</title>
<para>
Install <application>xdg-desktop-portal-gnome</application> by running the
following commands:
</para>
<screen revision="sysv"><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup .. --prefix=/usr -Dsystemduserunitdir=/tmp &amp;&amp;
ninja</userinput></screen>
<screen revision="systemd"><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 -vf /tmp/*.service</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gsettings-destdir.xml"/>
</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 built before
<application>xdg-desktop-portal-gtk</application>)
</seg>
</seglistitem>
</segmentedlist>
<!--
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<!- - If the program or library name conflicts with (is the same as) the
package name, add -prog or -lib to the varlistentry entity id
and the 2nd entry of the indexterm zone entity - ->
<varlistentry id="PROGRAM1">
<term><command>PROGRAM1</command></term>
<listitem>
<para>
does this ..... (no period at the end)
</para>
<indexterm zone="xdg-desktop-portal-gnome PROGRAM1">
<primary sortas="b-PROGRAM1">PROGRAM1</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="PROGRAM2">
<term><command>PROGRAM2</command></term>
<listitem>
<para>
does this ..... (no period at the end)
</para>
<indexterm zone="xdg-desktop-portal-gnome PROGRAM2">
<primary sortas="b-PROGRAM2">PROGRAM2</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libLIBRARY1">
<term><filename class="libraryfile">libLIBRARY1.so</filename></term>
<listitem>
<para>
contains functions that ..... (no period at the end)
</para>
<indexterm zone="xdg-desktop-portal-gnome libLIBRARY1">
<primary sortas="c-libLIBRARY1">libLIBRARY1.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
-->
</sect2>
</sect1>