summaryrefslogtreecommitdiff
path: root/media-gfx/photoqt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-31 22:43:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-31 22:43:14 +0000
commit7323114f21150e9c3714584386134160e2c520cf (patch)
treeb361bee15d0d87cf243bdf778fdfff9e8d7256a8 /media-gfx/photoqt
parent4856d9d89d9f533d36c415521ddc9c23be3c6033 (diff)
gentoo auto-resync : 31:01:2025 - 22:43:14
Diffstat (limited to 'media-gfx/photoqt')
-rw-r--r--media-gfx/photoqt/Manifest5
-rw-r--r--media-gfx/photoqt/files/photoqt-3.2-exiv2-0.28.patch116
-rw-r--r--media-gfx/photoqt/photoqt-3.2.ebuild75
-rw-r--r--media-gfx/photoqt/photoqt-4.7-r1.ebuild2
4 files changed, 2 insertions, 196 deletions
diff --git a/media-gfx/photoqt/Manifest b/media-gfx/photoqt/Manifest
index 2afb2185b5fb..818098100e29 100644
--- a/media-gfx/photoqt/Manifest
+++ b/media-gfx/photoqt/Manifest
@@ -1,6 +1,3 @@
-AUX photoqt-3.2-exiv2-0.28.patch 5700 BLAKE2B d7387019460ed5b0edf7a79050f0ea8be4a4320c39cc53567d68d25a5f99f87c99e7aaf4932d2b96f8c0af22c7221082ba7323f720f5ea61ec461fa457b1c6ff SHA512 eadcfe4c5583cc6b6b1ab5e4036410c347ffee577e7231570736af8b405a631ad8bb86660854d2102cc9150f4fa7e439e2a3faa583806cbd4a04ba45015e8134
-DIST photoqt-3.2.tar.gz 965895 BLAKE2B ae1e159401b24a1bede344e4d398dbd6c2ae13fd467a4eac9ef15ea2d15933dc1756325a5a4f305a5f447bfd1a9e2d636e0b9367d0201ca356393c033c4f2f0f SHA512 ab7030d0ed6edf79373b1a99b1b8469cd567f04e5c233a87496084424603d8c241f7b473c22d323f4df8480d3f74918a987d2d590ec5026f1b7ca2c92b5c6bba
DIST photoqt-4.7.tar.gz 3612004 BLAKE2B f4bfd07103e614e3b128668ee7b1dc4767d5c8bd6af4164315e75d537e4054ee2e13fd2f2d8f044669c80bfa31d0651a5a71f07d0947c6b8f1a3088d55123407 SHA512 41274b52ece3a905de7c274183b658b40fdc72ee291b008afdfb2c7e8bb49308ac54c66760397359838bcd9470aa0140bd769137d5a72cd1c11bc4b1a7accb66
-EBUILD photoqt-3.2.ebuild 1871 BLAKE2B 8d34b625a17a7741bde801bc8ae5ec76872fabc7e9bf917b3bf0cc5afd45ffe0d30d5b4d90253b076d6da8161b4f08655923666779a7ba5fad3f30f5d5f3b2c1 SHA512 7615976119d9048e24d26f39b8e5736da06e6ef0a99c38a0510e535166ec771a7c9c8dbf517be24dc4583fef70eb7393b34fd9306ffc8106c70278273178d604
-EBUILD photoqt-4.7-r1.ebuild 2525 BLAKE2B a776ca2a33d8d1a3f9b88448fb278d572aa192dc4e530b6f69ad38cdd0fb61854940b4e7b9e4ae0099d955be42b3b6aeeda270e898b2edfa4e9ffa9dbbac0017 SHA512 8c0110cd7d65751ad6d75565add3599583d5fc4c857eb3dd4c449bb699e29c6d40526a70fd80928b5b803ba87dd9e6e277dcfd7966bb23fac4d333695e40e467
+EBUILD photoqt-4.7-r1.ebuild 2524 BLAKE2B c949387dfc237549cbc96343b48ff77d3ff159d48d45d607e5cd0aba9444663f5fe81c50b7dcb394d87354476670c6fc7a3d451438d6276b7cb92c42bd5263a0 SHA512 1e33628ce4e8078b82c3ac1be22f519708dc30c84736377104803f1fd417c11ed052113ee3ba3bfe0cc6d2936d4cba6f9c7878842edf7ea0ab01115c14010ae8
MISC metadata.xml 840 BLAKE2B 690fda3779ef30e477a38e6c20c05d78974c077516ebc12646395078332ae816cf7166501b067d8224c901ec38777d4cc92b565010cb53bfcaf8c9022d01d8b4 SHA512 c22e1952541f697bfa99a14daa7e4e83261eb65f2194b0aeaf6c9e68fd49e3f5e60360d84de8a2be40ffeaf07e9f6a59b5ba523adf8040a60fb824f7dfbe7697
diff --git a/media-gfx/photoqt/files/photoqt-3.2-exiv2-0.28.patch b/media-gfx/photoqt/files/photoqt-3.2-exiv2-0.28.patch
deleted file mode 100644
index b1da118c1537..000000000000
--- a/media-gfx/photoqt/files/photoqt-3.2-exiv2-0.28.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-From 376fe8c3ef6b16d63995f76a194e2c1d788b28b1 Mon Sep 17 00:00:00 2001
-From: Lukas Spies <Lukas@photoqt.org>
-Date: Sun, 28 May 2023 20:23:32 -0500
-Subject: [PATCH 1/2] [exiv2] fix compilation with Exiv2 v0.28.0
-
----
- cplusplus/filefoldermodel/filefoldermodel.cpp | 4 ++++
- cplusplus/scripts/handlingfacetags.cpp | 4 ++++
- cplusplus/scripts/metadata.cpp | 4 ++++
- 3 files changed, 12 insertions(+)
-
-diff --git a/cplusplus/filefoldermodel/filefoldermodel.cpp b/cplusplus/filefoldermodel/filefoldermodel.cpp
-index b6258735..56b120b7 100644
---- a/cplusplus/filefoldermodel/filefoldermodel.cpp
-+++ b/cplusplus/filefoldermodel/filefoldermodel.cpp
-@@ -560,7 +560,11 @@ void PQFileFolderModel::advancedSortMainView() {
- } catch (Exiv2::Error& e) {
- // An error code of 11 means unknown file type
- // Since we always try to read any file's meta data, this happens a lot
-+#if EXIV2_TEST_VERSION(0, 28, 0)
-+ if(e.code() != Exiv2::ErrorCode::kerUnsupportedImageType)
-+#else
- if(e.code() != 11)
-+#endif
- LOG << CURDATE << "PQMetaData::updateMetadaya(): ERROR reading exiv data (caught exception): " << e.what() << NL;
- else
- DBG << CURDATE << "PQMetaData::updateMetadaya(): ERROR reading exiv data (caught exception): " << e.what() << NL;
-diff --git a/cplusplus/scripts/handlingfacetags.cpp b/cplusplus/scripts/handlingfacetags.cpp
-index d90ece73..562cf200 100644
---- a/cplusplus/scripts/handlingfacetags.cpp
-+++ b/cplusplus/scripts/handlingfacetags.cpp
-@@ -57,7 +57,11 @@ QVariantList PQHandlingFaceTags::getFaceTags(QString filename) {
- image->readMetadata();
- } catch (Exiv2::Error& e) {
- // An error code of 11 means image not supported. This is much more reliable than, e.g., checking a file ending
-+#if EXIV2_TEST_VERSION(0, 28, 0)
-+ if(e.code() != Exiv2::ErrorCode::kerUnsupportedImageType)
-+#else
- if(e.code() != 11)
-+#endif
- LOG << CURDATE << "PQHandlingFaceTags::getFaceTags() - ERROR reading metadata (caught exception): " << e << NL;
- else
- DBG << CURDATE << "PQHandlingFaceTags::getFaceTags() - ERROR reading metadata (caught exception): " << e << NL;
-diff --git a/cplusplus/scripts/metadata.cpp b/cplusplus/scripts/metadata.cpp
-index 87e23474..a7d3e076 100644
---- a/cplusplus/scripts/metadata.cpp
-+++ b/cplusplus/scripts/metadata.cpp
-@@ -120,7 +120,11 @@ void PQMetaData::updateMetadata(QString path) {
- } catch (Exiv2::Error& e) {
- // An error code of 11 means unknown file type
- // Since we always try to read any file's meta data, this happens a lot
-+#if EXIV2_TEST_VERSION(0, 28, 0)
-+ if(e.code() != Exiv2::ErrorCode::kerUnsupportedImageType)
-+#else
- if(e.code() != 11)
-+#endif
- LOG << CURDATE << "PQMetaData::updateMetadaya(): ERROR reading exiv data (caught exception): " << e.what() << NL;
- else
- DBG << CURDATE << "PQMetaData::updateMetadaya(): ERROR reading exiv data (caught exception): " << e.what() << NL;
---
-2.40.1
-
-
-From 6190de9e47c358cf54748fa2a3593108831aa768 Mon Sep 17 00:00:00 2001
-From: Lukas Spies <Lukas@photoqt.org>
-Date: Sun, 28 May 2023 20:27:08 -0500
-Subject: [PATCH 2/2] [exiv2] switch to proper exvi2 errorcode
-
----
- cplusplus/filefoldermodel/filefoldermodel.cpp | 2 +-
- cplusplus/scripts/handlingfacetags.cpp | 2 +-
- cplusplus/scripts/metadata.cpp | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/cplusplus/filefoldermodel/filefoldermodel.cpp b/cplusplus/filefoldermodel/filefoldermodel.cpp
-index 56b120b7..c8cf199a 100644
---- a/cplusplus/filefoldermodel/filefoldermodel.cpp
-+++ b/cplusplus/filefoldermodel/filefoldermodel.cpp
-@@ -561,7 +561,7 @@ void PQFileFolderModel::advancedSortMainView() {
- // An error code of 11 means unknown file type
- // Since we always try to read any file's meta data, this happens a lot
- #if EXIV2_TEST_VERSION(0, 28, 0)
-- if(e.code() != Exiv2::ErrorCode::kerUnsupportedImageType)
-+ if(e.code() != Exiv2::ErrorCode::kerFileContainsUnknownImageType)
- #else
- if(e.code() != 11)
- #endif
-diff --git a/cplusplus/scripts/handlingfacetags.cpp b/cplusplus/scripts/handlingfacetags.cpp
-index 562cf200..94a7bca6 100644
---- a/cplusplus/scripts/handlingfacetags.cpp
-+++ b/cplusplus/scripts/handlingfacetags.cpp
-@@ -58,7 +58,7 @@ QVariantList PQHandlingFaceTags::getFaceTags(QString filename) {
- } catch (Exiv2::Error& e) {
- // An error code of 11 means image not supported. This is much more reliable than, e.g., checking a file ending
- #if EXIV2_TEST_VERSION(0, 28, 0)
-- if(e.code() != Exiv2::ErrorCode::kerUnsupportedImageType)
-+ if(e.code() != Exiv2::ErrorCode::kerFileContainsUnknownImageType)
- #else
- if(e.code() != 11)
- #endif
-diff --git a/cplusplus/scripts/metadata.cpp b/cplusplus/scripts/metadata.cpp
-index a7d3e076..fabc2d74 100644
---- a/cplusplus/scripts/metadata.cpp
-+++ b/cplusplus/scripts/metadata.cpp
-@@ -121,7 +121,7 @@ void PQMetaData::updateMetadata(QString path) {
- // An error code of 11 means unknown file type
- // Since we always try to read any file's meta data, this happens a lot
- #if EXIV2_TEST_VERSION(0, 28, 0)
-- if(e.code() != Exiv2::ErrorCode::kerUnsupportedImageType)
-+ if(e.code() != Exiv2::ErrorCode::kerFileContainsUnknownImageType)
- #else
- if(e.code() != 11)
- #endif
---
-2.40.1
-
diff --git a/media-gfx/photoqt/photoqt-3.2.ebuild b/media-gfx/photoqt/photoqt-3.2.ebuild
deleted file mode 100644
index 5cdfa03f5411..000000000000
--- a/media-gfx/photoqt/photoqt-3.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_KDEINSTALLDIRS=false
-inherit ecm optfeature
-
-DESCRIPTION="Simple but powerful Qt-based image viewer"
-HOMEPAGE="https://photoqt.org/"
-SRC_URI="https://photoqt.org/pkgs/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="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
- devil? ( media-libs/devil )
- exif? ( media-gfx/exiv2:=[bmff] )
- freeimage? ( media-libs/freeimage )
- imagemagick? (
- !graphicsmagick? ( media-gfx/imagemagick:=[cxx] )
- graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] )
- )
- mpv? ( media-video/mpv:=[libmpv] )
- pdf? ( app-text/poppler[qt5] )
- raw? ( media-libs/libraw:= )
-"
-DEPEND="${COMMON_DEPEND}
- dev-qt/qtconcurrent:5
-"
-RDEPEND="${COMMON_DEPEND}
- dev-qt/qtgraphicaleffects:5
- dev-qt/qtquickcontrols:5
- dev-qt/qtquickcontrols2:5
-"
-BDEPEND="dev-qt/linguist-tools:5"
-
-PATCHES=( "${FILESDIR}/${P}-exiv2-0.28.patch" ) # upstream git master, bug #906491
-
-src_configure() {
- local mycmakeargs=(
- -DCHROMECAST=OFF # TODO needs python
- -DDEVIL=$(usex devil)
- -DEXIV2=$(usex exif)
- -DEXIV2_ENABLE_BMFF=$(usex exif)
- -DFREEIMAGE=$(usex freeimage)
- -DGRAPHICSMAGICK=$(usex graphicsmagick $(usex imagemagick))
- -DIMAGEMAGICK=$(usex imagemagick $(usex !graphicsmagick))
- -DVIDEO_MPV=$(usex mpv)
- -DPOPPLER=$(usex pdf)
- -DRAW=$(usex raw)
- )
- ecm_src_configure
-}
-
-pkg_postinst() {
- optfeature "additional image formats like AVIF, EPS, HEIF/HEIC, PSD, etc." kde-frameworks/kimageformats
- ecm_pkg_postinst
-}
diff --git a/media-gfx/photoqt/photoqt-4.7-r1.ebuild b/media-gfx/photoqt/photoqt-4.7-r1.ebuild
index 6c6467eee14f..47cae6ad5b82 100644
--- a/media-gfx/photoqt/photoqt-4.7-r1.ebuild
+++ b/media-gfx/photoqt/photoqt-4.7-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://photoqt.org/downloads/source/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="barcode chromecast devil exif freeimage geolocation graphicsmagick +imagemagick lcms mpv pdf raw vips"
REQUIRED_USE="chromecast? ( ${PYTHON_REQUIRED_USE} )"