summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArjan Bouter2011-11-11 13:47:24 +0100
committerArjan Bouter2011-11-11 13:47:24 +0100
commitcf9935c02bce9dabf520d6ded85422b76a269b61 (patch)
tree9e7e88f7fb0d915bf19c2e499978f7b29e3ddef7
parent1af18412cb34af22ddf3b4aed6aaa4d601da19cf (diff)
lightdm: new spell, display manager
-rw-r--r--ChangeLog3
-rwxr-xr-xaccounts1
-rwxr-xr-xgroups1
-rwxr-xr-xx11/lightdm/BUILD3
-rwxr-xr-xx11/lightdm/DEPENDS17
-rwxr-xr-xx11/lightdm/DETAILS17
-rw-r--r--x11/lightdm/HISTORY3
-rwxr-xr-xx11/lightdm/init.d/lightdm16
8 files changed, 61 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4faaa4c967..ecc6640eca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2011-11-11 Arjan Bouter <abouter@sourcemage.org>
+ * x11/lightdm: new spell, display manager
+
2011-11-09 Vlad Glagolev <stealth@sourcemage.org>
* chat-irc/ratbox.gpg: added public key 201FF57E (Aaron Sethman
<androsyn@ratbox.org>)
diff --git a/accounts b/accounts
index 493f9ab324..45531bf7e0 100755
--- a/accounts
+++ b/accounts
@@ -95,4 +95,5 @@ postgrey:186:187
dspam:187:188
nslcd:188:189
redis:189:190
+lightdm:191:191
nobody:65534:65534
diff --git a/groups b/groups
index 3ceaa0be2e..d65f43d7e9 100755
--- a/groups
+++ b/groups
@@ -115,5 +115,6 @@ postgrey:187:
dspam:188:
nslcd:189:
redis:190:
+lightdm:191:
users:1000:
nogroup:65534:
diff --git a/x11/lightdm/BUILD b/x11/lightdm/BUILD
new file mode 100755
index 0000000000..fe42742070
--- /dev/null
+++ b/x11/lightdm/BUILD
@@ -0,0 +1,3 @@
+create_account lightdm
+PATH="${PATH}:/usr/bin/qt4" &&
+default_build
diff --git a/x11/lightdm/DEPENDS b/x11/lightdm/DEPENDS
new file mode 100755
index 0000000000..b0aa2fce1a
--- /dev/null
+++ b/x11/lightdm/DEPENDS
@@ -0,0 +1,17 @@
+depends dbus &&
+depends linux-pam &&
+depends -sub XEPHYR xorg-server &&
+optional_depends qt4 '--enable-liblightdm-qt --enable-qt-greeter' \
+ '--disable-liblightdm-qt --disable-qt-greeter' \
+ 'for QT4 support' &&
+optional_depends gtk+3 '--enable-gtk-greeter' '--disable-gtk-greeter' \
+ 'for GTK+3 support' &&
+optional_depends gtk-doc '--enable-gtk-doc' '--disable-gtk-doc' \
+ 'to build documentation' &&
+optional_depends gobject-introspection \
+ '--enable-introspection=yes' \
+ '--enable-introspection=no' \
+ 'for introspection support' &&
+optional_depends glib2 '--enable-liblightdm-gobject' \
+ '--disable-liblightdm-gobject' \
+ 'to enable LightDM client gobject libraries'
diff --git a/x11/lightdm/DETAILS b/x11/lightdm/DETAILS
new file mode 100755
index 0000000000..857d5f87dc
--- /dev/null
+++ b/x11/lightdm/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=lightdm
+ VERSION=1.0.6
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://launchpad.net/${SPELL}/trunk/${VERSION}/+download/${SOURCE}
+ SOURCE_HASH=sha512:6d0e6fe7e038e3c9200563e2baea684d8c675fb9e568d6d65f83fd512d2fa94fffbef785e882566487c3d83c6d493f0c1da14d0ed9bbb6dd617cbfac68fdfd2a
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://launchpad.net/lightdm"
+ LICENSE[0]=GPL3/LGPL3
+ ENTERED=20111111
+ SHORT="lightweight display manager"
+cat << EOF
+An X display manager that:
+ - Has a lightweight codebase - Is standards compliant (PAM, ConsoleKit,
+ etc) - Has a well defined interface between the server and user interface -
+ Fully themeable (easiest with the webkit interface) - Cross-desktop (greeters
+ can be written in any toolkit)
+EOF
diff --git a/x11/lightdm/HISTORY b/x11/lightdm/HISTORY
new file mode 100644
index 0000000000..15d7c557c2
--- /dev/null
+++ b/x11/lightdm/HISTORY
@@ -0,0 +1,3 @@
+2011-11-11 Arjan Bouter <abouter@sourcemage.org>
+ * BUILDS, DEPENDS, DETAILS: spell created
+
diff --git a/x11/lightdm/init.d/lightdm b/x11/lightdm/init.d/lightdm
new file mode 100755
index 0000000000..9c603d833e
--- /dev/null
+++ b/x11/lightdm/init.d/lightdm
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+PROGRAM=/usr/sbin/lightdm
+ARGS=
+RUNLEVEL=5
+PROVIDES=display_manager
+
+. /etc/init.d/smgl_init
+
+start() {
+ echo -n "Starting LightDM..."
+ mkdir -p /var/run/lightdm
+ chown lightdm.lightdm /var/run/lightdm
+ $PROGRAM $ARGS &
+ evaluate_retval
+}