meego: Remove the meego plugin
authorAlok Barsode <alok.barsode@linux.intel.com>
Thu, 5 Apr 2012 10:20:12 +0000 (13:20 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 15:54:33 +0000 (18:54 +0300)
The fallback Timeservers should replace this plugin.

Makefile.am
Makefile.plugins
bootstrap-configure
configure.ac
plugins/meego.c [deleted file]

index 2cd7d93..2e76233 100644 (file)
@@ -244,7 +244,6 @@ DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc \
                                --enable-ofono \
                                --enable-pacrunner \
                                --enable-google \
-                               --enable-meego \
                                --enable-client \
                                --enable-hh2serial-gps \
                                --enable-openconnect \
index 1371518..0859df3 100644 (file)
@@ -214,18 +214,6 @@ plugins_google_la_LDFLAGS = $(plugin_ldflags)
 endif
 endif
 
-if MEEGO
-if MEEGO_BUILTIN
-builtin_modules += meego
-builtin_sources += plugins/meego.c
-else
-plugin_LTLIBRARIES += plugins/meego.la
-plugin_objects += $(plugins_meego_la_OBJECTS)
-plugins_meego_la_CFLAGS = $(plugin_cflags)
-plugins_meego_la_LDFLAGS = $(plugin_ldflags)
-endif
-endif
-
 if POLKIT
 if POLKIT_BUILTIN
 builtin_modules += polkit
index 12646a2..4b5bbeb 100755 (executable)
@@ -25,7 +25,6 @@ fi
                --enable-openvpn=builtin \
                --enable-pacrunner=builtin \
                --enable-google=builtin \
-               --enable-meego=builtin \
                --enable-nmcompat=builtin \
                --enable-polkit=builtin \
                --enable-capng \
index cbfde69..15a99c5 100644 (file)
@@ -225,12 +225,6 @@ AC_ARG_ENABLE(google,
 AM_CONDITIONAL(GOOGLE, test "${enable_google}" != "no")
 AM_CONDITIONAL(GOOGLE_BUILTIN, test "${enable_google}" = "builtin")
 
-AC_ARG_ENABLE(meego,
-       AC_HELP_STRING([--enable-meego], [enable MeeGo features support]),
-                       [enable_meego=${enableval}], [enable_meego="no"])
-AM_CONDITIONAL(MEEGO, test "${enable_meego}" != "no")
-AM_CONDITIONAL(MEEGO_BUILTIN, test "${enable_meego}" = "builtin")
-
 AC_CHECK_HEADERS(resolv.h, dummy=yes,
        AC_MSG_ERROR(resolver header files are required))
 AC_CHECK_LIB(resolv, ns_initparse, dummy=yes, [
diff --git a/plugins/meego.c b/plugins/meego.c
deleted file mode 100644 (file)
index f8d2f0f..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- *
- *  Connection Manager
- *
- *  Copyright (C) 2007-2010  Intel Corporation. All rights reserved.
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 2 as
- *  published by the Free Software Foundation.
- *
- *  This program 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 General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#define CONNMAN_API_SUBJECT_TO_CHANGE
-#include <connman/timeserver.h>
-#include <connman/plugin.h>
-
-#define MEEGO_NTP_SERVER "ntp.meego.com"
-
-static int meego_init(void)
-{
-       return __connman_timeserver_system_append(MEEGO_NTP_SERVER);
-}
-
-static void meego_exit(void)
-{
-       __connman_timeserver_system_remove(MEEGO_NTP_SERVER);
-}
-
-CONNMAN_PLUGIN_DEFINE(meego, "MeeGo features plugin", VERSION,
-                       CONNMAN_PLUGIN_PRIORITY_LOW, meego_init, meego_exit)