Index: configure.in =================================================================== --- configure.in (révision 5453) +++ configure.in (révision 5455) @@ -45,11 +45,25 @@ if test "x$with_gnome_distributor" != x GNOME_DISTRIBUTOR=$with_gnome_distributor fi +AC_ARG_ENABLE([date-in-gnome-version], + [AS_HELP_STRING([--disable-date-in-gnome-version],[do not put the build date in gnome-version.xml])], + [],[enable_date_in_gnome_version=yes]) +if test "$enable_date_in_gnome_version" = "no"; then + GNOME_DATE= + GNOME_DATE_COMMENT_START="" +else + GNOME_DATE_COMMENT_START= + GNOME_DATE_COMMENT_END= +fi + AC_SUBST(GNOME_PLATFORM) AC_SUBST(GNOME_MINOR) AC_SUBST(GNOME_MICRO) AC_SUBST(GNOME_DISTRIBUTOR) AC_SUBST(GNOME_DATE) +AC_SUBST(GNOME_DATE_COMMENT_START) +AC_SUBST(GNOME_DATE_COMMENT_END) GNOME_COMMON_INIT GNOME_DEBUG_CHECK Index: ChangeLog =================================================================== --- ChangeLog (révision 5453) +++ ChangeLog (révision 5455) @@ -1,3 +1,18 @@ +2009-03-27 Vincent Untz + + * configure.in: + * gnome-version.xml.in.in: add a --disable-date-in-gnome-version + configure option to not put the build date in gnome-version.xml. The + build date is actually not that useful since it's not the build date + for all of GNOME, but for this specific package. So it can be + confusing. + +2009-03-26 Vincent Untz + + * gnome-about/gnome-about.in: make the code returning the content of + gnome-version.xml a bit more solid, so that we can handle a file + that doesn't contain the date, the distributor or the version. + 2009-03-16 Vincent Untz * configure.in: post-release bump to 2.26.1 Index: gnome-version.xml.in.in =================================================================== --- gnome-version.xml.in.in (révision 5453) +++ gnome-version.xml.in.in (révision 5455) @@ -4,7 +4,7 @@ @GNOME_MINOR@ @GNOME_MICRO@ @GNOME_DISTRIBUTOR@ - @GNOME_DATE@ + @GNOME_DATE_COMMENT_START@@GNOME_DATE@@GNOME_DATE_COMMENT_END@