Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/9] wireshark: enable GUI options
Date: Wed, 2 Dec 2015 19:21:24 -0300	[thread overview]
Message-ID: <565F6EE4.4020201@zacarias.com.ar> (raw)
In-Reply-To: <20151202215508.GI5773@free.fr>

On 02/12/15 18:55, Yann E. MORIN wrote:


> And add this variable, too:
>
>      WIRESHARK_HAS_GUI = NO
...
>> +# Qt4 needs accessibility, we don't support it
>> +ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y)
>> +WIRESHARK_CONF_OPTS += --with-qt=5
>> +WIRESHARK_DEPENDENCIES += qt5base
>> +# Seems it expects wrappers and passes a -qt=X parameter for version
>> +WIRESHARK_MAKE_OPTS += \
>> +	MOC="$(HOST_DIR)/usr/bin/moc" \
>> +	RCC="$(HOST_DIR)/usr/bin/rcc" \
>> +	UIC="$(HOST_DIR)/usr/bin/uic"
>> +else
>> +WIRESHARK_CONF_OPTS += --with-qt=no
>
> Ditto.
>
>> +endif
>> +
>> +# No GUI at all
>> +ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_LIBGTK3)$(BR2_PACKAGE_QT5BASE_WIDGETS),)
>
> And then change that condition to:
>
>      ifeq ($(WIRESHARK_HAS_GUI),NO)
>
> which is simpler to manage should there be other toolkit we can use in
> the future.

Hi.
Well, only one gtk and/or qt variant can be built at the same time, and 
i don't expect any other major toolkit to show up in the near future.
I think it can be adjusted in the future if that's the case, but right 
now that's only cosmetic.
If someone fails to specify --disable-wireshark the wireshark 
buildsystem will balk anyway since it's default on and won't detect any 
usable toolkit.
Regards.

  reply	other threads:[~2015-12-02 22:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 20:48 [Buildroot] [PATCH 1/9] wireshark: forcibly disable lua Gustavo Zacarias
2015-12-02 20:48 ` [Buildroot] [PATCH 2/9] wireshark: needs host-pkgconf Gustavo Zacarias
2015-12-02 20:58   ` Yann E. MORIN
2015-12-02 20:48 ` [Buildroot] [PATCH 3/9] wireshark: enable GUI options Gustavo Zacarias
2015-12-02 21:55   ` Yann E. MORIN
2015-12-02 22:21     ` Gustavo Zacarias [this message]
2015-12-02 20:48 ` [Buildroot] [PATCH 4/9] wireshark: add optional libnl suport Gustavo Zacarias
2015-12-02 21:02   ` Yann E. MORIN
2015-12-02 20:48 ` [Buildroot] [PATCH 5/9] wireshark: add optional c-ares support Gustavo Zacarias
2015-12-02 21:08   ` Yann E. MORIN
2015-12-02 20:48 ` [Buildroot] [PATCH 6/9] wireshark: gcrypt support is optional Gustavo Zacarias
2015-12-02 21:38   ` Yann E. MORIN
2015-12-02 20:48 ` [Buildroot] [PATCH 7/9] wireshark: add optional gnutls support Gustavo Zacarias
2015-12-02 21:43   ` Yann E. MORIN
2015-12-02 20:48 ` [Buildroot] [PATCH 8/9] wireshark: add optional geoip support Gustavo Zacarias
2015-12-02 21:52   ` Yann E. MORIN
2015-12-02 22:17     ` Gustavo Zacarias
2015-12-02 20:48 ` [Buildroot] [PATCH 9/9] wireshark: add optional sbc support Gustavo Zacarias
2015-12-02 20:56   ` Baruch Siach
2015-12-02 20:59     ` Gustavo Zacarias
2015-12-02 21:11       ` Yann E. MORIN
2015-12-16 22:50   ` Thomas Petazzoni
2015-12-02 20:57 ` [Buildroot] [PATCH 1/9] wireshark: forcibly disable lua Yann E. MORIN
2015-12-02 21:02   ` Gustavo Zacarias
2015-12-03 21:39 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=565F6EE4.4020201@zacarias.com.ar \
    --to=gustavo@zacarias.com.ar \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox