[gimp-web/oscp] Attempt building GIMP 2.10 docs



commit 3c8ff3e94b14338fd400eef00a98ecd806fc6bd0
Author: Andrea Veri <averi redhat com>
Date:   Wed Sep 8 12:40:14 2021 +0200

    Attempt building GIMP 2.10 docs

 testing.docs.gimp.org/docs_build/Dockerfile    |  8 ++++----
 testing.docs.gimp.org/docs_build/entrypoint.sh | 12 ++++++------
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/testing.docs.gimp.org/docs_build/Dockerfile b/testing.docs.gimp.org/docs_build/Dockerfile
index ad080a4e..fa8076d6 100644
--- a/testing.docs.gimp.org/docs_build/Dockerfile
+++ b/testing.docs.gimp.org/docs_build/Dockerfile
@@ -1,9 +1,9 @@
-FROM centos:7
+FROM debian:testing 
 USER root
 
-RUN yum install -y docbook-dtds docbook-style-dsssl docbook-style-xsl rsync \
-                   docbook-utils-pdf docbook-utils git autoconf automake make \
-                   libxslt gettext python3
+RUN apt-get update && apt-get install -y --no-install-recommends \ 
+    automake build-essential docbook-xml docbook-xsl pkg-config \
+    pngcrush pngnq python3 python3-libxml2 xsltproc gettext 
 
 RUN groupadd gimpdocs -g 1000580000 && \
     useradd gimpdocs -g 1000580000 -u 1000580000 -r -l -m
diff --git a/testing.docs.gimp.org/docs_build/entrypoint.sh b/testing.docs.gimp.org/docs_build/entrypoint.sh
index a85cd666..ea279b8c 100755
--- a/testing.docs.gimp.org/docs_build/entrypoint.sh
+++ b/testing.docs.gimp.org/docs_build/entrypoint.sh
@@ -3,10 +3,10 @@
 set -x
 set -e
 
-git clone --depth 1 https://gitlab.gnome.org/GNOME/gimp-help.git /tmp/gimp-help
-export ALL_LINGUAS="ca da de el en en_GB es fi fr hr it ja ko lt nl nn pt_BR ro ru zh_CN"
-cd /tmp/gimp-help && ./autogen.sh --without-gimp && make
+RELEASE=2.10
+BUILD_PATH=/tmp/gimp-help
 
-for dir in html images quickreference xml; do
-    rsync -vlr /tmp/gimp-help/$dir/ /docs_data/docs/2.10test/$dir/
-done
+git clone --depth 1 -b gimp-help-${RELEASE//\./\-} https://gitlab.gnome.org/GNOME/gimp-help.git 
${BUILD_PATH} 
+cd ${BUILD_PATH} && ./autogen.sh --without-gimp --prefix=${BUILD_PATH}/build && make && make install
+
+rsync -vlr ${BUILD_PATH}/share/gimp/2.0/help/ /docs_data/${RELEASE}/


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