Hello,<br><br>  I have a patch for CMakeList.txt in kdelibs to solve my own wish (include the svn revision in the --version info)<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=162179" target="_blank">http://bugs.kde.org/show_bug.cgi?id=162179</a><br>

<br>--- CMakeLists.txt     2008-11-17 12:29:41.765625000 +0100                  <br>+++ CMakeLists.txt      2008-11-17 10:06:49.000000000 +0100                                 <br>@@ -8,9 +8,29 @@                                                                            <br>

                                                                                            <br>set (KDE_VERSION_MAJOR 4)                                                                  <br>set (KDE_VERSION_MINOR 1)                                                                  <br>

set (KDE_VERSION_RELEASE 73)                                                               <br> set (KDE_VERSION "${KDE_VERSION_MAJOR}.${KDE_VERSION_MINOR}.${KDE_VERSION_RELEASE}" )      <br>-set (KDE_VERSION_STRING "${KDE_VERSION} (KDE 4.1.73 (KDE 4.2 >= 20081112))")               <br>

+                                                                                           <br>+execute_process(COMMAND svn info --xml WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}                                                                                          <br>

+                             COMMAND grep -m 1 revision                           <br>+                             COMMAND cut -f 2 -d \"                               <br>+                             OUTPUT_VARIABLE SVN_REVISION )                                <br>

+if (SVN_REVISION)<br>+  string(STRIP ${SVN_REVISION} SVN_REVISION)<br>+  set(SVN_REVISION "r${SVN_REVISION}")<br>+else(SVN_REVISION)<br>+  set (SVN_REVISION "${KDE_VERSION}")<br>+endif(SVN_REVISION)<br>

+<br>+set (KDE_VERSION_STRING "${KDE_VERSION}  (${SVN_REVISION} (KDE 4.2 >= 20081112))")<br><br>With this patch, if the svn info is not available, the KDE_VERSION_STRING remains unaltered.<br><br>Can this still be applied in trunk or have to wait to 4.3?<br>
<br>Best Regards.<br>