[gimp/wip/schumaml/crossraods-optimization: 43/57] gitlab-ci: create gdk-piuxbuf loaders.cache in prepare stage




commit 61d9a9c18c14c24d91c2fb1ac022eb5fccb933ef
Author: Michael Schumacher <schumaml gmx de>
Date:   Fri Dec 4 23:36:59 2020 +0100

    gitlab-ci: create gdk-piuxbuf loaders.cache in prepare stage

 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 530c2b32a5..362d9ce993 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,11 @@ build-image-win64:
     # install GIMP dependencies with crossroad
     - echo "RUN echo 'export XDG_DATA_HOME=/usr/local/lib && crossroad source msys2 && crossroad install 
appstream-glib atk drmingw gexiv2 glib2 json-c ghostscript iso-codes libheif libmng libmypaint 
mypaint-brushes libwebp libwmf openexr ilmbase poppler poppler-data xpm-nox' | XDG_DATA_HOME=/usr/local/lib 
crossroad w64 gimp --run='-'" >> Dockerfile
 
+    # create gdk-pixbuf loaders.cache
+    - echo "RUN echo 'wine ${CROSSROAD_PREFIX}/bin/gdk-pixbuf-query-loaders.exe 
${CROSSROAD_PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.dll > 
${CROSSROAD_PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache' | XDG_DATA_HOME=/usr/local/lib crossroad w64 
gimp --run='-'" >> Dockerfile
+    - echo "RUN echo 'sed -i "s&$CROSSROAD_PREFIX/&&" 
${CROSSROAD_PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache' | XDG_DATA_HOME=/usr/local/lib crossroad w64 
gimp --run='-'" >> Dockerfile
+    - echo "RUN echo 'sed -i '/.dll\"/s*/*\\\\*g' 
${CROSSROAD_PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache' | XDG_DATA_HOME=/usr/local/lib crossroad w64 
gimp --run='-'" >> Dockerfile
+
     - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination 
$CI_REGISTRY_IMAGE:build-win64-latest --cache=true --cache-ttl=120h
 
 


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