[gimp] Installer: optional GIMP debug symbols inclusion
- From: Jernej Simončič <jernejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Installer: optional GIMP debug symbols inclusion
- Date: Fri, 4 May 2018 22:33:47 +0000 (UTC)
commit 2d3b8f67a8db391670bd12337f37d7767fe2f919
Author: Jernej Simončič <jernej|s-cccp eternallybored org>
Date: Sat May 5 00:32:46 2018 +0200
Installer: optional GIMP debug symbols inclusion
build/windows/installer/files.isi | 3 +++
build/windows/installer/gimp3264.iss | 8 ++++++--
build/windows/installer/lang/setup.isl.in | 2 ++
3 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/build/windows/installer/files.isi b/build/windows/installer/files.isi
index dd68fd1..10ce7a4 100644
--- a/build/windows/installer/files.isi
+++ b/build/windows/installer/files.isi
@@ -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
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index fbe91c6..f05508f 100755
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -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
diff --git a/build/windows/installer/lang/setup.isl.in b/build/windows/installer/lang/setup.isl.in
index a1902b7..42684e1 100644
--- a/build/windows/installer/lang/setup.isl.in
+++ b/build/windows/installer/lang/setup.isl.in
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]