[scribus-dev] Is there a way to show the compiled build revision # for a dev build

Gregory Pittman gpittman at iglou.com
Tue Jun 3 01:49:19 UTC 2014


On 06/02/2014 06:49 PM, Kunda Loves Scribus wrote:
> On Tue, Jun 3, 2014 at 1:42 AM, Craig Bradney <cbradney at scribus.info 
> <mailto:cbradney at scribus.info>> wrote:
>
>
>
>
>
>     > On 3 Jun 2014, at 0:31, Craig Bradney <cbradney at zip.com.au
>     <mailto:cbradney at zip.com.au>> wrote:
>     >
>     > Hi
>     >
>     > I have added this capability tonight thanks to
>     >
>     http://stackoverflow.com/questions/3780667/use-cmake-to-get-build-time-svn-revision
>     >
>     > Test it and see. If it all breaks for you tomorrow.. just
>     comment out the new lines until I can fix.
>     > Works here ok.
>     >
>     >
>
>     @Jean : as you don't use CMake I guess just #ifndef the about code
>     out for Windoze builds. :)
>
>     Or you will have to write a script to pull in the svn version too.
>
>     Craig
>
> Craig,
> 1st, you are a rockstar!!
> 2nd, feedback: I compiled from r19172 on OS X 10.8.5
> Opened the About Scribus dialog and I see:
> https://www.dropbox.com/s/504gx6ny4x5p4ug/r19172-About-Scribus-screenshot.png
>
>
Worked Ok here on 19177 on Fedora 20.
One thing you have to realize is that this About Date is only 
periodically changed. It will not be the exact day you build, but 
whatever the date was set to when last changed. I think it's in about.cpp

Greg



More information about the scribus-dev mailing list