Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 01/09/2013 02:54 PM, Michael Meeks wrote:
Why not just use some more normal, verbose and explicitly named macros
like LIBO_MAJOR_VERSION, LIBO_MINOR_VERSION, LIBO_MICRO_VERSION,
LIBO_PATCHLEVEL, or something similar?

        Go for it - it sounds like the libo-version thing is not currently
used; and if there is a nicer macro (I couldn't find it for some reason
- prolly I was looking on the compile line for a -D ;-), then we should
clearly use it.

Regarding version information, there is solver/*/inc/*minor.mk (make-level variables VERSIONMAJOR, VERSIONMINOR, etc.) and there is solenv/inc/version.hrc including versionlist.hrc (#defines for VERSION, SUBVERSION, etc.).

C++ code like desktop/source/deployment/misc/dp_dependencies.cxx uses utl::ConfigManager::getAboutBoxProductVersion, which in turn reads the /org.openoffice.Setup/Product/ configuration data.

(In case anything of that is useful or relevant for the current thread, which I didn't quite get.)

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.