Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880043 - media-gfx/kuickshow-0.11.0 Qt6-based version bump request w/ media-libs/imlib2 support
Summary: media-gfx/kuickshow-0.11.0 Qt6-based version bump request w/ media-libs/imlib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christian Gerloff
URL: https://invent.kde.org/graphics/kuick...
Whiteboard: Qt6-based upstream; fixed in 0.11.0
Keywords: UPSTREAM
Depends on:
Blocks: qt5-removal 810061
  Show dependency tree
 
Reported: 2022-11-06 11:30 UTC by Andreas Sturmlechner
Modified: 2025-03-09 21:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2022-11-06 11:30:48 UTC
Someone has been working on modernising kuickshow in a separate branch:

https://mail.kde.org/pipermail/kde-devel/2022-November/001448.html

I wanted to make sure you are aware of it, in particular wrt Wayland/X11 compat.
Comment 1 Andreas Sturmlechner gentoo-dev 2022-11-06 11:32:30 UTC
Previous mail to the list that got the developer started:

https://mail.kde.org/pipermail/kde-devel/2022-August/001245.html
Comment 2 Andreas Sturmlechner gentoo-dev 2022-11-06 11:35:38 UTC
A new release would also be a perfect opportunity to bump ebuild to EAPI-8. This package is one of only less than 30 in ::gentoo inheriting kde.org.eclass and ecm.eclass with EAPI-7.
Comment 3 Christian Gerloff 2022-11-27 14:21:36 UTC
Thank you for pointing this out, I completely missed it myself.
As you've already seen, we're currently working on some minor issues.

I'll create a new Kuickshow release for Gentoo next weekend. It'll be either just a minor update with the current state in master, or a major one with the new code.
Regardless, I'll update the ebuild to EAPI-8.
Comment 4 Christian Gerloff 2022-11-27 15:38:57 UTC
And apologies for always taking so long to reply to messages. I do read the eMail notifications but I tend to forget about replying if I don't do it right away.
Comment 5 Andreas Sturmlechner gentoo-dev 2022-11-27 21:05:56 UTC
No worries, I'm happy to sometimes be able to do my tiny bit in connecting some dots.
Comment 6 Andreas Sturmlechner gentoo-dev 2024-08-11 13:03:22 UTC
Any updates here?
Comment 7 Christian Gerloff 2024-08-24 12:07:42 UTC
(In reply to Andreas Sturmlechner from comment #6)
> Any updates here?

I'm still working on it here and there, but it has been very slow after my initial commits to that branch.
I'm hoping to have something usable to release by the end of September.
Comment 8 Andreas Sturmlechner gentoo-dev 2024-09-25 10:26:33 UTC
Thanks. (If you pushed more often, upstream would be aware of that work ;))

EAPI-8 was done by me a couple of years ago, Qt6 porting is now the thing to do to keep this package in play long-term.
Comment 9 Christian Gerloff 2025-03-05 15:34:52 UTC
Version 0.11.0 should be live shortly.
Unfortunately, there's no imlib support at all, at the moment. It is a Qt-only version right now.

Both imliba require access to a Display structure which was in the X11Extras module in Qt5. That module no longer exists in Qt6, and the only way to get access to this now is through Qt's (new?) "Native Interfaces", which I haven't found so far in my Gentoo installation.
Without those, the libraries can't be initialized.

And I'm really sorry for the long delay.
Comment 10 Andreas Sturmlechner gentoo-dev 2025-03-05 16:56:04 UTC
Thanks for coming up with a PR!

Ye olde QtX11Extras was moved to qtbase[gui,X] (specifically GuiPrivate) as qtx11extras_p.h. But yeah, that is no long-term solution, if it provides what you need at all.

fwiw:
$ grep -R include.*qnativeinterface /usr/include/qt6/
/usr/include/qt6/QtMultimedia/6.8.2/QtMultimedia/private/qplatformvideosource_p.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qscreen_platform.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qscreen.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qoffscreensurface.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qoffscreensurface_platform.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qopenglcontext.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/private/qguiapplication_p.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/private/qguiapplication_p.h:#include <QtCore/private/qnativeinterface_p.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/private/qkeymapper_p.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/qpa/qplatformscreen_p.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/qpa/qplatformwindow_p.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/qpa/qplatformoffscreensurface.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/qpa/qplatformmenu_p.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/6.8.2/QtGui/qpa/qplatformopenglcontext.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qopenglcontext_platform.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qwindow.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtGui/qguiapplication_platform.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtCore/qcoreapplication.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtCore/qcoreapplication_platform.h:#include <QtCore/qnativeinterface.h>
/usr/include/qt6/QtCore/QtCore:#include "qnativeinterface.h"
/usr/include/qt6/QtQuick/qsgtexture_platform.h:#include <QtCore/qnativeinterface.h>
Comment 11 Andreas Sturmlechner gentoo-dev 2025-03-05 16:57:17 UTC
(if you search over invent.kde.org you will find many instances of porting away from QX11Info to QNativeInterface)
Comment 12 Christian Gerloff 2025-03-05 17:14:58 UTC
Thanks for the tip!

I was looking at the Qt porting guide, tried to #include <QNativeInterface>, which didn't exist, then tried to find a platform integration package in portage, since it sounded like it was its own separate module, and which also didn't yield any results.
I'll fix this in the next version. The Qt version is working at the moment.
Comment 13 Andreas Sturmlechner gentoo-dev 2025-03-05 23:19:57 UTC
Please also note that for any future bump supporting imlib, it should only support imlib2 in our packaging as we try to rid ourselves of imlib1.
Comment 14 Andreas Sturmlechner gentoo-dev 2025-03-09 21:59:44 UTC
Added in commit 00a7495e8497f02679f83921e33c707c4fb0f714.