When I am building trunc from source the splash screen and the start here page both show svn build rev0.
What file do I have to edit (or create) to get another build number displayed there?
I am compiling a copy of the source tree with the "C::B by C::B" method in Linux (would expect its not a Linux issue, however).
The src/include/autorevision.h is the file you want to hack.
Thanks for the pointer.
The raw sources do not have that file, only /src/include/autorevision.h.in. After changing that file without effect I found that somehow during compilation the file autorevision.h got generated. This had the excplicit "rev0" in there. I am rebuilding again to see if it works now.
For the revision to appear you must get the source using svn checkout, not using the zip.
Thanks for your help, now it worked.
So the procedure to solve "rev0" issues for builds in Linux is:
- comile the C::B workspace. This creates the file src/include/autorevision.h
- edit the file src/include/autorevision.h as follows, example for "rev12765". Do not include the file into the workspace
const unsinged int svn_revision = 0; //remove
const wxString svnRevision(_T"0")); //remove
const unsinged int svn_revision = 12765;
const wxString svnRevision(_T"12765")); - rebuild C:B workspace [/i]
- run update30 script to generate the start scripts. [/i]
Now the splash screen and start screen should read "rev 12765"
Quote from: Miguel Gimenez on April 07, 2022, 12:43:21 PM
For the revision to appear you must get the source using svn checkout, not using the zip.
I suspected that might be a reason for the issue.
The method above, however, has the big advantage to result in a lot smaller source folders. A bonus when you have to transfer them to different computers manually. Its good to have both options.