[gimp] build: add MyPaint brushes component to the Windows installer



commit 25db980d0180739daa31854f14e72d28af5e818b
Author: Ell <ell_se yahoo com>
Date:   Tue May 1 01:05:13 2018 -0400

    build: add MyPaint brushes component to the Windows installer
    
    In order to bundle the MyPaint brushes, GIMP needs to be configured
    with --enable-bundled-mypaint-brushes, and the brushes need to be
    present at $GIMP_DIR32\share\mypaint-data.

 build/windows/installer/gimp3264.iss |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index a311a46..799038e 100644
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -200,6 +200,8 @@ Name: wimp; Description: "{cm:ComponentsGtkWimp}"; Types: full custom; Flags: do
 
 Name: loc; Description: "{cm:ComponentsTranslations}"; Types: full custom
 
+Name: mypaint; Description: "{cm:ComponentsMyPaint}"; Types: full custom
+
 #ifdef PYTHON
 Name: py; Description: "{cm:ComponentsPython}"; Types: full custom; Check: Check3264('32')
 #endif
@@ -246,6 +248,10 @@ Source: "{#GIMP_DIR32}\share\poppler\*.*"; DestDir: "{app}\share\poppler"; Compo
 Source: "{#GIMP_DIR32}\share\locale\*"; DestDir: "{app}\share\locale"; Components: loc; Flags: 
recursesubdirs restartreplace uninsrestartdelete
 Source: "{#GIMP_DIR32}\share\locale\*"; DestDir: "{app}\share\locale"; Components: loc; Flags: 
recursesubdirs restartreplace uninsrestartdelete
 
+;configure gimp with --enable-bundled-mypaint-brushes for the correct path to
+;be picked by gimp
+Source: "{#GIMP_DIR32}\share\mypaint-data\*"; DestDir: "{app}\share\mypaint-data"; Components: mypaint; 
Flags: recursesubdirs restartreplace uninsrestartdelete
+
 Source: "{#GIMP_DIR32}\etc\fonts\*"; DestDir: "{app}\etc\fonts"; Components: gimp32 or gimp64; Flags: 
recursesubdirs restartreplace uninsrestartdelete
 Source: "{#GIMP_DIR32}\etc\gtk-2.0\*"; DestDir: "{app}\etc\gtk-2.0"; Excludes: gtkrc; Components: gimp32 or 
gimp64; Flags: recursesubdirs restartreplace uninsrestartdelete
 Source: "{#GIMP_DIR32}\etc\gtk-2.0\gtkrc"; DestDir: "{app}\etc\gtk-2.0"; Components: wimp; Flags: 
recursesubdirs restartreplace uninsrestartdelete
@@ -1021,7 +1027,7 @@ var i,j: Integer;
 begin
        DebugMsg('ComponentsListOnClick','');
 
-       Components := ['Gimp','Deps','GtkWimp','Translations','Python','Ghostscript','Gimp32','Compat'];
+       Components := 
['Gimp','Deps','GtkWimp','Translations','MyPaint','Python','Ghostscript','Gimp32','Compat'];
        ComponentDesc := '';
        
        for i := 0 to TNewCheckListBox(pSender).Items.Count - 1 do


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