[gimp/wip/Jehan/pygtk-4-distcheck] gitlab-ci: build pygtk ourselves for CI distcheck.




commit 21a82fe587b7555d809d19373691c0d413073166
Author: Jehan <jehan girinstud io>
Date:   Sun Aug 2 16:59:01 2020 +0200

    gitlab-ci: build pygtk ourselves for CI distcheck.
    
    Turns out that the distcheck runs with Python. Actually even adding
    --disable-python to DISTCHECK_CONFIGURE_FLAGS doesn't help as
    pygtk-codegen-2.0 is needed to generated various .defs file added to the
    DIST. So let's just try and build it now that it is not available
    anymore in Debian testing packages.

 .gitlab-ci.yml                         | 9 +++++++++
 build/gitlab-ci/pygtk-2.24.0.sha256sum | 1 +
 2 files changed, 10 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0976e67a21..d5e93b2343 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -145,6 +145,15 @@ gimp-debian/testing-autotools:
 gimp-debian/testing-autotools-distcheck:
   extends: .gimp-debian/testing-base
   script:
+    # Building pygtk2 as it is not available in Debian testing anymore.
+    - cd build/gitlab-ci
+    - wget https://download.gnome.org/sources/pygtk/2.24/pygtk-2.24.0.tar.gz
+    - sha256sum -c pygtk-2.24.0.sha256sum
+    - tar xzf pygtk-2.24.0.tar.gz
+    - cd pygtk-2.24.0
+    - ./configure --prefix="${INSTALL_PREFIX}" && make && make install
+    - cd ../../..
+    # Actual build.
     - mkdir _build
     - cd _build
     - ../autogen.sh
diff --git a/build/gitlab-ci/pygtk-2.24.0.sha256sum b/build/gitlab-ci/pygtk-2.24.0.sha256sum
new file mode 100644
index 0000000000..56b9dcdf02
--- /dev/null
+++ b/build/gitlab-ci/pygtk-2.24.0.sha256sum
@@ -0,0 +1 @@
+6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8  pygtk-2.24.0.tar.gz


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