lightdm-webkit-greeter: remove.
This commit is contained in:
parent
f2d2fec72b
commit
b7c50e2b05
2 changed files with 0 additions and 94 deletions
|
@ -1,76 +0,0 @@
|
|||
Adapted from https://bugs.gentoo.org/show_bug.cgi?id=588764
|
||||
|
||||
--- src/lightdm-webkit-greeter.c.orig 2016-01-10 20:42:31.000000000 +0100
|
||||
+++ src/lightdm-webkit-greeter.c 2017-12-08 14:46:55.984757329 +0100
|
||||
@@ -532,13 +532,14 @@
|
||||
JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef * exception)
|
||||
{
|
||||
gchar *name = NULL;
|
||||
+ GError *error = NULL;
|
||||
|
||||
if (argumentCount > 0)
|
||||
name = arg_to_string (context, arguments[0], exception);
|
||||
else
|
||||
name = NULL;
|
||||
|
||||
- lightdm_greeter_authenticate (GREETER, name);
|
||||
+ lightdm_greeter_authenticate (GREETER, name, &error);
|
||||
|
||||
g_free (name);
|
||||
return JSValueMakeNull (context);
|
||||
@@ -549,7 +550,9 @@
|
||||
JSObjectRef function,
|
||||
JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef * exception)
|
||||
{
|
||||
- lightdm_greeter_authenticate_as_guest (GREETER);
|
||||
+ GError *error = NULL;
|
||||
+
|
||||
+ lightdm_greeter_authenticate_as_guest (GREETER, &error);
|
||||
return JSValueMakeNull (context);
|
||||
}
|
||||
|
||||
@@ -580,6 +583,7 @@
|
||||
JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef * exception)
|
||||
{
|
||||
gchar *response;
|
||||
+ GError *error = NULL;
|
||||
|
||||
if (argumentCount != 1)
|
||||
return mkexception (context, exception, "Response not supplied");
|
||||
@@ -588,7 +592,7 @@
|
||||
if (!response)
|
||||
return JSValueMakeNull (context);
|
||||
|
||||
- lightdm_greeter_respond (GREETER, response);
|
||||
+ lightdm_greeter_respond (GREETER, response, &error);
|
||||
|
||||
g_free (response);
|
||||
return JSValueMakeNull (context);
|
||||
@@ -599,7 +603,9 @@
|
||||
JSObjectRef function,
|
||||
JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef * exception)
|
||||
{
|
||||
- lightdm_greeter_cancel_authentication (GREETER);
|
||||
+ GError *error = NULL;
|
||||
+
|
||||
+ lightdm_greeter_cancel_authentication (GREETER, &error);
|
||||
return JSValueMakeNull (context);
|
||||
}
|
||||
|
||||
@@ -723,6 +729,7 @@
|
||||
JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef * exception)
|
||||
{
|
||||
gchar *language;
|
||||
+ GError *error = NULL;
|
||||
|
||||
if (argumentCount != 1)
|
||||
return mkexception (context, exception, "Language not supplied");
|
||||
@@ -731,7 +738,7 @@
|
||||
if (!language)
|
||||
return JSValueMakeNull (context);
|
||||
|
||||
- lightdm_greeter_set_language (GREETER, language);
|
||||
+ lightdm_greeter_set_language (GREETER, language, &error);
|
||||
|
||||
g_free (language);
|
||||
return JSValueMakeNull (context);
|
|
@ -1,18 +0,0 @@
|
|||
# Template file for 'lightdm-webkit-greeter'
|
||||
pkgname=lightdm-webkit-greeter
|
||||
version=2.0.0
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="lightdm-devel libxklavier-devel dbus-glib-devel webkitgtk-devel"
|
||||
depends="lightdm"
|
||||
short_desc="Light Display Manager Webkit Greeter"
|
||||
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="https://launchpad.net/lightdm-webkit-greeter"
|
||||
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
|
||||
checksum=985068d2c95556c99c744a0e8a770f123034fe4b23e8469c1a153a1f6e687eab
|
||||
|
||||
post_extract() {
|
||||
sed -i -e "s/\(webkit-theme=\)default/\1webkit/" data/lightdm-webkit-greeter.conf
|
||||
}
|
Loading…
Reference in a new issue