Wireshark mailing list archives

Re: Usage of make-version.pl


From: Graham Bloice <graham.bloice () trihedral com>
Date: Tue, 24 Mar 2015 10:21:36 +0000

For Windows, the "better" way is to set an environment
variable WIRESHARK_VERSION_EXTRA.  I'm trying to get away from folks having
to make changes to config.nmake just to build.

See the Developers Guide section 2.2.9. Open a Visual Studio Command Prompt
(
https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupPrepareCommandCom
).


On 23 March 2015 at 17:38, Pascal Quantin <pascal.quantin () gmail com> wrote:

2015-03-23 17:49 GMT+01:00 Juan Jose Martin Carrascosa <juanjo () rti com>:

Hi all,

I am building Wireshark for Windows, Linux and Mac. I have been reading
and analyzing the make-version.pl script and I have found that I am not
a perl expert: I have no idea about how to use version.conf.

Can anyone tell me what to put in version.conf and what arguments to use
when calling make-version.pl if I want to add an extra version like
"-ABCD"?

For instance, Wireshark 1.99.1-ABCD. Sorry for the newbie question!


Hi Juanjo,

this is supported natively for Windows, you just need to edit config.nmake
to set the VERSION_EXTRA variable.
For Linux/Mac, this does not seem to be supported out of the box. What you
might try (but I have not verified this myself and I'm more a Windows guy
so autofoo is kind of magic for me) is to edit configure.ac and put your
string in the empty square brackets of the line:
m4_append([version_micro_extra], [])

Other might have a better answers ;)

Regards,
Pascal.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org
?subject=unsubscribe




-- 
Graham Bloice
Software Developer
Trihedral UK Limited
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: