Commit 2d3b8f67 authored by Jernej Simončič's avatar Jernej Simončič

Installer: optional GIMP debug symbols inclusion

parent 7e3fa0c8
......@@ -14,6 +14,9 @@
Source: "{#GIMP_DIR}\{#DIR}\*.dll"; DestDir: "{app}"; Components: gimp{#PLATFORM}; Flags: recursesubdirs restartreplace replacesameversion uninsrestartdelete
Source: "{#GIMP_DIR}\{#DIR}\*.exe"; DestDir: "{app}"; Excludes: "\lib\gimp\2.0\plug-ins\twain.exe,\lib\gimp\2.0\plug-ins\file-ps.exe,\lib\gimp\2.0\plug-ins\file-mng.exe,\bin\gimp.exe,\bin\gimp-console.exe"; Components: gimp{#PLATFORM}; Flags: recursesubdirs restartreplace replacesameversion uninsrestartdelete
#ifdef DEBUG_SYMBOLS
Source: "{#GIMP_DIR}\{#DIR}\*.debug"; DestDir: "{app}"; Components: gimp{#PLATFORM} and debug; Flags: recursesubdirs restartreplace uninsrestartdelete
#endif
Source: "{#GIMP_DIR}\{#DIR}\lib\gimp\2.0\plug-ins\file-ps.exe"; DestDir: "{app}\lib\gimp\2.0\plug-ins"; Components: gs and gimp{#PLATFORM}; Flags: restartreplace replacesameversion uninsrestartdelete
......
......@@ -200,6 +200,10 @@ Name: deps32\compat; Description: "{cm:ComponentsCompat}"; Types: full custom; F
Name: deps64; Description: "{cm:ComponentsDeps,{#GTK_VERSION}}"; Types: full compact custom; Flags: checkablealone fixed; Check: Check3264('64')
Name: deps64\wimp; Description: "{cm:ComponentsGtkWimp}"; Types: full custom; Flags: dontinheritcheck disablenouninstallwarning; Check: Check3264('64')
#ifdef DEBUG_SYMBOLS
Name: debug; Description: "{cm:ComponentsDebug}"; Types: custom
#endif
Name: gs; Description: "{cm:ComponentsGhostscript}"; Types: full custom
Name: loc; Description: "{cm:ComponentsTranslations}"; Types: full custom
......@@ -285,7 +289,7 @@ Source: "{#GIMP_DIR32}\lib\gimp\2.0\plug-ins\twain.exe"; DestDir: "{app}\lib\gim
;python scripts
#ifdef PYTHON
Source: "{#GIMP_DIR32}\lib\gimp\2.0\plug-ins\*.py"; DestDir: "{app}\lib\gimp\2.0\plug-ins"; Components: py; Flags: recursesubdirs restartreplace uninsrestartdelete
Source: "{#GIMP_DIR32}\lib\gimp\2.0\python\*.p*"; DestDir: "{app}\lib\gimp\2.0\python"; Components: py; Flags: recursesubdirs restartreplace uninsrestartdelete
Source: "{#GIMP_DIR32}\lib\gimp\2.0\python\*.p*"; Excludes: "*.debug"; DestDir: "{app}\lib\gimp\2.0\python"; Components: py; Flags: recursesubdirs restartreplace uninsrestartdelete
#endif
;64bit
......@@ -1053,7 +1057,7 @@ var i,j: Integer;
begin
DebugMsg('ComponentsListOnClick','');
Components := ['Gimp','Deps','GtkWimp','Translations','MyPaint','Python','Ghostscript','Gimp32','Compat'];
Components := ['Gimp','Deps','Debug','GtkWimp','Translations','MyPaint','Python','Ghostscript','Gimp32','Compat'];
ComponentDesc := '';
for i := 0 to TNewCheckListBox(pSender).Items.Count - 1 do
......
......@@ -38,6 +38,8 @@ _ComponentsGimp=GIMP
_ComponentsGimpDescription=GIMP and all default plug-ins
_ComponentsDeps=Run-time libraries
_ComponentsDepsDescription=Run-time libraries used by GIMP, including GTK+ Run-time Environment
_ComponentsDebug=Debug symbols
_ComponentsDebugDescription=Include information to help with debugging GIMP
_ComponentsGtkWimp=MS-Windows engine for GTK+
_ComponentsGtkWimpDescription=Native Windows look for GIMP
_ComponentsCompat=Support for old plug-ins
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment