Commit 64cfb818 authored by Debarshi Ray's avatar Debarshi Ray

Remove Yahoo! support

It does not work. There are currently no known applications that use
it. Keeping the code means that some distributions enable it, only to
have users complain that it does not work.

Will be restored once the situation changes.

See: https://bugzilla.gnome.org/721061
parent 62c8b943
......@@ -269,31 +269,6 @@ if test "$enable_owncloud" != "no"; then
AC_DEFINE(GOA_OWNCLOUD_ENABLED, 1, [Enable ownCloud data provider])
fi
# Yahoo
AC_DEFINE(GOA_YAHOO_NAME, ["yahoo"], [ProviderType and extension point name])
AC_ARG_ENABLE([yahoo], [AS_HELP_STRING([--enable-yahoo], [Enable Yahoo provider])], [], [enable_yahoo=no])
AC_ARG_WITH(yahoo-consumer-key,
[AS_HELP_STRING([--with-yahoo-consumer-key],
[Yahoo OAuth 1.0 consumer key])],
[],
[])
AC_ARG_WITH(yahoo-consumer-secret,
[AS_HELP_STRING([--with-yahoo-consumer-secret],
[Yahoo OAuth 1.0 consumer secret])],
[],
[])
if test "$with_yahoo_consumer_key" = ""; then
with_yahoo_consumer_key=not_set
fi
if test "$with_yahoo_consumer_secret" = ""; then
with_yahoo_consumer_secret=not_set
fi
AC_DEFINE_UNQUOTED(GOA_YAHOO_CONSUMER_KEY, ["$with_yahoo_consumer_key"], [Yahoo OAuth 1.0 consumer key])
AC_DEFINE_UNQUOTED(GOA_YAHOO_CONSUMER_SECRET, ["$with_yahoo_consumer_secret"], [Yahoo OAuth 1.0 consumer secret])
if test "$enable_yahoo" != "no"; then
AC_DEFINE(GOA_YAHOO_ENABLED, 1, [Enable Yahoo data provider])
fi
# Facebook
AC_DEFINE(GOA_FACEBOOK_NAME, ["facebook"], [ProviderType and extension point name])
AC_ARG_ENABLE([facebook], [AS_HELP_STRING([--enable-facebook],
......@@ -559,7 +534,6 @@ echo "
Microsoft Exchange provider: ${enable_exchange}
ownCloud provider: ${enable_owncloud}
Kerberos provider: ${enable_kerberos}
Yahoo provider: ${enable_yahoo} (OAuth 1.0, key:${with_yahoo_consumer_key} secret:${with_yahoo_consumer_secret})
Facebook provider: ${enable_facebook} (OAuth 2.0, id:${with_facebook_client_id})
Windows Live provider: ${enable_windows_live} (OAuth 2.0, id:${with_windows_live_client_id})
Telepathy provider: ${enable_telepathy}
......
......@@ -9,7 +9,6 @@ icon_DATA = \
goa-account-owncloud.png \
goa-account-pocket.png \
goa-account-foursquare.png \
goa-account-yahoo.png \
$(NULL)
EXTRA_DIST = \
......
......@@ -9,7 +9,6 @@ icon_DATA = \
goa-account-owncloud.png \
goa-account-pocket.png \
goa-account-foursquare.png \
goa-account-yahoo.png \
$(NULL)
EXTRA_DIST = \
......
......@@ -9,7 +9,6 @@ icon_DATA = \
goa-account-pocket.png \
goa-account-foursquare.png \
goa-account-flickr.png \
goa-account-yahoo.png \
$(NULL)
EXTRA_DIST = \
......
......@@ -9,7 +9,6 @@ icon_DATA = \
goa-account-owncloud.png \
goa-account-pocket.png \
goa-account-foursquare.png \
goa-account-yahoo.png \
$(NULL)
EXTRA_DIST = \
......
......@@ -9,7 +9,6 @@ icon_DATA = \
goa-account-pocket.png \
goa-account-flickr.png \
goa-account-foursquare.png \
goa-account-yahoo.png \
$(NULL)
EXTRA_DIST = \
......
......@@ -176,7 +176,6 @@
<xi:include href="xml/goamediaserverprovider.xml"/>
<xi:include href="xml/goawindowsliveprovider.xml"/>
<xi:include href="xml/goafacebookprovider.xml"/>
<xi:include href="xml/goayahooprovider.xml"/>
<xi:include href="xml/goaflickrprovider.xml"/>
<xi:include href="xml/goafoursquareprovider.xml"/>
<xi:include href="xml/goatelepathyprovider.xml"/>
......
......@@ -567,16 +567,6 @@ GOA_TYPE_FACEBOOK_PROVIDER
goa_facebook_provider_get_type
</SECTION>
<SECTION>
<FILE>goayahooprovider</FILE>
GoaYahooProvider
<SUBSECTION Standard>
GOA_YAHOO_PROVIDER
GOA_IS_YAHOO_PROVIDER
GOA_TYPE_YAHOO_PROVIDER
goa_yahoo_provider_get_type
</SECTION>
<SECTION>
<FILE>goaflickrprovider</FILE>
GoaFlickrProvider
......
......@@ -64,7 +64,6 @@ goa_oauth2_provider_get_type
goa_google_provider_get_type
goa_facebook_provider_get_type
goa_media_server_provider_get_type
goa_yahoo_provider_get_type
goa_flickr_provider_get_type
goa_foursquare_provider_get_type
goa_windows_live_provider_get_type
......@@ -24,7 +24,6 @@ src/goabackend/goatelepathyprovider.c
src/goabackend/goautils.c
src/goabackend/goawebview.c
src/goabackend/goawindowsliveprovider.c
src/goabackend/goayahooprovider.c
src/goaidentity/goaalarm.c
src/goaidentity/goaidentityservice.c
src/goaidentity/goakerberosidentity.c
......
......@@ -86,7 +86,6 @@ libgoa_backend_1_0_la_SOURCES = \
goaimapsmtpprovider.h goaimapsmtpprovider.c \
goamediaserverprovider.h goamediaserverprovider.c \
goaowncloudprovider.h goaowncloudprovider.c \
goayahooprovider.h goayahooprovider.c \
goaflickrprovider.h goaflickrprovider.c \
goafoursquareprovider.h goafoursquareprovider.c \
goawindowsliveprovider.h goawindowsliveprovider.c \
......
......@@ -28,7 +28,6 @@
#include "goafacebookprovider.h"
#include "goaimapsmtpprovider.h"
#include "goaowncloudprovider.h"
#include "goayahooprovider.h"
#include "goaflickrprovider.h"
#include "goafoursquareprovider.h"
#include "goawindowsliveprovider.h"
......@@ -797,9 +796,6 @@ static struct
#ifdef GOA_MEDIA_SERVER_ENABLED
{ GOA_MEDIA_SERVER_NAME, goa_media_server_provider_get_type },
#endif
#ifdef GOA_YAHOO_ENABLED
{ GOA_YAHOO_NAME, goa_yahoo_provider_get_type },
#endif
#ifdef GOA_TELEPATHY_ENABLED
{ GOA_TELEPATHY_NAME, goa_telepathy_factory_get_type },
#endif
......
This diff is collapsed.
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEND_COMPILATION)
#error "Only <goabackend/goabackend.h> can be included directly."
#endif
#ifndef __GOA_YAHOO_PROVIDER_H__
#define __GOA_YAHOO_PROVIDER_H__
#include <glib-object.h>
G_BEGIN_DECLS
#define GOA_TYPE_YAHOO_PROVIDER (goa_yahoo_provider_get_type ())
#define GOA_YAHOO_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_YAHOO_PROVIDER, GoaYahooProvider))
#define GOA_IS_YAHOO_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_YAHOO_PROVIDER))
typedef struct _GoaYahooProvider GoaYahooProvider;
GType goa_yahoo_provider_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __GOA_YAHOO_PROVIDER_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment