<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">hi kunda,<br>
</div>
<blockquote
cite="mid:CAAt0FRgAzrtU9PkbpavDz9=paE965hSn7V=J-MD25JnAo=HCAQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><br>
the patch generates a VERSION_SVN constant that shows
the svn version at the time cmake has been run.<br>
<br>
but what you want, is the version at the time make is
run...<br>
(if, like me and most people, you are only running cmake
when make fails because of bigger stucture changes).<br>
<br>
my conclusion at that time: it might be possible to get
the information into scribus, but the effort to get to
it is imo way to high for the use of that information...<br>
<br>
ciao<span><font color="#888888"><br>
a.l.e</font></span></div>
</blockquote>
<div><br>
</div>
<div>Do we need to reinvent the wheel here? Are there other
projects out there that do something like this that we can
learn from ?</div>
<div><br>
</div>
<div>Or an ugly hack for now that we at compile time say
something like: echo "$sorcery_that_tells_us_revision#"
> .svn_revision.txt </div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
we don't need to reinvent the wheel at all :-)<br>
<br>
i based all my tries on exhisting hints and answers on the internet.<br>
<br>
and the general answer i found was: you cannot do it without going
for (very) dirty code.<br>
still, i did some tries to discover and try out the limits...<br>
<br>
<br>
all in all, if you provide a description for a working, clean and
non invasive solution, i'll be more than happy to produce working
c++ code for it!<br>
<br>
ciao<br>
a.l.e<br>
<br>
p.s.: the line you wrote above, supposes that the sorcery knows
where the repository is and that you can run the svn client from the
command line... not impossible, you can probably set them at cmake
time... but i haven't heard any project doing that :-)<br>
</body>
</html>