[gnome-settings-daemon] updates: Remove the updates plugin



commit fc22a8100fa40533fddfb4338160a20188e46c6b
Author: Kalev Lember <kalevlember gmail com>
Date:   Tue Apr 1 15:21:24 2014 +0200

    updates: Remove the updates plugin
    
    The functionality now lives in gnome-software that has its own session
    service for update polling.

 configure.ac                                       |   30 -
 data/Makefile.am                                   |    1 -
 ...ttings-daemon.plugins.updates.gschema.xml.in.in |   79 -
 plugins/Makefile.am                                |    6 -
 plugins/updates/Makefile.am                        |   93 --
 plugins/updates/gsd-updates-common.h               |   44 -
 plugins/updates/gsd-updates-firmware.c             | 1040 --------------
 plugins/updates/gsd-updates-firmware.h             |   52 -
 plugins/updates/gsd-updates-manager.c              | 1519 --------------------
 plugins/updates/gsd-updates-manager.h              |   56 -
 plugins/updates/gsd-updates-plugin.c               |   28 -
 plugins/updates/gsd-updates-refresh.c              |  573 --------
 plugins/updates/gsd-updates-refresh.h              |   52 -
 plugins/updates/test-updates.c                     |    7 -
 plugins/updates/updates-design.svg                 |  765 ----------
 plugins/updates/updates.gnome-settings-plugin.in   |    9 -
 po/POTFILES.in                                     |    4 -
 po/POTFILES.skip                                   |    1 -
 18 files changed, 0 insertions(+), 4359 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 16a4067..c013e8e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -297,33 +297,6 @@ esac
 AM_CONDITIONAL(HAVE_WACOM, test x$have_wacom = xyes)
 
 dnl ==============================================
-dnl PackageKit section
-dnl ==============================================
-
-have_packagekit=false
-AC_ARG_ENABLE(packagekit,
-  AC_HELP_STRING([--disable-packagekit],
-                 [turn off PackageKit support]),
-       [case "${enableval}" in
-               yes) WANT_PACKAGEKIT=yes ;;
-               no)  WANT_PACKAGEKIT=no ;;
-               *) AC_MSG_ERROR(bad value ${enableval} for --disable-packagekit) ;;
-       esac],
-       [WANT_PACKAGEKIT=yes]) dnl Default value
-
-if test x$WANT_PACKAGEKIT = xyes ; then
-       PK_REQUIRED_VERSION=0.8.1
-       PKG_CHECK_MODULES(PACKAGEKIT, glib-2.0 packagekit-glib2 >= $PK_REQUIRED_VERSION upower-glib >= 
$UPOWER_REQUIRED_VERSION gudev-1.0 libnotify >= $LIBNOTIFY_REQUIRED_VERSION,
-             [have_packagekit=true
-              AC_DEFINE(HAVE_PACKAGEKIT, 1, [Define if PackageKit should be used])],
-             [have_packagekit=false])
-fi
-AM_CONDITIONAL(HAVE_PACKAGEKIT, test "x$have_packagekit" = "xtrue")
-
-AC_SUBST(PACKAGEKIT_CFLAGS)
-AC_SUBST(PACKAGEKIT_LIBS)
-
-dnl ==============================================
 dnl smartcard section
 dnl ==============================================
 have_smartcard_support=false
@@ -550,7 +523,6 @@ plugins/rfkill/Makefile
 plugins/screensaver-proxy/Makefile
 plugins/smartcard/Makefile
 plugins/sound/Makefile
-plugins/updates/Makefile
 plugins/wacom/Makefile
 plugins/xrandr/Makefile
 plugins/xsettings/Makefile
@@ -567,7 +539,6 @@ data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in
 data/org.gnome.settings-daemon.peripherals.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.housekeeping.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.orientation.gschema.xml.in
-data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.xrandr.gschema.xml.in
 data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml.in
@@ -603,7 +574,6 @@ echo "
         LCMS DICT support:        ${have_new_lcms}
         IBus support:             ${enable_ibus}
         Libnotify support:        ${have_libnotify}
-        PackageKit support:       ${have_packagekit}
         Smartcard support:        ${have_smartcard_support}
         Cups support:             ${enable_cups}
         Wacom support:            ${have_wacom}
diff --git a/data/Makefile.am b/data/Makefile.am
index 4bd8781..93a6012 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,7 +18,6 @@ gsettings_SCHEMAS =                                                   \
        org.gnome.settings-daemon.plugins.housekeeping.gschema.xml      \
        org.gnome.settings-daemon.plugins.print-notifications.gschema.xml       \
        org.gnome.settings-daemon.plugins.xrandr.gschema.xml            \
-       org.gnome.settings-daemon.plugins.updates.gschema.xml           \
        org.gnome.settings-daemon.plugins.orientation.gschema.xml       \
        org.gnome.settings-daemon.peripherals.wacom.gschema.xml
 
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 04f8e2a..5bd160f 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -21,12 +21,6 @@ enabled_plugins =    \
 
 disabled_plugins = $(NULL)
 
-if HAVE_PACKAGEKIT
-enabled_plugins += updates
-else
-disabled_plugins += updates
-endif
-
 if SMARTCARD_SUPPORT
 enabled_plugins += smartcard
 else
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 878d5c1..8124d90 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -12,7 +12,6 @@ data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.orientation.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml.in.in
-data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.xrandr.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.xsettings.gschema.xml.in.in
 gnome-settings-daemon/main.c
@@ -54,9 +53,6 @@ plugins/smartcard/gsd-smartcard-manager.c
 plugins/smartcard/gsd-smartcard-service.c
 [type: gettext/ini]plugins/smartcard/smartcard.gnome-settings-plugin.in
 [type: gettext/ini]plugins/sound/sound.gnome-settings-plugin.in
-plugins/updates/gsd-updates-firmware.c
-plugins/updates/gsd-updates-manager.c
-[type: gettext/ini]plugins/updates/updates.gnome-settings-plugin.in
 plugins/wacom/gsd-wacom-button-editor.c
 plugins/wacom/gsd-wacom-device.c
 plugins/wacom/gsd-wacom-key-shortcut-button.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 132d3a5..16c61fe 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -18,7 +18,6 @@ data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.orientation.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml.in
-data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.xrandr.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.xsettings.gschema.xml.in
 plugins/automount/gnome-fallback-mount-helper.desktop.in


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