#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for tlm 0.0.4.
+# Generated by GNU Autoconf 2.69 for tlm 0.0.5.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Identity of this package.
PACKAGE_NAME='tlm'
PACKAGE_TARNAME='tlm'
-PACKAGE_VERSION='0.0.4'
-PACKAGE_STRING='tlm 0.0.4'
+PACKAGE_VERSION='0.0.5'
+PACKAGE_STRING='tlm 0.0.5'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures tlm 0.0.4 to adapt to many kinds of systems.
+\`configure' configures tlm 0.0.5 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of tlm 0.0.4:";;
+ short | recursive ) echo "Configuration of tlm 0.0.5:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-tlm configure 0.0.4
+tlm configure 0.0.5
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by tlm $as_me 0.0.4, which was
+It was created by tlm $as_me 0.0.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='tlm'
- VERSION='0.0.4'
+ VERSION='0.0.5'
cat >>confdefs.h <<_ACEOF
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by tlm $as_me 0.0.4, which was
+This file was extended by tlm $as_me 0.0.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-tlm config.status 0.0.4
+tlm config.status 0.0.5
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
-AC_INIT([tlm], [0.0.4], [])
+AC_INIT([tlm], [0.0.5], [])
AC_CONFIG_SRCDIR([src/daemon/tlm-main.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
#
# Prepare default/guest users before auto-login
# Default: off
-PREPARE_DEFAULT=1
+# PREPARE_DEFAULT=1
#
# PAM service file to use
PAM_SERVICE=tlm-login
# %S - seat number
# %I - seat id string
# Default: "guest"
-#DEFAULT_USER=guest
+DEFAULT_USER=app
#
# Session command : The command run after successfull login
# Default: $SHELL
#
# Do not launch anything, let systemd handle it through PAM
# Default: off
-#PAUSE_SESSION=1
+PAUSE_SESSION=1
#
#
# Seat specific settings where the group name is seat id
+tlm (0.0.5-1) unstable; urgency=low
+
+ * Updated tizen configuration file for tizen
+
+ -- Imran Zaman <imran.zaman@intel.com> Mon, 15 Sep 2014 15:02:53 +0200
+
tlm (0.0.4-1) unstable; urgency=low
* Added separate PAM configuration file for default user
+* Mon Sep 15 2014 Imran Zaman <imran.zaman@intel.com>
+- Updated tizen configuration file for tizen
+
* Wed Sep 03 2014 Jussi Laako <jussi.laako@linux.intel.com>
- Added separate PAM configuration file for default user
Name: tlm
Summary: Login manager for Tizen
-Version: 0.0.4
+Version: 0.0.5
Release: 1
Group: System/Service
License: LGPL-2.1+
Name: tlm
Summary: Login manager for Tizen
-Version: 0.0.3
-Release: 2
+Version: 0.0.5
+Release: 1
Group: System/Daemons
License: LGPL-2.1+
Source: %{name}-%{version}.tar.gz
%changelog
+* Mon Sep 15 2014 Imran Zaman <imran.zaman@intel.com>
+- Updated tizen configuration file for tizen
+
* Wed Sep 03 2014 Jussi Laako <jussi.laako@linux.intel.com>
- Added separate PAM configuration file for default user
+* Mon Sep 15 2014 Imran Zaman <imran.zaman@intel.com>
+- Updated tizen configuration file for tizen
+
* Wed Sep 03 2014 Jussi Laako <jussi.laako@linux.intel.com>
- Added separate PAM configuration file for default user
Name: tlm
Summary: Login manager for Tizen
-Version: 0.0.4
+Version: 0.0.5
Release: 1
Group: System/Service
License: LGPL-2.1+
tlm-config.h \
tlm-config.c \
tlm-config-general.h \
+ tlm-config-seat.h \
tlm-pipe-stream.c \
tlm-pipe-stream.h \
tlm-utils.h \
tlm-config.h \
tlm-config.c \
tlm-config-general.h \
+ tlm-config-seat.h \
tlm-pipe-stream.c \
tlm-pipe-stream.h \
tlm-utils.h \
--- /dev/null
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of tlm
+ *
+ * Copyright (C) 2014 Intel Corporation.
+ *
+ * Contact: Jussi Laako <jussi.laako@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
+#ifndef __TLM_CONFIG_SEAT_H_
+#define __TLM_CONFIG_SEAT_H_
+
+/**
+ * SECTION:tlm-config-seat
+ * @title: Seat configuration
+ * @short_description: Seat specific configuration
+ *
+ * Configuration items that are specific to a seat are defined here. Items that
+ * may be either global or per-seat are defined in #tlm-config-general.
+ */
+
+/**
+ * TLM_CONFIG_SEAT_ACTIVE:
+ *
+ * Value specifying whether a seat is to be used or not.
+ * Default value: 1
+ */
+#define TLM_CONFIG_SEAT_ACTIVE "ACTIVE"
+
+#endif /* __TLM_CONFIG_SEAT_H_ */
#include "tlm-auth-plugin.h"
#include "tlm-config.h"
#include "tlm-config-general.h"
+#include "tlm-config-seat.h"
#include "tlm-dbus-observer.h"
#include "tlm-utils.h"
#include "config.h"
TlmManagerPrivate *priv = TLM_MANAGER_PRIV (manager);
+ if (!tlm_config_get_boolean (priv->config,
+ seat_id,
+ TLM_CONFIG_SEAT_ACTIVE,
+ TRUE))
+ return;
+
TlmSeat *seat = tlm_seat_new (priv->config,
seat_id,
seat_path);