Bug#845142: adwaita-qt: Please build also for Qt4

2016-11-21 Thread Jonas Smedegaard
Quoting Dmitry Shachnev (2016-11-21 08:13:12)
> On Sun, Nov 20, 2016 at 07:38:57PM +0100, Jonas Smedegaard wrote:
>> adwaita-qt supports building against either Qt4 or Qt5, yet the Debian
>> package has it built only against Qt5.
>>
>> This is a problem, since not all applications have yet migrated to Qt5.
>> In particular, Scribus stil uses Qt4 and is a) related to visual design
>> and b) without an equivalent in the GTK+ realm, both reasons for it
>> needing something like adwaita-qt when used in mostly-GTK+ environments.
>
> OK, I can do this, but only for Stretch.
> 
> For Buster, we have a plan to remove Qt 4 from archive [1], and I will 
> do my best to remove Qt 4 dependencies from my packages.

Obviously when Qt4 truly is getting phased out, so should it be for this 
package as well :-)

Thanks!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private



Bug#845142: adwaita-qt: Please build also for Qt4

2016-11-20 Thread Dmitry Shachnev
Hi Jonas,

On Sun, Nov 20, 2016 at 07:38:57PM +0100, Jonas Smedegaard wrote:
> adwaita-qt supports building against either Qt4 or Qt5, yet the Debian
> package has it built only against Qt5.
>
> This is a problem, since not all applications have yet migrated to Qt5.
> In particular, Scribus stil uses Qt4 and is a) related to visual design
> and b) without an equivalent in the GTK+ realm, both reasons for it
> needing something like adwaita-qt when used in mostly-GTK+ environments.

OK, I can do this, but only for Stretch.

For Buster, we have a plan to remove Qt 4 from archive [1], and I will
do my best to remove Qt 4 dependencies from my packages.

[1]: https://lists.debian.org/debian-devel-announce/2015/05/msg1.html

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#845142: adwaita-qt: Please build also for Qt4

2016-11-20 Thread Jonas Smedegaard
Package: adwaita-qt
Version: 0.5-1
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

adwaita-qt supports building against either Qt4 or Qt5, yet the Debian
package has it built only against Qt5.

This is a problem, since not all applications have yet migrated to Qt5.
In particular, Scribus stil uses Qt4 and is a) related to visual design
and b) without an equivalent in the GTK+ realm, both reasons for it
needing something like adwaita-qt when used in mostly-GTK+ environments.

What is needed to build for Qt4 are these changes:

  * Build-depend on libqt4-dev
  * Extend rules file to include a line similar to this:
dh_auto_configure -- -DUSE_QT4=ON 
-DQT_ROOT=/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/
  * Add adwaita-qt-qt4.install file with this content:
usr/lib/*/qt4/*

I have not provided a patch, since I am not familiar enough with
short-form dh sequencer (I use only CDBS myself).  Hope above is of
help.


 - Jonas

-BEGIN PGP SIGNATURE-

iQIcBAEBCAAGBQJYMe2+AAoJECx8MUbBoAEhUNsP+wV1MTJpc0IbsE5LqzX3Pncd
CE/8lT2pJ9qT05jMSMzS5ZKyI6iYe0zsnPHyQti1ieUSSiIExOSNDssDD9QnEPUa
qypM7A0XfCXePQbojfj4URhJMoujeKK2KYCJEH3JsfAtLkBjWN/B6HZhOJqkhIEm
TFREaeApGsPKqPfKQxltjEii3fWgHr7vGiWyXkO1lOYVrffAwkmLYSsGOlzA7JoK
RYPNO4pImmwkstb4EAJb8K2dFQGkB9HxLrOdS+IMOJpW0H9N1wgZlSbkfDoP6Hql
ORtK7czcIj5E+C5UgAtnmjswiN1ZNgyaJAO5nESFXCQmNFeg/lr+7djVOX47G5Uy
fxqM2ZVXXV9EmfhcdKtuSgcegHVtoCpZ0UFIeSV/EmY7tUvHVfL7AAVx/ZpkzerR
ttR9i+I9Lc8G6xCUQK64nMDRm4bPe+3ukSx9GgDDEgvcIX1wcC/cWvA5ZHcl+yEp
0em/npAKU2HoqveQdxqTyFqzcqCM2yAtVv/+797DqayrXA/sKUj4/zcKElL/NdyA
iZN+IiVAjPaeFH4ax+FXWP8HQyfNUGddcE9aKFXl3R+pf2A0Isyg4OHUsBkUpXK8
cf83h37RkG2ZBRSrdSgqAbgbh56fDUZkZpxPfJcY0Bsu0lAvCeYtY822YcuxntVA
1x/UGLTYmiOhe1vpwZSr
=84i2
-END PGP SIGNATURE-