WSDG: Update some winget notes.

Start tracking winget package support in comments in the Windows quick
setup section.
This commit is contained in:
Gerald Combs 2022-01-08 13:21:41 -08:00 committed by A Wireshark GitLab Utility
parent 21833071dc
commit bf7f6c19d5
2 changed files with 22 additions and 4 deletions

View File

@ -189,7 +189,8 @@ _wireshark-dev_ mailing list explaining your problem. Include the output from
`make` stage.
[[ChSetupWin32]]
// Retain ChSetupWin32 for backward compatibility
[[ChSetupWindows]]
=== Windows: Step-by-Step Guide
A quick setup guide for Windows development with recommended configurations.
@ -251,6 +252,9 @@ Note that this includes CMake.
PS$> choco install -y visualstudio2019community visualstudio2019-workload-nativedesktop
----
// winget has basic VS 2022 and 2019 packages, but no native desktop workload packages.
// https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Microsoft/VisualStudio
You can use other Microsoft C compiler variants, but VS2019 is used to
build the development releases and is the preferred option. Its
possible to compile Wireshark with a wide range of Microsoft C compiler
@ -312,6 +316,9 @@ PS$> choco install -y python3
// https://community.chocolatey.org/packages/python3/#discussion
Chocolatey will likely install Python in one of the locations above, or possibly in _C:\Tools\Python3_.
// winget has Python 3 packages.
// https://github.com/microsoft/winget-pkgs/tree/master/manifests/p/Python/Python/3
==== Install Perl
Get a Perl installer from http://strawberryperl.com/ or
@ -325,6 +332,9 @@ PS$> choco install -y strawberryperl
PS$> choco install -y activeperl
----
// winget has StrawberryPerl.
// https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/StrawberryPerl/StrawberryPerl
[[ChSetupGit]]
==== Install Git
@ -370,6 +380,9 @@ The command line client can be installed (and updated) using Chocolatey:
PS$> choco install -y git
----
// winget has git.
// https://github.com/microsoft/winget-pkgs/tree/master/manifests/g/Git/Git
===== Others
A list of other GUI interfaces for Git can be found at
@ -392,6 +405,9 @@ Alternatively you can install it using Chocolatey:
PS$> choco install -y cmake
----
// winget has CMake.
// https://github.com/microsoft/winget-pkgs/tree/master/manifests/k/Kitware/CMake
Chocolatey ensures cmake.exe is on your path.
[[ChSetupAsciidoctor]]
@ -415,6 +431,8 @@ PS$> choco install -y asciidoctorj xsltproc docbook-bundle
Chocolatey ensures that asciidoctorj.exe and xsltproc.exe is on your
path and that xsltproc uses the DocBook catalog.
// winget has no Asciidoctor, xsltproc, or DocBook packages.
==== Install winflexbison
Get the winFlexBison installer from https://sourceforge.net/projects/winflexbison/
@ -429,6 +447,8 @@ PS$> choco install -y winflexbison3
Chocolatey ensures win_flex.exe is on your path.
// winget has no bison package.
==== Install and Prepare Sources
[TIP]
@ -439,8 +459,6 @@ you start hacking the Wireshark sources for your own project. This example uses
Git Extensions but any other Git client should work as well.
====
// XXX -
*Download sources* Download Wireshark sources into
_C:\Development\wireshark_ using either the command line or Git Extensions:

View File

@ -71,7 +71,7 @@ behavior you'll probably want to install Python using the packages from
python.org.
Other package managers for Windows include the https://docs.microsoft.com/en-us/windows/package-manager/[Windows Package Manager (winget)] and https://scoop.sh/[Scoop].
As of May 2020 neither option provides all of the packages we require, but that might change in the future.
As of January 2022 neither option provides all of the packages we require, but that might change in the future.
[[ChToolsCMake]]