summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-08-06 23:32:45 -0700
committerZac Medico <zmedico@gentoo.org>2017-08-06 23:36:10 -0700
commitb48e290c7510b8cbdf8c9f440b52dd3720d772a4 (patch)
tree1bd441562592b2d033915d1c504bbb9fb07de893 /x11-misc
parentkde-plasma/libksysguard: Remove unused dep (diff)
downloadgentoo-b48e290c7510b8cbdf8c9f440b52dd3720d772a4.tar.gz
gentoo-b48e290c7510b8cbdf8c9f440b52dd3720d772a4.tar.bz2
gentoo-b48e290c7510b8cbdf8c9f440b52dd3720d772a4.zip
x11-misc/lightdm-gtk-greeter: fix 2.0.1-r1 for bug 627208
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch63
-rw-r--r--x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch64
-rw-r--r--x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild3
3 files changed, 69 insertions, 61 deletions
diff --git a/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch
index 2ce0b68f85e5..f72a93abfc1c 100644
--- a/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch
+++ b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch
@@ -1,6 +1,5 @@
Bug: https://bugs.gentoo.org/show_bug.cgi?id=619782
-Upstream commits: http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/revision/349
- http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/revision/350
+Upstream commit: http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/revision/349
--- a/src/lightdm-gtk-greeter.c
+++ b/src/lightdm-gtk-greeter.c
@@ -23,62 +22,4 @@ Upstream commits: http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-
/* Message label */
static gboolean
-@@ -1932,11 +1937,11 @@
- {
- gtk_widget_show (GTK_WIDGET (username_entry));
- gtk_widget_show (GTK_WIDGET (cancel_button));
-- lightdm_greeter_authenticate (greeter, NULL);
-+ lightdm_greeter_authenticate (greeter, NULL, NULL);
- }
- else if (g_strcmp0 (username, "*guest") == 0)
- {
-- lightdm_greeter_authenticate_as_guest (greeter);
-+ lightdm_greeter_authenticate_as_guest (greeter, NULL);
- }
- else
- {
-@@ -1956,7 +1961,7 @@
- set_language (NULL);
- }
-
-- lightdm_greeter_authenticate (greeter, username);
-+ lightdm_greeter_authenticate (greeter, username, NULL);
- }
- }
-
-@@ -1978,7 +1983,7 @@
- if (lightdm_greeter_get_in_authentication (greeter))
- {
- cancelling = TRUE;
-- lightdm_greeter_cancel_authentication (greeter);
-+ lightdm_greeter_cancel_authentication (greeter, NULL);
- set_message_label (LIGHTDM_MESSAGE_TYPE_INFO, NULL);
- }
-
-@@ -2012,7 +2017,7 @@
-
- language = get_language ();
- if (language)
-- lightdm_greeter_set_language (greeter, language);
-+ lightdm_greeter_set_language (greeter, language, NULL);
- g_free (language);
-
- session = get_session ();
-@@ -2233,7 +2238,7 @@
- start_session ();
- else if (lightdm_greeter_get_in_authentication (greeter))
- {
-- lightdm_greeter_respond (greeter, gtk_entry_get_text (password_entry));
-+ lightdm_greeter_respond (greeter, gtk_entry_get_text (password_entry), NULL);
- /* If we have questions pending, then we continue processing
- * those, until we are done. (Otherwise, authentication will
- * not complete.) */
-@@ -2326,7 +2331,7 @@
- }
- }
- else
-- lightdm_greeter_authenticate_autologin (greeter);
-+ lightdm_greeter_authenticate_autologin (greeter, NULL);
- }
- }
-
+
diff --git a/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch
new file mode 100644
index 000000000000..81f158b2176f
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch
@@ -0,0 +1,64 @@
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=627208
+Upstream commit: http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/revision/350
+
+--- a/src/lightdm-gtk-greeter.c
++++ b/src/lightdm-gtk-greeter.c
+@@ -1937,11 +1937,11 @@
+ {
+ gtk_widget_show (GTK_WIDGET (username_entry));
+ gtk_widget_show (GTK_WIDGET (cancel_button));
+- lightdm_greeter_authenticate (greeter, NULL);
++ lightdm_greeter_authenticate (greeter, NULL, NULL);
+ }
+ else if (g_strcmp0 (username, "*guest") == 0)
+ {
+- lightdm_greeter_authenticate_as_guest (greeter);
++ lightdm_greeter_authenticate_as_guest (greeter, NULL);
+ }
+ else
+ {
+@@ -1961,7 +1961,7 @@
+ set_language (NULL);
+ }
+
+- lightdm_greeter_authenticate (greeter, username);
++ lightdm_greeter_authenticate (greeter, username, NULL);
+ }
+ }
+
+@@ -1983,7 +1983,7 @@
+ if (lightdm_greeter_get_in_authentication (greeter))
+ {
+ cancelling = TRUE;
+- lightdm_greeter_cancel_authentication (greeter);
++ lightdm_greeter_cancel_authentication (greeter, NULL);
+ set_message_label (LIGHTDM_MESSAGE_TYPE_INFO, NULL);
+ }
+
+@@ -2017,7 +2017,7 @@
+
+ language = get_language ();
+ if (language)
+- lightdm_greeter_set_language (greeter, language);
++ lightdm_greeter_set_language (greeter, language, NULL);
+ g_free (language);
+
+ session = get_session ();
+@@ -2238,7 +2238,7 @@
+ start_session ();
+ else if (lightdm_greeter_get_in_authentication (greeter))
+ {
+- lightdm_greeter_respond (greeter, gtk_entry_get_text (password_entry));
++ lightdm_greeter_respond (greeter, gtk_entry_get_text (password_entry), NULL);
+ /* If we have questions pending, then we continue processing
+ * those, until we are done. (Otherwise, authentication will
+ * not complete.) */
+@@ -2331,7 +2331,7 @@
+ }
+ }
+ else
+- lightdm_greeter_authenticate_autologin (greeter);
++ lightdm_greeter_authenticate_autologin (greeter, NULL);
+ }
+ }
+
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild
index 6c97d7dc89b5..8e116169544d 100644
--- a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild
+++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild
@@ -32,6 +32,9 @@ GENTOO_BG="gentoo-bg_65.jpg"
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc6.patch
+ if has_version '>=x11-misc/lightdm-1.19.2'; then
+ epatch "${FILESDIR}"/${P}-lightdm-1.19.2.patch
+ fi
# Ok, this has to be fixed in the tarball but I am too lazy to do it.
# I will fix this once I decide to update the tarball with a new gentoo