[gimp/wip/Jehan/pygtk-4-distcheck] PLOP!



commit 7a2745250a6362b8cfcc7295e7a3141514ced130
Author: Jehan <jehan girinstud io>
Date:   Sun Aug 2 19:54:58 2020 +0200

    PLOP!

 .gitlab-ci.yml | 1 +
 configure.ac   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 092a7a0862..96d802b6cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -169,6 +169,7 @@ gimp-debian/testing-autotools-distcheck:
     - ../autogen.sh
         --prefix="${INSTALL_PREFIX}"
         --enable-debug
+        --disable-python
     - make -j "$(nproc)"
     - make distcheck
   allow_failure: true
diff --git a/configure.ac b/configure.ac
index 541bd28fe6..de2c20ce97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2295,6 +2295,8 @@ m4_define([pycheck_error], [
       *** passing --disable-python to configure (but then you will not be able
       *** to use scripts for GIMP that are written in Python)."])
 
+AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
+
 if test "x$enable_python" != xno; then
   enable_python="yes"
   # check for Python
@@ -2323,7 +2325,6 @@ if test "x$enable_python" != xno; then
   PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= pygtk_required_version,,
                     [pycheck_error([PyGTK pygtk_required_version or newer], [it])])
 
-  AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
   if test "x$PYGTK_CODEGEN" = xno; then
      pycheck_error([pygtk-codegen-2.0 script], [it])
   fi


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