Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 472992

Summary: net-analyzer/wireshark - add Qt support
Product: Gentoo Linux Reporter: Andrei Slavoiu <ansla80>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: wireshark-1.10.0.ebuild.patch

Description Andrei Slavoiu 2013-06-11 15:18:11 UTC
Since version 1.7 wireshark has an alternative GUI written in Qt that can be selected at compile time. The attached patch for the wireshark-1.10.0.ebuild adds a new qt4 USE flag that will do just this. I made the qt4 flag incompatible with the gtk one to make it clear that both can not be built at the same time. I tested the qt4 GUI and it's usable, a lot faster then the Gtk one but with a lot less features.

Reproducible: Always
Comment 1 Andrei Slavoiu 2013-06-11 15:19:36 UTC
Created attachment 350750 [details, diff]
wireshark-1.10.0.ebuild.patch
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-11 16:06:56 UTC
Looks good. I'm testing now. Also found that python support is deprecated. I'll probably commit an -r1.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-11 16:26:17 UTC
(In reply to Jeroen Roovers from comment #2)
> Also found that python support is deprecated.

./configure --with-python, that is:

configure: WARNING: unrecognized options: --with-python
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-11 23:28:26 UTC
Also, I guess I will set IUSE=+gtk, since the Qt UI is very different and doesn't seem to be as finished as the GTK+ UI. Given enough complaints I may reconsider that, naturally.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-11 23:42:25 UTC
Done. Thanks for the patch!
Comment 6 Andrei Slavoiu 2013-06-12 15:22:28 UTC
I just noticed the icons and desktop file are not installed for the Qt gui, I'll log a new bug for this.