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




commit d45980750d978fec62ad7bde1b726e80523561c6
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 gets 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 5e2c0ff9b3..5e83d1c6ec 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]