diff -up libappindicator-12.10.0/configure.ac.disable_python2 libappindicator-12.10.0/configure.ac
--- libappindicator-12.10.0/configure.ac.disable_python2 2018-05-23 11:20:41.652548412 +0200
+++ libappindicator-12.10.0/configure.ac 2018-05-23 11:28:54.494760371 +0200
@@ -185,28 +185,28 @@ AC_ARG_ENABLE(localinstall, AS_HELP_STRI
# Python
###########################
-PYGTK_REQUIRED=2.14.0
-PYGOBJECT_REQUIRED=0.22
+#PYGTK_REQUIRED=2.14.0
+#PYGOBJECT_REQUIRED=0.22
-AM_PATH_PYTHON(2.3.5)
-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
+#AM_PATH_PYTHON(2.3.5)
+#AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
-PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
- [
- pygtk-2.0 >= $PYGTK_REQUIRED
- gtk+-2.0 >= $GTK_REQUIRED_VERSION
- pygobject-2.0 >= $PYGOBJECT_REQUIRED
- ])
-
-AC_MSG_CHECKING(for pygtk defs)
-PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
-AC_SUBST(PYGTK_DEFSDIR)
-AC_MSG_RESULT($PYGTK_DEFSDIR)
-
-AC_MSG_CHECKING(for pygtk codegen)
-PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
-AC_SUBST(PYGTK_CODEGEN)
-AC_MSG_RESULT($PYGTK_CODEGEN)
+#PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
+# [
+# pygtk-2.0 >= $PYGTK_REQUIRED
+# gtk+-2.0 >= $GTK_REQUIRED_VERSION
+# pygobject-2.0 >= $PYGOBJECT_REQUIRED
+# ])
+
+#AC_MSG_CHECKING(for pygtk defs)
+#PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
+#AC_SUBST(PYGTK_DEFSDIR)
+#AC_MSG_RESULT($PYGTK_DEFSDIR)
+
+#AC_MSG_CHECKING(for pygtk codegen)
+#PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
+#AC_SUBST(PYGTK_CODEGEN)
+#AC_MSG_RESULT($PYGTK_CODEGEN)
#########################
# Check if build tests
@@ -239,8 +239,6 @@ src/Makefile
src/appindicator-0.1.pc
src/appindicator3-0.1.pc
bindings/Makefile
-bindings/python/Makefile
-bindings/python/appindicator.override
bindings/vala/Makefile
bindings/vala/examples/Makefile
tests/Makefile