[gimp] build: patterns to bypass ghostscript version detection.



commit 3d50cb339c3da89c56c62ac4cb83f0d33284cf5b
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]