Blame SOURCES/disable-python2.patch

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