[scribus] Build Version Ascertainable?

Gregory Pittman gpittman at iglou.com
Tue Nov 13 14:54:17 UTC 2012


On 11/13/2012 08:25 AM, John L. Poole wrote:
>   I'm not sure "svn info" is the way to go; instead the command
> "svnversion" seems appropriate.  So I'm playing around with adding a
> cmake MACRO to a modified version of FindSubversion that invokes
> svnversion.
> 
> Using the strategy of the stackoverflow topic above, I'm working on a
> method using cmake which invokes "svnversion" and creates a header file,
> svnversion.h, that may be used by about.h (I'm assuming in c++ headers
> may include other headers).  The header svnversion.h would create a
> variable SVNVERSION assigned the output from running the svnversion
> command.  The output of a svnversion command is terse, example:
> 
>    themis Scribus # svnversion
>    17871M
>    themis Scribus #
> 
>  And the additional benefit is that alphabetic characters will appear,
> such as the "M" above, if the Subversion tree has been modified or
> otherwise not complete.
> 

I think what you'll find, though, is the 17871 is misleading. Scribus
has only a single revision numbering for both 1.4.2svn and 1.5.0 svn, so
most likely this 17871 relates to 1.5.0svn. From svn info you can learn
that 1.4.2svn's last update was 17867, and you get the date of that
revision.

Greg



More information about the scribus mailing list