msva / mva-overlay

mva's sandbox overlay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

net-im/telegram-desktop: another version bump

Anonymous1157 opened this issue · comments

It's me again!

The packages for Qt 5.15.0 have been keyworded ~amd64 in the main Gentoo overlay and =net-im/telegram-desktop-2.0.1 is unable to build against them:

In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.cpp:7:
In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.h:9:
/var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animation_value.h:315:14: error: incomplete result type 'QPainterPath' in function definition
QPainterPath interpolate(QPointF (&from)[N], QPointF (&to)[N], float64 k) {
             ^
/usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.cpp:7:
In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.h:9:
/var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animation_value.h:319:15: error: variable has incomplete type 'QPainterPath'
        QPainterPath result;
                     ^
/usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.cpp:7:
In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.h:9:
/var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animation_value.h:331:14: error: incomplete result type 'QPainterPath' in function definition
QPainterPath path(QPointF (&from)[N]) {
             ^
/usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.cpp:7:
In file included from /var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animations.h:9:
/var/tmp/portage/net-im/telegram-desktop-2.0.1/work/telegram-desktop-2.0.1/Telegram/lib_ui/ui/effects/animation_value.h:334:15: error: variable has incomplete type 'QPainterPath'
        QPainterPath result;
                     ^
/usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
4 errors generated.

(Related tangent, the changes to Qt also broke qtstyleplugins. One of these ebuilds is some theming engines that make sense why they need to access Qt at a lower level, and the other is a stupid chat client.)

Version 2.0.1 is now a few months old and I think it makes more sense to upgrade to 2.1.10. I tried to just bump the version, but at some point in the 2.1 series most of the patches used in your ebuild appear to have been upstreamed or the code changed too much, so it's not that trivial.

I keep using your ebuild because it has the wide balloons patch which is a huge usability improvement to me. Thank you for supporting this ebuild for as long as you have.