From d5c8a217276c17ea94c60f69792ae7689ec28ea0 Mon Sep 17 00:00:00 2001
From: Christian Neukirchen <chneukirchen@gmail.com>
Date: Sat, 30 Aug 2014 18:37:39 +0200
Subject: [PATCH] cinnamon-session: update to 2.2.2.

---
 .../patches/remove_sessionmigration.patch      | 18 ------------------
 srcpkgs/cinnamon-session/template              |  5 ++---
 2 files changed, 2 insertions(+), 21 deletions(-)
 delete mode 100644 srcpkgs/cinnamon-session/patches/remove_sessionmigration.patch

diff --git a/srcpkgs/cinnamon-session/patches/remove_sessionmigration.patch b/srcpkgs/cinnamon-session/patches/remove_sessionmigration.patch
deleted file mode 100644
index 58479c506ad..00000000000
--- a/srcpkgs/cinnamon-session/patches/remove_sessionmigration.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- cinnamon-session/csm-session-fill.c
-+++ cinnamon-session/csm-session-fill.c
-@@ -228,15 +228,6 @@
- load_standard_apps (CsmManager *manager,
-                     GKeyFile   *keyfile)
- {
--        GError *error;
--
--        g_debug ("fill: *** Executing user migration");
--        error = NULL;
--        if(!g_spawn_command_line_sync ("session-migration", NULL, NULL, NULL, &error)) {
--                 g_warning ("Error while executing session-migration: %s", error->message);
--                 g_error_free (error);
--        }
--
-         g_debug ("fill: *** Adding required components");
-         handle_required_components (keyfile, !csm_manager_get_failsafe (manager),
-                                     append_required_components_helper, manager);
diff --git a/srcpkgs/cinnamon-session/template b/srcpkgs/cinnamon-session/template
index 51dfee22f78..84134bc381f 100644
--- a/srcpkgs/cinnamon-session/template
+++ b/srcpkgs/cinnamon-session/template
@@ -1,6 +1,6 @@
 # Template file for 'cinnamon-session'
 pkgname=cinnamon-session
-version=2.0.6
+version=2.2.2
 revision=1
 short_desc="The Cinnamon session handler"
 build_style=gnu-configure
@@ -9,8 +9,7 @@ configure_args=" --disable-static --disable-schemas-compile
 hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
  gettext-devel intltool which git"
 makedepends="gtk+3-devel dbus-devel upower-devel json-glib-devel libSM-devel
- systemd-devel pangox-compat-devel cinnamon-desktop-devel desktop-file-utils
- hicolor-icon-theme"
+ systemd-devel pangox-compat-devel cinnamon-desktop-devel libcanberra-devel"
 depends="cinnamon-desktop desktop-file-utils hicolor-icon-theme"
 maintainer="Juan RP <xtraeme@gmail.com>"
 license="GPL-3"