source: gnome/platform/gnome-session.xml@ 98d1bf9c

11.2 plabs/python-mods trunk xry111/soup3
Last change on this file since 98d1bf9c was 98d1bf9c, checked in by Xi Ruoyao <xry111@…>, 4 months ago

gnome-session: drop dbus-glib dependency

It's only needed if ConsoleKit support is requested, and ConsoleKit is
dead now.

  • Property mode set to 100644
File size: 7.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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-session-download-http
8 "&gnome-download-http;/gnome-session/&gnome-42;/gnome-session-&gnome-session-version;.tar.xz">
9 <!ENTITY gnome-session-download-ftp
10 "&gnome-download-ftp;/gnome-session/&gnome-42;/gnome-session-&gnome-session-version;.tar.xz">
11 <!ENTITY gnome-session-md5sum "ab47b2cd924fb74d4dbc2edab886c32a">
12 <!ENTITY gnome-session-size "474 KB">
13 <!ENTITY gnome-session-buildsize "12 MB">
14 <!ENTITY gnome-session-time "0.1 SBU">
15]>
16
17<sect1 id="gnome-session" xreflabel="gnome-session-&gnome-session-version;">
18 <?dbhtml filename="gnome-session.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>gnome-session-&gnome-session-version;</title>
25
26 <indexterm zone="gnome-session">
27 <primary sortas="a-gnome-session">gnome-session</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to GNOME Session</title>
32
33 <para>
34 The <application>GNOME Session</application> package contains
35 the <application>GNOME</application> session manager.
36 </para>
37
38 &lfs111_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&gnome-session-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&gnome-session-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &gnome-session-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &gnome-session-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &gnome-session-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &gnome-session-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">GNOME Session Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <phrase revision="sysv"><xref role="runtime" linkend="elogind"/>,</phrase>
79 <xref linkend="gnome-desktop"/>,
80 <xref linkend="json-glib"/>,
81 <xref linkend="mesa"/>,
82 <phrase revision="systemd"><xref role="runtime" linkend="systemd"/>,</phrase>
83 and <xref linkend="upower"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="xmlto"/>, and
89 <xref linkend="libxslt"/> with
90 <xref linkend="DocBook"/> and
91 <xref linkend="docbook-xsl"/> (to build the documentation)
92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/gnome-session"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of GNOME Session</title>
101
102 <para>
103 When running GNOME under <xref linkend="wayland"/>, environment settings
104 are not imported for the user using the system profile. The Wayland
105 developers are currently undecided on a standard method to provide system
106 environment settings for user sessions. To work around this limitation,
107 execute the following command to make
108 <command>gnome-session</command> use a login shell:
109 </para>
110
111<screen><userinput>sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/gnome-session.in</userinput></screen>
112
113
114 <para revision="sysv">
115 Adapt meson.build so that gnome-session can build without systemd:
116 </para>
117
118<screen revision="sysv"><userinput remap="pre">sed -i "/ systemd_dep/,+3d;/if enable_systemd/a \ systemd_userunitdir = '/tmp\'" meson.build</userinput></screen>
119
120 <para>
121 Install <application>GNOME Session</application> by
122 running the following commands:
123 </para>
124
125<screen revision="sysv"><userinput>mkdir build &amp;&amp;
126cd build &amp;&amp;
127
128meson --prefix=/usr \
129 --buildtype=release \
130 -Dsystemd_journal=false \
131 .. &amp;&amp;
132ninja</userinput></screen>
133
134<screen revision="systemd"><userinput>mkdir build &amp;&amp;
135cd build &amp;&amp;
136
137meson --prefix=/usr --buildtype=release .. &amp;&amp;
138ninja</userinput></screen>
139
140 <para>
141 This package does not come with a test suite.
142 </para>
143
144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>ninja install</userinput></screen>
149<!-- For some reason, there are I/O errors with the DTD @ freedesktop
150 that causes error messages to flood stdin. -->
151
152 <para>
153 Move the documentation to a versioned directory:
154 </para>
155
156<screen role="root"><userinput>mv -v /usr/share/doc/gnome-session{,-&gnome-session-version;}</userinput></screen>
157
158 <para revision="sysv">
159 Now, as the <systemitem class="username">root</systemitem> user,
160 remove systemd units that are useless on SysV systems:
161 </para>
162
163<screen role="root" revision="sysv"><userinput>rm -rv /tmp/{*.d,*.target,*.service}</userinput></screen>
164
165 </sect2>
166
167 <sect2 role="commands">
168 <title>Command Explanations</title>
169
170 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
171 href="../../xincludes/meson-buildtype-release.xml"/>
172 </sect2>
173
174 <sect2 role="content">
175 <title>Contents</title>
176
177 <segmentedlist>
178 <segtitle>Installed Programs</segtitle>
179 <segtitle>Installed Libraries</segtitle>
180 <segtitle>Installed Directories</segtitle>
181
182 <seglistitem>
183 <seg>
184 gnome-session, gnome-session-custom-session, gnome-session-inhibit,
185 and gnome-session-quit
186 </seg>
187 <seg>
188 None
189 </seg>
190 <seg>
191 /usr/share/doc/gnome-session-&gnome-session-version; and
192 /usr/share/gnome-session
193 </seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="gnome-session-prog">
203 <term><command>gnome-session</command></term>
204 <listitem>
205 <para>
206 is used to start up the <application>GNOME</application>
207 Desktop environment
208 </para>
209 <indexterm zone="gnome-session gnome-session-prog">
210 <primary sortas="b-gnome-session">gnome-session</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="gnome-session-inhibit">
216 <term><command>gnome-session-inhibit</command></term>
217 <listitem>
218 <para>
219 is used to inhibit certain <application>GNOME</application>
220 Session functionality while executing the given command
221 </para>
222 <indexterm zone="gnome-session gnome-session-inhibit">
223 <primary sortas="b-gnome-session-inhibit">gnome-session-inhibit</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="gnome-session-quit">
229 <term><command>gnome-session-quit</command></term>
230 <listitem>
231 <para>
232 is used to end the <application>GNOME</application> Session
233 </para>
234 <indexterm zone="gnome-session gnome-session-quit">
235 <primary sortas="b-gnome-session-quit">gnome-session-quit</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 </variablelist>
241
242 </sect2>
243
244</sect1>
Note: See TracBrowser for help on using the repository browser.