Skip to content

Commit

Permalink
Merge pull request #10 from mariux64/rebuild-gdm-3.4-for-X-server-path
Browse files Browse the repository at this point in the history
gdm: Rebuild 3.4.1 for correct X server path
  • Loading branch information
wwwutz committed Jun 15, 2016
2 parents 099db20 + 6ee9b7b commit 0d6126c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions gdm-3.4.1-13.bee
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/env beesh

SRCURL[0]="http://ftp.gnome.org/pub/gnome/sources/gdm/${PKGVERSION[2]}/gdm-${PKGVERSION}.tar.xz"

PATCHURL[0]="/src/mariux/download/gdm-3.4.1-0001-greeter-always-enable-debugging.patch"
PATCHURL[1]="/src/mariux/download/gdm-3.4.1-0002-greeter-disable-handling-of-ESC-in-login-window.patch"
PATCHURL[2]="/src/mariux/download/gdm-3.4.1-0003-greeter-never-show-cancel-button-in-login-window.patch"

LIBEXECDIR=/usr/lib/gdm
LOCALSTATEDIR=/var

EXCLUDE[0]="^/var/run ^/var/cache ^/etc/tmpfiles.d$"

mee_configure() {
bee_configure \
--with-pam-prefix=/etc
}

mee_install_post() {

mv ${D}/etc/pam.d{,.sample}

mkdir -pv ${D}/etc/tmpfiles.d

cat >${D}/etc/tmpfiles.d/gdm.conf <<-"EOF"
d /run/gdm 0711 root gdm -
d /run/gdm/greeter 0755 gdm gdm -
d /var/cache/gdm 1755 root gdm -
EOF

cat >${D}/etc/dconf/db/gdm.d/99-disable-user-list <<-"EOF"
[org/gnome/login-screen]
disable-user-list=true

[org/gnome/desktop/session]
session-name='gdm-fallback'
EOF
}

0 comments on commit 0d6126c

Please sign in to comment.