[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    Re: [Wireshark-dev] Usage of make-version.pl
From:       Graham Bloice <graham.bloice () trihedral ! com>
Date:       2015-03-24 10:21:36
Message-ID: CALcKHKppDkxXGaQZF7PdzU8kgcqsHQ8Rgd1jUGXqD3mtj0m0kQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr">For Windows, the &quot;better&quot; way is to set an environment \
variable  WIRESHARK_VERSION_EXTRA.   I&#39;m trying to get away from folks having to \
make changes to config.nmake just to build.<div><br></div><div>See the Developers \
Guide section  2.2.9. Open a Visual Studio Command Prompt (<a \
href="https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupPrepar \
eCommandCom">https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupPrepareCommandCom</a>).</div><div><br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On 23 March 2015 at 17:38, Pascal \
Quantin <span dir="ltr">&lt;<a href="mailto:pascal.quantin@gmail.com" \
target="_blank">pascal.quantin@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div \
class="gmail_quote"><div><div class="h5">2015-03-23 17:49 GMT+01:00 Juan Jose Martin \
Carrascosa <span dir="ltr">&lt;<a href="mailto:juanjo@rti.com" \
target="_blank">juanjo@rti.com</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am \
building Wireshark for Windows, Linux and Mac. I have been reading and analyzing the \
<a href="http://make-version.pl" target="_blank">make-version.pl</a> script and I \
have found that I am not a perl expert: I have no idea about how to use \
version.conf.</div><div><br></div><div>Can anyone tell me what to put in version.conf \
and what arguments to use when calling <a href="http://make-version.pl" \
target="_blank">make-version.pl</a> if I want to add an extra version like \
&quot;-ABCD&quot;?</div><div><br></div><div>For instance, Wireshark 1.99.1-ABCD. \
Sorry for the newbie \
question!</div><br></div></blockquote><div><br></div></div></div><div>Hi Juanjo, \
<br><br></div><div>this is supported natively for Windows, you just need to edit \
config.nmake to set the VERSION_EXTRA variable.<br></div><div>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&#39;m more a Windows guy so autofoo is kind of magic for \
me) is to edit <a href="http://configure.ac" target="_blank">configure.ac</a> and put \
your string in the empty square brackets of the \
line:<br>m4_append([version_micro_extra], [])<br><br></div><div>Other might have a \
better answers ;)<br><br></div><div>Regards,<br></div><div>Pascal.<br></div></div></div></div>
 <br>___________________________________________________________________________<br>
Sent via:      Wireshark-dev mailing list &lt;<a \
                href="mailto:wireshark-dev@wireshark.org">wireshark-dev@wireshark.org</a>&gt;<br>
                
Archives:      <a href="https://www.wireshark.org/lists/wireshark-dev" \
                target="_blank">https://www.wireshark.org/lists/wireshark-dev</a><br>
Unsubscribe: <a href="https://wireshark.org/mailman/options/wireshark-dev" \
target="_blank">https://wireshark.org/mailman/options/wireshark-dev</a><br>  \
mailto:<a href="mailto:wireshark-dev-request@wireshark.org">wireshark-dev-request@wireshark.org</a>?subject=unsubscribe<br></blockquote></div><br><br \
clear="all"><div><br></div>-- <br><div class="gmail_signature"><div \
dir="ltr"><div>Graham Bloice<br></div><div><div>Software \
Developer</div><div>Trihedral UK Limited</div></div></div></div> </div>



___________________________________________________________________________
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic