[gnome-software/wip/temp/ubuntu-xenial-rebased: 45/326] Stop using ubuntu-sso-client for credentials



commit 102b38e4482983c16121b7f0c4bc329be7a8ead2
Author: William Hua <william hua canonical com>
Date:   Sat Feb 6 11:08:47 2016 -0500

    Stop using ubuntu-sso-client for credentials

 configure.ac                                       |    1 -
 src/plugins/Makefile.am                            |   40 +--------
 .../com.ubuntu.sso.CredentialsManagement.xml       |   55 ----------
 src/plugins/com.ubuntu.sso.UserManagement.xml      |  104 --------------------
 4 files changed, 1 insertions(+), 199 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 944da3a..ca319fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,6 @@ AC_DEFINE(GETTEXT_PACKAGE, "AC_PACKAGE_NAME", [gnome-software])
 AM_PATH_GLIB_2_0(2.46.0, :, AC_MSG_ERROR([GLib is required]), gobject gmodule gio)
 AM_GLIB_GNU_GETTEXT
 GLIB_GSETTINGS
-AC_PATH_PROG([GDBUS_CODEGEN], [gdbus-codegen])
 
 dnl ---------------------------------------------------------------------------
 dnl - Check library dependencies
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index c8a224b..dd049de 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -176,37 +176,11 @@ libgs_plugin_ubuntu_reviews_la_LDFLAGS = -module -avoid-version
 libgs_plugin_ubuntu_reviews_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
 endif
 
-libgs_plugin_ubuntu_reviews_la_SOURCES =               \
-       ubuntu-sso-accounts-proxy.c                     \
-       ubuntu-sso-accounts-proxy.h                     \
-       ubuntu-sso-credentials-proxy.c                  \
-       ubuntu-sso-credentials-proxy.h                  \
-       gs-plugin-ubuntu-reviews.c
+libgs_plugin_ubuntu_reviews_la_SOURCES = gs-plugin-ubuntu-reviews.c
 libgs_plugin_ubuntu_reviews_la_LIBADD = $(GS_PLUGIN_LIBS) $(SOUP_LIBS) $(JSON_GLIB_LIBS) $(OAUTH_LIBS) 
$(SQLITE_LIBS)
 libgs_plugin_ubuntu_reviews_la_LDFLAGS = -module -avoid-version
 libgs_plugin_ubuntu_reviews_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARNINGFLAGS_C)
 
-ubuntu-sso-accounts-proxy.c ubuntu-sso-accounts-proxy.h: com.ubuntu.sso.UserManagement.xml Makefile
-       $(AM_V_GEN) $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
-                        --generate-c-code ubuntu-sso-accounts-proxy \
-                        --c-namespace UbuntuSSO \
-                        --annotate 'com.ubuntu.sso.UserManagement' \
-                                   org.gtk.GDBus.C.Name \
-                                   Accounts \
-                        $<
-
-ubuntu-sso-credentials-proxy.c ubuntu-sso-credentials-proxy.h: com.ubuntu.sso.CredentialsManagement.xml 
Makefile
-       $(AM_V_GEN) $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
-                        --generate-c-code ubuntu-sso-credentials-proxy \
-                        --c-namespace UbuntuSSO \
-                        --annotate 'com.ubuntu.sso.CredentialsManagement' \
-                                   org.gtk.GDBus.C.Name \
-                                   Credentials \
-                        --annotate 'com.ubuntu.sso.CredentialsManagement.find_credentials_sync()' \
-                                   org.gtk.GDBus.C.Name \
-                                   find_credentials_and_wait \
-                        $<
-
 libgs_plugin_packagekit_la_SOURCES =                   \
        gs-plugin-packagekit.c                          \
        packagekit-common.c                             \
@@ -291,16 +265,4 @@ TESTS = gs-self-test
 
 EXTRA_DIST = moduleset-test.xml
 
-GITIGNOREFILES =                                       \
-       ubuntu-sso-accounts-proxy.h                     \
-       ubuntu-sso-accounts-proxy.c                     \
-       ubuntu-sso-credentials-proxy.h                  \
-       ubuntu-sso-credentials-proxy.c
-
-CLEANFILES =                                   \
-       ubuntu-sso-accounts-proxy.c                     \
-       ubuntu-sso-accounts-proxy.h                     \
-       ubuntu-sso-credentials-proxy.c                  \
-       ubuntu-sso-credentials-proxy.h
-
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]