From d45d0bf91888ee9773dbf5743d121b5fc205bf76 Mon Sep 17 00:00:00 2001 From: tweenk Date: Tue, 13 Jan 2009 02:27:04 +0000 Subject: [PATCH] Improved version reporting. Add SVN revision and custom status to version string on Linux. --- build.xml | 24 +--- src/Makefile.am | 15 +-- src/Makefile_insert | 35 ++++-- src/debug/logger.cpp | 4 +- src/display/canvas-arena.cpp | 2 +- src/display/sp-canvas.cpp | 2 +- src/document.cpp | 4 +- src/extension/db.h | 1 + src/extension/extension.h | 3 +- src/extension/implementation/xslt.cpp | 2 + src/extension/internal/emf-win32-print.cpp | 4 +- src/extension/internal/javafx-out.cpp | 4 +- src/extension/internal/pov-out.cpp | 4 +- src/helper/unit-menu.cpp | 4 +- src/inkscape_version.h.mingw | 2 +- src/main.cpp | 6 +- src/preferences-skeleton.h | 8 +- src/sp-root.cpp | 4 +- src/trace/potrace/potracelib.cpp | 131 +++++++++++---------- src/ui/dialog/Makefile_insert | 2 - src/ui/dialog/aboutbox.cpp | 6 +- src/ui/dialog/print.cpp | 1 + src/widgets/sp-xmlview-attr-list.cpp | 2 +- src/xml/node-observer.h | 4 +- 24 files changed, 150 insertions(+), 124 deletions(-) diff --git a/build.xml b/build.xml index f16c1486c..486b771d4 100644 --- a/build.xml +++ b/build.xml @@ -97,8 +97,10 @@ - - #define INKSCAPE_VERSION "${version}, revision ${svn.revision}" + + namespace Inkscape { + gchar const *version_string = "${version} r${svn.revision}" + } #ifndef _CONFIG_H_ @@ -183,22 +185,6 @@ - - - - - - - - - - -