aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
commit6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07 (patch)
tree1f70b259fe7fb5c82f437c6b006284893cf4eb5a /testing/lightdm
parent66765c30ac7a9c9a560ab43d5618de820fb373c6 (diff)
downloadaports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.bz2
aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.xz
testing/*: removed
We dont ship testing things in a stable release
Diffstat (limited to 'testing/lightdm')
-rw-r--r--testing/lightdm/APKBUILD60
-rw-r--r--testing/lightdm/disallow-guest.patch22
-rw-r--r--testing/lightdm/lightdm-x11-configure.patch122
-rwxr-xr-xtesting/lightdm/lightdm.initd11
-rw-r--r--testing/lightdm/lightdm.pre-install6
5 files changed, 0 insertions, 221 deletions
diff --git a/testing/lightdm/APKBUILD b/testing/lightdm/APKBUILD
deleted file mode 100644
index f4ab08e0bf..0000000000
--- a/testing/lightdm/APKBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=lightdm
-pkgver=1.1.0
-pkgrel=4
-pkgdesc="A cross-desktop display manager"
-url="http://www.freedesktop.org/wiki/Software/LightDM"
-arch="all"
-license="GPL-3"
-depends="dbus"
-depends_dev=""
-makedepends="linux-pam-dev gtk+3.0-dev libxklavier-dev libxext-dev
- autoconf automake libtool gobject-introspection-dev"
-install="$pkgname.pre-install"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="http://people.ubuntu.com/~robert-ancell/lightdm/releases/lightdm-$pkgver.tar.gz
- lightdm-x11-configure.patch
- disallow-guest.patch
- lightdm.initd"
-
-_builddir="$srcdir"/lightdm-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-liblightdm-gobject \
- --enable-gtk-greeter \
- --with-greeter-session=lightdm-gtk-greeter \
- || return 1
-
- # workaround build bug
- touch tests/src/lightdm-session
-
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- rm -f "$pkgdir"/usr/lib/*.la
- mv "$pkgdir"/usr/lib/locale "$pkgdir"/usr/share/
-
- install -Dm755 "$srcdir"/lightdm.initd "$pkgdir"/etc/init.d/lightdm
-}
-
-md5sums="c2347200b1af29c677ef5ad83855217b lightdm-1.1.0.tar.gz
-10b9a72013ed824a12a8720ff28810a1 lightdm-x11-configure.patch
-04956acfe2817e8d953f012ad6c72998 disallow-guest.patch
-9eb01e4202919424face9bafbda4936c lightdm.initd"
diff --git a/testing/lightdm/disallow-guest.patch b/testing/lightdm/disallow-guest.patch
deleted file mode 100644
index b9ed6b3c28..0000000000
--- a/testing/lightdm/disallow-guest.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- ./data/lightdm.conf.orig
-+++ ./data/lightdm.conf
-@@ -63,7 +63,7 @@
- #greeter-session=example-gtk-gnome
- #greeter-hide-users=false
- #user-session=default
--#allow-guest=true
-+#allow-guest=false
- #guest-session=UNIMPLEMENTED
- #session-wrapper=lightdm-session
- #display-setup-script=
---- ./src/lightdm.c.orig
-+++ ./src/lightdm.c
-@@ -957,7 +957,7 @@
- if (!config_has_key (config_get_instance (), "SeatDefaults", "start-session"))
- config_set_boolean (config_get_instance (), "SeatDefaults", "start-session", TRUE);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "allow-guest"))
-- config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", TRUE);
-+ config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", FALSE);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-session"))
- config_set_string (config_get_instance (), "SeatDefaults", "greeter-session", GREETER_SESSION);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "user-session"))
diff --git a/testing/lightdm/lightdm-x11-configure.patch b/testing/lightdm/lightdm-x11-configure.patch
deleted file mode 100644
index e1819eaa49..0000000000
--- a/testing/lightdm/lightdm-x11-configure.patch
+++ /dev/null
@@ -1,122 +0,0 @@
---- ./configure.orig
-+++ ./configure
-@@ -17154,10 +17154,12 @@
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- \""; } >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- ") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-@@ -17165,6 +17167,7 @@
- pkg_cv_LIGHTDM_GTK_GREETER_CFLAGS=`$PKG_CONFIG --cflags "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
-@@ -17180,10 +17183,12 @@
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- \""; } >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- ") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-@@ -17191,6 +17196,7 @@
- pkg_cv_LIGHTDM_GTK_GREETER_LIBS=`$PKG_CONFIG --libs "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
-@@ -17215,11 +17221,13 @@
- LIGHTDM_GTK_GREETER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>&1`
- else
- LIGHTDM_GTK_GREETER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
-@@ -17250,10 +17258,12 @@
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- \""; } >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- ") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-@@ -17261,6 +17271,7 @@
- pkg_cv_LIGHTDM_GTK_GREETER_CFLAGS=`$PKG_CONFIG --cflags "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
-@@ -17276,10 +17287,12 @@
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- \""; } >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- ") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-@@ -17287,6 +17300,7 @@
- pkg_cv_LIGHTDM_GTK_GREETER_LIBS=`$PKG_CONFIG --libs "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
-@@ -17311,11 +17325,13 @@
- LIGHTDM_GTK_GREETER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>&1`
- else
- LIGHTDM_GTK_GREETER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- " 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
-@@ -17324,6 +17340,7 @@
- as_fn_error $? "Package requirements (
- gtk+-3.0
- gmodule-export-2.0
-+ x11
- ) were not met:
-
- $LIGHTDM_GTK_GREETER_PKG_ERRORS
diff --git a/testing/lightdm/lightdm.initd b/testing/lightdm/lightdm.initd
deleted file mode 100755
index 4e560c3fcc..0000000000
--- a/testing/lightdm/lightdm.initd
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/runscript
-
-depends() {
- needs localmount dbus
-}
-
-description="Lightweigh display manager"
-command="/usr/sbin/lightdm"
-command_background="yes"
-pidfile="/var/run/lightdm.pid"
-
diff --git a/testing/lightdm/lightdm.pre-install b/testing/lightdm/lightdm.pre-install
deleted file mode 100644
index 7a5fefea59..0000000000
--- a/testing/lightdm/lightdm.pre-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-name=lightdm
-addgroup -S $name 2>/dev/null
-adduser -S -H -h /var/run/lightdm -s /bin/false -D -G $name $name 2>/dev/null
-exit 0