tce-load -i compiletc itstool intltool gobject-introspection-dev accountsservice-dev libcanberra-dev linux-pam-dev iso-codes dconf-dev cd gdm-3.28.2 patch -Np1 -i ../gdm-3.28.2_gdm-elogind_gdm-common.c.patch patch -Np1 -i ../gdm-3.28.2_gdm-elogind_gdm-log.c.patch patch -Np1 -i ../gdm-3.28.2_gdm-elogind_gdm-server.c.patch patch -Np1 -i ../gdm-3.28.2_gdm-elogind_gdm-session-worker-job.c.patch patch -Np1 -i ../gdm-3.28.2_gdm-elogind_gdm-session-worker.c.patch patch -Np1 -i ../gdm-3.28.2_gdm-elogind_gdm-user-switching.c.patch sudo mkdir /usr/local/include/security sudo ln -s /tmp/tcloop/linux-pam-dev/usr/local/include/* /usr/local/include/security cp libatk-1.0.la /usr/local/lib Edit configure if test -x /usr/local/bin/X; then X_PATH="/usr/local/bin" X_SERVER_PATH="/usr/local/bin" X_SERVER="/usr/local/bin/X" find . -name configure -type f -exec sed -i 's/libsystemd/libelogind/g' {} \; SYSTEMD_CFLAGS="-I/usr/local/include/elogind" SYSTEMD_LIB="-L/usr/local/lib -lelogind" CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --libexecdir=/usr/local/lib/gdm --without-plymouth --with-user=tc --with-group=staff --with-gnome-settings-daemon-directory=/usr/local/lib/gnome-settings-daemon-3.0 --with-check-accelerated-directory=/usr/local/lib/gnome-session --with-at-spi-registryd-directory=/usr/local/lib/at-spi2-core --disable-systemd-journal --enable-gdm-xsession find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 42.33s] sudo make install sudo install -v -m644 data/gdm.service /lib/systemd/system/gdm.service GDM 3.28.2 ============ prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin sysconfdir: ${prefix}/etc sysconfsubdir: gdm gdmconfdir: ${sysconfdir}/${sysconfsubdir} dmconfdir: ${prefix}/etc/dm localstatedir: /var datadir: ${datarootdir} gnome-settings-daemon location: /usr/local/lib/gnome-settings-daemon-3.0 gnome-session-check-accel location: /usr/local/lib/gnome-session source code location: . compiler: gcc -flto -mtune=generic -Os -pipe cflags: -g -O2 Maintainer mode: yes user: tc group: staff dbus-1 system.d dir: ${prefix}/etc/dbus-1/system.d PAM prefix: ${sysconfdir} PAM module dir: ${libdir}/security PAM config: none X server: /usr/local/bin/X TCP Wrappers support: no Xinerama support: yes XDMCP support: yes SELinux support: no systemd unit dir: plymouth support: no wayland support: yes Build with RBAC: no Initial VT: 1 Enable documentation: yes Install GDM's Xsession: yes