aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-02-05 11:15:39 -0800
committerGerald Combs <gerald@wireshark.org>2020-02-11 01:43:33 +0000
commit937c7c512ab5bcb4d70e48760a11af825742effa (patch)
treea5a5d1c4c978476b2fe3b967f97c600d930d1bf7 /debian
parent76462953a9079c886e37a0dabebfbeaf04776feb (diff)
Debian+RPM: Require QtSVG.
Although we don't depend on any of Qt's SVG classes directly, we do use SVG icons in Preferences → Appearance → Language and QIcon loads its SVG engine dynamically. If it's not present Wireshark will still run, but the user won't see any flag icons. Require QtSVG in the Debian and RPM packaging. It's not that large (~ 400k here on Ubuntu 18.04) and ensures that we have a uniform user experience across platforms. In this particular case, if the user experience happens to be "Wireshark's UI is in a language I don't understand" the little flags can come in handy. Change-Id: If3c2e8a6040967353dbc462ee475ef12514b25f9 Reviewed-on: https://code.wireshark.org/review/36037 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/control5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 4541abb0ec..80de18e0c6 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Balint Reczey <rbalint@ubuntu.com>
Standards-Version: 3.9.8
Build-Depends:
qtbase5-dev, qtbase5-dev-tools, qttools5-dev, qttools5-dev-tools,
- qtmultimedia5-dev, libqt5svg5-dev,
+ qtmultimedia5-dev,
libpcap0.8-dev, flex, libz-dev, debhelper (>= 9), po-debconf,
python3, python3-ply, libc-ares-dev, xsltproc, dh-python,
docbook-xsl (>= 1.64.1.0-0), docbook-xml, libxml2-utils, libpcre3-dev,
@@ -58,7 +58,8 @@ Description: network traffic analyzer - meta-package
Package: wireshark-qt
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, wireshark-common (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, wireshark-common (= ${binary:Version}),
+ libqt5svg5
Recommends: libqt5multimedia5-plugins
Replaces: ethereal (<< 1.0.0-3), wireshark (<< 2.0.0~), wireshark-gtk (<< 3.0.0~)
Breaks: ethereal (<< 1.0.0-3), wireshark (<< 2.0.0~), wireshark-gtk (<< 3.0.0~)