|
From: Bastiaan B. <Bas...@li...> - 2002-08-06 08:03:03
|
On Tue, 2002-08-06 at 08:27, David Resnick wrote: > There is a a description of the VERSIONINFO resource here: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/r > c_7x2d.asp > > The file version is in 4 separate entities in the binary format > (FILEVERSION). From the docs: Specifies the binary version number for > the file. The version consists of two 32-bit integers, defined by four > 16-bit integers. > Aarrggh. I'm already sorry I asked. This description page only leaves you with more questions: Why are there two FILEVERSION parameters? Why do you have to specify the first one as four 16-bit integers if they are 'two 32-bit integers'? What is the meaning of these integers? Are they used somewhere else (e.g. for version compatiblity checking)? What's the use of the second FILEVERSION parameter if you can get the file version from the first one already? The second parameter appears to want the version as a single string, like "0.3.2rc2". How are you supposed to map that to the four 16-bit integers? > Could you please explain to me in a couple of words how template strings > (like @PACKAGE_VERSION@) are replaced (what tools are used, a sample > command line for doing it, where the replacement values come from)? How > do I generate the doxygen config file for example? It's part of the GNU autoconf/automake tools: the template substitution if performed in the AC_OUTPUT m4 macro at the end of ./configure. I guess the easiest way of doing the same on MSWindows is tool install Cygwin, autoconf 2.5x and automake 1.6 and run configure yourself. BTW doing the template substitution would not be necessary to compile log4cpp from a dist tar ball, as it would already contain the filled in template. But Win32 developers working from CVS would have to generate the .rc file from the .rc.in file. > > I used this project's VERSIONINFO as a base for the values I put in > log4cpp: > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/dqsd/src/DQSDTools/D > QSDTools.rc?rev=1.24&content-type=text/vnd.viewcvs-markup > Ah, OK. I see the also have a 'ContributingAuthors' parameter. But from the Microsoft page I get the impression that adding your own parameter names is not allowed? > Sorry for dunking you in the doubly cold waters of lawyers and Microsoft > ;-). I take it as the ice cold plunge bath in the sauna: for a few seconds the temparature difference activates your body, but then you run for quickest way to get out of it :-) Cheers, Bastiaan > > Regards, > > David Resnick > MobileSpear Inc. > > -----Original Message----- > From: Bastiaan Bakker [mailto:bas...@li...] > Sent: Monday, August 05, 2002 23:43 > To: David Resnick > Cc: log...@li... > Subject: Re: [Log4cpp-devel] Version property sheet added to DLL > > > On Mon, 2002-08-05 at 08:45, David Resnick wrote: > > Hello, > > > > I've added a "version" property sheet to the DLL version of log4cpp. > > > > Bastiaan, please check the values in msvc6\log4cppDLL\log4cppDLL.rc. > > There are "legalese" type fields there that I filled in with what > > seemed to be correct values, but it is hard to tell... > > > > Indeed it is. Is a definition of it's file format available somewhere? > Does the file version need to be three separate intities? It would be > convienent to template the file with @PACKAGE_VERSION@ in order to keep > the version number up to date. Also it would be nice to put the > copyright holders somewhere, since LifeLine and me aren't the only ones. > Maybe it's easiest to refer to the > (informal) 'the Log4cpp Project', but I not familiar enough with this > "legalese" stuff to know whether that's OK. But I guess this can simply > be added to the "LegalCopyright" field? Anyway the LGPL is the > definitive copyright statement for log4cpp... > > Thanks, > > Bastiaan > > > > > Regards, > > > > David Resnick > > MobileSpear Inc. > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Log4cpp-devel mailing list Log...@li... > > https://lists.sourceforge.net/lists/listinfo/log4cpp-devel > > |