]> rtime.felk.cvut.cz Git - sojka/debian/lightdm.git/commitdiff
* debian/patches:
authorcorsac <corsac@0c9b3bff-18ee-0310-b944-d1aa2700132f>
Mon, 15 Sep 2014 11:04:37 +0000 (11:04 +0000)
committercorsac <corsac@0c9b3bff-18ee-0310-b944-d1aa2700132f>
Mon, 15 Sep 2014 11:04:37 +0000 (11:04 +0000)
  - 06_allow_libpamsystemd_and_ck_together dropped, ConsoleKit is now
    deprecated (wether we're using init=systemd or not).

git-svn-id: svn://anonscm.debian.org/pkg-xfce/goodies/trunk/lightdm@8584 0c9b3bff-18ee-0310-b944-d1aa2700132f

debian/changelog
debian/patches/06_allow_libpamsystemd_and_ck_together.patch [deleted file]
debian/patches/series

index f9ac8292d1925a0292fb98b8a19aec6c5fce8247..82142c2ed1c923d0d44ae9f8709c38525dae9b1f 100644 (file)
@@ -3,6 +3,9 @@ lightdm (1.10.1-4) UNRELEASED; urgency=medium
   * debian/lightdm.service:
     - add an [Install] section so systemctl can toggle the service.
                                                                 closes: #752932
+  * debian/patches:
+    - 06_allow_libpamsystemd_and_ck_together dropped, ConsoleKit is now
+      deprecated (wether we're using init=systemd or not).
 
  -- Yves-Alexis Perez <corsac@debian.org>  Sat, 28 Jun 2014 10:40:07 +0200
 
diff --git a/debian/patches/06_allow_libpamsystemd_and_ck_together.patch b/debian/patches/06_allow_libpamsystemd_and_ck_together.patch
deleted file mode 100644 (file)
index 897a081..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
---- a/src/session.c
-+++ b/src/session.c
-@@ -781,8 +781,8 @@ session_real_run (Session *session)
-     if (login1_is_running ())
-         session->priv->login1_session = read_string_from_child (session);
--    if (!session->priv->login1_session)
--        session->priv->console_kit_cookie = read_string_from_child (session);
-+
-+    session->priv->console_kit_cookie = read_string_from_child (session);
- }
- void
-@@ -793,7 +793,7 @@ session_lock (Session *session)
-     {
-         if (session->priv->login1_session)
-             login1_lock_session (session->priv->login1_session);
--        else if (session->priv->console_kit_cookie)
-+        if (session->priv->console_kit_cookie)
-             ck_lock_session (session->priv->console_kit_cookie);
-     }
- }
-@@ -806,7 +806,7 @@ session_unlock (Session *session)
-     {
-         if (session->priv->login1_session)
-             login1_unlock_session (session->priv->login1_session);
--        else if (session->priv->console_kit_cookie)
-+        if (session->priv->console_kit_cookie)
-             ck_unlock_session (session->priv->console_kit_cookie);
-     }
- }
---- a/src/session-child.c
-+++ b/src/session-child.c
-@@ -476,8 +476,8 @@ session_child_run (int argc, char **argv
-         write_string (login1_session);
-     }
--    if (!login1_session)
--    {
-+
-+
-         /* Open a Console Kit session */
-         g_variant_builder_init (&ck_parameters, G_VARIANT_TYPE ("(a(sv))"));
-         g_variant_builder_open (&ck_parameters, G_VARIANT_TYPE ("a(sv)"));
-@@ -506,7 +506,7 @@ session_child_run (int argc, char **argv
-             pam_putenv (pam_handle, value);
-             g_free (value);
-         }
--    }
-+
-     /* Write X authority */
-     if (x_authority)
index ea9e4a51d19dfe2b266bf3dd2b25fa454280467b..f3822c359033d5d6e0af885ef2e2479866688672 100644 (file)
@@ -1,4 +1,3 @@
 01_set-default-path.patch
 02_fix-apparmor-profile.patch
 05_debianize-pam-files.patch
-06_allow_libpamsystemd_and_ck_together.patch