[gnome-applets] modem-lights: remove
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] modem-lights: remove
- Date: Thu, 6 Dec 2018 20:31:52 +0000 (UTC)
commit cdd5293ae3eace7706a4623e70d7f437487c275a
Author: Dmitry Shachnev <mitya57 gmail com>
Date: Thu Dec 6 23:20:46 2018 +0300
modem-lights: remove
This applet is not working, modern distros do not ship network-conf,
and percent of modem users should be very low now.
Makefile.am | 8 -
configure.ac | 38 -
modem-lights/AUTHORS | 4 -
modem-lights/Makefile.am | 84 --
modem-lights/gnome-modem-monitor-applet.16.png | Bin 719 -> 0 bytes
modem-lights/gnome-modem-monitor-applet.22.png | Bin 1168 -> 0 bytes
modem-lights/gnome-modem-monitor-applet.24.png | Bin 1221 -> 0 bytes
modem-lights/gnome-modem-monitor-applet.32.png | Bin 2148 -> 0 bytes
modem-lights/gnome-modem-monitor-applet.svg | 1377 --------------------
modem-lights/modem-applet-menu.xml | 20 -
modem-lights/modemlights.ui | 224 ----
...rg.gnome.applets.ModemApplet.panel-applet.in.in | 15 -
modem-lights/src/Makefile.am | 42 -
modem-lights/src/modem-applet.c | 1055 ---------------
modem-lights/src/modem-applet.h | 51 -
po/POTFILES.in | 4 -
po/POTFILES.skip | 1 -
17 files changed, 2923 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 164366dee..841449061 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,12 +11,6 @@ if BUILD_LIBGWEATHER_APPLETS
libgweather_SUBDIRS = $(libgweather_applets)
endif
-modemlights_applets = \
- modem-lights
-if APPLET_MODEMLIGHTS
-modemlights_SUBDIRS = $(modemlights_applets)
-endif
-
if BUILD_BATTSTAT_APPLET
battstat_SUBDIR = battstat
endif
@@ -58,7 +52,6 @@ always_built_SUBDIRS = \
SUBDIRS = \
po \
$(always_built_SUBDIRS) \
- $(modemlights_SUBDIRS) \
$(gtop_SUBDIRS) \
$(libgweather_SUBDIRS) \
$(vfs_SUBDIRS) \
@@ -72,7 +65,6 @@ SUBDIRS = \
DIST_SUBDIRS = \
po \
- modem-lights \
drivemount \
charpick \
geyes \
diff --git a/configure.ac b/configure.ac
index 8c3462267..358c4f49c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,17 +139,6 @@ AC_SUBST(GTOP_APPLETS_CFLAGS)
AC_SUBST(GTOP_APPLETS_LIBS)
AM_CONDITIONAL(BUILD_GTOP_APPLETS, $build_gtop_applets)
-dnl -- check for gnome-settings-daemon (optional) -----------------------------
-PKG_CHECK_MODULES(GNOME_SETTINGS_DAEMON, gnome-settings-daemon,
- HAVE_GNOME_SETTINGS_DAEMON=yes, HAVE_GNOME_SETTINGS_DAEMON=no)
-
-if test "x$HAVE_GNOME_SETTINGS_DAEMON" = "xno"; then
- AC_MSG_WARN([gnome-settings-daemon DBUS API is required to build modem-applet.])
-fi
-
-AC_SUBST(GNOME_SETTINGS_DAEMON_CFLAGS)
-AC_SUBST(GNOME_SETTINGS_DAEMON_LIBS)
-
dnl -- check for libwnck (required) -------------------------------------------
PKG_CHECK_MODULES(LIBWNCK, libwnck-3.0 >= $LIBWNCK_REQUIRED,,
AC_MSG_ERROR([libwnck is required to build gnome-applets.], 1))
@@ -392,29 +381,6 @@ if test "x$APPLET_ACCESSX" = "xtrue"; then
fi
CPPFLAGS=$savecppflags
-dnl ***************************************************************************
-dnl *** modemlights applet check ***
-dnl ***************************************************************************
-
-SU_TOOL=
-HAVE_LIBUTIL=
-
-AC_PATH_PROG(SU_TOOL, su)
-AC_CHECK_LIB(util, forkpty, HAVE_LIBUTIL=true, HAVE_LIBUTIL=false)
-
-if test "x$HAVE_LIBUTIL" = "xtrue" -a "x$HAVE_GNOME_SETTINGS_DAEMON" = "xyes"; then
- MODEMLIGHTS_LIBS=" -lutil"
- AC_SUBST(MODEMLIGHTS_LIBS)
- AC_DEFINE_UNQUOTED(STB_SCRIPTS_DIR, "$STB_SCRIPTS_DIR", [System tools backends])
- AC_DEFINE_UNQUOTED(SU_PATH, "${SU_TOOL}", [su executable path])
- BUILD_MODEM_LIGHTS=yes
-else
- AC_MSG_WARN([*** modemlights applet will not be built ***])
- BUILD_MODEM_LIGHTS=no
-fi
-
-AM_CONDITIONAL(APPLET_MODEMLIGHTS, test "x$BUILD_MODEM_LIGHTS" = "xyes")
-
dnl ***************************************************************************
dnl *** cpufreq applet check ***
dnl ***************************************************************************
@@ -661,9 +627,6 @@ AC_CONFIG_FILES([
mini-commander/Makefile
mini-commander/src/Makefile
- modem-lights/Makefile
- modem-lights/src/Makefile
-
multiload/Makefile
multiload/help/Makefile
multiload/src/Makefile
@@ -752,7 +715,6 @@ echo " geyes .........................: always"
echo " gweather ......................: $build_libgweather_applets"
echo " inhibit .......................: always"
echo " mini-commander ................: $enable_mini_commander"
-echo " modem-lights ..................: $BUILD_MODEM_LIGHTS"
echo " multiload .....................: $build_gtop_applets"
echo " netspeed ......................: $build_gtop_applets"
echo " sticky-notes ..................: $enable_stickynotes"
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d1b05dcbf..288dfe5ba 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -63,10 +63,6 @@ mini-commander/src/mini-commander_applet.c
[type: gettext/ini]mini-commander/src/org.gnome.applets.MiniCommanderApplet.panel-applet.in.in
mini-commander/src/org.gnome.gnome-applets.mini-commander.gschema.xml.in.in
mini-commander/src/preferences.c
-[type: gettext/glade]modem-lights/modem-applet-menu.xml
-[type: gettext/glade]modem-lights/modemlights.ui
-[type: gettext/ini]modem-lights/org.gnome.applets.ModemApplet.panel-applet.in.in
-modem-lights/src/modem-applet.c
[type: gettext/glade]multiload/multiload-applet-menu.xml
[type: gettext/ini]multiload/org.gnome.applets.MultiLoadApplet.panel-applet.in.in
multiload/org.gnome.gnome-applets.multiload.gschema.xml.in.in
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index d5d218c30..32bdae305 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -22,7 +22,6 @@ gweather/org.gnome.gnome-applets.gweather.gschema.xml.in
inhibit/org.gnome.InhibitApplet.panel-applet.in
mini-commander/src/org.gnome.applets.MiniCommanderApplet.panel-applet.in
mini-commander/src/org.gnome.gnome-applets.mini-commander.gschema.xml.in
-modem-lights/org.gnome.applets.ModemApplet.panel-applet.in
multiload/org.gnome.applets.MultiLoadApplet.panel-applet.in
multiload/org.gnome.gnome-applets.multiload.gschema.xml.in
netspeed/data/org.gnome.gnome-applets.netspeed.gschema.xml.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]