Re: [PATCH] Add revision info to the about box.

2006-04-10 Thread Andre Poenitz
On Sun, Apr 09, 2006 at 08:12:26AM -0500, Bo Peng wrote: > > I don't think this will work in a srcdir != builddir scenario. > > Do we really need to care about this scenario? In general? Sure. How do you work with multiple configurations? Andre'

Re: [PATCH] Add revision info to the about box.

2006-04-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> I think it would be ok to do as gcc does: have a cronjob | Lars> updating a "version" file every night. | | But this will be a new revision by itself, won't it? Yes. --

Re: [PATCH] Add revision info to the about box.

2006-04-10 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | > "Bo Peng" <[EMAIL PROTECTED]> writes: | > | > | > | My version of svnversion requires a path anyway. The attached patch | > | > | works for me perfectly with srcdir != builddir,and it forces | > | > | recreation of the ve

Re: [PATCH] Add revision info to the about box.

2006-04-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I think it would be ok to do as gcc does: have a cronjob Lars> updating a "version" file every night. But this will be a new revision by itself, won't it? JMarc

Re: [PATCH] Add revision info to the about box.

2006-04-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Ok, how. Released packages are (at least by me) created from an | Lars> export dir. | | I don't use export, but I should. I'll try that for 1.4.1. | | I'd like to get rid

Re: [PATCH] Add revision info to the about box.

2006-04-10 Thread Georg Baum
Lars Gullik Bjønnes wrote: > "Bo Peng" <[EMAIL PROTECTED]> writes: > > | > | My version of svnversion requires a path anyway. The attached patch > | > | works for me perfectly with srcdir != builddir,and it forces > | > | recreation of the version info for every build. > | > | This is good, and

Re: [PATCH] Add revision info to the about box.

2006-04-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Ok, how. Released packages are (at least by me) created from an Lars> export dir. I don't use export, but I should. I'll try that for 1.4.1. I'd like to get rid of date in version (who needs that). It would be nice to have svn

Re: [PATCH] Add revision info to the about box.

2006-04-09 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > | My version of svnversion requires a path anyway. The attached patch works | > | for me perfectly with srcdir != builddir,and it forces recreation of the | > | version info for every build. | | This is good, and is the expected behavior. (update, modify,

Re: [PATCH] Add revision info to the about box.

2006-04-09 Thread Bo Peng
> | My version of svnversion requires a path anyway. The attached patch works > | for me perfectly with srcdir != builddir,and it forces recreation of the > | version info for every build. This is good, and is the expected behavior. (update, modify, compile, update, compile. get new revision numbe

Re: [PATCH] Add revision info to the about box.

2006-04-09 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Sonntag, 9. April 2006 15:12 schrieb Bo Peng: | > > | stamp-version: version.C-tmp | > > | + sed -i 's/lyx_revision = .*/lyx_revision = "'`svnversion | -n`'";/' $< | > > | if cmp -s $< version.C ; then \ | > > | : ;\ | > > |

Re: [PATCH] Add revision info to the about box.

2006-04-09 Thread Georg Baum
Am Sonntag, 9. April 2006 15:12 schrieb Bo Peng: > > | stamp-version: version.C-tmp > > | + sed -i 's/lyx_revision = .*/lyx_revision = "'`svnversion -n`'";/' $< > > | if cmp -s $< version.C ; then \ > > | : ;\ > > | else \ > > > > I don't think this will work in a sr

Re: [PATCH] Add revision info to the about box.

2006-04-09 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > You are of course aware of svnversion beging a really heavy command | > (as in time consuming) | | There is no workaround here but it is also helpful to put revision | number in the about box. | | > Also you have to add it to "lyx --version" | | Wil

Re: [PATCH] Add revision info to the about box.

2006-04-09 Thread Bo Peng
> You are of course aware of svnversion beging a really heavy command > (as in time consuming) There is no workaround here but it is also helpful to put revision number in the about box. > Also you have to add it to "lyx --version" Will do. > | stamp-version: version.C-tmp > | + sed -i

Re: [PATCH] Add revision info to the about box.

2006-04-09 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | In the meantime, for your amusement, attached is a small patch that | adds lyx revision number to the about box. This is a quick hack and I | have not though about the whole autogen/make/portability stuff. Play | with it if you can, and tell me if it works

[PATCH] Add revision info to the about box.

2006-04-08 Thread Bo Peng
Dear all, 686 has driven me nuts! I may submit a very simple patch, instead of trying to fix the whole del/bs scenario. In the meantime, for your amusement, attached is a small patch that adds lyx revision number to the about box. This is a quick hack and I have not though about the whole autogen