On domingo, 6 de noviembre de 2016 13:52:08 ART Jan wrote: > On Sat, Oct 29, 2016 at 10:10:39AM -0300, Lisandro Damián Nicanor Pérez Meyer wrote: > > Already in experimental! please ping me if you need help with Dianara. > > > > I don't know if you have packaged Qt5 apps before (nor did check > > actually). In case you didn't you might want to read > > > > http://pkg-kde.alioth.debian.org/packagingqtbasedstuff.html > > > > Cheers! > > Hi! > > I've tested this (on two i386 Sid machines) and have some feedback. > > Dianara uses qmake as the buildsystem, so it relies on a oauth.prf spec > file, which was missing in the Qt4 version of libqoauth-dev[1], but is > present now. > The problem is that this oauth.prf file needs some adapting.
ACK, this is true.
> This is a simple diff of the changes I made to make it work:
Jan: next time please use diff -Nau, that's the most used format when dealing
with patches.
> 1c1
> < QOAUTH_INCDIR = $$[QT_INSTALL_HEADERS]
> ---
>
> > QOAUTH_INCDIR = /usr/include ### $$[QT_INSTALL_HEADERS]
>
> 4,5c4,5
> < QOAUTH_INCDIR ~= s!/qt4*!!
> < QOAUTH_LIBDIR ~= s!/qt4*!!
> ---
>
> > #QOAUTH_INCDIR ~= s!/qt4*!!
> > #QOAUTH_LIBDIR ~= s!/qt4*!!
>
> Basically, make QOAUT_INCDIR point to /usr/include instead of using that
> variable, which points to /usr/lib/{$arch-triplet}/qt5.
>
> Then the other two lines that would take care of removing "qt4" from the
> resulting variable, should be removed or commented out.
>
> Or, as an alternative, libqoauth-dev should put its header files in that
> /usr/lib/{archtriplet}/qt5 path, whatever's best. I don't know how that
> would affect Choqok or other potential "users".
Headers should be installed there only if they differe from arch to arch. As
Qt5 headers do, QT_INSTALL_HEADER follows that.
And yes, the Qt4 stuff should be removed.
I'll fix that.
> With this, Dianara builds perfectly with Qt 5. Package
> libqca-qt5-2-plugins should be a new dependency instead of
> libqca2-plugin-ossl, since apparently QCA plugins for the Qt5 version
> are all packed into that one.
Actualli libqoauth2 should depend on them, if I'm not mistaken it definitely
needs them. I'll do this change now.
> When starting up Dianara, I get an early crash, related to the systray
> icon, both under Plasma and under LXQt, but I imagine it has to do with
> the Qt5.7.1 transition. It works fine under a bare Openbox+Tint2
> session.
Mmm, need to check in fluxbox then.
--
Geek Inside!
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.

