commit:     0a44485b22f962f8b7fca0f9438ae6fb38416c86
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 17:04:37 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 17:06:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a44485b

media-gfx/photoqt: drop 2.9.1-r2

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/photoqt/Manifest                         |  1 -
 .../photoqt/files/photoqt-2.9.1-libmpv-api2.patch  | 20 ------
 .../photoqt/files/photoqt-2.9.1-libraw-0.21.patch  | 22 -------
 media-gfx/photoqt/photoqt-2.9.1-r2.ebuild          | 77 ----------------------
 4 files changed, 120 deletions(-)

diff --git a/media-gfx/photoqt/Manifest b/media-gfx/photoqt/Manifest
index e71da2ca3239..4e6d861d95f5 100644
--- a/media-gfx/photoqt/Manifest
+++ b/media-gfx/photoqt/Manifest
@@ -1,2 +1 @@
-DIST photoqt-2.9.1.tar.gz 3708647 BLAKE2B 
dd8c958709ebd830558f150f59c90c317d3f5edb363f92e9fadcd1506de4c97a41f6766670e202081397081c231604028298771eb52911255dae53bfa92a1a8d
 SHA512 
c2ac3bce2ffa0962b243808cdd2495d45af3bd5703389de5e9626a518a8edf25646a317ff420dc0fdd8dc60a53104b1b5ec7e473087454d5c2f0b967066dc192
 DIST photoqt-3.2.tar.gz 965895 BLAKE2B 
ae1e159401b24a1bede344e4d398dbd6c2ae13fd467a4eac9ef15ea2d15933dc1756325a5a4f305a5f447bfd1a9e2d636e0b9367d0201ca356393c033c4f2f0f
 SHA512 
ab7030d0ed6edf79373b1a99b1b8469cd567f04e5c233a87496084424603d8c241f7b473c22d323f4df8480d3f74918a987d2d590ec5026f1b7ca2c92b5c6bba

diff --git a/media-gfx/photoqt/files/photoqt-2.9.1-libmpv-api2.patch 
b/media-gfx/photoqt/files/photoqt-2.9.1-libmpv-api2.patch
deleted file mode 100644
index 006b90a915b6..000000000000
--- a/media-gfx/photoqt/files/photoqt-2.9.1-libmpv-api2.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://gitlab.com/lspies/photoqt/-/merge_requests/10
-From: Ionen Wolkens <[email protected]>
-Date: Sun, 6 Nov 2022 13:22:36 -0500
-Subject: [PATCH] [libmpv] drop gl_init_params' deprecated parameter for api
- 2.0
-
-Fixes build issue with upcoming mpv-0.35.0 (libmpv.so.2),
-and remains compatible with current.
---- a/cplusplus/libmpv/mpvobject.cpp
-+++ b/cplusplus/libmpv/mpvobject.cpp
-@@ -74,7 +74,7 @@ public:
-     QOpenGLFramebufferObject * createFramebufferObject(const QSize &size) {
-         // init mpv_gl:
-         if (!obj->mpv_gl) {
--            mpv_opengl_init_params gl_init_params{get_proc_address_mpv, 
nullptr, nullptr};
-+            mpv_opengl_init_params gl_init_params{get_proc_address_mpv, 
nullptr};
-             mpv_render_param params[]{
-                 {MPV_RENDER_PARAM_API_TYPE, const_cast<char 
*>(MPV_RENDER_API_TYPE_OPENGL)},
-                 {MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, &gl_init_params},
-GitLab

diff --git a/media-gfx/photoqt/files/photoqt-2.9.1-libraw-0.21.patch 
b/media-gfx/photoqt/files/photoqt-2.9.1-libraw-0.21.patch
deleted file mode 100644
index 683a72e65d71..000000000000
--- a/media-gfx/photoqt/files/photoqt-2.9.1-libraw-0.21.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/891325
-https://gitlab.com/lspies/photoqt/-/commit/a8908dbfac01886204a5d911106208bd0f15b467
-
-From a8908dbfac01886204a5d911106208bd0f15b467 Mon Sep 17 00:00:00 2001
-From: Lukas Spies <[email protected]>
-Date: Thu, 22 Dec 2022 03:07:40 -0600
-Subject: [PATCH] [PQLoadImageRAW] make raw loader work when libraw is compiled
- without rawspeed support. Not aware of macro to chewck at compile time, thsu
- disabled for now
-
---- a/cplusplus/imageprovider/loader/loadimage_raw.cpp
-+++ b/cplusplus/imageprovider/loader/loadimage_raw.cpp
-@@ -57,7 +57,6 @@ QImage PQLoadImageRAW::load(QString filename, QSize maxSize, 
QSize &origSize, bo
-     // Since we don't care about manipulating RAW images but only want to 
display
-     // them, we can optimise for speed
-     raw.imgdata.params.user_qual = 2;
--    raw.imgdata.params.use_rawspeed = 1;
-     raw.imgdata.params.use_camera_wb = 1;
- 
-     // Open the RAW image
--- 
-GitLab

diff --git a/media-gfx/photoqt/photoqt-2.9.1-r2.ebuild 
b/media-gfx/photoqt/photoqt-2.9.1-r2.ebuild
deleted file mode 100644
index 3d56e5fca782..000000000000
--- a/media-gfx/photoqt/photoqt-2.9.1-r2.ebuild
+++ /dev/null
@@ -1,77 +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:= )
-       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}-libmpv-api2.patch
-       "${FILESDIR}"/${P}-libraw-0.21.patch
-)
-
-src_configure() {
-       local mycmakeargs=(
-               -DCHROMECAST=OFF # TODO needs python
-               -DDEVIL=$(usex devil)
-               -DEXIV2=$(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
-}

Reply via email to