Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479736 - net-analyzer/wireshark-1.10.1-r1 (accidentally?) removes support for non-X installations
Summary: net-analyzer/wireshark-1.10.1-r1 (accidentally?) removes support for non-X in...
Status: RESOLVED DUPLICATE of bug 479692
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 18:22 UTC by Stuart Shelton
Modified: 2013-08-05 06:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2013-08-04 18:22:21 UTC
Up to wireshark-1.10.1, wireshark could be built with USE="-gtk" to avoid requiring any X11 dependancies and installing only 'tshark', the the command-line version of the tool.

However, wireshark-1.10.1-r1 uses the '^^' USE-flag operator which means that "gtk2" or "gtk3" or "qt" *must* be specified.

This appears to be an oversight, as there are still code-paths for having none of these options selected.

A single-line fix which still allows wireshark-1.10.1-r1/tshark to be built without X dependancies is to replace '^^' with '??':

--- /usr/portage/net-analyzer/wireshark/wireshark-1.10.1-r1.ebuild      2013-08-03 17:31:24.000000000 +0100
+++ wireshark-1.10.1-r1.ebuild  2013-08-04 18:31:07.538712479 +0100
@@ -18,7 +18,7 @@
        +netlink +pcap portaudio qt4 selinux smi ssl zlib
 "
 REQUIRED_USE="
-       ^^ ( gtk2 gtk3 qt4 )
+       ?? ( gtk2 gtk3 qt4 )
        ssl? ( crypt )
 "
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-08-05 06:12:20 UTC

*** This bug has been marked as a duplicate of bug 479692 ***