mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
272 lines
8.6 KiB
XML
272 lines
8.6 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 gnome-settings-daemon-download-http
|
|
"&gnome-download-http;/gnome-settings-daemon/&gnome-45;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
|
<!ENTITY gnome-settings-daemon-download-ftp " ">
|
|
<!ENTITY gnome-settings-daemon-md5sum "61c2d2eb639e6eae775e4330c0dc47fe">
|
|
<!ENTITY gnome-settings-daemon-size "1.4 MB">
|
|
<!ENTITY gnome-settings-daemon-buildsize "29 MB">
|
|
<!ENTITY gnome-settings-daemon-time "0.1 SBU (Using parallelism=4)">
|
|
]>
|
|
|
|
<sect1 id="gnome-settings-daemon" xreflabel="gnome-settings-daemon-&gnome-settings-daemon-version;">
|
|
<?dbhtml filename="gnome-settings-daemon.html"?>
|
|
|
|
|
|
<title>gnome-settings-daemon-&gnome-settings-daemon-version;</title>
|
|
|
|
<indexterm zone="gnome-settings-daemon">
|
|
<primary sortas="a-gnome-settings-daemon">gnome-settings-daemon</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GNOME Settings Daemon</title>
|
|
|
|
<para>
|
|
The <application>GNOME Settings Daemon</application> is responsible
|
|
for setting various parameters of a <application>GNOME Session</application>
|
|
and the applications that run under it.
|
|
</para>
|
|
|
|
&lfs120_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&gnome-settings-daemon-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&gnome-settings-daemon-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &gnome-settings-daemon-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &gnome-settings-daemon-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &gnome-settings-daemon-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &gnome-settings-daemon-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Optional patch (required for running the test suite):
|
|
<ulink url="&patch-root;/gnome-settings-daemon-&gnome-settings-daemon-version;-testsuite_fix-1.patch"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">GNOME Settings Daemon Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="alsa-lib"/>,
|
|
<xref linkend="colord"/>,
|
|
<xref linkend="fontconfig"/>,
|
|
<xref linkend="gcr4"/>,
|
|
<xref linkend="geoclue2"/>,
|
|
<xref linkend="geocode-glib"/>,
|
|
<xref linkend="gnome-desktop"/>,
|
|
<xref linkend="lcms2"/>,
|
|
<xref linkend="libcanberra"/>,
|
|
<xref linkend="libgweather"/>,
|
|
<xref linkend="libnotify"/>,
|
|
<xref linkend="libwacom"/>,
|
|
<xref linkend="pulseaudio"/>,
|
|
and <xref linkend="upower"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="alsa"/>,
|
|
<xref linkend="cups"/>,
|
|
<xref linkend="NetworkManager"/>,
|
|
<xref linkend="nss"/>, and
|
|
<xref linkend="wayland"/>
|
|
</para>
|
|
|
|
<note>
|
|
<para>
|
|
Recommended dependencies are not strictly required for
|
|
this package to build and function, but you may not get
|
|
expected results at runtime if you don't install them.
|
|
</para>
|
|
</note>
|
|
|
|
<bridgehead renderas="sect4"
|
|
revision="sysv">Recommended (Runtime)</bridgehead>
|
|
<para role="recommended" revision="sysv">
|
|
<xref linkend="blocaled" role="runtime"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="gnome-session"/>,
|
|
<xref linkend="mutter"/>,
|
|
<xref linkend="python-dbusmock"/>,
|
|
<xref linkend="umockdev"/>, and
|
|
<command>Xvfb</command> (for tests, from
|
|
<xref linkend="xorg-server"/> or
|
|
<xref role="nodep" linkend="xwayland"/>)
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GNOME Settings Daemon</title>
|
|
|
|
<!--
|
|
<para>
|
|
First, fix building with recent versions of
|
|
<application>meson</application>:
|
|
</para>
|
|
|
|
<screen><userinput>sed "/ policy,/d" -i plugins/{power,wacom}/meson.build</userinput></screen>
|
|
-->
|
|
|
|
<para revision="sysv">
|
|
Next, fix libelogind detection for tests:
|
|
</para>
|
|
|
|
<screen revision="sysv"><userinput>sed -e 's/libsystemd/libelogind/' \
|
|
-i plugins/power/test.py</userinput></screen>
|
|
|
|
<para revision="sysv">
|
|
Next, fix backlight functionality in gnome-control-center:
|
|
</para>
|
|
|
|
<screen revision="sysv"><userinput>sed -e 's/(backlight->logind_proxy)/(0)/' \
|
|
-i plugins/power/gsd-backlight.c</userinput></screen>
|
|
|
|
<para>
|
|
If running the test suite, apply a patch to fix test timeouts
|
|
with python-dbusmock 0.30.0 or later:
|
|
</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../gnome-settings-daemon-&gnome-settings-daemon-version;-testsuite_fix-1.patch</userinput></screen>
|
|
|
|
<para>
|
|
Install <application>GNOME Settings Daemon</application> by running the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen revision='sysv'><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
meson setup --prefix=/usr \
|
|
--buildtype=release \
|
|
-Dsystemd=false \
|
|
.. &&
|
|
ninja</userinput></screen>
|
|
|
|
<screen revision='systemd'><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
meson setup --prefix=/usr --buildtype=release .. &&
|
|
ninja</userinput></screen>
|
|
|
|
<!-- [renodr, June 29th, 2019]: for some reason, on elogind, all tests
|
|
passed. 8 failed on systemd. It could be kernel configuration, or
|
|
any other package change. umockdev might be needed, but it works
|
|
fine without it on elogind.
|
|
[pierre, July 31st, 2020]: only one test passed on elogind. I
|
|
have umockdev, but it does not look like it is used. Adding the
|
|
sed allows 9 tests out of 10 to pass. -->
|
|
<para>
|
|
To check the results, execute: <command>ninja test</command>. Note that
|
|
you must have <application>python-dbusmock</application> installed in
|
|
order for the tests to complete successfully. Some tests
|
|
may fail depending on the init system in use.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libgsd.so
|
|
</seg>
|
|
<seg>
|
|
/etc/xdg/Xwayland-session.d,
|
|
/usr/include/gnome-settings-daemon-45,
|
|
/usr/lib/gnome-settings-daemon-45, and
|
|
/usr/share/gnome-settings-daemon
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
<!-- For version 3.34, there is nothing in /usr/bin but there are a lot
|
|
of support programs in /usr/libexec. In NEWS:
|
|
|
|
Removed daemon, everything is now implemented in mutter
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gnome-settings-daemon-prog">
|
|
<term><command>gnome-settings-daemon</command></term>
|
|
<listitem>
|
|
<para>
|
|
is responsible for setting the various preference parameters of
|
|
a <application>GNOME</application> session and the applications
|
|
that run under it.
|
|
</para>
|
|
<indexterm zone="gnome-settings-daemon gnome-settings-daemon-prog">
|
|
<primary sortas="b-gnome-settings-daemon">gnome-settings-daemon</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
-->
|
|
</sect2>
|
|
|
|
</sect1>
|