Bruce Leidl
8bb03a0582
yocto yocto-3.3 -> yocto-3.3.3 kernel 5.12.4 -> 5.14.9 cryptsetup 2.3.5 -> 2.3.6 libblockdev 2.25 -> 2.26 libbytesize 1.4 -> 2.6 nano 5.6 -> 5.8 udisks2 2.9.2 -> 2.9.3 iwd 1.13 -> 1.17 modemmanager 1.8.2 -> 1.16.8 networkmanager 1.30.2 -> 1.32.10 libgusb 0.2.11 -> 0.3.7 upower 0.99.11 -> 0.99.13 gdm 40.0 -> 41.0 gjs 1.68.0 -> 1.70.0 glib 2.68.0 -> 2.70.0 gnome-backgrounds 40.0 -> 41.0 gnome-control-center 40.0 -> 41.0 gnome-desktop 40.0 -> 41.0 gnome-disk-utility 40.1 -> 41.0 gnome-system-monitor 40.1 -> 41.0 gnome-settings-daemon 40.0.1 -> 41.0 gnome-shell 40.0 -> 41.0 mutter 40.0 -> 41.0 gsettings-desktop-schemas 40.0 -> 41.0 gtk4 4.1.12 -> 4.4.0 gvfs 1.46.1 -> 1.48.1 gnome-terminal 3.40.1 -> 3.41.1 ell 0.39 -> 0.44 mozjs 78.0.1 -> 78.11.0 vte 0.64.0 -> 0.64.2
66 lines
1.8 KiB
BlitzBasic
66 lines
1.8 KiB
BlitzBasic
SUMMARY = "GNOME Display Manager"
|
|
LICENSE="GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
DEPENDS = " \
|
|
dconf-native \
|
|
itstool-native \
|
|
gtk+3 \
|
|
glib-2.0 \
|
|
accountsservice \
|
|
libcanberra \
|
|
libxinerama \
|
|
libpam \
|
|
plymouth \
|
|
"
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11 systemd pam"
|
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
|
inherit gnomebase gsettings gobject-introspection gettext systemd useradd upstream-version-is-even features_check
|
|
|
|
def gnome_verdir(v):
|
|
return oe.utils.trim_version(v, 1)
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
|
|
|
|
SRC_URI[archive.sha256sum] = "5738c4293a9f5a80d4a6e9e06f4d0df3e9f313ca7b61bfb4d8afaba983e200dc"
|
|
|
|
SRC_URI += "file://gdm.conf"
|
|
|
|
ERROR_QA_remove = "unknown-configure-option"
|
|
|
|
FILES_${PN} += " \
|
|
${libdir}/systemd/system/gdm.service \
|
|
${libdir}/systemd/user \
|
|
${base_libdir}/security/pam_gdm.so \
|
|
${datadir}/gnome-session/sessions \
|
|
${datadir}/dconf/profile \
|
|
/run/gdm/greeter \
|
|
"
|
|
|
|
do_install_append() {
|
|
install -d ${D}${sysconfdir}/default/volatiles
|
|
echo "d gdm gdm 755 ${localstatedir}/run/gdm/greeter none" > ${D}${sysconfdir}/default/volatiles/99_gdm
|
|
rm ${D}${sysconfdir}/gdm/custom.conf
|
|
rm -rf ${D}/run/gdm
|
|
rm ${D}${libdir}/udev/rules.d/61-gdm.rules
|
|
install -m 644 ${WORKDIR}/gdm.conf ${D}${sysconfdir}/gdm/custom.conf
|
|
}
|
|
|
|
USERADD_PACKAGES = "${PN}"
|
|
USERADD_PARAM_${PN} = "--system --home /var/lib/gdm -u 21 -s /bin/false --user-group gdm"
|
|
|
|
SYSTEMD_SERVICE_${PN} = "${BPN}.service"
|
|
|
|
EXTRA_OEMESON = "\
|
|
-Dplymouth=enabled \
|
|
-Dxdmcp=disabled \
|
|
-Ddefault-pam-config=openembedded \
|
|
-Dpam-mod-dir=${base_libdir}/security \
|
|
-Dgdm-xsession=true\
|
|
"
|
|
|
|
PACKAGES += "${PN}-help"
|
|
FILES_${PN}-help = "${datadir}/help"
|