Re: Help with libquazip / Qt4-Qt5
>> Ok. How can I manage this? Is it possible inside one unique source >> package? Debhelper does only have a qmake_qt4 buildsystem. > > I don't think dh(1) supports two build sets, so you will have to do it > manually. I succeeded in creating a dual build Qt4/Qt5 and now I get packages for both Qt versions. Last question (just a confirmation) about the package naming. As the default Qt version is Qt4, should I name the Qt4 packages libquazip1-qt4 or just libquazip1? I currenlty choose libquazip1. Here are the files created by pbuilder: libquazip_0.6.2-1_amd64.changes libquazip_0.6.2-1.debian.tar.gz libquazip_0.6.2-1.debian.tar.xz libquazip_0.6.2-1.dsc libquazip_0.6.2.orig.tar.gz libquazip1_0.6.2-1_amd64.deb libquazip1-dbg_0.6.2-1_amd64.deb libquazip1-dev_0.6.2-1_amd64.deb libquazip1-headers_0.6.2-1_all.deb libquazip1-qt5_0.6.2-1_amd64.deb libquazip1-qt5-dbg_0.6.2-1_amd64.deb libquazip1-qt5-dev_0.6.2-1_amd64.deb libquazip-doc_0.6.2-1_all.deb Thanks for your confirmation Eric, Debian Med signature.asc Description: OpenPGP digital signature
Re: Help with libquazip / Qt4-Qt5
Hi Mentors, I've updated the libquazip package so that it builds a dual qt version of the library: Qt4 and Qt5. I still have to include the -dbg package may be using override_dh_strip (it's in progress). The source package builds without any error with a debian sid pbuilder base (pbuilder --distribution sid). For mentors who are interested, can you review the code please. http://anonscm.debian.org/viewvc/debian-med/trunk/packages/libquazip/trunk/debian Thanks Eric, Debian Med signature.asc Description: OpenPGP digital signature
Re: Help with libquazip / Qt4-Qt5
Hi, On 14/07/14 15:07, Eric Maeker wrote: >>> Please, Mentors, help me with these unlying questions. >>> - should libquazip be build inside debian using Qt5 and/or Qt4? >> >> Both. for now. > > Ok. How can I manage this? Is it possible inside one unique source > package? Debhelper does only have a qmake_qt4 buildsystem. > > Or should I create a duplicate of the current libquazip(-qt4) renamed as > libquazip-qt5? This will lead to a double source packaging. > I don't if this is necessarily exactly what your after but the idea seems similar to what your trying to do... the package gtk-vnc [1], builds against both gtk2 and gtk3, using the rules file at [2]. Hopefully, this might give you some pointers! Regards Daniel [1] https://tracker.debian.org/pkg/gtk-vnc [2] https://tracker.debian.org/media/packages/g/gtk-vnc/rules-0.5.3-1 signature.asc Description: OpenPGP digital signature
Re: Help with libquazip / Qt4-Qt5
On 2014-07-14, Eric Maeker wrote: >>> Please, Mentors, help me with these unlying questions. >>> - should libquazip be build inside debian using Qt5 and/or Qt4? >> >>Both. for now. > > Ok. How can I manage this? Is it possible inside one unique source > package? Debhelper does only have a qmake_qt4 buildsystem. I don't think dh(1) supports two build sets, so you will have to do it manually. /Sune -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/lq0ocm$iap$1...@ger.gmane.org
Re: Help with libquazip / Qt4-Qt5
>> Please, Mentors, help me with these unlying questions. >> - should libquazip be build inside debian using Qt5 and/or Qt4? > >Both. for now. Ok. How can I manage this? Is it possible inside one unique source package? Debhelper does only have a qmake_qt4 buildsystem. Or should I create a duplicate of the current libquazip(-qt4) renamed as libquazip-qt5? This will lead to a double source packaging. > /Sune > - one of the debian qt/kde packagers Thanks Eric, Debian Med signature.asc Description: OpenPGP digital signature
Re: Help with libquazip / Qt4-Qt5
On 2014-06-13, Eric Maeker wrote: > Please, Mentors, help me with these unlying questions. > - should libquazip be build inside debian using Qt5 and/or Qt4? Both. for now. > - for Qt4 projects (as some projects still not ported to Qt5), how can > we provide a compatible Qt4 libquazip? > * Should I manage two binairies: libquazip1-qt4{-dev}, > libquazip1-qt5{-dev}? Yes. > * Should I create a default sym link to Qt5 version > (libquazip.so.1.0.0 -> libquazip1-qt5.so.1.0.0)? this can lead to > conflicts? No. if there is a defalut, it should currently be qt4. It also ensures that existing things to work. > * Is there a way for users to be correctly linked to the compatible Qt > version (without any user's code modification)?=20 People have to be specific with doing a qt4 or qt5 quazip. /Sune - one of the debian qt/kde packagers -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/lnhllq$e3p$1...@ger.gmane.org
Help with libquazip / Qt4-Qt5
Dear Mentors, libquazip is packaged for Debian in it's 0.5.x version. A new version 0.6.2 is available. I'm the packager of Debian libquazip (Debian Med Team), Sergey (in cc) is the upstream manager of libquazip. As I'm updating the package, I try to manage all registered bugs. One of them is directly linked to the co-habitation of the two latests major versions of Qt in debian: Qt4 and Qt5. By default (see debian/control), the libquazip is built using the Qt4 lib, but in testing the default Qt configuration was switched to Qt5. So when users build their apps with Qt5 and link to libquazip(Qt4), there is an incompatibility. I'm trying to manage this problem in the Debian way. You should know that Debian main includes Qt4 *and* Qt5 projects. So we have to manage both versions. I don't know how many projects are linked to libquazip, popcorn offers a good overview of its usage. You can find a bug report about this problem here https://bugs.launchpad.net/ubuntu/+source/libquazip/+bug/1317551 Debian package page here https://packages.debian.org/fr/source/sid/libquazip Please, Mentors, help me with these unlying questions. - should libquazip be build inside debian using Qt5 and/or Qt4? - for Qt4 projects (as some projects still not ported to Qt5), how can we provide a compatible Qt4 libquazip? * Should I manage two binairies: libquazip1-qt4{-dev}, libquazip1-qt5{-dev}? * Should I create a default sym link to Qt5 version (libquazip.so.1.0.0 -> libquazip1-qt5.so.1.0.0)? this can lead to conflicts? * Is there a way for users to be correctly linked to the compatible Qt version (without any user's code modification)? By advance, thanks your help Eric, Debian Med Team, freemedforms.com signature.asc Description: This is a digitally signed message part