[gnome-applets] Drop pygobject-3.0 build-time dependency



commit 5a36214ddebc402681f52c4f216380aec681cc40
Author: Dmitry Shachnev <mitya57 gmail com>
Date:   Tue Nov 10 15:25:55 2015 +0300

    Drop pygobject-3.0 build-time dependency
    
    It is not needed because all our code in invest-applet is static Python,
    without C extensions.

 Makefile.am  |    6 +-----
 configure.ac |   11 +----------
 2 files changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d0af8ae..463af19 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,10 +29,6 @@ if BUILD_CPUFREQ_APPLET
 cpufreq_SUBDIR = cpufreq
 endif
 
-if BUILD_INVEST_APPLET
-invest_applet_SUBDIR = invest-applet
-endif
-
 if BUILD_MINICOMMANDER_APPLET
 minicommander_applet_SUBDIR = mini-commander
 endif
@@ -46,6 +42,7 @@ always_built_SUBDIRS =  \
        brightness      \
        drivemount      \
        inhibit         \
+       invest-applet   \
        geyes           \
        stickynotes     \
        trashapplet \
@@ -61,7 +58,6 @@ SUBDIRS = \
        $(vfs_SUBDIRS)          \
        $(battstat_SUBDIR)      \
        $(accessx_status_SUBDIR)\
-       $(invest_applet_SUBDIR) \
        $(cpufreq_SUBDIR) \
        $(minicommander_applet_SUBDIR) \
        $(tracker_search_bar_SUBDIR) \
diff --git a/configure.ac b/configure.ac
index 123c685..d62550f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -261,9 +261,6 @@ fi
 AC_SUBST(GUCHARMAP_CFLAGS)
 AC_SUBST(GUCHARMAP_LIBS)
 
-dnl -- check for Python/GNOME modules (optional) ------------------------------
-PKG_CHECK_MODULES(PYGOBJECT, pygobject-3.0, HAVE_PYGOBJECT=yes, HAVE_PYGOBJECT=no)
-
 dnl -- check for libxml2 (required) ------------------------------------------
 PKG_CHECK_MODULES(XML2, libxml-2.0 >= $LIBXML_REQUIRED)
 AC_SUBST(XML2_CFLAGS)
@@ -529,12 +526,6 @@ fi
 AM_CONDITIONAL(HAVE_TRACKER_SEARCH_BAR, test "$have_tracker_search_bar" = "yes")
 
 dnl ***************************************************************************
-dnl *** invest-applet specific checks                                       ***
-dnl ***************************************************************************
-
-AM_CONDITIONAL(BUILD_INVEST_APPLET, test "x$HAVE_PYGOBJECT" = "xyes")
-
-dnl ***************************************************************************
 dnl *** Check if IPv6 is available                                          ***
 dnl ***************************************************************************
 AC_MSG_CHECKING([whether to enable ipv6])
@@ -775,7 +766,7 @@ echo "    drivemount ....................: always"
 echo "    geyes .........................: always"
 echo "    gweather ......................: $build_libgweather_applets"
 echo "    inhibit .......................: always"
-echo "    invest-applet .................: $HAVE_PYGOBJECT"
+echo "    invest-applet .................: always"
 echo "    mini-commander ................: $enable_mini_commander"
 echo "    modemlights ...................: $BUILD_MODEM_LIGHTS"
 echo "    multiload .....................: $build_gtop_applets"


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