Apache OpenOffice (AOO) Bugzilla – Issue 17522
crashdump conditionals
Last modified: 2004-02-07 10:09:22 UTC
This patch stops the crashrep stuff being installed, when crashdump isn't enabled; --- scp/source/office/files.scp 17 Jul 2003 08:54:46 -0000 1.367 +++ scp/source/office/files.scp 28 Jul 2003 17:48:42 -0000 @@ -235,6 +235,8 @@ End #endif +#ifdef ENABLE_CRASHDUMP + #ifndef MACOSX // crashreporter files @@ -279,6 +281,8 @@ File GID_FILE_RES_CRASHDUMP End #endif #endif + +#endif /* ENABLE_CRASHDUMP */ // special files for migration for 5.2 to 6.0
crash dump is a vq speciality.
Well, up to now I didn't do anything with the installer. Martin or Kevin would be good to ask, but I'm sure ause can also approve in this area.
Kevin ?
I used something similar in the past because our build systems do not contain pkg-config thus crashrep can not be build. Currently even if you build without crashrep, your installation process wants to install its files and issues warning to user. This applies only to interactive installer. ./install --prefix=/tmp will fail.
mh->is: please take a look on this.
This is already fixed with bug #17635, which will be included in ooo11rc3. It was an error, that the crahsrep-files were still included into the files.scp. Instead I created before the new subdirectory scp/source/crashrep, where I defined the files crashrep_static.scp (with the crash_report_with_gtk.bin) and crashrep_dynamic.scp (with the other crashrep files from files.scp). files.scp will not contain any crashrep-files in the future. In scp/util/makefile.mk you can see, at which conditions the crashrep files are included in the OpenOffice.org product: .IF "$(ENABLE_CRASHDUMP)" != "" || "$(PRODUCT)" != "FULL" SCP1FILES += \ crashrep_dynamic.par .ENDIF .IF "$(GUI)"=="UNX" .IF "$(ENABLE_CRASHDUMP)" == "STATIC" || "$(PRODUCT)" != "FULL" SCP1FILES += \ crashrep_static.par .ENDIF .ENDIF Therefore this bug is obviously already fixed.
If everything works fine now, you can close this bug.
fixed in RC4; thanks.
mark as verified.
close issue.