incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject [CODE] Replace buildid by svn revision, and fix broken --with-build-version
Date Tue, 20 Dec 2011 21:20:48 GMT
Hi there,

the attached patches are an attempt to replace the build-id by the
subversion revision; and fix --with-build-version that didn't work.

The svn revision is set in configure (I guess this could have been done
somewhere in the perl installer code).
It supports both subversion and git-svn repositories. In case of plane 
sources without repo, the build-id is set to 0.
(Tested only with git-svn).

With the following configure switches

./configure   \
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
--enable-verbose \
--enable-category-b \

the About Dialog looks like:

You can try with this Win build:
On WinXP the BUILD_VER_STRING looks too small, may be the font size
should be increased.

Tests and comments/improvements are welcome :)

Ariel Constenla-Haile
La Plata, Argentina

View raw message