]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Merge with trunk
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 27 Nov 2013 03:48:36 +0000 (16:48 +1300)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 27 Nov 2013 03:48:36 +0000 (16:48 +1300)
122 files changed:
.bzrignore
Makefile.am
configure.ac
data/Makefile.am
data/dm-tool.1
data/lightdm-set-defaults.1 [deleted file]
data/lightdm.1
debian/lightdm.postinst
debian/po/af.po
debian/po/an.po
debian/po/ar.po
debian/po/ast.po
debian/po/az.po
debian/po/be.po
debian/po/bg.po
debian/po/bn.po
debian/po/bo.po
debian/po/br.po
debian/po/bs.po
debian/po/ca.po
debian/po/ca@valencia.po
debian/po/ckb.po
debian/po/cs.po
debian/po/da.po
debian/po/de.po
debian/po/el.po
debian/po/en_AU.po
debian/po/en_CA.po
debian/po/en_GB.po
debian/po/eo.po
debian/po/es.po
debian/po/et.po
debian/po/eu.po
debian/po/fa.po
debian/po/fi.po
debian/po/fo.po
debian/po/fr.po
debian/po/fy.po
debian/po/gd.po
debian/po/gl.po
debian/po/gu.po
debian/po/he.po
debian/po/hi.po
debian/po/hr.po
debian/po/hu.po
debian/po/ia.po
debian/po/id.po
debian/po/is.po
debian/po/it.po
debian/po/ja.po
debian/po/kk.po
debian/po/kl.po
debian/po/km.po
debian/po/kn.po
debian/po/ko.po
debian/po/ku.po
debian/po/lb.po
debian/po/lt.po
debian/po/lv.po
debian/po/mhr.po
debian/po/mi.po
debian/po/ml.po
debian/po/mr.po
debian/po/ms.po
debian/po/my.po
debian/po/nb.po
debian/po/nl.po
debian/po/nn.po
debian/po/oc.po
debian/po/pa.po
debian/po/pl.po
debian/po/pt.po
debian/po/pt_BR.po
debian/po/ro.po
debian/po/ru.po
debian/po/sc.po
debian/po/sd.po
debian/po/shn.po
debian/po/si.po
debian/po/sk.po
debian/po/sl.po
debian/po/sq.po
debian/po/sr.po
debian/po/sv.po
debian/po/ta.po
debian/po/te.po
debian/po/tg.po
debian/po/th.po
debian/po/tl.po
debian/po/tr.po
debian/po/ug.po
debian/po/uk.po
debian/po/uz.po
debian/po/vi.po
debian/po/wae.po
debian/po/zh_CN.po
debian/po/zh_HK.po
debian/po/zh_TW.po
debian/rules
po/POTFILES.in
src/Makefile.am
src/configuration.c
src/configuration.h
src/dm-tool.c [moved from utils/dm-tool.c with 100% similarity]
src/lightdm.c
src/seat-surfaceflinger.c
src/seat-unity.c
src/seat.c
src/seat.h
src/session-child.c
tests/Makefile.am
tests/scripts/unity-compositor-fail-ready.conf
tests/scripts/unity-compositor-fail-start.conf
tests/scripts/unity-compositor-fallback.conf [new file with mode: 0644]
tests/scripts/unity-mir-lock-seat.conf [new file with mode: 0644]
tests/scripts/util-path.conf [deleted file]
tests/test-unity-compositor-fallback [new file with mode: 0755]
tests/test-unity-mir-lock-seat [new file with mode: 0755]
tests/test-util-path [deleted file]
utils/Makefile.am [deleted file]
utils/gdmflexiserver [deleted file]
utils/lightdm-set-defaults.c [deleted file]

index 5acfce47105269418ac6ac0cd878e3f16cffc04c..0f66e00313026f9b699f081e305b36304be6a078 100644 (file)
@@ -51,12 +51,7 @@ m4/*
 po/*.gmo
 po/POTFILES
 po/stamp-it
-src/display-glue.h
-src/display-manager-glue.h
-src/session-manager-glue.h
-src/user-manager-glue.h
-src/ldm-marshal.c
-src/ldm-marshal.h
+src/dm-tool
 src/lightdm
 src/lightdm-guest-session
 tests/*.log
@@ -69,6 +64,7 @@ tests/src/initctl
 tests/src/plymouth
 tests/src/test-gobject-greeter
 tests/src/test-greeter-wrapper
+tests/src/test-guest-wrapper
 tests/src/test-mir-greeter
 tests/src/test-qt4-greeter
 tests/src/test-qt5-greeter
@@ -79,5 +75,3 @@ tests/src/unity-system-compositor
 tests/src/vnc-client
 tests/src/X
 tests/src/Xvnc
-utils/lightdm-set-defaults
-utils/dm-tool
index 467d5c6fbdb0829ca35c6a617125c75838361852..73c6788e93bf7cce892f98cd9d5531a157d871b2 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS += liblightdm-qt
 if COMPILE_TESTS
 SUBDIRS += tests
 endif
-SUBDIRS += data po src doc help utils
+SUBDIRS += data po src doc help
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
 
index a87fb93e86010d11a4d92fcb783cced23a0c8e06..a57e166880c6346895362d7836819fde6056b192 100644 (file)
@@ -217,7 +217,6 @@ po/Makefile.in
 src/Makefile
 tests/Makefile
 tests/src/Makefile
-utils/Makefile
 ])
 AC_OUTPUT
 
index d4aead2f2f260cc243b55037d490e27da63f8348..b5601b940a0c432e5c322912e1cfdd4a65aa4211 100644 (file)
@@ -25,8 +25,7 @@ dist_apparmor_profile_abstractions_DATA = \
     apparmor/abstractions/lightdm_chromium-browser
 
 dist_man1_MANS = dm-tool.1 \
-                 lightdm.1 \
-                 lightdm-set-defaults.1
+                 lightdm.1
 
 EXTRA_DIST = apparmor/lightdm-guest-session.in
 CLEANFILES = lightdm-guest-session
index f4ceae23a7a4bc3a006bfc7f5470daa1abb65a88..1637f313b5c2839a3b498569e02cf8ddcfd50f22 100644 (file)
@@ -59,5 +59,4 @@ Connect an existing X server to the display manager.
 .B add-seat TYPE [NAME=VALUE...]
 Add a dynamic seat.
 .SH SEE ALSO
-.BR lightdm (1),
-.BR lightdm-set-defaults (1)
+.BR lightdm (1)
diff --git a/data/lightdm-set-defaults.1 b/data/lightdm-set-defaults.1
deleted file mode 100644 (file)
index 1cc68dc..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-.TH LIGHTDM-SET-DEFAULTS 1 "7 November 2013"
-.SH NAME
-lightdm-set-defaults \- sets configuration options for lightdm
-.SH SYNOPSIS
-.B lightdm-set-defaults
-[
-.I OPTION
-]
-.SH DESCRIPTION
-.B lightdm-set-defaults
-sets configuration options for lightdm.  Requires root permissions to run.
-.SH OPTIONS
-.TP
-.B \-h, \-\-help
-Show help options
-.TP
-.B \-k, \-\-keep\-old
-Only update if no default already set
-.TP
-.B \-d, \-\-debug
-Enable debugging messages
-.TP
-.B \-r, \-\-remove
-Remove default value if it's the current one
-.TP
-.B \-s, \-\-session=SESSION_NAME
-Set the default session to SESSION_NAME
-.TP
-.B \-g, \-\-greeter=GREETER_NAME
-Set the default greeter to GREETER_NAME
-.TP
-.B \-a, \-\-autologin=USERNAME
-Set the autologin user to USERNAME
-.TP
-.B \-i, \-\-hide\-users=<true|false>
-Set greeter-hide-users to true or false.
-.TP
-.B \-m, \-\-show\-manual\-login=<true|false>
-Set show-manual-login to true or false.
-.TP
-.B \-R, \-\-show\-remote\-login=<true|false>
-Set show-manual-login to true or false.
-.TP
-.B \-l, \-\-allow\-guest=<true|false>
-Set allow-guest to true or false.
-.SH FILES
-.TP
-.B /etc/lightdm/lightdm.conf
-Configuration
-.SH SEE ALSO
-.BR lightdm (1),
-.BR dm-tool (1)
index 27f80912b432b6c09b5015fcd9a85ba7f3ce5605..a6c90b2b920ee575d2c54ff968e1ca4cfba4690c 100644 (file)
@@ -54,5 +54,4 @@ User list configuration (if not using Accounts Service)
 .B /etc/lightdm/keys.conf
 XDMCP keys
 .SH SEE ALSO
-.BR dm-tool (1),
-.BR lightdm-set-defaults (1)
+.BR dm-tool (1)
index c61da08280844a27b26592fe394b9fe5051a08a4..5c104883d89b62818059dcf16ad50616a2f08b29 100644 (file)
@@ -69,16 +69,6 @@ fi
 # stdout, which can confuse debconf.
 db_stop
 
-# migrate gdm configuration on first-time installation
-if [ -z "$2" ]; then
-    if grep -q '^AutomaticLoginEnable *= *true$' /etc/gdm/custom.conf 2>/dev/null; then
-        user=`sed -n '/^AutomaticLogin *=/ { s/^.*= *//; p }' /etc/gdm/custom.conf`
-        if [ -n "$user" ]; then
-            /usr/lib/lightdm/lightdm-set-defaults --keep-old --autologin="$user"
-        fi
-    fi
-fi
-
 case "$1" in
     configure)
         # LP: #1189948
index fd7f37ee83311f889a6d66b8e200d6c256c4ecbc..6ec357191969aa4acb6a96f36b7fdf0b341d525e 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 8bc369bbeae28350da114113f003feb620e18118..de3c38b088407c66b8072b62746ece2662b373f4 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 1bc61de8b205423274de6c1389bd095c73da474a..e5aae87cb1de5c1f9c1526fcaec2ff1d4809b1f5 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index f74ee7ab832b8ae233dbd1bd7cd0900d492e1215..e2a5a289d078ea7a1c7b7fce6832ba3d869af2a2 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 91ae7af2d77e712e7e18cfdd2cd5eda9671bdfdf..23105e557463d8b9b0d2e871647ce39015ae2b4e 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index d22edd9dcc153db2566f1f102aa79c3be75d5ed0..420ca4c9269ca4b2702e020cd37259e74415588b 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index fa1f6b92f0742aef82bf007cfa0130d6b02bc8c8..7f68cf2bc1e8c0ad05569ce52f8fe53da9dc75ad 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index ca29c00bca1d55d4f58697e7572e41eca21dfe74..b8a001957264e1678d8f06e199be778dd133bb66 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 470124e6352b68ac56bd7dcd0f9f035a2050738d..b06d3a340432f6d29ac7edf89191e94894f7d994 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index e411af1fa81e6a75206932a041c67c5e15ab480a..1dab911007af127efb2b4affbb8c5c3098d73628 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index b255fd4c4c32c9851edd3d03147ecb44608205db..121af8e023ae073eb85b76e7aa279c15b08e01ef 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 5fb2a1e4536be6789e5790e5c6b6453529283d1b..94eb9f8b809e246eb46a9c142019b9a77bbf0358 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 56b8dc15f5e69b59076e6614c8019b5333ed3388..acb42bd460fa722b73ba339a2c40c73151143283 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index b864667fe3cf170b3195c1ec2d9de39807799abd..109265160493f4c39f47f3e0a9765162404c6412 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index b573801ab904f65b5bb003ed72714ee65ad055e3..737713c674b13d73754ef3f75d9ab7d963fe23e3 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 6f209a4bc21fc5616840a9e5a69c62620761b820..3cadf7004a1ad3c7674527316948052796a2e26c 100644 (file)
@@ -15,8 +15,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index b34089de974fb5e2814b50130802423a73a07752..70f589d3b371a5b247ecdf1e35fa1483c619df0b 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index ddbbc1613071ce04237ab7773e3fe45b335d0851..170e4d1cc2f1e564aba332f0bb09358ba6319396 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 38ba71a951632f590bbc598a1c25f83867ae588c..a64705293361d1968e61436dca14f4fcf1f02e68 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index e34541a78155fd2599cef3c2bdce0398d92af2d8..280ac1c4ee75a5d5d4a9a16cc915461b5d8f4908 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 9a558788fd7ed3ae289880dbba96376b6dc7c08f..e7a8a2eb4eaab4e649e92909741d35a0b28fdec1 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 971450d02fd5e6f22a5798afaf20205807b1a23a..dafd385f20c1e1ef30ed9571565125b1f9356cfa 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 5fb414b48356132ec46a8cacc6e18d5e22d04028..1cbaf1cea7fa9e4507c8588c22a9ccab950e22ab 100644 (file)
@@ -8,20 +8,20 @@ msgstr ""
 "Project-Id-Version: lightdm\n"
 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
 "POT-Creation-Date: 2007-05-31 08:04+0200\n"
-"PO-Revision-Date: 2010-12-31 05:34+0000\n"
+"PO-Revision-Date: 2013-11-17 12:32+0000\n"
 "Last-Translator: Adolfo Jayme Barrientos <fitoschido@gmail.com>\n"
 "Language-Team: Spanish <es@li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-18 05:39+0000\n"
+"X-Generator: Launchpad (build 16831)\n"
 
 #. Type: select
 #. Description
 #: ../lightdm.templates:2001
 msgid "Default display manager:"
-msgstr ""
+msgstr "Gestor de sesiones predeterminado:"
 
 #. Type: select
 #. Description
@@ -30,6 +30,8 @@ msgid ""
 "A display manager is a program that provides graphical login capabilities "
 "for the X Window System."
 msgstr ""
+"Un gestor de sesiones es un programa que provee al Sistema de ventanas X de "
+"una forma gráfica de iniciar una sesión."
 
 #. Type: select
 #. Description
@@ -39,6 +41,9 @@ msgid ""
 "manager packages are installed. Please select which display manager should "
 "run by default."
 msgstr ""
+"Solo un gestor de sesiones puede gestionar un servidor X dado, pero hay "
+"varios gestores instalados. Elija cuál quiere ejecutar de manera "
+"predeterminada."
 
 #. Type: select
 #. Description
index 8b1a7dd602cfc761a02950cd9d5d4789ec7710be..e3344267b94319fa89ae35d2f9e9adb8536c429b 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index fe32445d9549396fcb8880aa862bb3dcef7a050c..8801c04134b85ac7d10c56e33fba142eb4ac0094 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 62bde30aa070e49e42192c0f9e9744e975b6bdc0..87e9a149064df6fddf0db37d9dd442034af8a021 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 2330d725ac05e12531328d125e6482dad6548450..19daa83dcaee82b0d7c578220e6172ee92384f59 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index f9d0d7bc6173c12c7e57d6fd19f605ed7934a390..0de52680f4a54ffafba530bfc1d6956808fde487 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 7515d3c80f60ce921cb65b8f7bd835e834013d43..c9b85421ecb93c8ef759ba8c30bb5505f540780c 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 465fb68837570c5c213b0e24a9d2b558f7aa286a..fddef2ace1bf0df39058b590e91c599ded0cf751 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index bdeae71053ab39d52b95fd2f63336a2d76ec4b83..4daadc130559b455a88420ec65833eb2e9402fe4 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 2b270011632d3eb4eddb260e60700effa31bcba3..aa6b518e31ac6429d358ebd6092f2be068769c69 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index b47a4d821b48175904f2650ca4155fcb38df2f04..f0fdd89e20dffb24c1907280f987320198bc6dcf 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 7c622e9a8616adf3b1f09c410cc8bec7565368c8..d7295a2afb409feb3616091ac0f1ba6484cb8610 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 3f22e589f199d4642d91a241f53791ebaa2d3cd3..38cd4843dc00cf450880b9d354148fe99c8b3423 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index fb955daea6035fcfc892b352539d2c8d1b2e3b85..5127f508e270facddf63f1148a9f6bdca548728f 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index e3fdad327b6b5807f2d6a72c74ca806af7be6897..701d9c9b60e51ca3452792b54baa53fa42639719 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 1087fd48977d3ab56b691f47c0f026fe2157e6a5..e0fbb7c7614b798ccf18ff643a115de2e4b75357 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 737863397657be66c92d3d62c5d5438cfaab3877..cd9ef51e94238e21bf5c6a3cc4d1ecccc9a8dbf5 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 61d91bc59d5cf96ff0a3d8e659a88a8a1f4702b1..be67ce767fc8df328c60c3c2c4211ed7b7974f1e 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 5f8303e9276135649c41afd5788ac089ccc7caea..4f0e26d674bd95c36b44d3c46bd556bd5991abaa 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 6b3e01ce9c7897ef01524c8f89837b02c70abbbd..35a21cab91b02a0e5d7c03b6f19f4e0e14848d57 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 1e1fb70b9b83b0b3c8d7ec6b8a1babe9a07aa512..86b603b888fcd7b6978a8b008a2f48e7919fab11 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 5e9c61970b4c365c7dedf4e90df3f2aeda68ae56..e75a412f5ec37b0a9051f7efb92c321d8a76af1a 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index c960b5b898b093a9a1b7be7716fe1abb46b5f254..585aea6a2b65d80ec459ccc13698eaa888474371 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index f297317873f8114d78208f168724426030271e56..5e06fbeb8da04ed8d43ef9bdd7ba7e6ed00bbae2 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index c28c5df0c69a089f10f7690ec1208a10aac08569..1cec67d92d98dfcd20da05099cde58fea16275af 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 7727a0c0c9c9fed28573676d2e597fb7555cdab1..430a1f3ab0043b4ea95cb00880f90326740c675d 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 1f250b61b16d2e151adf88d587845b82d371bae0..4e9b7233b6a11925b10cc88422a430b5e3e4c52d 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index d75c34ffcf0506dcfa5e9dcf5ebfe984c8bdf404..a477d9a02f55bd03ad290bdeb4a94f2b4a772a39 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index d387e5b5c49fb841c246751cddb7e1b419cd671a..c47228014143e4827b712c7be03a1243566acc2d 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 9649a6aec3d109ee39d57a834c5e7a492c0c32e1..e8eb9fb88abf614dad5653bc2d87f006efa17722 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 89cf253febacea82a7f84c2895c780003c6365fd..01eb77d494028e78f79a716cd687fc9098afc4a2 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 1d1345017f2fcd990e4548b9af78e07a4e6b0477..2bd842d6926177ec238fae94de3f85de13e76098 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 68df5bdd90bbc16a0ea7a28010344057313cb322..2990ff9059d05301cd5c54530ac4b1ee7ebe65f3 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 62ef3358f726854404a491e245c983e0884de58a..82757a39295d62a6b362b9e6bb831c471035ac28 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 24972577a0962e33f8597289206bdb365d1819b9..2ef0225af0c0b8c5dd23962dfc73c5043dc43144 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index aa174a17e4b5143c040554e09edd8f4f472ea540..22e45420e474659301223427f83c228139a1805c 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index d91df0e8ab9bd98269cc43ebe61f3d13ed164ce2..036bf741e34657d4afbe03d92c60d9687b7bae5a 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 7f91b51c0c9342a274a1bf73a041717965896942..a7c137096ebea8aeb9da5720fd6ff53a8a6ea032 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index e318326a60b30c791410fe95702b5ea3b648ddac..1b5de2aadc5b3f28939e99f682f201947bff8d27 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 487ad79366712ebd62d66ae2c15b950efdc955bf..3fb6ff97ea354065ab9134d5963234c124086857 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 72c35d660de1130bf747e131c0f702239d1d1519..489b418c76ee21fd40510ac0f2fedb64556fd8bb 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index e20846c2f417c96f3958bfbb2b7a220e176b6711..59c506cee7f3b059b6e77d3c86c8c02affbc6c98 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index f0c5a2511a337efca3bf8b614b33e7253c09515b..ea3d09a369a4616681b17e6e99b82ad93f348811 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index c343b48b73449abb8e576685a47f0b4c4ad64f94..6333c229b4ca0d9b565335744df594988098f5ec 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 1216c1b05be0861a87a98eb6e71249b9517795c5..f5778f1db835e57bf9e53ea8e20fe69fcb7af13d 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index a538e9b4d902b154780320ef7fa7da9a1a945322..b03a4576a9906ba6033250b3bbcad8fa87dc8edb 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 7ef45b8c8c462edbc05107b6423b2bab2677393c..fcb19ee6d8952b0bdcb83ac30ecba52626422526 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 94d1e2a2e73678cc2b57c1bacae3eeb66111223d..e214e0bdaf65abd407c9606fbf648219a7a2156e 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 599e65b0bbb4d4ca6c16ef99c8a81795079c5389..102f753e59a68d03531987a10caba5f135e42c4a 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 5929c164318997b59fbe8e02c2cc09c8c4bcb95b..aad26783bd0de10ae75136e3f932944469a0846b 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 8ac590d4d2effc114bd38f86d9b472a37aed13fe..9f1abdf8fcdabcc239f3ca82beec3dd302e55363 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 17ac1ab10c584c9468d6eded22322b3a846a3fc2..f5a0877e767a9375c81c1c07c77ee49658cf7597 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:42+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 918e971e6f404bec5443799d8603523f853ad586..be866120e0d81b343bbb691048c3368c0aec40f1 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 "Language: sr\n"
 
 #. Type: select
index 9b1cb046d946229b8a6a720c9a0d1d0162ff3788..35acecbed0608c32d2c1a42ed04799da87f3afc8 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 0f63666c279596d636d3fe6f88f14e9aa072a5c6..0fc7bf26b02765170710e48c6ad7ced9bd666493 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index b6e25d172d889078005aba819a124b5b22b24206..6686e03495c4c7ad1b16e789e872d1f5248ba483 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index f1f5dd133cc0cc5725b11a5d28346ee5522fcf9d..928259032bfb5d4a71478eec657083ecb898daec 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 3e5c617bbecfd55e5c313b356fe6cb945c730825..1017aae98d5c4eaf21cd401837ebb7e943e10611 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 9af181ad4120da504ebb8e14045486b206caeb98..6de145ed837c6069c9680fb30230ed9b58f8ce82 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 88b56ac3c15437fd942c4845b439c4d933f75cde..4bd5af1e43d0020a9d25efaed7a1fcab98bbee0c 100644 (file)
@@ -14,7 +14,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-11-02 06:07+0000\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
 "X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
index 5d6b627b689594ddb6991609420ef4b325843168..015017e23ff21ed1d36ca192ae3253e8d51fb292 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 110307cfd9c65e6c85339a325cb5ecbe88743be8..5ba7a24463f11e9dc660595803f377ddf49021b3 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 5aa8f740c5a48167532dbb0283be11635bf90c78..c8cef244c05d634da3444df9386e88e4b711b3de 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index c4229b182e4f5fa58ef334ddb2cc1857e21c1b45..8130fd121cb8effa3724fa6a6e403df48f71b1c9 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 3d64d1715f9fd2abf7eac0f61657d9896d80bd97..ea4619469f4bfbe36a9da7080b9a188038d2b377 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 977c4bd5c5c5f213f1f5b4e0a3a1a2b17bef493e..bf63fd4ffc8133ddcde4c76fb1fbc478e9e76281 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index e6f60ef1c2fc03471d4391e5f260f311a6237f10..287a5c22db940ab533d1af70f4109b500a26f6e8 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 477ccb0967c6b86dcb2214734fd47bf87b3d93c5..c6b845f3b607fdcf4afff67070c0ce281a0227ab 100644 (file)
@@ -14,8 +14,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-10-23 04:43+0000\n"
-"X-Generator: Launchpad (build 16810)\n"
+"X-Launchpad-Export-Date: 2013-11-14 05:54+0000\n"
+"X-Generator: Launchpad (build 16820)\n"
 
 #. Type: select
 #. Description
index 6135377b09810f92f9f54cd03d0e3d4eebd512e0..3c262e6a570a49cf7ab316b0c15a26280ae8cf50 100755 (executable)
@@ -21,7 +21,6 @@ override_dh_install:
        rm -r debian/tmp/usr/share/help/C/
        # we do install pam through installpam and init through installinit
        dh_install -X.a -X.la -Xpam.d -X'etc/init/lightdm.conf' --fail-missing
-       mv debian/lightdm/usr/lib/lightdm/lightdm/lightdm-set-defaults debian/lightdm/usr/lib/lightdm
        chmod +x debian/lightdm/usr/lib/lightdm/lightdm-greeter-session
 
 override_dh_installinit:
index 792db4fe1ff3bcbbaee5347feab7840836018b3f..fcd65f678031c66bc784432bd453e6186c02e389 100644 (file)
@@ -2,5 +2,4 @@
 # Please keep this file sorted alphabetically.
 [encoding: UTF-8]
 src/lightdm.c
-utils/lightdm-set-defaults.c
 utils/dm-tool.c
index 95230ab4f665749d99263cdd0f1e57fe634b7dbb..0ff571fb96c7e5170da64de0d4875eb6e4492ed2 100644 (file)
@@ -1,4 +1,5 @@
 sbin_PROGRAMS = lightdm
+bin_PROGRAMS = dm-tool
 
 lightdm_SOURCES = \
        accounts.c \
@@ -77,7 +78,6 @@ lightdm_SOURCES = \
 lightdm_CFLAGS = \
        $(LIGHTDM_CFLAGS) \
        $(WARN_CFLAGS) \
-       -DPKGLIBEXEC_DIR=\"$(pkglibexecdir)\" \
        -DSBIN_DIR=\"$(sbindir)\" \
        -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
        -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
@@ -93,6 +93,17 @@ lightdm_LDADD = \
        -lgcrypt \
        -lpam
 
+dm_tool_SOURCES = \
+       dm-tool.c
+
+dm_tool_CFLAGS = \
+       $(LIGHTDM_CFLAGS) \
+       -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
+       -DLOCALE_DIR=\"$(datadir)/locale\"
+
+dm_tool_LDADD = \
+       $(LIGHTDM_LIBS)
+
 libexec_PROGRAMS = lightdm-guest-session
 
 lightdm_guest_session_SOURCES = lightdm-guest-session.c
index e3b15df8ae95c285140a4dd61e82ae0d09df49d0..5268c8d904d0651ee60bf917dbdfccd5b2c4b6d5 100644 (file)
@@ -89,6 +89,18 @@ config_get_string (Configuration *config, const gchar *section, const gchar *key
     return g_key_file_get_string (config->priv->key_file, section, key, NULL);
 }
 
+void
+config_set_string_list (Configuration *config, const gchar *section, const gchar *key, const gchar **value, gsize length)
+{
+    g_key_file_set_string_list (config->priv->key_file, section, key, value, length);
+}
+
+gchar **
+config_get_string_list (Configuration *config, const gchar *section, const gchar *key)
+{
+    return g_key_file_get_string_list (config->priv->key_file, section, key, NULL, NULL);
+}
+
 void
 config_set_integer (Configuration *config, const gchar *section, const gchar *key, gint value)
 {
index 6c7b300dcc3f4874e75b7463b39524ff739b4767..cae56912d1eec9fa37813de0a996adca057634f1 100644 (file)
@@ -48,6 +48,10 @@ void config_set_string (Configuration *config, const gchar *section, const gchar
 
 gchar *config_get_string (Configuration *config, const gchar *section, const gchar *key);
 
+void config_set_string_list (Configuration *config, const gchar *section, const gchar *key, const gchar **value, gsize length);
+
+gchar **config_get_string_list (Configuration *config, const gchar *section, const gchar *key);
+
 void config_set_integer (Configuration *config, const gchar *section, const gchar *key, gint value);
 
 gint config_get_integer (Configuration *config, const gchar *section, const gchar *key);
similarity index 100%
rename from utils/dm-tool.c
rename to src/dm-tool.c
index 3bf5ad77dd0db43b22c40ade8503720542d1ec3b..7d35034d1760af5fd31c82c7b270c98518e84763 100644 (file)
@@ -138,6 +138,34 @@ log_init (void)
     g_free (path);
 }
 
+static void
+set_seat_properties (Seat *seat, const gchar *config_section)
+{
+    gchar **keys;
+    gint i;
+
+    keys = config_get_keys (config_get_instance (), "SeatDefaults");
+    for (i = 0; keys[i]; i++)
+    {
+        gchar *value = config_get_string (config_get_instance (), "SeatDefaults", keys[i]);
+        seat_set_property (seat, keys[i], value);
+        g_free (value);
+    }
+    g_strfreev (keys);
+
+    if (config_section)
+    {
+        keys = config_get_keys (config_get_instance (), config_section);
+        for (i = 0; keys[i]; i++)
+        {
+            gchar *value = config_get_string (config_get_instance (), config_section, keys[i]);
+            seat_set_property (seat, keys[i], value);
+            g_free (value);
+        }
+        g_strfreev (keys);
+    }
+}
+
 static void
 signal_cb (Process *process, int signum)
 {
@@ -156,12 +184,62 @@ display_manager_stopped_cb (DisplayManager *display_manager)
 static void
 display_manager_seat_removed_cb (DisplayManager *display_manager, Seat *seat)
 {
-    if (seat_get_boolean_property (seat, "exit-on-failure"))
+    gchar **types;
+    gchar **iter;
+    Seat *next_seat = NULL;
+    GString *next_types;
+
+    /* If we have fallback types registered for the seat, let's try them
+       before giving up. */
+    types = seat_get_string_list_property (seat, "type");
+    next_types = g_string_new ("");
+    for (iter = types; iter && *iter; iter++)
+    {
+        if (iter == types)
+            continue; // skip first one, that is our current seat type
+
+        if (!next_seat)
+        {
+            next_seat = seat_new (*iter);
+            g_string_assign (next_types, *iter);
+        }
+        else
+        {
+            // Build up list of types to try next time
+            g_string_append_c (next_types, ';');
+            g_string_append (next_types, *iter);
+        }
+    }
+    g_strfreev (types);
+
+    if (next_seat)
+    {
+        const gchar *seat_name;
+        gchar *config_section = NULL;
+
+        seat_name = seat_get_string_property (seat, "seat-name");
+        if (seat_name)
+            config_section = g_strdup_printf ("Seat:%s", seat_name);
+        set_seat_properties (next_seat, config_section);
+        g_free (config_section);
+
+        // We set this manually on default seat.  Let's port it over if needed.
+        if (seat_get_boolean_property (seat, "exit-on-failure"))
+            seat_set_property (next_seat, "exit-on-failure", "true");
+
+        seat_set_property (next_seat, "type", next_types->str);
+
+        display_manager_add_seat (display_manager, next_seat);
+        g_object_unref (next_seat);
+    }
+    else if (seat_get_boolean_property (seat, "exit-on-failure"))
     {
         g_debug ("Required seat has stopped");
         exit_code = EXIT_FAILURE;
         display_manager_stop (display_manager);
     }
+
+    g_string_free (next_types, TRUE);
 }
 
 static GVariant *
@@ -211,34 +289,6 @@ handle_display_manager_get_property (GDBusConnection       *connection,
     return result;
 }
 
-static void
-set_seat_properties (Seat *seat, const gchar *config_section)
-{
-    gchar **keys;
-    gint i;
-
-    keys = config_get_keys (config_get_instance (), "SeatDefaults");
-    for (i = 0; keys[i]; i++)
-    {
-        gchar *value = config_get_string (config_get_instance (), "SeatDefaults", keys[i]);
-        seat_set_property (seat, keys[i], value);
-        g_free (value);
-    }
-    g_strfreev (keys);
-
-    if (config_section)
-    {
-        keys = config_get_keys (config_get_instance (), config_section);
-        for (i = 0; keys[i]; i++)
-        {
-            gchar *value = config_get_string (config_get_instance (), config_section, keys[i]);
-            seat_set_property (seat, keys[i], value);
-            g_free (value);
-        }
-        g_strfreev (keys);
-    }
-}
-
 static void
 handle_display_manager_call (GDBusConnection       *connection,
                              const gchar           *sender,
@@ -1199,19 +1249,25 @@ main (int argc, char **argv)
     for (i = groups; *i; i++)
     {
         gchar *config_section = *i;
-        gchar *type;
-        Seat *seat;
+        gchar **types;
+        gchar **type;
+        Seat *seat = NULL;
         const gchar *const seatpfx = "Seat:";
 
         if (!g_str_has_prefix (config_section, seatpfx))
             continue;
 
         g_debug ("Loading seat %s", config_section);
-        type = config_get_string (config_get_instance (), config_section, "type");
-        if (!type)
-            type = config_get_string (config_get_instance (), "SeatDefaults", "type");
-        seat = seat_new (type);
-        g_free (type);
+        types = config_get_string_list (config_get_instance (), config_section, "type");
+        if (!types)
+            types = config_get_string_list (config_get_instance (), "SeatDefaults", "type");
+        for (type = types; type && *type; type++)
+        {
+            seat = seat_new (*type);
+            if (seat)
+                break;
+        }
+        g_strfreev (types);
         if (seat)
         {
             const gsize seatpfxlen = strlen(seatpfx);
@@ -1232,14 +1288,20 @@ main (int argc, char **argv)
     /* If no seats start a default one */
     if (n_seats == 0 && config_get_boolean (config_get_instance (), "LightDM", "start-default-seat"))
     {
-        gchar *type;
-        Seat *seat;
+        gchar **types;
+        gchar **type;
+        Seat *seat = NULL;
 
         g_debug ("Adding default seat");
 
-        type = config_get_string (config_get_instance (), "SeatDefaults", "type");
-        seat = seat_new (type);
-        g_free (type);
+        types = config_get_string_list (config_get_instance (), "SeatDefaults", "type");
+        for (type = types; type && *type; type++)
+        {
+            seat = seat_new (*type);
+            if (seat)
+                break;
+        }
+        g_strfreev (types);
         if (seat)
         {
             set_seat_properties (seat, NULL);
@@ -1250,7 +1312,7 @@ main (int argc, char **argv)
         }
         else
         {
-            g_warning ("Failed to create default seat %s", type);
+            g_warning ("Failed to create default seat");
             return EXIT_FAILURE;
         }
     }
index 025093091a811e0f29c5621c8c47bb645bfd7b85..226c51136a84c689427f489ff1b946db2923b562 100644 (file)
@@ -26,8 +26,10 @@ seat_surfaceflinger_setup (Seat *seat)
 
 static DisplayServer *
 seat_surfaceflinger_create_display_server (Seat *seat, const gchar *session_type)
-{  
-    if (strcmp (session_type, "surfaceflinger") == 0)
+{
+    /* Allow mir types too, because Mir sessions usually support surfaceflinger
+       as an alternate mode, since Mir is frequently used on phones. */
+    if (strcmp (session_type, "surfaceflinger") == 0 || strcmp (session_type, "mir") == 0)
         return DISPLAY_SERVER (surfaceflinger_server_new ());
     else
     {
index 2d2373b0f763b2bb4b3e2d12ca5afa7a94527981..e9a89e02f7bb4d081a8cc9430deb66755fdf0ea4 100644 (file)
@@ -69,9 +69,6 @@ struct SeatUnityPrivate
     gint next_x_server_id;
     gint next_greeter_id;
 
-    /* TRUE if using VT switching fallback */
-    gboolean use_vt_switching;
-
     /* The currently visible session */
     Session *active_session;
     DisplayServer *active_display_server;
@@ -109,15 +106,6 @@ compositor_stopped_cb (Process *process, SeatUnity *seat)
         return;
     }
 
-    /* If stopped before it was ready, then revert to VT mode */
-    if (!seat->priv->compositor_ready)
-    {
-        l_debug (seat, "Compositor failed to start, switching to VT mode");
-        seat->priv->use_vt_switching = TRUE;
-        SEAT_CLASS (seat_unity_parent_class)->start (SEAT (seat));
-        return;
-    }
-
     l_debug (seat, "Stopping Unity seat, compositor terminated");
 
     seat_stop (SEAT (seat));
@@ -410,6 +398,7 @@ create_x_server (Seat *seat)
     const gchar *command = NULL, *layout = NULL, *config_file = NULL, *xdmcp_manager = NULL, *key_name = NULL, *xdg_seat = NULL;
     gboolean allow_tcp;
     gint port = 0;
+    gchar *id;
 
     l_debug (seat, "Starting X server on Unity compositor");
 
@@ -419,18 +408,11 @@ create_x_server (Seat *seat)
     if (command)
         x_server_local_set_command (x_server, command);
 
-    if (SEAT_UNITY (seat)->priv->use_vt_switching)
-        x_server_local_set_vt (x_server, vt_get_unused ());
-    else
-    {
-        gchar *id;
-
-        id = g_strdup_printf ("x-%d", SEAT_UNITY (seat)->priv->next_x_server_id);
-        SEAT_UNITY (seat)->priv->next_x_server_id++;
-        x_server_local_set_mir_id (x_server, id);
-        x_server_local_set_mir_socket (x_server, SEAT_UNITY (seat)->priv->mir_socket_filename);
-        g_free (id);
-    }
+    id = g_strdup_printf ("x-%d", SEAT_UNITY (seat)->priv->next_x_server_id);
+    SEAT_UNITY (seat)->priv->next_x_server_id++;
+    x_server_local_set_mir_id (x_server, id);
+    x_server_local_set_mir_socket (x_server, SEAT_UNITY (seat)->priv->mir_socket_filename);
+    g_free (id);
 
     layout = seat_get_string_property (seat, "xserver-layout");
     if (layout)
@@ -502,9 +484,6 @@ create_mir_server (Seat *seat)
     mir_server = mir_server_new ();
     mir_server_set_parent_socket (mir_server, SEAT_UNITY (seat)->priv->mir_socket_filename);
 
-    if (SEAT_UNITY (seat)->priv->use_vt_switching)
-        mir_server_set_vt (mir_server, vt_get_unused ());
-
     return DISPLAY_SERVER (mir_server);
 }
 
@@ -528,7 +507,7 @@ seat_unity_create_greeter_session (Seat *seat)
     Greeter *greeter_session;
     const gchar *xdg_seat;
     gchar *id;
-    gint vt = -1;
+    gint vt;
 
     greeter_session = SEAT_CLASS (seat_unity_parent_class)->create_greeter_session (seat);
     xdg_seat = seat_get_string_property (seat, "xdg-seat");
@@ -542,9 +521,7 @@ seat_unity_create_greeter_session (Seat *seat)
     session_set_env (SESSION (greeter_session), "MIR_SERVER_NAME", id);
     g_free (id);
 
-    if (!SEAT_UNITY (seat)->priv->use_vt_switching)
-        vt = SEAT_UNITY (seat)->priv->vt;
-
+    vt = SEAT_UNITY (seat)->priv->vt;
     if (vt >= 0)
     {
         gchar *value = g_strdup_printf ("%d", vt);
@@ -564,7 +541,7 @@ seat_unity_create_session (Seat *seat)
     Session *session;
     const gchar *xdg_seat;
     gchar *id;
-    gint vt = -1;
+    gint vt;
 
     session = SEAT_CLASS (seat_unity_parent_class)->create_session (seat);
     xdg_seat = seat_get_string_property (seat, "xdg-seat");
@@ -578,9 +555,7 @@ seat_unity_create_session (Seat *seat)
     session_set_env (session, "MIR_SERVER_NAME", id);
     g_free (id);
 
-    if (!SEAT_UNITY (seat)->priv->use_vt_switching)
-        vt = SEAT_UNITY (seat)->priv->vt;
-
+    vt = SEAT_UNITY (seat)->priv->vt;
     if (vt >= 0)
     {
         gchar *value = g_strdup_printf ("%d", vt);
@@ -599,17 +574,6 @@ seat_unity_set_active_session (Seat *seat, Session *session)
 {
     DisplayServer *display_server;
 
-    /* If no compositor, have to use VT switching */
-    if (SEAT_UNITY (seat)->priv->use_vt_switching)
-    {
-        gint vt = display_server_get_vt (session_get_display_server (session));
-        if (vt >= 0)
-            vt_set_active (vt);
-
-        SEAT_CLASS (seat_unity_parent_class)->set_active_session (seat, session);
-        return;
-    }
-
     if (session == SEAT_UNITY (seat)->priv->active_session)
         return;
     SEAT_UNITY (seat)->priv->active_session = g_object_ref (session);
@@ -641,24 +605,6 @@ seat_unity_set_active_session (Seat *seat, Session *session)
 static Session *
 seat_unity_get_active_session (Seat *seat)
 {
-    if (SEAT_UNITY (seat)->priv->use_vt_switching)
-    {
-        gint vt;
-        GList *link;
-        vt = vt_get_active ();
-        if (vt < 0)
-            return NULL;
-
-        for (link = seat_get_sessions (seat); link; link = link->next)
-        {
-            Session *session = link->data;
-            if (display_server_get_vt (session_get_display_server (session)) == vt)
-                return session;
-        }
-
-        return NULL;
-    }
-
     return SEAT_UNITY (seat)->priv->active_session;
 }
 
@@ -671,10 +617,6 @@ seat_unity_set_next_session (Seat *seat, Session *session)
     if (!session)
         return;
 
-    /* If no compositor, don't worry about it */
-    if (SEAT_UNITY (seat)->priv->use_vt_switching)
-        return;
-
     display_server = session_get_display_server (session);
 
     if (IS_X_SERVER_LOCAL (display_server))
index 1596a3dac4f63df3262f2a0fc4fc5865f36c8552..e2b9c2c55c6fa6d750c141b2c165957f45fe4dfb 100644 (file)
@@ -135,6 +135,13 @@ seat_get_string_property (Seat *seat, const gchar *name)
     return g_hash_table_lookup (seat->priv->properties, name);
 }
 
+gchar **
+seat_get_string_list_property (Seat *seat, const gchar *name)
+{
+    g_return_val_if_fail (seat != NULL, NULL);
+    return g_strsplit (g_hash_table_lookup (seat->priv->properties, name), ";", 0);
+}
+
 gboolean
 seat_get_boolean_property (Seat *seat, const gchar *name)
 {
@@ -430,13 +437,12 @@ switch_to_greeter_from_failed_session (Seat *seat, Session *session)
         DisplayServer *display_server;
 
         display_server = create_display_server (seat, session_get_session_type (session));
+        session_set_display_server (session, display_server);
         if (!display_server_start (display_server))
         {
             l_debug (seat, "Failed to start display server for greeter");
             seat_stop (seat);
         }
-
-        session_set_display_server (session, display_server);
     }
 
     start_session (seat, SESSION (greeter_session));
@@ -1382,8 +1388,6 @@ seat_switch_to_guest (Seat *seat, const gchar *session_name)
         return FALSE;
 
     display_server = create_display_server (seat, session_get_session_type (session));
-    if (!display_server_start (display_server))
-        return FALSE;
 
     if (seat->priv->session_to_activate)
         g_object_unref (seat->priv->session_to_activate);
@@ -1391,7 +1395,7 @@ seat_switch_to_guest (Seat *seat, const gchar *session_name)
     session_set_pam_service (session, AUTOLOGIN_SERVICE);
     session_set_display_server (session, display_server);
 
-    return TRUE;
+    return display_server_start (display_server);
 }
 
 gboolean
@@ -1421,8 +1425,6 @@ seat_lock (Seat *seat, const gchar *username)
         return FALSE;
 
     display_server = create_display_server (seat, session_get_session_type (SESSION (greeter_session)));
-    if (!display_server_start (display_server))
-        return FALSE;
 
     if (seat->priv->session_to_activate)
         g_object_unref (seat->priv->session_to_activate);
@@ -1432,7 +1434,7 @@ seat_lock (Seat *seat, const gchar *username)
         greeter_set_hint (greeter_session, "select-user", username);
     session_set_display_server (SESSION (greeter_session), display_server);
 
-    return TRUE;
+    return display_server_start (display_server);
 }
 
 void
index 7457230d53532677dbb5d11f11f0f68670409f6b..f6502ea7d5dfc09ce52365d25c72a7d419f3c973 100644 (file)
@@ -67,6 +67,8 @@ void seat_set_property (Seat *seat, const gchar *name, const gchar *value);
 
 const gchar *seat_get_string_property (Seat *seat, const gchar *name);
 
+gchar **seat_get_string_list_property (Seat *seat, const gchar *name);
+
 gboolean seat_get_boolean_property (Seat *seat, const gchar *name);
 
 gint seat_get_integer_property (Seat *seat, const gchar *name);
index bf70aa7f4d007ea4f16a005fb6d1d30ec3486082..f9d0bfb31f50d1718925dce24fc3f031feda4c00 100644 (file)
@@ -530,11 +530,6 @@ session_child_run (int argc, char **argv)
         g_free (value);
     }
 
-    /* Put our tools directory in the path as a hack so we can use the legacy gdmflexiserver interface */
-    path = pam_getenv (pam_handle, "PATH");
-    if (path)
-        pam_putenv (pam_handle, g_strdup_printf ("PATH=%s:%s", PKGLIBEXEC_DIR, path));
-
     /* Catch terminate signal and pass it to the child */
     signal (SIGTERM, signal_cb);
 
index 92014235ac8fdd4fe4936f26fac9b02fd00a71d9..4b387d4a6d21bb217bb3f21706b896fbc0c27c1e 100644 (file)
@@ -52,7 +52,6 @@ TESTS = \
        test-xdg-current-desktop \
        test-xdg-seat \
        test-language-env \
-       test-util-path \
        test-session-stdout \
        test-session-stderr \
        test-session-stderr-multi-write \
@@ -157,6 +156,7 @@ TESTS = \
        test-unity-compositor-command \
        test-unity-compositor-fail-start \
        test-unity-compositor-fail-ready \
+       test-unity-compositor-fallback \
        test-unity-compositor-next-session \
        test-unity-compositor-mir-next-session \
        test-unity-autologin \
@@ -166,6 +166,7 @@ TESTS = \
        test-unity-mir-autologin \
        test-unity-mir-greeter-x-session \
        test-unity-mir-greeter-mir-session \
+       test-unity-mir-lock-seat \
        test-unity-mir-session-x-greeter \
        test-unity-xdg-seat \
        test-surfaceflinger-autologin
@@ -432,11 +433,13 @@ EXTRA_DIST = \
        scripts/unity-compositor-command.conf \
        scripts/unity-compositor-fail-ready.conf \
        scripts/unity-compositor-fail-start.conf \
+       scripts/unity-compositor-fallback.conf \
        scripts/unity-compositor-mir-next-session.conf \
        scripts/unity-compositor-next-session.conf \
        scripts/unity-login.conf \
        scripts/unity-mir-autologin.conf \
        scripts/unity-mir-greeter-mir-session.conf \
+       scripts/unity-mir-lock-seat.conf \
        scripts/unity-mir-greeter-x-session.conf \
        scripts/unity-mir-session-x-greeter.conf \
        scripts/unity-plymouth.conf \
@@ -451,7 +454,6 @@ EXTRA_DIST = \
        scripts/user-layout.conf \
        scripts/user-logged-in.conf \
        scripts/user-name.conf \
-       scripts/util-path.conf \
        scripts/user-renamed.conf \
        scripts/user-renamed-invalid.conf \
        scripts/user-session.conf \
index d197d9fc11c7a1b49b67c02ff6ed56111f1fd93f..6b6c454b53801fe4e33c6a35695362c487690420 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Check falls back to VT switching when the compositor fails to indicate it is ready
+# Check clean stop when the compositor fails to indicate it is ready
 #
 
 [SeatDefaults]
@@ -14,23 +14,5 @@ unity-compositor-timeout=1
 # Timeout and compositor is stopped
 #?UNITY-SYSTEM-COMPOSITOR TERMINATE SIGNAL=15
 
-# X server starts in VT mode
-#?XSERVER-0 START VT=7
-
-# Daemon connects when X server is ready
-#?*XSERVER-0 INDICATE-READY
-#?XSERVER-0 INDICATE-READY
-#?XSERVER-0 ACCEPT-CONNECT
-
-# Greeter starts
-#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
-#?XSERVER-0 ACCEPT-CONNECT
-#?GREETER-X-0 CONNECT-XSERVER
-#?GREETER-X-0 CONNECT-TO-DAEMON
-#?GREETER-X-0 CONNECTED-TO-DAEMON
-
 # Cleanup
-#?*STOP-DAEMON
-#?GREETER-X-0 TERMINATE SIGNAL=15
-#?XSERVER-0 TERMINATE SIGNAL=15
-#?RUNNER DAEMON-EXIT STATUS=0
+#?RUNNER DAEMON-EXIT STATUS=1
index 25e6e45a6acc8b983cf43dba5587d6d619035370..206e9f86d1d904742dbcfb84180c790bfe9cb56d 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Check falls back to VT switching when the compositor fails to start
+# Check clean stop when the compositor fails to start
 #
 
 [unity-system-compositor-config]
@@ -14,23 +14,5 @@ type=unity
 #?UNITY-SYSTEM-COMPOSITOR START VT=7 XDG_VTNR=7
 #?UNITY-SYSTEM-COMPOSITOR EXIT CODE=1
 
-# X server starts in VT mode
-#?XSERVER-0 START VT=7
-
-# Daemon connects when X server is ready
-#?*XSERVER-0 INDICATE-READY
-#?XSERVER-0 INDICATE-READY
-#?XSERVER-0 ACCEPT-CONNECT
-
-# Greeter starts
-#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
-#?XSERVER-0 ACCEPT-CONNECT
-#?GREETER-X-0 CONNECT-XSERVER
-#?GREETER-X-0 CONNECT-TO-DAEMON
-#?GREETER-X-0 CONNECTED-TO-DAEMON
-
 # Cleanup
-#?*STOP-DAEMON
-#?GREETER-X-0 TERMINATE SIGNAL=15
-#?XSERVER-0 TERMINATE SIGNAL=15
-#?RUNNER DAEMON-EXIT STATUS=0
+#?RUNNER DAEMON-EXIT STATUS=1
diff --git a/tests/scripts/unity-compositor-fallback.conf b/tests/scripts/unity-compositor-fallback.conf
new file mode 100644 (file)
index 0000000..a875393
--- /dev/null
@@ -0,0 +1,40 @@
+#
+# Check seat type falls back when the compositor fails to start
+#
+
+[unity-system-compositor-config]
+return-value=1
+
+[SeatDefaults]
+type=unity;INVALID;unity;xlocal;
+
+#?RUNNER DAEMON-START
+
+# System compositor fails to start
+#?UNITY-SYSTEM-COMPOSITOR START VT=7 XDG_VTNR=7
+#?UNITY-SYSTEM-COMPOSITOR EXIT CODE=1
+
+# System compositor fails to start a second time
+#?UNITY-SYSTEM-COMPOSITOR START VT=7 XDG_VTNR=7
+#?UNITY-SYSTEM-COMPOSITOR EXIT CODE=1
+
+# X server starts in VT mode
+#?XSERVER-0 START VT=7
+
+# Daemon connects when X server is ready
+#?*XSERVER-0 INDICATE-READY
+#?XSERVER-0 INDICATE-READY
+#?XSERVER-0 ACCEPT-CONNECT
+
+# Greeter starts
+#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
+#?XSERVER-0 ACCEPT-CONNECT
+#?GREETER-X-0 CONNECT-XSERVER
+#?GREETER-X-0 CONNECT-TO-DAEMON
+#?GREETER-X-0 CONNECTED-TO-DAEMON
+
+# Cleanup
+#?*STOP-DAEMON
+#?GREETER-X-0 TERMINATE SIGNAL=15
+#?XSERVER-0 TERMINATE SIGNAL=15
+#?RUNNER DAEMON-EXIT STATUS=0
diff --git a/tests/scripts/unity-mir-lock-seat.conf b/tests/scripts/unity-mir-lock-seat.conf
new file mode 100644 (file)
index 0000000..e4911cf
--- /dev/null
@@ -0,0 +1,43 @@
+#
+# Check can lock a seat from D-Bus with Mir
+#
+
+[SeatDefaults]
+autologin-user=have-password1
+type=unity
+user-session=mir
+
+#?RUNNER DAEMON-START
+
+# System compositor starts
+#?UNITY-SYSTEM-COMPOSITOR START VT=7 XDG_VTNR=7
+#?*UNITY-SYSTEM-COMPOSITOR READY
+
+# Session starts
+#?SESSION-MIR-session-0 START XDG_SEAT=seat0 XDG_VTNR=7 DESKTOP_SESSION=mir USER=have-password1
+
+# System compositor switches to session
+#?UNITY-SYSTEM-COMPOSITOR SET-ACTIVE-SESSION ID=session-0
+
+# Lock the seat
+#?*SESSION-MIR-session-0 LOCK-SEAT
+#?SESSION-MIR-session-0 LOCK-SEAT
+
+# Session is locked
+#?LOGIN1 LOCK-SESSION
+
+# Greeter starts
+#?GREETER-MIR-greeter-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
+#?GREETER-MIR-greeter-0 CONNECT-TO-DAEMON
+#?GREETER-MIR-greeter-0 CONNECTED-TO-DAEMON
+#?GREETER-MIR-greeter-0 LOCK-HINT
+
+# Switch to greeter
+#?UNITY-SYSTEM-COMPOSITOR SET-ACTIVE-SESSION ID=greeter-0
+
+# Cleanup
+#?*STOP-DAEMON
+#?GREETER-MIR-greeter-0 TERMINATE SIGNAL=15
+#?SESSION-MIR-session-0 TERMINATE SIGNAL=15
+#?UNITY-SYSTEM-COMPOSITOR TERMINATE SIGNAL=15
+#?RUNNER DAEMON-EXIT STATUS=0
diff --git a/tests/scripts/util-path.conf b/tests/scripts/util-path.conf
deleted file mode 100644 (file)
index fe21ed8..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Check utility path is set in session
-#
-
-[SeatDefaults]
-autologin-user=have-password1
-user-session=default
-
-#?RUNNER DAEMON-START
-
-# X server starts
-#?XSERVER-0 START VT=7
-
-# Daemon connects when X server is ready
-#?*XSERVER-0 INDICATE-READY
-#?XSERVER-0 INDICATE-READY
-#?XSERVER-0 ACCEPT-CONNECT
-
-# Session starts
-#?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 DESKTOP_SESSION=default USER=have-password1
-#?XSERVER-0 ACCEPT-CONNECT
-#?SESSION-X-0 CONNECT-XSERVER
-
-# Check utility path is there
-#?*SESSION-X-0 READ-ENV NAME=PATH
-# FIXME: This is a really crap regex and the path could be overridden in the configure stage
-#?SESSION-X-0 READ-ENV NAME=PATH VALUE=.*/lightdm:.*
-
-# Cleanup
-#?*STOP-DAEMON
-#?SESSION-X-0 TERMINATE SIGNAL=15
-#?XSERVER-0 TERMINATE SIGNAL=15
-#?RUNNER DAEMON-EXIT STATUS=0
diff --git a/tests/test-unity-compositor-fallback b/tests/test-unity-compositor-fallback
new file mode 100755 (executable)
index 0000000..c60cc1f
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+./src/dbus-env ./src/test-runner unity-compositor-fallback test-gobject-greeter
diff --git a/tests/test-unity-mir-lock-seat b/tests/test-unity-mir-lock-seat
new file mode 100755 (executable)
index 0000000..b4b4a19
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+./src/dbus-env ./src/test-runner unity-mir-lock-seat test-mir-greeter
diff --git a/tests/test-util-path b/tests/test-util-path
deleted file mode 100755 (executable)
index 05c7cd5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-./src/dbus-env ./src/test-runner util-path test-gobject-greeter
diff --git a/utils/Makefile.am b/utils/Makefile.am
deleted file mode 100644 (file)
index 6c75d6d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-bin_PROGRAMS = dm-tool
-pkglibexec_PROGRAMS = lightdm-set-defaults
-legacydir = $(libexecdir)/lightdm
-dist_legacy_SCRIPTS = gdmflexiserver
-
-dm_tool_SOURCES = \
-       dm-tool.c
-
-dm_tool_CFLAGS = \
-       $(LIGHTDM_CFLAGS) \
-       -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
-       -DLOCALE_DIR=\"$(datadir)/locale\"
-
-dm_tool_LDADD = \
-       $(LIGHTDM_LIBS)
-
-lightdm_set_defaults_SOURCES = \
-       lightdm-set-defaults.c
-
-lightdm_set_defaults_CFLAGS = \
-       $(LIGHTDM_CFLAGS) \
-       -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
-       -DLOCALE_DIR=\"$(datadir)/locale\"
-
-lightdm_set_defaults_LDADD = \
-       $(LIGHTDM_LIBS)
-
-DISTCLEANFILES = \
-    Makefile.in
-
diff --git a/utils/gdmflexiserver b/utils/gdmflexiserver
deleted file mode 100755 (executable)
index 0e04030..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2011 Canonical Ltd
-# Author: Michael Terry <michael.terry@canonical.com>
-# 
-# This program is free software: you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation, version 3 of the License.
-#
-# See http://www.gnu.org/copyleft/gpl.html for the full text of the license.
-
-if [ -z "$XDG_SEAT_PATH" ]; then
-  # something went wrong
-  exit 1
-fi
-
-dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.DisplayManager $XDG_SEAT_PATH org.freedesktop.DisplayManager.Seat.SwitchToGreeter
diff --git a/utils/lightdm-set-defaults.c b/utils/lightdm-set-defaults.c
deleted file mode 100644 (file)
index 75ea17c..0000000
+++ /dev/null
@@ -1,277 +0,0 @@
-/*
- * Copyright (C) 2011 Didier Roche.
- * Author: Didier Roche <didrocks@ubuntu.com>
- * 
- * This program is free software: you can redistribute it and/or modify it under
- * the terms of the GNU General Public License as published by the Free Software
- * Foundation, either version 3 of the License, or (at your option) any later
- * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
- * license.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <stdlib.h>
-#include <unistd.h>
-
-#include <glib.h>
-#include <glib/gi18n.h>
-
-#define SEATDEFAULT_KEY_GROUP "SeatDefaults"
-#define TYPE_KEY_NAME  "type"
-#define SESSION_KEY_NAME  "user-session"
-#define GREETER_KEY_NAME  "greeter-session"
-#define AUTOLOGIN_KEY_NAME  "autologin-user"
-#define HIDE_USERS_KEY_NAME  "greeter-hide-users"
-#define MANUAL_LOGIN_KEY_NAME  "greeter-show-manual-login"
-#define REMOTE_LOGIN_KEY_NAME  "greeter-show-remote-login"
-#define ALLOW_GUEST_KEY_NAME  "allow-guest"
-
-#define IS_STRING_EMPTY(x) ((x)==NULL||(x)[0]=='\0')
-
-static gboolean debug = FALSE;
-static gboolean keep_old = FALSE;
-static gboolean remove = FALSE;
-static gboolean hide_users = FALSE;
-static gboolean show_manual_login = FALSE;
-static gboolean show_remote_login = FALSE;
-static gboolean allow_guest = FALSE;
-
-static char    *type = NULL;
-static char    *session = NULL;
-static char    *greeter = NULL;
-static char    *autologin = NULL;
-static char    *str_hide_users = NULL;
-static char    *str_show_manual_login = NULL;
-static char    *str_show_remote_login = NULL;
-static char    *str_allow_guest = NULL;
-
-static GOptionEntry entries[] =
-{
-  { "debug",    'd', 0, G_OPTION_ARG_NONE, &debug, N_("Enable debugging"), NULL },
-  { "keep-old", 'k', 0, G_OPTION_ARG_NONE, &keep_old, N_("Only update if no default already set"), NULL },
-  { "remove",   'r', 0, G_OPTION_ARG_NONE, &remove, N_("Remove default value if it's the current one"), NULL },
-  { "type",     't', 0, G_OPTION_ARG_STRING, &type, N_("Set default seat type"), NULL },
-  { "session",  's', 0, G_OPTION_ARG_STRING, &session, N_("Set default session"), NULL },
-  { "greeter",  'g', 0, G_OPTION_ARG_STRING, &greeter, N_("Set default greeter"), NULL },
-  { "autologin",'a', 0, G_OPTION_ARG_STRING, &autologin, N_("Set autologin user"), NULL },
-  { "hide-users",'i', 0, G_OPTION_ARG_STRING, &str_hide_users, N_("Set greeter-hide-users to true or false"), NULL },
-  { "show-manual-login",'m', 0, G_OPTION_ARG_STRING, &str_show_manual_login, N_("Set show-manual-login to true or false"), NULL },
-  { "show-remote-login",'R', 0, G_OPTION_ARG_STRING, &str_show_remote_login, N_("Set show-remote-login to true or false"), NULL },
-  { "allow-guest",'l', 0, G_OPTION_ARG_STRING, &str_allow_guest, N_("Set allow-guest to true or false"), NULL },
-  { NULL }
-};
-
-void
-show_nothing(const gchar   *log_domain,
-             GLogLevelFlags log_level,
-             const gchar   *message,
-             gpointer       unused_data) {};
-
-int
-update_boolean(const gboolean new_value,
-              gboolean     keep_old,
-              const gchar *key_group,
-              const gchar *key_name,
-              GKeyFile    *keyfile)
-{
-    if (keep_old)
-        g_debug ("keep-old mode: keep previous default value");
-    else {
-        g_debug ("Update to %d for %s", new_value, key_name);
-        g_key_file_set_boolean (keyfile, key_group, key_name, new_value);
-    }
-    return(0);
-}
-
-int
-update_string(const gchar *default_value,
-              const gchar *new_value,
-              gboolean     keep_old,
-              gboolean     remove,
-              const gchar *key_group,
-              const gchar *key_name,
-              GKeyFile    *keyfile)
-{
-    if (!(default_value) || (strlen(default_value) < 1)) {
-        g_debug ("No existing valid value for %s. Set to %s", key_name, new_value);
-        g_key_file_set_string (keyfile, key_group, key_name, new_value);
-    }
-    else {
-        if (remove) {
-            if (g_strcmp0 (default_value, new_value) == 0) {
-                g_debug ("Remove %s as default value for %s", default_value, key_name);
-                g_key_file_set_string (keyfile, key_group, key_name, "");
-                return(0);
-            }
-            g_debug ("Can't remove: %s is not the default value for %s", default_value, key_name);
-            return(4);
-        }
-        else {
-            g_debug ("Found existing default value(%s) for %s", default_value, key_name);
-            if (keep_old)
-                g_debug ("keep-old mode: keep previous default value");
-            else {
-                g_debug ("Update to %s for %s", new_value, key_name);
-                g_key_file_set_string (keyfile, key_group, key_name, new_value);
-            }
-        }
-    }
-    return(0);
-}
-
-int 
-str_to_bool(const gchar *str, gboolean *bool_out)
-{
-    if (IS_STRING_EMPTY(str)) {
-        return -1;
-    }
-    else if (strncasecmp(str, "true", 4)==0) {
-        *bool_out = TRUE;
-        return 0;
-    }
-    else if (strncasecmp(str, "false", 5)==0) {
-        *bool_out = FALSE;
-        return 0;
-    }
-    else {
-        return -2;
-    }
-}
-
-int 
-main (int argc, char *argv[])
-{
-    GOptionContext *context = NULL;
-    GError         *error = NULL;
-
-    GKeyFile       *keyfile;
-    GKeyFileFlags   flags;
-    gchar          *s_data;
-    gsize           size;
-    const gchar    *gdm_conf_file = CONFIG_DIR "/lightdm.conf";
-
-    gchar          *default_type = NULL;
-    gchar          *default_session = NULL;
-    gchar          *default_greeter = NULL;
-    gchar          *default_autologin = NULL;
-    gint            return_code = 0;
-
-    bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);
-    bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-    textdomain (GETTEXT_PACKAGE);
-
-#if !defined(GLIB_VERSION_2_36)
-    g_type_init ();
-#endif
-
-    context = g_option_context_new (N_("- set lightdm default values"));
-    g_option_context_add_main_entries (context, entries, NULL);
-    if (!g_option_context_parse (context, &argc, &argv, &error)) {
-        g_printerr (N_("option parsing failed: %s\n"), error->message);
-        g_option_context_free (context);
-        g_error_free (error);
-        return 1;
-    }
-    if (IS_STRING_EMPTY (type) && IS_STRING_EMPTY (session) && IS_STRING_EMPTY (greeter) && IS_STRING_EMPTY (autologin) && IS_STRING_EMPTY(str_hide_users) && IS_STRING_EMPTY(str_show_manual_login) && IS_STRING_EMPTY(str_show_remote_login) && IS_STRING_EMPTY(str_allow_guest)) {
-        g_printerr (N_("Wrong usage of the command\n%s"), g_option_context_get_help (context, FALSE, NULL));
-        g_option_context_free (context);
-        return 1;
-    }
-    if (context)
-        g_option_context_free (context); 
-    if (!debug)
-        g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, show_nothing, NULL);
-
-    keyfile = g_key_file_new ();
-    flags = G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS;
-    if (!(g_key_file_load_from_file (keyfile, gdm_conf_file, flags, &error))) {
-            g_debug ("File doesn't seem to exist or can't be read: create one (%s)", error->message);
-            g_error_free (error);
-            error = NULL;
-    }
-
-    // try to get the right keys
-    default_type = g_key_file_get_string (keyfile, SEATDEFAULT_KEY_GROUP, TYPE_KEY_NAME, NULL);
-    default_session = g_key_file_get_string (keyfile, SEATDEFAULT_KEY_GROUP, SESSION_KEY_NAME, NULL);
-    default_greeter = g_key_file_get_string (keyfile, SEATDEFAULT_KEY_GROUP, GREETER_KEY_NAME, NULL);
-    default_autologin = g_key_file_get_string (keyfile, SEATDEFAULT_KEY_GROUP, AUTOLOGIN_KEY_NAME, NULL);
-
-    if (!(IS_STRING_EMPTY (type)))
-        return_code = update_string (default_type, type, keep_old, remove, SEATDEFAULT_KEY_GROUP, TYPE_KEY_NAME, keyfile);
-    if (!(IS_STRING_EMPTY (session)))
-        return_code = update_string (default_session, session, keep_old, remove, SEATDEFAULT_KEY_GROUP, SESSION_KEY_NAME, keyfile);
-    if (!(IS_STRING_EMPTY (greeter)) && (return_code == 0))
-        return_code = update_string (default_greeter, greeter, keep_old, remove, SEATDEFAULT_KEY_GROUP, GREETER_KEY_NAME, keyfile);
-    if (!(IS_STRING_EMPTY (autologin)) && (return_code == 0))
-        return_code = update_string (default_autologin, autologin, keep_old, remove, SEATDEFAULT_KEY_GROUP, AUTOLOGIN_KEY_NAME, keyfile);
-    if (!(IS_STRING_EMPTY(str_hide_users)) && (return_code == 0)) {
-        if (str_to_bool(str_hide_users, &hide_users) == 0) {
-            return_code = update_boolean (hide_users, keep_old, SEATDEFAULT_KEY_GROUP, HIDE_USERS_KEY_NAME, keyfile);
-        }
-        else {
-            g_printerr (N_("true and false are the only valid choices for hide-users\n"));
-            return 1;
-        }
-    }
-    if (!(IS_STRING_EMPTY(str_allow_guest)) && (return_code == 0)) {
-        if (str_to_bool(str_allow_guest, &allow_guest) == 0) {
-            return_code = update_boolean (allow_guest, keep_old, SEATDEFAULT_KEY_GROUP, ALLOW_GUEST_KEY_NAME, keyfile);
-        }
-        else {
-            g_printerr (N_("true and false are the only valid choices for allow-guest\n"));
-            return 1;
-        }
-    }
-    if (!(IS_STRING_EMPTY(str_show_manual_login)) && (return_code == 0)) {
-        if (str_to_bool(str_show_manual_login, &show_manual_login) == 0) {
-            return_code = update_boolean (show_manual_login, keep_old, SEATDEFAULT_KEY_GROUP, MANUAL_LOGIN_KEY_NAME, keyfile);
-        }
-        else {
-            g_printerr (N_("true and false are the only valid choices for show-manual-login\n"));
-            return 1;
-        }
-    }
-    if (!(IS_STRING_EMPTY(str_show_remote_login)) && (return_code == 0)) {
-        if (str_to_bool(str_show_remote_login, &show_remote_login) == 0) {
-            return_code = update_boolean (show_remote_login, keep_old, SEATDEFAULT_KEY_GROUP, REMOTE_LOGIN_KEY_NAME, keyfile);
-        }
-        else {
-            g_printerr (N_("true and false are the only valid choices for show-remote-login\n"));
-            return 1;
-        }
-    }
-
-    if (return_code == 0) {
-        s_data = g_key_file_to_data (keyfile, &size, &error);
-        if (!s_data) {
-            g_debug ("Can't convert data to string: %s", error->message);
-            g_error_free (error);
-            return_code = 1;
-        }
-        else {
-            if(!g_file_set_contents (gdm_conf_file, s_data, size, &error)) {
-                g_printerr ("Can't update: %s\n", error->message);
-                g_error_free (error);
-                return_code = 1;
-            }
-            g_free (s_data);
-         }
-    }
-
-    g_key_file_free (keyfile);
-
-    if (default_type)
-        g_free (default_type);
-    if (default_session)
-        g_free (default_session);
-    if (default_greeter)
-        g_free (default_greeter);
-    if (default_autologin)
-        g_free (default_autologin);
-
-    return return_code;
-
-}