Wireshark mailing list archives
Re: building a Gtk2 RPM (Was: QT_MIN_VERSION)
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Mon, 11 Aug 2014 11:58:22 -0400
On 08/08/14 12:14, Maynard, Chris wrote:
> -----Original Message----- > From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev- > bounces () wireshark org] On Behalf Of Michal Labedzki > Sent: Friday, August 08, 2014 1:46 AM > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] QT_MIN_VERSION > > I use "" instead of "styleName()" and everything seems to be ok. What about use > conditional define with QT version? > > However I vote for update to 4.8.0 I would prefer not to do this, if at all possible, until at least the end of the RHEL6 Production 1 Phase. _https://access.redhat.com/support/policy/updates/errata_ Currently we don't necessarily have any particular need or desire to deploy qtshark on these systems; however: 1) Others may want to?
Others will surely want to once 2.0 comes out (where Qt becomes the main/default interface) so +1 from me. (Anyway this was already fixed.)
2) I'm unable to create .rpm's using --without-qt. (or with both --without-gtk2 and --without-gtk3 for that matter, but that hasn’t been a problem since I just don’t bother installing the gnome rpm that’s generated.) RHEL6 doesn't have GTK3, so I’m forced to use, at a minimum, --with-gtk2, and of course change wireshark.spec.in as well: %bcond_with gtk2 %bcond_without gtk3 %bcond_without qt
When you're building from the source tree the RPM generation should follow your ./configure options. So:
% ./configure --with-gtk2 && make rpm-packageshould do the trick. It seems that some work is still needed to allow a no-GUI RPM build though (in r53607 I said it worked but it doesn't seem to now).
Note that the %bcond_with* macros are funny; they don't really do what you'd expect:
https://lists.fedoraproject.org/pipermail/devel/2011-December/160357.html ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- QT_MIN_VERSION Christopher Maynard (Aug 07)
- Re: QT_MIN_VERSION Michal Labedzki (Aug 07)
- Re: QT_MIN_VERSION Alexis La Goutte (Aug 07)
- Re: QT_MIN_VERSION Maynard, Chris (Aug 08)
- Re: QT_MIN_VERSION Alexis La Goutte (Aug 08)
- Re: building a Gtk2 RPM (Was: QT_MIN_VERSION) Jeff Morriss (Aug 11)
- Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION) Christopher Maynard (Aug 12)
- Re: building a Gtk2 RPM (Was: QT_MIN_VERSION) Jeff Morriss (Aug 12)
- Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION) Christopher Maynard (Aug 12)
- Re: building a Gtk2 RPM (Was: QT_MIN_VERSION) Joerg Mayer (Aug 13)
- Re: building a Gtk2 RPM (Was: QT_MIN_VERSION) Jeff Morriss (Aug 13)
- Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION) Christopher Maynard (Aug 13)
- Re: building a Gtk2 RPM (Was: QT_MIN_VERSION) Jeff Morriss (Aug 13)
- Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION) Christopher Maynard (Aug 13)
- Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION) Christopher Maynard (Aug 13)
- Re: ./autogen.sh needed in source tarball (Was: building a Gtk2 RPM (Was: QT_MIN_VERSION)) Jeff Morriss (Aug 13)
- Re: QT_MIN_VERSION Michal Labedzki (Aug 07)