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 gnome-settings-daemon-download-http
|
---|
8 | "&gnome-download-http;/gnome-settings-daemon/&gnome-47;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
---|
9 | <!ENTITY gnome-settings-daemon-download-ftp " ">
|
---|
10 | <!ENTITY gnome-settings-daemon-md5sum "408d4fc18cf6971828ff957e052ce4dd">
|
---|
11 | <!ENTITY gnome-settings-daemon-size "1.4 MB">
|
---|
12 | <!ENTITY gnome-settings-daemon-buildsize "35 MB">
|
---|
13 | <!ENTITY gnome-settings-daemon-time "0.1 SBU (Using parallelism=4)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="gnome-settings-daemon" xreflabel="gnome-settings-daemon-&gnome-settings-daemon-version;">
|
---|
17 | <?dbhtml filename="gnome-settings-daemon.html"?>
|
---|
18 |
|
---|
19 |
|
---|
20 | <title>gnome-settings-daemon-&gnome-settings-daemon-version;</title>
|
---|
21 |
|
---|
22 | <indexterm zone="gnome-settings-daemon">
|
---|
23 | <primary sortas="a-gnome-settings-daemon">gnome-settings-daemon</primary>
|
---|
24 | </indexterm>
|
---|
25 |
|
---|
26 | <sect2 role="package">
|
---|
27 | <title>Introduction to GNOME Settings Daemon</title>
|
---|
28 |
|
---|
29 | <para>
|
---|
30 | The <application>GNOME Settings Daemon</application> is responsible
|
---|
31 | for setting various parameters of a <application>GNOME Session</application>
|
---|
32 | and the applications that run under it.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | &lfs122_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (HTTP): <ulink url="&gnome-settings-daemon-download-http;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (FTP): <ulink url="&gnome-settings-daemon-download-ftp;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &gnome-settings-daemon-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &gnome-settings-daemon-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &gnome-settings-daemon-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &gnome-settings-daemon-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect3">GNOME Settings Daemon Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
74 | <para role="required">
|
---|
75 | <xref linkend="alsa-lib"/>,
|
---|
76 | <xref linkend="colord"/>,
|
---|
77 | <xref linkend="fontconfig"/>,
|
---|
78 | <xref linkend="gcr4"/>,
|
---|
79 | <xref linkend="geoclue2"/>,
|
---|
80 | <xref linkend="geocode-glib"/>,
|
---|
81 | <xref linkend="gnome-desktop"/>,
|
---|
82 | <xref linkend="lcms2"/>,
|
---|
83 | <xref linkend="libcanberra"/>,
|
---|
84 | <xref linkend="libgweather"/>,
|
---|
85 | <xref linkend="libnotify"/>,
|
---|
86 | <xref linkend="libwacom"/>,
|
---|
87 | <xref linkend="pulseaudio"/>,
|
---|
88 | and <xref linkend="upower"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
92 | <para role="recommended">
|
---|
93 | <xref linkend="cups"/>,
|
---|
94 | <xref linkend="NetworkManager"/>,
|
---|
95 | <xref linkend="nss"/>, and
|
---|
96 | <xref linkend="wayland"/>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <note>
|
---|
100 | <para>
|
---|
101 | Recommended dependencies are not strictly required for
|
---|
102 | this package to build and function, but you may not get
|
---|
103 | expected results at runtime if you don't install them.
|
---|
104 | </para>
|
---|
105 | </note>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4"
|
---|
108 | revision="sysv">Recommended (Runtime)</bridgehead>
|
---|
109 | <para role="recommended" revision="sysv">
|
---|
110 | <xref linkend="blocaled" role="runtime"/>
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
114 | <para role="optional">
|
---|
115 | <xref linkend="gnome-session"/>,
|
---|
116 | <xref linkend="mutter"/>,
|
---|
117 | <xref linkend="python-dbusmock"/>,
|
---|
118 | <xref linkend="umockdev"/>, and
|
---|
119 | <command>Xvfb</command> (for tests, from
|
---|
120 | <xref linkend="xorg-server"/> or
|
---|
121 | <xref role="nodep" linkend="xwayland"/>)
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="installation">
|
---|
127 | <title>Installation of GNOME Settings Daemon</title>
|
---|
128 |
|
---|
129 | <!--
|
---|
130 | <para>
|
---|
131 | First, fix building with recent versions of
|
---|
132 | <application>meson</application>:
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <screen><userinput>sed "/ policy,/d" -i plugins/{power,wacom}/meson.build</userinput></screen>
|
---|
136 | -->
|
---|
137 |
|
---|
138 | <para revision="sysv">
|
---|
139 | Next, fix libelogind detection for tests:
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | <screen revision="sysv"><userinput>sed -e 's/libsystemd/libelogind/' \
|
---|
143 | -i plugins/power/test.py</userinput></screen>
|
---|
144 |
|
---|
145 | <para revision="sysv">
|
---|
146 | Next, fix backlight functionality in gnome-control-center:
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | <screen revision="sysv"><userinput>sed -e 's/(backlight->logind_proxy)/(0)/' \
|
---|
150 | -i plugins/power/gsd-backlight.c</userinput></screen>
|
---|
151 |
|
---|
152 | <!--
|
---|
153 | <para>
|
---|
154 | If running the test suite, apply a patch to fix test timeouts
|
---|
155 | with python-dbusmock 0.30.0 or later:
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <screen><userinput>patch -Np1 -i ../gnome-settings-daemon-&gnome-settings-daemon-version;-testsuite_fix-1.patch</userinput></screen>
|
---|
159 | -->
|
---|
160 |
|
---|
161 | <para>
|
---|
162 | Install <application>GNOME Settings Daemon</application> by running the
|
---|
163 | following commands:
|
---|
164 | </para>
|
---|
165 |
|
---|
166 | <screen revision='sysv'><userinput>mkdir build &&
|
---|
167 | cd build &&
|
---|
168 |
|
---|
169 | meson setup --prefix=/usr \
|
---|
170 | --buildtype=release \
|
---|
171 | -D systemd=false \
|
---|
172 | .. &&
|
---|
173 | ninja</userinput></screen>
|
---|
174 |
|
---|
175 | <screen revision='systemd'><userinput>mkdir build &&
|
---|
176 | cd build &&
|
---|
177 |
|
---|
178 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
179 | ninja</userinput></screen>
|
---|
180 |
|
---|
181 | <!-- [renodr, June 29th, 2019]: for some reason, on elogind, all tests
|
---|
182 | passed. 8 failed on systemd. It could be kernel configuration, or
|
---|
183 | any other package change. umockdev might be needed, but it works
|
---|
184 | fine without it on elogind.
|
---|
185 | [pierre, July 31st, 2020]: only one test passed on elogind. I
|
---|
186 | have umockdev, but it does not look like it is used. Adding the
|
---|
187 | sed allows 9 tests out of 10 to pass. -->
|
---|
188 | <para>
|
---|
189 | To check the results, execute: <command>ninja test</command>. Note that
|
---|
190 | you must have <application>python-dbusmock</application> installed in
|
---|
191 | order for the tests to complete successfully. Some tests
|
---|
192 | may fail depending on the init system in use.
|
---|
193 | </para>
|
---|
194 |
|
---|
195 | <para>
|
---|
196 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
197 | </para>
|
---|
198 |
|
---|
199 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
200 |
|
---|
201 | </sect2>
|
---|
202 |
|
---|
203 | <sect2 role="commands">
|
---|
204 | <title>Command Explanations</title>
|
---|
205 |
|
---|
206 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
207 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
208 |
|
---|
209 | </sect2>
|
---|
210 |
|
---|
211 | <sect2 role="content">
|
---|
212 | <title>Contents</title>
|
---|
213 |
|
---|
214 | <segmentedlist>
|
---|
215 | <segtitle>Installed Programs</segtitle>
|
---|
216 | <segtitle>Installed Libraries</segtitle>
|
---|
217 | <segtitle>Installed Directories</segtitle>
|
---|
218 |
|
---|
219 | <seglistitem>
|
---|
220 | <seg>
|
---|
221 | None
|
---|
222 | </seg>
|
---|
223 | <seg>
|
---|
224 | libgsd.so
|
---|
225 | </seg>
|
---|
226 | <seg>
|
---|
227 | /etc/xdg/Xwayland-session.d,
|
---|
228 | /usr/include/gnome-settings-daemon-47,
|
---|
229 | /usr/lib/gnome-settings-daemon-47, and
|
---|
230 | /usr/share/gnome-settings-daemon
|
---|
231 | </seg>
|
---|
232 | </seglistitem>
|
---|
233 | </segmentedlist>
|
---|
234 | </sect2>
|
---|
235 |
|
---|
236 | </sect1>
|
---|