incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <arie...@apache.org>
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:

http://people.apache.org/~arielch/images/AboutDlg.png

You can try with this Win build:

http://people.apache.org/~arielch/packages/OOo-Dev_OOO340m1_Win_x86_install-arc_en-US.zip
On WinXP the BUILD_VER_STRING looks too small, may be the font size
should be increased.

Tests and comments/improvements are welcome :)


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Mime
View raw message