[gimp/wip/Jehan/pygtk-4-distcheck] Also build py2cairo!



commit 4ffa535a75fae8ddf17b6a706483af3a3fd7a952
Author: Jehan <jehan girinstud io>
Date:   Sun Aug 2 21:24:16 2020 +0200

    Also build py2cairo!

 .gitlab-ci.yml                 | 13 +++++++++++++
 build/gitlab-ci/deps.sha256sum |  1 +
 2 files changed, 14 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e791575aa6..a79cf028d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -150,14 +150,27 @@ gimp-debian/testing-autotools-distcheck:
   script:
     # Building pygtk2 as it is not available in Debian testing anymore.
     - cd build/gitlab-ci
+    - wget https://cairographics.org/releases/py2cairo-1.10.0.tar.bz2
     - wget https://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.7.tar.xz
     - wget https://download.gnome.org/sources/pygtk/2.24/pygtk-2.24.0.tar.gz
     - sha256sum -c deps.sha256sum
     - export PYTHON=/usr/bin/python2
+    # py2cairo
+    - tar xjf py2cairo-1.10.0.tar.bz2
+    - cd py2cairo-1.10.0/
+    - libtoolize --force
+    - aclocal
+    - autoheader
+    - automake --force-missing --add-missing --foreign
+    - autoconf
+    - ./configure --prefix="${INSTALL_PREFIX}" && make && make install
+    - cd ..
+    # pygobject
     - tar xf pygobject-2.28.7.tar.xz
     - cd pygobject-2.28.7/
     - ./configure --prefix="${INSTALL_PREFIX}" && make && make install
     - cd ..
+    # pygtk
     - tar xzf pygtk-2.24.0.tar.gz
     - cd pygtk-2.24.0/
     - patch -p1 < ../pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch
diff --git a/build/gitlab-ci/deps.sha256sum b/build/gitlab-ci/deps.sha256sum
index 753d753929..5472c1bdcc 100644
--- a/build/gitlab-ci/deps.sha256sum
+++ b/build/gitlab-ci/deps.sha256sum
@@ -1,2 +1,3 @@
+d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431  py2cairo-1.10.0.tar.bz2
 6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8  pygtk-2.24.0.tar.gz
 bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a  pygobject-2.28.7.tar.xz


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