diff options
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | CMakeOptions.txt | 2 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rwxr-xr-x | debian/rules | 1 | ||||
-rw-r--r-- | docbook/release-notes.asciidoc | 1 |
5 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 1a1f8ca59a..8c1ce4917d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,8 @@ compiler: env: - BUILD_CMAKE=no - BUILD_CMAKE=yes + - CMAKE_GTK_OPTS="-DBUILD_wireshark_gtk=ON" + - AUTOTOOLS_GTK_OPTS="--with-gtk=3" matrix: exclude: @@ -35,6 +37,6 @@ before_install: # - sudo apt-get -qq install qt5-default qttools5-dev qttools5-dev-tools - $CC --version before_script: - if [ ${BUILD_CMAKE} == "yes" ]; then mkdir build && cd build && cmake ..; else ./autogen.sh && ./configure ; fi + if [ ${BUILD_CMAKE} == "yes" ]; then mkdir build && cd build && cmake ${CMAKE_GTK_OPTS} ..; else ./autogen.sh && ./configure ${AUTOTOOLS_GTK_OPTS} ; fi script: - make diff --git a/CMakeOptions.txt b/CMakeOptions.txt index 00351ed49c..f1aacd098f 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -1,7 +1,7 @@ # Build options for use by CMake option(BUILD_wireshark "Build Wireshark" ON) -option(BUILD_wireshark_gtk "Build Wireshark (GTK+ UI)" ON) +option(BUILD_wireshark_gtk "Build Wireshark (GTK+ UI)" OFF) option(BUILD_tshark "Build tshark" ON) option(BUILD_tfshark "Build tfshark" ON) option(BUILD_rawshark "Build rawshark" ON) diff --git a/configure.ac b/configure.ac index 378477a1de..5a0cede700 100644 --- a/configure.ac +++ b/configure.ac @@ -256,14 +256,14 @@ AC_ARG_WITH([qt], AC_ARG_WITH([gtk], AC_HELP_STRING( [--with-gtk=@<:@yes/no/2/3@:>@], - [use GTK+ @<:@default=yes, if available@:>@]), + [use GTK+ @<:@default=no@:>@]), AS_CASE([$withval], [yes], [with_gtk="3 2 fail"], [no], [with_gtk="no"], [3], [with_gtk="3 fail3"], [2], [with_gtk="2 fail2"], [AC_MSG_ERROR([--with-gtk must be one of yes/no/2/3])]), - with_gtk="3 2") + with_gtk="no") # GnuTLS # Version 3.0 switched from LGPLv2.1+ to LGPLv3+, then switched back to diff --git a/debian/rules b/debian/rules index b2dadddd35..baf321c715 100755 --- a/debian/rules +++ b/debian/rules @@ -28,6 +28,7 @@ export docdir = /usr/share/doc/wireshark-doc override_dh_auto_configure: dh_auto_configure -- -DENABLE_HTML_GUIDES=ON -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \ + -DBUILD_wireshark_gtk=ON \ # -DENABLE_QT5=OFF override_dh_auto_build: diff --git a/docbook/release-notes.asciidoc b/docbook/release-notes.asciidoc index 9bd215816f..a9594fb84f 100644 --- a/docbook/release-notes.asciidoc +++ b/docbook/release-notes.asciidoc @@ -32,6 +32,7 @@ since version 2.2.0: That is, you should make sure the NSIS package is completely uninstalled before installing the Windows Installer package and vice-versa. * Source packages are now compressed using xz instead of bzip2. +* GTK+ is disabled by default in Autotools and CMake. //=== Removed Dissectors |