nopython.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. diff --git a/bindings/Makefile.am b/bindings/Makefile.am
  2. index d1f6d73..dccca6c 100644
  3. --- a/bindings/Makefile.am
  4. +++ b/bindings/Makefile.am
  5. @@ -3,7 +3,6 @@ SUBDIRS = \
  6. vala
  7. else
  8. SUBDIRS = \
  9. - python \
  10. vala
  11. endif
  12. diff --git a/configure.ac b/configure.ac
  13. index ee03390..4713b22 100644
  14. --- a/configure.ac
  15. +++ b/configure.ac
  16. @@ -181,33 +181,6 @@ AM_CONDITIONAL(BUILD_MONO_TEST, test x${have_nunit} = xyes)
  17. with_localinstall="no"
  18. AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all of the files localy instead of system directories (for distcheck)]), with_localinstall=$enableval, with_localinstall=no)
  19. -###########################
  20. -# Python
  21. -###########################
  22. -
  23. -PYGTK_REQUIRED=2.14.0
  24. -PYGOBJECT_REQUIRED=0.22
  25. -
  26. -AM_PATH_PYTHON(2.3.5)
  27. -AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
  28. -
  29. -PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
  30. - [
  31. - pygtk-2.0 >= $PYGTK_REQUIRED
  32. - gtk+-2.0 >= $GTK_REQUIRED_VERSION
  33. - pygobject-2.0 >= $PYGOBJECT_REQUIRED
  34. - ])
  35. -
  36. -AC_MSG_CHECKING(for pygtk defs)
  37. -PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
  38. -AC_SUBST(PYGTK_DEFSDIR)
  39. -AC_MSG_RESULT($PYGTK_DEFSDIR)
  40. -
  41. -AC_MSG_CHECKING(for pygtk codegen)
  42. -PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
  43. -AC_SUBST(PYGTK_CODEGEN)
  44. -AC_MSG_RESULT($PYGTK_CODEGEN)
  45. -
  46. #########################
  47. # Check if build tests
  48. #########################
  49. @@ -239,8 +212,6 @@ src/Makefile
  50. src/appindicator-0.1.pc
  51. src/appindicator3-0.1.pc
  52. bindings/Makefile
  53. -bindings/python/Makefile
  54. -bindings/python/appindicator.override
  55. bindings/vala/Makefile
  56. bindings/vala/examples/Makefile
  57. tests/Makefile