Revert "drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6 dissect_krb5_PAC_NDRHEADERBLOB"
[wireshark-sm.git] / tools / mingw-rpm-setup.sh
blob1d83d7f9e61b1728b589c9d53db041df787c956d
1 #!/bin/bash
2 # Setup development environment on Fedora Linux for MinGW-w64
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
8 # SPDX-License-Identifier: GPL-2.0-or-later
10 # We drag in tools that might not be needed by all users; it's easier
11 # that way.
14 function print_usage() {
15 printf "\\nUtility to setup a Fedora MinGW-w64 system for Wireshark development.\\n"
16 printf "The basic usage installs the needed software\\n\\n"
17 printf "Usage: %s [...other options...]\\n" "$0"
18 printf "\\t--install-all: install everything\\n"
19 printf "\\t[other]: other options are passed as-is to pacman\\n"
20 printf "\\tPass --noconfirm to bypass any \"are you sure?\" messages.\\n"
23 OPTIONS=
24 for arg; do
25 case $arg in
26 --help)
27 print_usage
28 exit 0
30 --install-all)
33 OPTIONS="$OPTIONS $arg"
35 esac
36 done
38 BASIC_LIST="mingw64-gcc \
39 mingw64-gcc-c++ \
40 mingw64-glib2 \
41 mingw64-libgcrypt \
42 mingw64-c-ares \
43 mingw64-qt6-qtbase \
44 mingw64-qt6-qt5compat \
45 mingw64-qt6-qtmultimedia \
46 mingw64-qt6-qttools \
47 mingw64-speexdsp \
48 mingw32-nsis \
49 mingw64-nsis \
50 mingw64-gnutls \
51 mingw64-brotli \
52 mingw64-minizip \
53 mingw64-opus \
54 mingw64-wpcap \
55 mingw64-libxml2 \
56 mingw64-libnghttp2 \
57 ninja-build \
58 flex \
59 lemon \
60 asciidoctor \
61 libxslt \
62 docbook-style-xsl \
63 ccache \
64 git \
65 patch \
66 cmake
67 cmake-rpm-macros"
69 ACTUAL_LIST=$BASIC_LIST
71 dnf install $ACTUAL_LIST $OPTIONS