The GNOME Session package contains the GNOME session manager.
This package is known to build and work properly using an LFS-11.0 platform.
Download (HTTP): https://download.gnome.org/sources/gnome-session/40/gnome-session-40.1.1.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gnome-session/40/gnome-session-40.1.1.tar.xz
Download MD5 sum: 4fe52c247137b0c9329ca4ddfe9f0070
Download size: 472 KB
Estimated disk space required: 15 MB
Estimated build time: 0.1 SBU
dbus-glib-0.112, elogind-246.10, gnome-desktop-40.4, JSON-GLib-1.6.6, Mesa-21.2.1, and UPower-0_99_13
GConf-3.2.6, xmlto-0.0.28, and libxslt-1.1.34 with docbook-xml-4.5 and docbook-xsl-1.79.2 (to build the documentation)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gnome-session
When running GNOME under Wayland-1.19.0, environment settings are not imported for the user using the system profile. The Wayland developers are currently undecided on a standard method to provide system environment settings for user sessions. To work around this limitation, execute the following command to make gnome-session use a login shell:
sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/gnome-session.in
Adapt meson.build so that gnome-session can build without systemd:
sed -i "/ systemd_dep/,+3d;/if enable_systemd/a \ systemd_userunitdir = '/tmp\'" meson.build
Install GNOME Session by running the following commands:
mkdir build && cd build && meson --prefix=/usr \ --buildtype=release \ -Dsystemd_journal=false \ .. && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install
Move the documentation to a versioned directory:
mv -v /usr/share/doc/gnome-session{,-40.1.1}
Now, as the root
user, remove
systemd units that are useless on SysV systems:
rm -rv /tmp/{*.d,*.target,*.service}
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
Last updated on