wireshark: Don't include config.h

While both Debian and Fedora include the header in their development
packages for Wireshark, that's not something that the upstream
developers intended and arguably quite wrong, as config.h is obviously
intended to only be used to drive the compilation of Wireshark itself.
The Arch Linux package behaves like the upstream Wireshark package, and
thus libvirt fails to build there.

It seems that there are multiple bugs to be addressed:

  * libvirt shouldn't include config.h;

  * Debian and Fedora shouldn't be shipping config.h in their Wireshark
    packages;

  * Wireshark should not use config.h defines such as HAVE_PLUGINS in
    its public headers, and define a public variant of them instead.

This patch takes care of the first one.

libvirt/libvirt#74
60 jobs for wireshark-no-configh in 32 minutes and 52 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Containers
passed #718770039
aarch64-debian-10-container

00:01:35

passed #718770054
aarch64-debian-sid-container

00:01:36

passed #718770040
armv6l-debian-10-container

00:01:38

passed #718770055
armv6l-debian-sid-container

00:02:05

passed #718770041
armv7l-debian-10-container

00:01:26

passed #718770057
armv7l-debian-sid-container

00:01:36

passed #718770043
i686-debian-10-container

00:02:05

passed #718770058
i686-debian-sid-container

00:01:31

passed #718770065
mingw32-fedora-rawhide-container

00:06:49

passed #718770067
mingw64-fedora-rawhide-container

00:07:23

passed #718770044
mips-debian-10-container

00:01:27

passed #718770046
mips64el-debian-10-container

00:01:30

passed #718770060
mips64el-debian-sid-container

00:01:33

passed #718770048
mipsel-debian-10-container

00:02:05

passed #718770061
mipsel-debian-sid-container

00:01:34

passed #718770050
ppc64le-debian-10-container

00:01:30

passed #718770063
ppc64le-debian-sid-container

00:01:34

passed #718770052
s390x-debian-10-container

00:05:54

passed #718770064
s390x-debian-sid-container

00:01:34

passed #718770026
x64-centos-7-container

00:02:05

passed #718770027
x64-centos-8-container

00:01:40

passed #718770028
x64-centos-stream-container

00:01:46

passed #718770029
x64-debian-10-container

00:01:29

passed #718770030
x64-debian-sid-container

00:02:05

passed #718770031
x64-fedora-31-container

00:01:38

passed #718770032
x64-fedora-32-container

00:01:34

passed #718770034
x64-fedora-rawhide-container

00:07:30

passed #718770035
x64-opensuse-151-container

00:19:05

passed #718770036
x64-ubuntu-1804-container

00:05:49

passed #718770038
x64-ubuntu-2004-container

00:05:35

 
  Builds
passed #718770097
aarch64-debian-10

00:11:10

passed #718770091
armv6l-debian-10

00:10:39

passed #718770092
armv7l-debian-10

00:11:45

passed #718770108
codestyle

00:02:21

passed #718770101
i686-debian-sid

00:11:47

passed #718770104
mingw32-fedora-rawhide

00:05:41

passed #718770105
mingw64-fedora-rawhide

00:08:23

passed #718770095
mips-debian-10

00:12:10

passed #718770093
mips64el-debian-10

00:12:29

passed #718770098
mipsel-debian-10

00:12:13

passed #718770102
ppc64le-debian-sid

00:13:15

passed #718770100
s390x-debian-sid

00:11:42

passed #718770106
website

00:02:26

passed #718770074
x64-centos-7

00:12:15

failed #718770075
x64-centos-8

00:10:34

failed #718770076
x64-centos-8-clang

00:10:38

failed #718770078
x64-centos-stream

00:09:11

failed #718770069
x64-debian-10

00:09:11

failed #718770071
x64-debian-10-clang

00:07:51

failed #718770072
x64-debian-sid

00:09:36

passed #718770079
x64-fedora-31

00:14:11

passed #718770080
x64-fedora-32

00:14:08

passed #718770082
x64-fedora-rawhide

00:16:19

passed #718770083
x64-fedora-rawhide-clang

00:14:19

passed #718770088
x64-freebsd-12-build

00:31:28

failed #718770089
x64-macos-1015-build

00:06:51

passed #718770084
x64-opensuse-151

00:13:44

failed #718770085
x64-ubuntu-1804

00:08:05

failed #718770087
x64-ubuntu-2004

00:09:20

 
  Sanity Checks
failed #718770109
check-dco

00:00:33

 
Name Stage Failure
failed
check-dco Sanity Checks

This can be achieved by passing the "-s" flag to the "git commit" command.

To bulk update all commits on current branch "git rebase" can be used:

git rebase -i master -x 'git commit --amend --no-edit -s'


ERROR: Job failed: exit code 1
failed
x64-ubuntu-2004 Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/local/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
x64-macos-1015-build Builds
[605/1005] Compiling C object 'tests/59830eb@@virdriverconnvalidatetest@exe/virdriverconnvalidatetest.c.o'
[606/1005] Compiling C object 'tests/59830eb@@eventtest@exe/eventtest.c.o'
[607/1005] Compiling C object 'tests/59830eb@@fdstreamtest@exe/fdstreamtest.c.o'
[608/1005] Compiling C object 'tests/59830eb@@cputest@exe/cputest.c.o'
[609/1005] Compiling C object 'src/conf/6d9256b@@virt_conf@sta/domain_conf.c.o'
ninja: build stopped: subcommand failed.

Build failed: https://cirrus-ci.com/build/5289521002577920
ERROR: Job failed: exit code 1
failed
x64-debian-10-clang Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/local/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
x64-debian-10 Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/local/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
x64-centos-stream Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/local/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
x64-debian-sid Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
x64-centos-8-clang Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/local/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
x64-centos-8 Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/local/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
x64-ubuntu-1804 Builds
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build libvirt.spec'
Running custom dist script '/builds/abologna/libvirt/scripts/meson-python.sh /usr/bin/python3 /builds/abologna/libvirt/scripts/meson-dist.py /builds/abologna/libvirt/build AUTHORS.rst'
Testing distribution package /builds/abologna/libvirt/build/meson-dist/libvirt-6.8.0.tar.xz
Compiling the distribution package failed
Dist check build directory was /builds/abologna/libvirt/build/meson-private/dist-build
FAILED: meson-dist
/usr/local/bin/meson dist
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1