[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[2e704d1b] | 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-shell-download-http
|
---|
[a69b542e] | 8 | "&gnome-download-http;/gnome-shell/&gnome-46;/gnome-shell-&gnome-shell-version;.tar.xz">
|
---|
[f4ac7141] | 9 | <!ENTITY gnome-shell-download-ftp " ">
|
---|
[62679e02] | 10 | <!ENTITY gnome-shell-md5sum "44b69588f138be1e70fbe307eff3346f">
|
---|
[ff4d14b3] | 11 | <!ENTITY gnome-shell-size "2.0 MB">
|
---|
| 12 | <!ENTITY gnome-shell-buildsize "62 MB (with tests)">
|
---|
[a31d9a12] | 13 | <!ENTITY gnome-shell-time "0.3 SBU (Using parallelism=4; with tests)">
|
---|
[2e704d1b] | 14 | ]>
|
---|
| 15 |
|
---|
[51dfb3e] | 16 | <sect1 id="gnome-shell" xreflabel="gnome-shell-&gnome-shell-version;">
|
---|
[2e704d1b] | 17 | <?dbhtml filename="gnome-shell.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>gnome-shell-&gnome-shell-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="gnome-shell">
|
---|
| 23 | <primary sortas="a-gnome-shell">gnome-shell</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to GNOME Shell</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
| 30 | The <application>GNOME Shell</application> is the core user interface of
|
---|
| 31 | the <application>GNOME</application> Desktop environment.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[de74d323] | 34 | &lfs122_checked;
|
---|
[2e704d1b] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&gnome-shell-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&gnome-shell-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &gnome-shell-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &gnome-shell-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
[2c9b77a7] | 58 | <listitem>
|
---|
[2e704d1b] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &gnome-shell-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
[2c9b77a7] | 63 | <listitem>
|
---|
[2e704d1b] | 64 | <para>
|
---|
| 65 | Estimated build time: &gnome-shell-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">GNOME Shell Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="evolution-data-server"/>,
|
---|
[b59b825] | 75 | <xref linkend="gcr4"/>,
|
---|
[2e704d1b] | 76 | <xref linkend="gjs"/>,
|
---|
[f78423d8] | 77 | <xref linkend="gnome-desktop"/>,
|
---|
| 78 | <xref linkend="ibus"/>,
|
---|
[0129a2f5] | 79 | <xref linkend="mutter"/>,
|
---|
[f78423d8] | 80 | <xref linkend="polkit"/>,
|
---|
[2c9b77a7] | 81 | <xref linkend="sassc"/>, and
|
---|
| 82 | <xref linkend="startup-notification"/>
|
---|
[2e704d1b] | 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
[078db5b6] | 87 | <xref linkend="desktop-file-utils"/>,
|
---|
[f78423d8] | 88 | <xref linkend="gnome-autoar"/>,
|
---|
[2e704d1b] | 89 | <xref linkend="gnome-bluetooth"/>,
|
---|
[16d42f6] | 90 | <xref linkend="gst10-plugins-base"/>,
|
---|
| 91 | <xref linkend="NetworkManager"/>, and
|
---|
[21a65a3] | 92 | <xref linkend="power-profiles-daemon"/>
|
---|
[2e704d1b] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
[aae40ce] | 97 | <xref linkend="gtk-doc"/> and
|
---|
| 98 | <ulink url="https://github.com/scop/bash-completion">bash-completion</ulink>
|
---|
[2e704d1b] | 99 | </para>
|
---|
| 100 |
|
---|
[2c9b77a7] | 101 | <bridgehead renderas="sect4">Required Runtime Dependencies</bridgehead>
|
---|
[2e704d1b] | 102 | <para role="required">
|
---|
[9b1042fd] | 103 | <xref role="runtime" linkend="adwaita-icon-theme"/>,
|
---|
| 104 | <xref role="runtime" linkend="dconf"/>,
|
---|
[2c9b77a7] | 105 | <phrase revision="sysv">
|
---|
| 106 | <xref role='runtime' linkend="elogind"/>,
|
---|
| 107 | </phrase>
|
---|
[9b1042fd] | 108 | <xref role="runtime" linkend="gdm"/>,
|
---|
[2c9b77a7] | 109 | <xref role="runtime" linkend="gnome-backgrounds"/>,
|
---|
| 110 | <xref role="runtime" linkend="gnome-control-center"/>,
|
---|
[dfaebf4] | 111 | <xref role="runtime" linkend="gnome-menus"/>,
|
---|
[2c9b77a7] | 112 | <phrase revision="sysv">and</phrase>
|
---|
[3a0e7d3] | 113 | <xref role="runtime" linkend="libgweather"/>
|
---|
| 114 | <phrase revision="systemd">, and</phrase>
|
---|
[2c9b77a7] | 115 | <phrase revision="systemd">
|
---|
[3a0e7d3] | 116 | <xref role='runtime' linkend="systemd"/>
|
---|
[2c9b77a7] | 117 | </phrase>
|
---|
[2e704d1b] | 118 | </para>
|
---|
| 119 |
|
---|
[2c9b77a7] | 120 | <bridgehead renderas="sect4"
|
---|
| 121 | revision="sysv">Recommended Runtime Dependency</bridgehead>
|
---|
| 122 | <para role="recommended" revision="sysv">
|
---|
| 123 | <xref linkend="blocaled" role="runtime"/>
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
[2e704d1b] | 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="installation">
|
---|
| 129 | <title>Installation of GNOME Shell</title>
|
---|
| 130 |
|
---|
[a31d9a12] | 131 | <!--
|
---|
[714e35d9] | 132 | <para>
|
---|
| 133 | First, fix a regression that appears when using glib-2.80.2 or later:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <screen><userinput remap="pre">sed -i 's/gnome.ScreenCast.Stream/gnome.Mutter.Screencast/' \
|
---|
| 137 | js/dbusServices/screencast/screencastService.js</userinput></screen>
|
---|
[a31d9a12] | 138 | -->
|
---|
[714e35d9] | 139 |
|
---|
[2e704d1b] | 140 | <para>
|
---|
| 141 | Install <application>GNOME Shell</application> by running the
|
---|
| 142 | following commands:
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
[ca3b29c8] | 145 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
[f6da3b9] | 146 | cd build &&
|
---|
| 147 |
|
---|
[91318eb] | 148 | meson setup --prefix=/usr \
|
---|
| 149 | --buildtype=release \
|
---|
[6af00bd] | 150 | -D systemd=false \
|
---|
| 151 | -D tests=false \
|
---|
[91318eb] | 152 | .. &&
|
---|
[f6da3b9] | 153 | ninja</userinput></screen>
|
---|
| 154 |
|
---|
| 155 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
[5ff1726] | 156 | cd build &&
|
---|
| 157 |
|
---|
[91318eb] | 158 | meson setup --prefix=/usr \
|
---|
| 159 | --buildtype=release \
|
---|
[6af00bd] | 160 | -D tests=false \
|
---|
[91318eb] | 161 | .. &&
|
---|
[bf6bb90] | 162 | ninja</userinput></screen>
|
---|
[2e704d1b] | 163 |
|
---|
[2c9b77a7] | 164 | <para>
|
---|
[44aeb25f] | 165 | To test the results, you need to remove the
|
---|
[6af00bd] | 166 | <parameter>-D tests=false</parameter> switch, and to have <xref
|
---|
[1fe05eb] | 167 | linkend="mutter"/> compiled and installed with tests also.
|
---|
[29cefb8] | 168 |
|
---|
| 169 | To run the tests, issue: <command>ninja test</command>. You must be
|
---|
| 170 | running an X session to run the tests. Some will fail if <xref
|
---|
[2c9b77a7] | 171 | linkend="gdm"/> is not installed. <phrase revision="sysv">Several
|
---|
| 172 | more tests may fail in the Sysv environment.</phrase>
|
---|
[1ce321d] | 173 | <!-- "Failed to read monitors config file
|
---|
| 174 | '/home/xry111/.config/monitors.xml': Logical monitors not
|
---|
| 175 | adjacent"
|
---|
| 176 | The same thing happens in mutter but it's worked around with
|
---|
| 177 | HOME="". We cannot use HOME="" here or more tests will fail.
|
---|
| 178 | We also cannot tell the users to remove monitors.xml because
|
---|
| 179 | doing so will purge their monitor settings. Maybe we can
|
---|
| 180 | use bwrap to run the test with an empty tmpfs mounted on $HOME
|
---|
| 181 | in a separate namespace, but it's too overkill IMO.
|
---|
| 182 | DO NOT REMOVE unless you've tested with a "complex multi-monitor
|
---|
| 183 | configuration" (with mixed scaling settings and "strange"
|
---|
| 184 | positions of monitors). -->
|
---|
| 185 | One test named <filename>CSS styling support</filename> is known to
|
---|
| 186 | fail with some multi-monitor configurations.
|
---|
[2e704d1b] | 187 | </para>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
[bf6bb90] | 193 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[2e704d1b] | 194 |
|
---|
[f6da3b9] | 195 | </sect2>
|
---|
| 196 |
|
---|
[9789629b] | 197 | <sect2 role="commands">
|
---|
[f6da3b9] | 198 | <title>Command Explanations</title>
|
---|
[2325667b] | 199 |
|
---|
[adf17153] | 200 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 201 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 202 |
|
---|
[c39244c1] | 203 | <!--
|
---|
[30364533] | 204 | <para revision="sysv">
|
---|
| 205 | <command>patch ...</command>: This patch fixes a bug when trying to
|
---|
| 206 | start an xwayland application on non systemd.
|
---|
| 207 | </para>
|
---|
[c39244c1] | 208 | -->
|
---|
[30364533] | 209 |
|
---|
[9789629b] | 210 | <para revision="sysv">
|
---|
[6af00bd] | 211 | <parameter>-D systemd=false</parameter>: Prevents installing systemd
|
---|
[2126b9e] | 212 | files, which are not needed in this version of BLFS.
|
---|
[f6da3b9] | 213 | </para>
|
---|
[9789629b] | 214 |
|
---|
[44aeb25f] | 215 | <para>
|
---|
[6af00bd] | 216 | <parameter>-D tests=false</parameter>: Remove this switch if you want
|
---|
[b145ae0] | 217 | to build the tests. However, <command>meson</command> will fail if the
|
---|
[44aeb25f] | 218 | <xref linkend="mutter"/> tests are not installed.
|
---|
| 219 | </para>
|
---|
| 220 |
|
---|
[f78423d8] | 221 | <para>
|
---|
[6af00bd] | 222 | <option>-D extensions_tool=false</option>: This switch allows building
|
---|
[f78423d8] | 223 | this package without <xref linkend='gnome-autoar'/> installed.
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
[2e704d1b] | 226 | </sect2>
|
---|
| 227 |
|
---|
| 228 | <sect2 role="content">
|
---|
| 229 | <title>Contents</title>
|
---|
| 230 |
|
---|
| 231 | <segmentedlist>
|
---|
| 232 | <segtitle>Installed Programs</segtitle>
|
---|
| 233 | <segtitle>Installed Libraries</segtitle>
|
---|
| 234 | <segtitle>Installed Directories</segtitle>
|
---|
| 235 |
|
---|
| 236 | <seglistitem>
|
---|
| 237 | <seg>
|
---|
[8558044] | 238 | gnome-extensions, gnome-extensions-app, gnome-shell,
|
---|
| 239 | gnome-shell-extension-prefs, gnome-shell-extension-tool,
|
---|
[a69b542e] | 240 | and gnome-shell-test-tool
|
---|
[2e704d1b] | 241 | </seg>
|
---|
[e0ea073] | 242 | <seg>
|
---|
| 243 | None
|
---|
[2e704d1b] | 244 | </seg>
|
---|
| 245 | <seg>
|
---|
| 246 | /usr/lib/gnome-shell,
|
---|
[0129a2f5] | 247 | /usr/share/gnome-shell,
|
---|
[f8fdd22] | 248 | /usr/share/gtk-doc/html/{shell,st} (optional), and
|
---|
[0129a2f5] | 249 | /usr/share/xdg-desktop-portal/
|
---|
[2e704d1b] | 250 | </seg>
|
---|
| 251 | </seglistitem>
|
---|
| 252 | </segmentedlist>
|
---|
| 253 |
|
---|
| 254 | <variablelist>
|
---|
| 255 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 256 | <?dbfo list-presentation="list"?>
|
---|
| 257 | <?dbhtml list-presentation="table"?>
|
---|
| 258 |
|
---|
| 259 | <varlistentry id="gnome-shell-prog">
|
---|
| 260 | <term><command>gnome-shell</command></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>
|
---|
| 263 | provides the core user interface functions for the
|
---|
[c39244c1] | 264 | <application>GNOME</application> Desktop
|
---|
[2e704d1b] | 265 | </para>
|
---|
| 266 | <indexterm zone="gnome-shell gnome-shell-prog">
|
---|
| 267 | <primary sortas="b-gnome-shell">gnome-shell</primary>
|
---|
| 268 | </indexterm>
|
---|
| 269 | </listitem>
|
---|
| 270 | </varlistentry>
|
---|
| 271 |
|
---|
| 272 | </variablelist>
|
---|
| 273 |
|
---|
| 274 | </sect2>
|
---|
| 275 |
|
---|
| 276 | </sect1>
|
---|