Skip to content
Permalink
b7ef5b9c45
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 76 lines (59 sloc) 2.38 KB
#!/usr/bin/env beesh
# BEE_VERSION lightdm-1.30.0-3
# SRCURL[0]="https://github.com/CanonicalLtd/lightdm/releases/download/${PKGVERSION}/lightdm-${PKGVERSION}.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/c566ea595f2b81e68684be9f8dbcbb42/lightdm-1.30.0.tar.xz"
# PATCHURL+=(/src/mariux/patches/lightdm-faceoff.patch)
PATCHURL+=("https://beehive.molgen.mpg.de/5fb001d7af859c412f471085f1e2e565/lightdm-faceoff.patch")
# build_in_sourcedir
# mee_extract() {
# bee_extract "${@}"
# }
# mee_patch() {
# bee_patch "${@}"
# }
mee_configure() {
DMUSER=gdm
ITSTOOL=/bin/true \
bee_configure \
--prefix=/usr \
--libexecdir=/usr/lib/lightdm \
--localstatedir=/var \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--docdir=/usr/share/doc/lightdm-${PKGVERSION} \
--disable-static \
--disable-tests \
--enable-liblightdm-qt=no \
--with-greeter-user=${DMUSER} \
--with-greeter-session=slick-greeter \
--disable-nls
}
# mee_build() {
# bee_build
# }
# mee_install() {
# bee_install
# }
## by default this may be 'make install DESTDIR="${D}"'
mee_install_post() {
cat > ${D}/usr/bin/lightdm-session <<'EOF'
#! /bin/bash
# First argument is full command, ´for backwards compatibility'.
exec $1
EOF
chmod 755 ${D}/usr/bin/lightdm-session
rm -rf ${D}/etc/init
install -v -dm755 -o gdm -g gdm ${D}/var/lib/lightdm
install -v -dm755 -o gdm -g gdm ${D}/var/lib/lightdm-data
install -v -dm755 -o gdm -g gdm ${D}/var/cache/lightdm
install -v -dm770 -o gdm -g gdm ${D}/var/log/lightdm
###############################################
# adjust settings in /etc/lightdm/lightdm.conf
sed -i -e '/^#greeter-hide-users=false/ c greeter-hide-users=true' \
-e '/^#sessions-directory/ c sessions-directory=/usr/share/xsessions' \
-e '/^#greeter-session/ c greeter-session=slick-greeter' \
${D}/etc/lightdm/lightdm.conf
sed -i -e '/^minimum-uid=/ c minimum-uid=100' \
-e '/^hidden-users=/ c hidden-users=nobody nobodyV' \
${D}/etc/lightdm/users.conf
}