[opensuse-kde] qt-devel package for 12.3?
Hi all. I've built the latest wireshark dev version (1.11.2) which is switching from gtk+ to qt. It successfully builds and runs (although the qt version is still lacking a little in functionality compared to the equivalent gtk version) but when running 'make rpm-package' it fails because "qt-devel >= 4.6.0 is required". I cannot find a package named qt-devel anywhere in the oS repositories (although that package does exist for Fedora). What is the equivalent package for openSuSE? Thanks, Rodney. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Hi Rodney, On Monday 06 January 2014 14:25:50 Rodney Baker wrote:
Hi all. I've built the latest wireshark dev version (1.11.2) which is switching from gtk+ to qt. It successfully builds and runs (although the qt version is still lacking a little in functionality compared to the equivalent gtk version) but when running 'make rpm-package' it fails because "qt-devel >= 4.6.0 is required".
I cannot find a package named qt-devel anywhere in the oS repositories (although that package does exist for Fedora).
What is the equivalent package for openSuSE?
This would be the libqt4-devel package. Regards Raymond -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Monday 06 of January 2014 09:46:03 Raymond Wooninck wrote:
I cannot find a package named qt-devel anywhere in the oS repositories (although that package does exist for Fedora).
What is the equivalent package for openSuSE?
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?
Regards
Raymond
Regards, Peter -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Monday 06 January 2014 10:55:19 auxsvr@gmail.com wrote:
What is the equivalent package for openSuSE?
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?
Why would this be a mistake ? Which version is libqt4-devel itself ? I am not sure with which Qt4 version 12.3 was shipped, but this could be 4.4 Regards Raymond -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Monday 06 of January 2014 09:59:58 Raymond Wooninck wrote:
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?
Why would this be a mistake ? Which version is libqt4-devel itself ? I am not sure with which Qt4 version 12.3 was shipped, but this could be 4.4
rpm -q libqt4-devel libqt4-devel-4.8.5-333.1 There are several places in the spec file that use 4.4.0 instead of 4.8.*, is this intentional?
Regards
Raymond
Regards, Peter -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Monday 06 January 2014 11:02:50 auxsvr@gmail.com wrote:
Why would this be a mistake ? Which version is libqt4-devel itself ? I am not sure with which Qt4 version 12.3 was shipped, but this could be 4.4
rpm -q libqt4-devel libqt4-devel-4.8.5-333.1
There are several places in the spec file that use 4.4.0 instead of 4.8.*, is this intentional?
I went through the spec-file further and noticed this too. It looks that in the past (before Qt 4.4) openSUSE used to call the packages qt and qt-devel. With version 4.4, they changed the name to libqt4 and libqt4-devel. In order to have the old packages replaced/obsoleted properly, the provides were inserted into the spec-file. So yes, those 4.4.0 versions are intentional, however they all could be removed as that I don't think we have any supported openSUSE version that still uses a Qt version lower than 4.4.0 Regards Raymond -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
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 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 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Mon, 6 Jan 2014 10:02:44 Raymond Wooninck 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 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. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Monday 06 January 2014 21:39:01 Rodney Baker wrote:
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.
Wireshark is already offered as an openSUSE package. It is even part of the official distribution. openSUSE 12.3 offers version 1.8.12, but the network:utilities repository offers 1.10.5 (which was updated about 17 days ago). I am sure that the 1.11.x versions will appear there sooner or later. Of course these will not be pushed to 12.3 as maintenance updates, but would be available if you add the network:utilities repository, which is also build for openSUSE 12.3
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
Maybe it would be good to do a so called BURP (Branch, Update, Request, the Package). More info on http://lizards.opensuse.org/2011/05/16/have-you-burped-yet-today/ Starting from the network:utilities repository, would provide you with a working 1.10.5 package for openSUSE (including spec-file, etc) and after you branch it you could update it to the latest 1.11.2 version and then submit it back to network:utilities. Regards Raymond -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Mon, 6 Jan 2014 21:39:01 Rodney Baker wrote:
On Mon, 6 Jan 2014 10:02:44 Raymond Wooninck 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 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. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
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
On Mon, 6 Jan 2014 22:17:55 Rodney Baker wrote: [...]
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.
Hah! After all that, downloaded the latest svn trunk version and the spec files are already fixed for openSuSE! Somebody beat me to it. They've also moved the build system from ./configure+make to cmake. Oh, well, at least I've learned something new. :-) Thanks for the tips, all who responded. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (4)
-
auxsvr@gmail.com
-
Dmitriy Perlow
-
Raymond Wooninck
-
Rodney Baker