config_host.mk.in | 1 - config_host/config_buildid.h.in | 10 ++++++++++ configure.ac | 3 ++- cui/Library_cui.mk | 1 - cui/source/dialogs/about.cxx | 1 + 5 files changed, 13 insertions(+), 3 deletions(-)
New commits: commit 28cc89aad16e8ea3c9eec7f45749c1cfaaf1d7af Author: Petr Mladek <pmla...@suse.cz> Date: Thu Aug 29 13:14:29 2013 +0200 make the tinderbox information more reliable in the about dialog (fdo#58034) Pass the information via config_host/config_buildid.h. Then cui/source/dialogs/about.cxx will get rebuilt also in the incremental build. Change-Id: I058cbe162e7015cbea6c71253c20db097477708f diff --git a/config_host.mk.in b/config_host.mk.in index 094f730..3b586af 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -387,7 +387,6 @@ export NUMBERTEXT_EXTENSION_PACK=@NUMBERTEXT_EXTENSION_PACK@ export nodep=@nodep@ @x_OBJCFLAGS@ export OBJCFLAGS=@OBJCFLAGS@ @x_OBJCXXFLAGS@ export OBJCXXFLAGS=@OBJCXXFLAGS@ -export EXTRA_BUILDID=@EXTRA_BUILDID@ export OBJDUMP=@OBJDUMP@ export ODFGEN_CFLAGS=$(gb_SPACE)@ODFGEN_CFLAGS@ export ODFGEN_LIBS=$(gb_SPACE)@ODFGEN_LIBS@ diff --git a/config_host/config_buildid.h.in b/config_host/config_buildid.h.in new file mode 100644 index 0000000..04f03b8 --- /dev/null +++ b/config_host/config_buildid.h.in @@ -0,0 +1,10 @@ +/* +Optional Build ID displayed in the about dialog +*/ + +#ifndef CONFIG_BUILDID_H +#define CONFIG_BUILDID_H + +#undef EXTRA_BUILDID + +#endif diff --git a/configure.ac b/configure.ac index bda7c01..8647bdd 100644 --- a/configure.ac +++ b/configure.ac @@ -12115,7 +12115,7 @@ if test -n "$with_extra_buildid" -a "$with_extra_buildid" != "yes" ; then else AC_MSG_RESULT([not set]) fi -AC_SUBST(EXTRA_BUILDID) +AC_DEFINE_UNQUOTED([EXTRA_BUILDID], ["$EXTRA_BUILDID"]) OOO_VENDOR= AC_MSG_CHECKING([for vendor]) @@ -12539,6 +12539,7 @@ if test -f config_host.mk; then fi AC_CONFIG_FILES([config_host.mk Makefile lo.xcent instsetoo_native/util/openoffice.lst]) +AC_CONFIG_HEADERS([config_host/config_buildid.h]) AC_CONFIG_HEADERS([config_host/config_clang.h]) AC_CONFIG_HEADERS([config_host/config_features.h]) AC_CONFIG_HEADERS([config_host/config_folders.h]) diff --git a/cui/Library_cui.mk b/cui/Library_cui.mk index aafede3..0a08baa 100644 --- a/cui/Library_cui.mk +++ b/cui/Library_cui.mk @@ -23,7 +23,6 @@ $(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_custom_headers,cui,\ diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index ee943f8..73fe04e 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -42,6 +42,7 @@ #include <sfx2/sfxuno.hxx> #include <sfx2/sfxcommands.h> #include "about.hxx" +#include <config_buildid.h> #include <sfx2/sfxdefs.hxx> #include <sfx2/app.hxx> #include <rtl/ustrbuf.hxx> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits