Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934776 - media-gfx/photoqt-4.5 version bump (Qt5 -> Qt6)
Summary: media-gfx/photoqt-4.5 version bump (Qt5 -> Qt6)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://gitlab.com/lspies/photoqt/-/t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-23 16:02 UTC by Frank Krömmelbein
Modified: 2024-06-23 18:35 UTC (History)
0 users

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


Attachments
photoqt-4.5.ebuild (photoqt-4.5.ebuild,1.79 KB, text/plain)
2024-06-23 16:03 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2024-06-23 16:02:30 UTC
Starting from version 4.0 photoqt is based on Qt6.
I did a quick and dirty hack on the current version 3.2 ebuild which works for me.
The Qt6 entries certainly still need some adjustments.

A testrun for the useflags with tatt passed:
FEATURES=' test' USE='' succeeded for =media-gfx/photoqt-4.5
USE='chromecast -devil exif -freeimage -graphicsmagick imagemagick -mpv -pdf -raw' succeeded for =media-gfx/photoqt-4.5
USE='chromecast -devil -exif -freeimage -graphicsmagick -imagemagick mpv -pdf -raw' succeeded for =media-gfx/photoqt-4.5
USE='-chromecast devil -exif freeimage -graphicsmagick imagemagick mpv -pdf -raw' succeeded for =media-gfx/photoqt-4.5
USE='chromecast -devil -exif -freeimage -graphicsmagick -imagemagick -mpv pdf -raw' succeeded for =media-gfx/photoqt-4.5
USE='-chromecast devil exif -freeimage graphicsmagick -imagemagick -mpv pdf -raw' succeeded for =media-gfx/photoqt-4.5
USE='-chromecast -devil exif -freeimage -graphicsmagick -imagemagick mpv pdf -raw' succeeded for =media-gfx/photoqt-4.5
USE='-chromecast devil -exif -freeimage -graphicsmagick -imagemagick -mpv -pdf raw' succeeded for =media-gfx/photoqt-4.5
USE='-chromecast devil -exif freeimage -graphicsmagick imagemagick -mpv -pdf raw' succeeded for =media-gfx/photoqt-4.5
USE='chromecast devil -exif -freeimage graphicsmagick imagemagick mpv -pdf raw' : blocked packages (probably) for =media-gfx/photoqt-4.5
USE='-chromecast devil exif freeimage graphicsmagick imagemagick mpv -pdf raw' : blocked packages (probably) for =media-gfx/photoqt-4.5
USE='chromecast devil -exif -freeimage -graphicsmagick imagemagick -mpv pdf raw' succeeded for =media-gfx/photoqt-4.5
USE='-chromecast devil -exif freeimage graphicsmagick imagemagick -mpv pdf raw' : blocked packages (probably) for =media-gfx/photoqt-4.5


--- photoqt-3.2.ebuild  2023-06-17 09:18:52.000000000 +0200
+++ photoqt-4.5.ebuild  2024-06-23 17:29:13.750968818 +0200
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,24 +12,20 @@
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="devil exif freeimage graphicsmagick imagemagick mpv pdf raw"
+KEYWORDS="~amd64 ~x86"
+IUSE="chromecast devil exif freeimage graphicsmagick imagemagick mpv pdf raw"
 
 COMMON_DEPEND="
        app-arch/libarchive:=
        app-arch/unrar
        dev-libs/pugixml
-       dev-qt/qtdbus:5
-       dev-qt/qtdeclarative:5
-       dev-qt/qtgui:5[jpeg]
-       dev-qt/qtimageformats:5
-       dev-qt/qtmultimedia:5[qml]
-       dev-qt/qtnetwork:5
-       dev-qt/qtprintsupport:5
-       dev-qt/qtsql:5
-       dev-qt/qtsvg:5
-       dev-qt/qtwidgets:5
-       dev-qt/qtxml:5
+       dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,widgets,xml]
+       dev-qt/qtdeclarative:6[network,sql,svg,widgets]
+       dev-qt/qtimageformats:6
+       dev-qt/qtlocation:6
+       dev-qt/qtmultimedia:6[qml]
+       dev-qt/qtpositioning:6[qml]
+       dev-qt/qtsvg:6
        devil? ( media-libs/devil )
        exif? ( media-gfx/exiv2:=[bmff] )
        freeimage? ( media-libs/freeimage )
@@ -38,24 +34,24 @@
                graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] )
        )
        mpv? ( media-video/mpv:=[libmpv] )
-       pdf? ( app-text/poppler[qt5] )
+       pdf? ( app-text/poppler[qt6] )
        raw? ( media-libs/libraw:= )
 "
-DEPEND="${COMMON_DEPEND}
-       dev-qt/qtconcurrent:5
-"
+#      dev-qt/qtprintsupport:5
+
 RDEPEND="${COMMON_DEPEND}
-       dev-qt/qtgraphicaleffects:5
-       dev-qt/qtquickcontrols:5
-       dev-qt/qtquickcontrols2:5
+       chromecast? ( dev-python/pychromecast )
 "
-BDEPEND="dev-qt/linguist-tools:5"
+#      dev-qt/qtgraphicaleffects:5
+#      dev-qt/qtquickcontrols:5
+#      dev-qt/qtquickcontrols2:5
 
-PATCHES=( "${FILESDIR}/${P}-exiv2-0.28.patch" ) # upstream git master, bug #906491
+BDEPEND="dev-qt/qttools:6[qdbus,linguist]
+"
 
 src_configure() {
        local mycmakeargs=(
-               -DCHROMECAST=OFF # TODO needs python
+               -DCHROMECAST=$(usex chromecast)
                -DDEVIL=$(usex devil)
                -DEXIV2=$(usex exif)
                -DEXIV2_ENABLE_BMFF=$(usex exif)



Reproducible: Always
Comment 1 Frank Krömmelbein 2024-06-23 16:03:18 UTC
Created attachment 896296 [details]
photoqt-4.5.ebuild