summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2012-11-29 18:21:30 +0100
committerPetr Mladek <pmladek@suse.cz>2012-11-29 18:34:07 +0100
commit4497b12f586ed668bbe764ff526a13aa375b82cc (patch)
tree60410e82223e29566459ab5bb94893e48c224e0b /cui
parentc8fb25f22e07a82aac86d6edc2af5ea9a492664b (diff)
add --with-extra-buildid configure option
It can be used to show extra build indentification in the about dialog just under the version string. The plan is to show information about tinderboxes and make the life easier for QA guys. Change-Id: I4714a34cf13492c7bb92798b4b6d11385093f223
Diffstat (limited to 'cui')
-rw-r--r--cui/Library_cui.mk1
-rw-r--r--cui/source/dialogs/about.cxx5
2 files changed, 6 insertions, 0 deletions
diff --git a/cui/Library_cui.mk b/cui/Library_cui.mk
index 5c66e71eed8b..ec0c925c688e 100644
--- a/cui/Library_cui.mk
+++ b/cui/Library_cui.mk
@@ -39,6 +39,7 @@ $(eval $(call gb_Library_add_defs,cui,\
$(if $(filter TRUE,$(ENABLE_TDE)),-DENABLE_TDE) \
$(if $(filter TRUE,$(ENABLE_KDE)),-DENABLE_KDE) \
$(if $(filter TRUE,$(ENABLE_KDE4)),-DENABLE_KDE4) \
+ $(if $(EXTRA_BUILDID),-DEXTRA_BUILDID=\""$(EXTRA_BUILDID)"\") \
))
$(eval $(call gb_Library_use_sdk_api,cui))
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index 0e13ca9e6228..ddc3b46f0f61 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -402,6 +402,11 @@ rtl::OUString AboutDialog::GetVersionString()
sVersion += m_sBuildStr.replaceAll("$BUILDID", sBuildId);
}
+#ifdef EXTRA_BUILDID
+ sVersion += "\n";
+ sVersion += EXTRA_BUILDID;
+#endif
+
return sVersion;
}