[gimp/wip/Jehan/gitlab-ci-win-32-bit: 13/19] build: patterns to bypass ghostscript version detection.




commit d8be13eca79925a86a2f6c3e3b90fb66373f4120
Author: Jehan <jehan girinstud io>
Date:   Tue May 11 12:06:50 2021 +0200

    build: patterns to bypass ghostscript version detection.
    
    Do not try to follow up on the installed ghostscript (otherwise we'll
    always have to fix as MSYS2 packages get updated). Instead, just install
    whatever is in the /share/ghostscript/ path (assuming there is data for
    a single version, which should be the case, especially on a resetted CI
    build) and excluding the /doc/ folder.

 build/windows/installer/gimp3264.iss | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index 3674af0a8e..1663f1daab 100755
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -291,8 +291,7 @@ Source: "{#DEPS_DIR32}\share\mypaint-data\*"; DestDir: "{app}\share\mypaint-data
 Source: "{#DEPS_DIR32}\etc\fonts\*"; DestDir: "{app}\etc\fonts"; Components: deps32 or deps64; Flags: 
recursesubdirs restartreplace uninsrestartdelete ignoreversion
 Source: "{#DEPS_DIR32}\etc\gtk-3.0\*"; DestDir: "{app}\etc\gtk-3.0"; Components: deps32 or deps64; Flags: 
recursesubdirs restartreplace uninsrestartdelete ignoreversion
 
-;ghostscript TODO: detect version automatically
-Source: "{#DEPS_DIR32}\share\ghostscript\9.50\lib\*.*"; DestDir: "{app}\share\ghostscript\9.50\lib"; 
Components: gs and (gimp32 or gimp64); Flags: recursesubdirs restartreplace uninsrestartdelete ignoreversion
+Source: "{#DEPS_DIR32}\share\ghostscript\*"; Excludes: "*\doc\*"; DestDir: "{app}\share\ghostscript"; 
Components: gs and (gimp32 or gimp64); Flags: recursesubdirs restartreplace uninsrestartdelete ignoreversion
 
 #ifdef PYTHON
 ;*.py files are the same on 32 and 64-bit


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