Rodney Baker <rodney.baker@iinet.net.au> Mon, 06 Jan 2014 14:47:55 +0300:
On Mon, 6 Jan 2014 21:39:01 Rodney Baker wrote:
On Monday 06 January 2014 10:55:19 auxsvr@gmail.com wrote:
This would be the libqt4-devel package.
rpm -q --provides libqt4-devel yields qt-devel = 4.4.0. Is this a mistake? Should I branch and submit the corrected spec file? Which project?
Seems indeed an error in the spec-file, but that was never noticed as
On Mon, 6 Jan 2014 10:02:44 Raymond Wooninck wrote: that
openSUSE doesn't use qt-devel. All packages are using libqt4-devel instead which represents the correct version (4.8.4).
I will submit a change to KDE:Qt so that it gets into factory, but I don't think it is worth an update of 12.3
Regards
Raymond
I have libqt4-devel 4.8.5 installed - I had it installed before trying to build wireshark-qt - but the build still fails, probably because the wrong version is being detected.
If there is no fix for 12.3 it will mean that to upgrade to wireshark 1.11.x (or any future qt-based version) it will be necessary to build from source since the packaging will fail.
I was hoping to be able to build 1.11.2 in OBS (since there are no oS packages available from wireshark.org) if I could ever figure out how to write a spec file, although in this case since make rpm-package is supposed to work, maybe manually writing the spec file won't be necessary.
BTW, can anyone point me to a "spec file for dummies" type tutorial for writing rpm spec files? I've never been able to find one online.
Cheers, Rodney.
After a little judicious grepping I found where the BuildRequires line specifying qt-devel >= 4.6.0 was in the rpm spec file for wireshark 1.11.2 and modified it to look for libqt4-devel. It looks like it will now build an openSuSE rpm package. :-)
When I've tested it I'll submit a patch back to the wireshark devs for approval. Looks like it will need to be conditional because Fedora et al still use qt-devel. There are other distro-specific conditional statements in the spec file that I can use as a template so I should be able to figure it out.
Thanks for the tips that led me in the right direction.
Cheers, Rodney.
pkgconfig(QtGui) and so on can be used for croso-distro packaging. -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org