platform/upstream/user-session-units.git
9 years agoClean spec file for yocto compliance. 58/24258/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen tizen_3.0 tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/3.0/common/20161114.111931 accepted/tizen/3.0/ivi/20161011.065104 accepted/tizen/common/20140915.091250 accepted/tizen/ivi/20140919.083425 accepted/tizen/ivi/20160218.025830 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_common/20140912.150039 submit/tizen_common/20140912.150451 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_ivi/20140919.000001 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000007 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Ronan Le Martret [Wed, 9 Jul 2014 10:19:01 +0000 (12:19 +0200)]
Clean spec file for yocto compliance.

Change-Id: Ieeedbd008d01bee00a034db7b59e78c5a173dead
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agopackaging: Install custom pam config for user-session-launch 39/17939/1 accepted/tizen_generic accepted/tizen_ivi_panda tizen_3.0.m14.2_ivi accepted/tizen/generic/20140317.083713 accepted/tizen/ivi/20140318.205558 accepted/tizen/ivi/panda/20140318.013512 accepted/tizen/mobile/20141021.084057 submit/tizen/20140317.043308 tizen_3.0.m14.2_ivi_release
Karol Lewandowski [Wed, 12 Mar 2014 17:50:19 +0000 (18:50 +0100)]
packaging: Install custom pam config for user-session-launch

Change-Id: I8f7dafefc536453fddb80f22a356de0ed93218fa
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
10 years agoUse custom pam configuration file for user-session-launch 38/17938/1
Karol Lewandowski [Wed, 12 Mar 2014 17:47:51 +0000 (18:47 +0100)]
Use custom pam configuration file for user-session-launch

Don't reuse 'login' pam configuration as it might need to have
different requirements wrt to enabled modules.

Change-Id: I424674e769d8bdd5af7c04966fd270df1a278e30
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
10 years agofix: https://bugs.tizen.org/jira/browse/PTREL-611 28/15028/1 accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140115.081949 accepted/tizen/generic/20140120.103116 accepted/tizen/generic/20140312.122510 accepted/tizen/ivi/20140116.222130 accepted/tizen/ivi/20140122.171716 accepted/tizen/ivi/panda/20140312.123357 accepted/tizen/ivi/release/20140312.124557 accepted/tizen/mobile/20140116.011728 accepted/tizen/mobile/20140122.162850 submit/tizen/20140115.072419 submit/tizen/20140120.095220 submit/tizen/20140312.070930 submit/tizen_ivi_release/20140312.071359
wangfei [Wed, 15 Jan 2014 06:41:07 +0000 (01:41 -0500)]
fix: https://bugs.tizen.org/jira/browse/PTREL-611

'%bcond_with x' should be added into spec file. Otherwise it can not
get the right value of 'with x' from build.conf file.

Signed-off-by: wangfei <feix.w.wang@intel.com>
Change-Id: Ifd66cbb0cef382f6ee72927e1c8014e8b2e7d6e3

10 years agoinit wayland support. 19/14719/1 submit/tizen/20140115.053108
wangfei [Fri, 10 Jan 2014 09:30:58 +0000 (04:30 -0500)]
init wayland support.

The display server based on X or Wayland, is now a choice of different profile in Tizen 3.0.
Basically and consistently, two macros were used "with wayland" and "with x".
Below summarize the combination of the macros:

| wayland |  x  | meaning
|---------------------------
|   0     |  1  | pure X11 platform(no wayland)
|   1     |  0  | pure wayland platform (no X11)
|   1     |  1  | wayland but X compatibility
|   0     |  0  | no X and no wayland

This method unifies the meaning and usage. Deploy this method to user-session-units package.
Currently we need "pure wayland platform (no X11)" status,so "with wayland" and "with x" are
defined into "1" and "0" in build.conf file.If you need other status of above illustration,
please change values of "with x" and "with wayland" in your build.conf file.

Signed-off-by: wangfei <feix.w.wang@intel.com>
Change-Id: I1d574ecdd3b5583698d50f94eceed958eebadc50

10 years agoUpdate changelog 44/13944/1 accepted/tizen/generic/20140106.140320 accepted/tizen/ivi/20131219.023403 accepted/tizen/ivi/20131220.031542 accepted/tizen/mobile/20131219.213414 accepted/tizen/mobile/20131223.185136 submit/tizen/20131218.205733 submit/tizen/20131220.031340 submit/tizen/20131220.031818 submit/tizen/20131220.031911
Patrick McCarty [Wed, 18 Dec 2013 20:16:20 +0000 (12:16 -0800)]
Update changelog

Change-Id: Ib232464e44389dd3e2c78ca3ac70e376432b3c34
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agopackaging: update spec file 39/13939/1
Patrick McCarty [Wed, 18 Dec 2013 18:18:59 +0000 (10:18 -0800)]
packaging: update spec file

- 'user-session-launch' uses libpam and libsystemd-login, so new build
  dependencies are required
- update the %files section to package the new binary

Change-Id: Ibff6b2a50af691bf967a0e69800827a50a6ae51f
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agobuild: compile and install the new service 37/13937/1
Patrick McCarty [Tue, 17 Dec 2013 01:48:13 +0000 (17:48 -0800)]
build: compile and install the new service

This service can be enabled by running

  systemctl enable user-session-launch@seat0-1000.service

for example.

Change-Id: If571afe71c281250cff597017df65f7cf9d442e1
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agoAdd a program for launching user sessions 36/13936/1
Patrick McCarty [Tue, 17 Dec 2013 01:35:36 +0000 (17:35 -0800)]
Add a program for launching user sessions

To integrate graphical user sessions with systemd > 204, there must be a
daemon running that opens a PAM session before the user session starts
up.

This daemon takes one argument of form SEAT-UID. It will start a logind
session for user with UID on SEAT.

Change-Id: I1292c1ab312f6b4a676b3f7121fa157ad680bd99
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agopam: add a header; remove undefined/unused functions 35/13935/1
Patrick McCarty [Tue, 17 Dec 2013 01:22:44 +0000 (17:22 -0800)]
pam: add a header; remove undefined/unused functions

Change-Id: I3932ea31d4b635b77caf3feb1a23da9ce0b1f33b
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agoImport pam.c from uxlaunch project 34/13934/1
Patrick McCarty [Tue, 17 Dec 2013 01:16:07 +0000 (17:16 -0800)]
Import pam.c from uxlaunch project

This code will be used for a new daemon that starts a logind session for
a user, added in forthcoming commits.

Change-Id: If2a2b07e1940b92fd7ca1388a090309049be4e57
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agoUpdate changelog 82/11482/1 accepted/tizen/20131028.184716 accepted/tizen/20131105.192049 accepted/tizen/20131112.015143 submit/tizen/20131028.175028
Rusty Lynch [Mon, 28 Oct 2013 17:01:03 +0000 (10:01 -0700)]
Update changelog

Change-Id: If6eb0cafa79f2a7e3e8589d0f3a7f537b724893d
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoTIVI-2021: Force STDIN to be connected to the user session tty. 61/11161/1
Ossama Othman [Mon, 21 Oct 2013 19:50:40 +0000 (12:50 -0700)]
TIVI-2021: Force STDIN to be connected to the user session tty.

Change-Id: I55145de0d3fc00ffb782092ad6e49e95586bdcc2
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoStart user-session After dbus.service. Fixes: TIVI-1037 53/10553/2 accepted/tizen/ivi/genivi accepted/tizen/ivi/release tizen_ivi_genivi accepted/tizen/20131004.180549 accepted/tizen/20131004.180618 accepted/tizen/20131004.180645 accepted/tizen/ivi/genivi/20140131.041113 accepted/tizen_ivi_release/20131120.050130 ivi_oct_m2 submit/tizen/20131004.180841 submit/tizen_ivi_genivi/20140131.033335 submit/tizen_ivi_release/20131120.032332
Mikko Ylinen [Fri, 4 Oct 2013 10:03:43 +0000 (13:03 +0300)]
Start user-session After dbus.service. Fixes: TIVI-1037

Change-Id: I2888a332ab4396e09b530ced7956430f10937376
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoresetting manifest requested domain to floor 92/4892/1 accepted/tizen/20130710.214457 accepted/tizen/20130912.185340 accepted/tizen/20130912.193607 accepted/tizen/20130913.063229 submit/tizen/20130710.135415 submit/tizen/20130912.080514 submit/tizen/20130912.090813
Alexandru Cornea [Sat, 29 Jun 2013 00:30:47 +0000 (03:30 +0300)]
resetting manifest requested domain to floor

10 years agoSet license using %license accepted/tizen/20130520.094423 submit/tizen/20130511.055233 submit/tizen/20130517.024308
Anas Nashif [Sat, 11 May 2013 05:52:30 +0000 (01:52 -0400)]
Set license using %license

10 years agoUpdate to v8 submit/tizen/20130510.141858
Anas Nashif [Fri, 10 May 2013 14:18:55 +0000 (10:18 -0400)]
Update to v8

10 years agoFixed license/group
Anas Nashif [Fri, 10 May 2013 14:17:57 +0000 (10:17 -0400)]
Fixed license/group

10 years agoupdate to v8
Anas Nashif [Fri, 10 May 2013 14:12:43 +0000 (10:12 -0400)]
update to v8

10 years agoExclude dbus units for user sessions, they are not part of dbus
Anas Nashif [Tue, 8 Jan 2013 01:09:55 +0000 (17:09 -0800)]
Exclude dbus units for user sessions, they are not part of dbus

10 years agorequire user-session-units
Anas Nashif [Mon, 29 Oct 2012 15:44:17 +0000 (08:44 -0700)]
require user-session-units

10 years agosplit desktop unit files
Anas Nashif [Mon, 29 Oct 2012 14:39:46 +0000 (07:39 -0700)]
split desktop unit files

10 years agoenable desktops using options
Anas Nashif [Mon, 29 Oct 2012 14:32:32 +0000 (07:32 -0700)]
enable desktops using options

10 years agoadded packaging
Anas Nashif [Thu, 25 Oct 2012 14:28:07 +0000 (07:28 -0700)]
added packaging

10 years agopackaging
Anas Nashif [Thu, 25 Oct 2012 04:54:49 +0000 (21:54 -0700)]
packaging

10 years agoadded packaging
Anas Nashif [Thu, 25 Oct 2012 04:52:30 +0000 (21:52 -0700)]
added packaging

10 years agoadded packaging
Anas Nashif [Thu, 25 Oct 2012 04:46:15 +0000 (21:46 -0700)]
added packaging

11 years agov8 upstream/8 v8
Auke Kok [Fri, 29 Mar 2013 00:23:18 +0000 (17:23 -0700)]
v8

11 years agoSet Restart=on-failure for all relevant units.
Auke Kok [Mon, 25 Mar 2013 19:42:59 +0000 (12:42 -0700)]
Set Restart=on-failure for all relevant units.

This is a decent default for all of these units.

11 years agoUnits for Steam - big picture mode.
Auke Kok [Mon, 25 Mar 2013 19:37:41 +0000 (12:37 -0700)]
Units for Steam - big picture mode.

These are useful for folks making a "steambox", or just to
close all your other appps while gaming. You can of course

   systemctl --user isolate steam.target

to switch to this.

Note that you probably should still run a window manager by
linking e.g. xfwm4.service into steam.target.wants.

11 years agoopenbox: Add units for Openbox
Chad Versace [Sun, 24 Mar 2013 18:51:02 +0000 (11:51 -0700)]
openbox: Add units for Openbox

These are installed conditionally, only when Openbox is present.

11 years agoUpdate unit file to reflect some changes:
Auke Kok [Sat, 23 Mar 2013 04:46:45 +0000 (21:46 -0700)]
Update unit file to reflect some changes:

- cgroup path name
- mem_cg hints
- systemctl enable
- dbus path set with %U

11 years agoAllow this unit to be used with systemctl enable
Auke Kok [Wed, 20 Mar 2013 04:47:09 +0000 (21:47 -0700)]
Allow this unit to be used with systemctl enable

11 years agoconfigure: don't error if X isn't found, just warn v7
Ross Burton [Fri, 22 Feb 2013 19:53:28 +0000 (19:53 +0000)]
configure: don't error if X isn't found, just warn

X is needed by the current user units, but Wayland-based units could be here one
day and when cross-compiling X isn't a true build requirement.

Signed-off-by: Ross Burton <ross.burton@intel.com>
11 years agoUpdate some parts of the README.
Auke Kok [Fri, 22 Feb 2013 19:33:18 +0000 (11:33 -0800)]
Update some parts of the README.

11 years agoCorrect base license, rev to v7 for upcoming release.
Auke Kok [Fri, 22 Feb 2013 19:22:48 +0000 (11:22 -0800)]
Correct base license, rev to v7 for upcoming release.

This was never intended to be GPLv3, instead I'm pulling the license
from systemd as quite a few of the files are derivative of the
systemd versions.

11 years agoMake sure we kill getty@tty1.service.
Auke Kok [Thu, 14 Feb 2013 20:10:15 +0000 (12:10 -0800)]
Make sure we kill getty@tty1.service.

getty@tty1.service needs to be disabled if you run X on
tty1. This Conflicts makes sure it is.

11 years agoRev to v6. upstream upstream/6 v6
Auke Kok [Tue, 23 Oct 2012 19:15:11 +0000 (12:15 -0700)]
Rev to v6.

11 years agoExplicitly stop systemd user session units at shutdown.
Auke Kok [Tue, 23 Oct 2012 17:41:03 +0000 (10:41 -0700)]
Explicitly stop systemd user session units at shutdown.

Taken from:
  http://gitweb.merproject.org/gitweb?p=mer-core/systemd.git;a=patch;h=18ee801483fc71f4c423c8e16b039f5902e879b9
See also:
  https://bugs.nemomobile.org/show_bug.cgi?id=502

This is a stop-gap measure to shutdown any remaining user-session's.

Systemd still has a race (even in 195) that kills the logic in
user sessions before it can properly exit that same user session. Hence,
the user sessions time out shutting down for 90 seconds. This unit
forces the shutdown procedure again which works.

This is not supposed to be a final solution, which is why I'm
merging it here instead of pushing this fix to systemd itself. Ultimately
this patch needs to be dropped and the original logic made functional.

Thanks to the Mer project for coming up with this one.

=======
From 18ee801483fc71f4c423c8e16b039f5902e879b9 Mon Sep 17 00:00:00 2001
From: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
Date: Thu, 11 Oct 2012 12:07:07 +0300
Subject: [PATCH] Added file /lib/systemd/system/systemd-stop-user-sessions.service
 Fixes NEMO#502: Shutdown is not working properly when systemd user session is used

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
---
 systemd-stop-user-sessions.service |   20 ++++++++++++++++++++
 systemd.changes                    |    4 ++++
 systemd.spec                       |    6 ++++++
 3 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 systemd-stop-user-sessions.service

diff --git a/systemd-stop-user-sessions.service b/systemd-stop-user-sessions.service
new file mode 100644
index 0000000..ce24c0f
--- /dev/null
+++ b/systemd-stop-user-sessions.service
@@ -0,0 +1,20 @@
+#  This file is part of systemd.
+#
+#  systemd 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.
+
+[Unit]
+Description=Disable User Sessions
+Documentation=man:systemd-user-sessions.service(8)
+Before=shutdown.target
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-user-sessions stop
+
+[Install]
+WantedBy=shutdown.target
diff --git a/systemd.changes b/systemd.changes
index caadfbd..5865f2b 100644
--- a/systemd.changes
+++ b/systemd.changes
@@ -1,3 +1,7 @@
+* Thu Oct 11 2012 Pekka Lundstrom <pekka.lundstrom@jollamobile.com> - 187
+- Added file /lib/systemd/system/systemd-stop-user-sessions.service
+  Fixes NEMO#502: Shutdown is not working properly when systemd user session is used
+
 * Mon Aug 27 2012 Marko Saukko <marko.saukko@jollamobile.com> - 187
 - Fix tty1 autostart by excluding the file in /etc/systemd/system/getty.target.wants/

diff --git a/systemd.spec b/systemd.spec
index 607570e..9c78060 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -28,6 +28,7 @@ Requires:       filesystem >= 3
 # fsck with -l option was introduced in 2.21.2 packaging
 Requires:       util-linux >= 2.21.2
 Source0:        http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
+Source1:        systemd-stop-user-sessions.service
 Patch0:         systemd-185-pkgconfigdir.patch
 Patch1:         systemd-187-reintroduce-support-for-deprecated-oom.patch
 Patch2: systemd-187-video.patch
@@ -255,6 +256,11 @@ rm %{buildroot}/%{_docdir}/systemd/*

 mkdir -p %{buildroot}/etc/systemd/system/basic.target.wants

+# Fix shutdown hang problem with user-serssions
+install -D -m 644 %{SOURCE1} %{buildroot}/lib/systemd/system/systemd-stop-user-sessions.service
+mkdir -p %{buildroot}/lib/systemd/system/shutdown.target.wants
+ln -s ../systemd-stop-user-sessions.service %{buildroot}/lib/systemd/system/shutdown.target.wants/systemd-stop-user-sessions.service
+
 #console-ttyMFD2
 ln -s ../serial-getty@.service %{buildroot}/lib/systemd/system/getty.target.wants/serial-getty@ttyMFD2.service

11 years agoMerge pull request #4 from mmonaco/master
Auke Kok [Sat, 29 Sep 2012 00:21:54 +0000 (17:21 -0700)]
Merge pull request #4 from mmonaco/master

dbus-1.6.8

11 years agodbus patch: update to dbus-1.6.8
Matthew Monaco [Fri, 28 Sep 2012 21:12:10 +0000 (15:12 -0600)]
dbus patch: update to dbus-1.6.8

Fuzzy patches make me nervous

11 years agoMerge pull request #2 from phmccarty/master
Auke Kok [Mon, 17 Sep 2012 22:37:45 +0000 (15:37 -0700)]
Merge pull request #2 from phmccarty/master

Two improvements for user-session@.service

11 years agoMerge pull request #3 from phmccarty/dbus-patch
Auke Kok [Mon, 17 Sep 2012 22:36:47 +0000 (15:36 -0700)]
Merge pull request #3 from phmccarty/dbus-patch

dbus patch: update to latest revision

11 years agodbus patch: update to latest revision
Patrick McCarty [Mon, 17 Sep 2012 20:14:28 +0000 (13:14 -0700)]
dbus patch: update to latest revision

11 years agouser session: Add membership to the memory cgroup
Patrick McCarty [Wed, 5 Sep 2012 18:51:49 +0000 (11:51 -0700)]
user session: Add membership to the memory cgroup

In order to set cgroup memory limits for systemd user session services
(by setting MemoryLimit and MemorySoftLimit), the systemd user instance
must have write permissions for the toplevel memory cgroup controller
hierarchy, located at /sys/fs/cgroup/memory.

To grant access to this hierarchy, this commits adds "memory:/" to
ControlGroup for the user session service file, which makes the user
instance a member of the memory cgroup and enables writing
/sys/fs/cgroup/memory/user and populating additional cgroups within that
directory.

11 years agoSet TTYPath for user-session@.service
Patrick McCarty [Wed, 5 Sep 2012 18:50:16 +0000 (11:50 -0700)]
Set TTYPath for user-session@.service

In order for a login session (managed by systemd-logind) to become fully
active, it must be assigned to both a seat and a VT.  Without using a
display manager, two options are available for ensuring these
assignments are made: (a) set XDG_SEAT and XDG_VTNR in the PAM session,
or (b) set PAM_TTY in the PAM session.

This commit implements the second option by setting TTYPath to
"/dev/tty1" for user-session@.service, thereby forcing systemd to set
PAM_TTY in the PAM session, which then sets XDG_SEAT to "seat0" and
XDG_VTNR to "1" for the user session.  "/dev/tty1" is the TTY of choice
because xorg-launch-helper spawns Xorg on tty1.

11 years agoAdd hint about permission requirements.
Auke Kok [Fri, 27 Jul 2012 04:33:35 +0000 (21:33 -0700)]
Add hint about permission requirements.

groups audio/video may need to be added.
Xorg may need to be setuid root.

11 years agodebug: hint about dbus-monitor
Auke Kok [Mon, 16 Jul 2012 19:22:32 +0000 (12:22 -0700)]
debug: hint about dbus-monitor

11 years agodebugging: some useful hints for those debugging issues.
Auke Kok [Mon, 16 Jul 2012 19:19:11 +0000 (12:19 -0700)]
debugging: some useful hints for those debugging issues.

11 years agoREADME: clarify the auto-login method a bit more.
Auke Kok [Mon, 16 Jul 2012 19:09:28 +0000 (12:09 -0700)]
README: clarify the auto-login method a bit more.

11 years agov5 v5
Auke Kok [Tue, 3 Jul 2012 06:46:48 +0000 (23:46 -0700)]
v5

11 years agoMerge branch 'master' of github.com:/sofar/user-session-units
Auke Kok [Tue, 3 Jul 2012 06:44:01 +0000 (23:44 -0700)]
Merge branch 'master' of github.com:/sofar/user-session-units

11 years agoAdd units for "mythfrontend".
Auke Kok [Tue, 3 Jul 2012 06:42:38 +0000 (23:42 -0700)]
Add units for "mythfrontend".

With these user session units, you can create a quick and easy
Multimedia Center setup. You will likely need to add separate
units for the backend yourself.

11 years agoMerge pull request #1 from hdhoang/patch-1
Auke Kok [Sun, 1 Jul 2012 04:15:32 +0000 (21:15 -0700)]
Merge pull request #1 from hdhoang/patch-1

Add note about XDG_RUNTIME_DIR's change to UID

11 years agoAdd note about XDG_RUNTIME_DIR's change to UID
Hoàng Đức Hiếu [Sat, 30 Jun 2012 20:57:16 +0000 (03:57 +0700)]
Add note about XDG_RUNTIME_DIR's change to UID

Changed in systemd v185-42-g2138e96.

11 years agov4 v4
Auke Kok [Thu, 28 Jun 2012 03:39:08 +0000 (20:39 -0700)]
v4

11 years agoTargets: AllowIsolate=true
Auke Kok [Wed, 27 Jun 2012 18:08:46 +0000 (11:08 -0700)]
Targets: AllowIsolate=true

This simple directive allows us to start implementing
some "neat tricks". One of them is to restart a completely
different UI using the systemctl command "isolate".

11 years agoBad oops: This will break all dbus usage in any of all the sessions
Auke Kok [Wed, 27 Jun 2012 04:33:19 +0000 (21:33 -0700)]
Bad oops: This will break all dbus usage in any of all the sessions

11 years agoAdd link to releases.
Auke Kok [Tue, 26 Jun 2012 00:28:29 +0000 (17:28 -0700)]
Add link to releases.

11 years agoSome subtle hints as to where this package should end up going.
Auke Kok [Mon, 25 Jun 2012 21:57:44 +0000 (14:57 -0700)]
Some subtle hints as to where this package should end up going.

11 years agoAnd include the KDE files in the install procedure. v3
Auke Kok [Mon, 25 Jun 2012 21:12:51 +0000 (14:12 -0700)]
And include the KDE files in the install procedure.

11 years agoRev to v3.
Auke Kok [Mon, 25 Jun 2012 21:06:35 +0000 (14:06 -0700)]
Rev to v3.

Quick drop of AC version needed - it may be too low, but, sure
doesn't hurt much at this point. --2.64.

11 years agoAdding .gitignore.
Auke Kok [Mon, 25 Jun 2012 21:05:08 +0000 (14:05 -0700)]
Adding .gitignore.

11 years agoVarious fixes and cleanups, add KDE.
Auke Kok [Mon, 25 Jun 2012 21:02:04 +0000 (14:02 -0700)]
Various fixes and cleanups, add KDE.

- Added [Install] sections for everything
- Changed tests for progs to use AC_TEST_PROG() generic
- Add KDE using `startkde`.

11 years agoOops here too. typo in the service name. v2
Auke Kok [Mon, 25 Jun 2012 06:49:56 +0000 (23:49 -0700)]
Oops here too. typo in the service name.

11 years agoOops, these should have been deleted.
Auke Kok [Mon, 25 Jun 2012 06:48:24 +0000 (23:48 -0700)]
Oops, these should have been deleted.

11 years agoTypo here.
Auke Kok [Mon, 25 Jun 2012 06:47:32 +0000 (23:47 -0700)]
Typo here.

11 years agoGnome: Add units for gnome-shell.
Auke Kok [Mon, 25 Jun 2012 06:40:12 +0000 (23:40 -0700)]
Gnome: Add units for gnome-shell.

I tested these units under a fc17 livecd. Obviously, you'll
need to install the gnome-desktop-devel package in order for
the pkgconfig magic to work for you.

11 years agodbus: add the patch to dist... v1
Auke Kok [Fri, 22 Jun 2012 18:25:59 +0000 (11:25 -0700)]
dbus: add the patch to dist...

11 years agoXBMC: display that we're testing for it.
Auke Kok [Fri, 22 Jun 2012 18:16:47 +0000 (11:16 -0700)]
XBMC: display that we're testing for it.

11 years agodbus: reference the upstream bug, and patch.
Auke Kok [Fri, 22 Jun 2012 18:05:58 +0000 (11:05 -0700)]
dbus: reference the upstream bug, and patch.

dbus activation is broken under the systemd user session
because dbus emits an env with DBUS_SESSION_BUS_ADDRESS=systemd:
to it's dbus-activated children.

To fix, the session bus should just pass the value of its own
DBUS_SESSION_BUS_ADDRESS if it is running under systemd with
systemd activation. This commit includes a copy of the patch
which should be applied to dbus.

11 years agoXfce: I'm assuming dbus activation will work properly.
Auke Kok [Fri, 22 Jun 2012 06:58:45 +0000 (23:58 -0700)]
Xfce: I'm assuming dbus activation will work properly.

11 years agoCleanup.
Auke Kok [Fri, 22 Jun 2012 06:58:25 +0000 (23:58 -0700)]
Cleanup.

11 years agoXfce: add units file here too. Also use ln -sf.
Auke Kok [Fri, 22 Jun 2012 06:56:56 +0000 (23:56 -0700)]
Xfce: add units file here too. Also use ln -sf.

11 years agoAdd Xbmc, also create the proper symlinks for xbmc, e17.
Auke Kok [Fri, 22 Jun 2012 06:38:20 +0000 (23:38 -0700)]
Add Xbmc, also create the proper symlinks for xbmc, e17.

11 years agoenlightenment: Add units for e17.
Auke Kok [Fri, 22 Jun 2012 06:19:54 +0000 (23:19 -0700)]
enlightenment: Add units for e17.

These are installed conditionally - when E is present, only.

11 years agoParse systemd.pc to get the proper path to the systemd binary
Auke Kok [Fri, 22 Jun 2012 05:43:54 +0000 (22:43 -0700)]
Parse systemd.pc to get the proper path to the systemd binary

11 years agodbus: finalize installing these properly.
Auke Kok [Fri, 22 Jun 2012 05:32:57 +0000 (22:32 -0700)]
dbus: finalize installing these properly.

11 years agoDbus: make these units generated with proper paths.
Auke Kok [Fri, 22 Jun 2012 05:28:08 +0000 (22:28 -0700)]
Dbus: make these units generated with proper paths.

11 years agodbus: use pkg-config to find the daemon path.
Auke Kok [Fri, 22 Jun 2012 05:21:54 +0000 (22:21 -0700)]
dbus: use pkg-config to find the daemon path.

11 years agoskeleton COPYING and INSTALL.
Auke Kok [Fri, 22 Jun 2012 05:13:55 +0000 (22:13 -0700)]
skeleton COPYING and INSTALL.

11 years agoMisc files needed for autoreconf.
Auke Kok [Fri, 22 Jun 2012 05:13:32 +0000 (22:13 -0700)]
Misc files needed for autoreconf.

11 years agoAdd Makefile.am.
Auke Kok [Fri, 22 Jun 2012 05:13:12 +0000 (22:13 -0700)]
Add Makefile.am.

11 years agoAC_SUBST the systemd paths.
Auke Kok [Fri, 22 Jun 2012 05:12:57 +0000 (22:12 -0700)]
AC_SUBST the systemd paths.

11 years agoREADME: basic guide as to how this all should work.
Auke Kok [Fri, 22 Jun 2012 04:58:58 +0000 (21:58 -0700)]
README: basic guide as to how this all should work.

11 years agoInitial import of user-session-units.
Auke Kok [Fri, 22 Jun 2012 04:37:27 +0000 (21:37 -0700)]
Initial import of user-session-units.