From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/krita/files/, media-gfx/krita/
Date: Sat, 04 Oct 2025 12:44:49 +0000 (UTC) [thread overview]
Message-ID: <1759581875.c1a3997e2c36644fde4e04b9e791112f1213df53.asturm@gentoo> (raw)
commit: c1a3997e2c36644fde4e04b9e791112f1213df53
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 4 12:43:50 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 4 12:44:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a3997e
media-gfx/krita: drop 5.2.11
Bug: https://bugs.gentoo.org/963679
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/krita/Manifest | 1 -
.../krita/files/krita-5.2.11-libheif-1.20.patch | 144 ---------------------
media-gfx/krita/krita-5.2.11.ebuild | 141 --------------------
3 files changed, 286 deletions(-)
diff --git a/media-gfx/krita/Manifest b/media-gfx/krita/Manifest
index 618c5deb2665..41ee2fefd2a7 100644
--- a/media-gfx/krita/Manifest
+++ b/media-gfx/krita/Manifest
@@ -1,3 +1,2 @@
-DIST krita-5.2.11.tar.xz 190966516 BLAKE2B 1626dcfeb593189cd9c0bf5ec7b51dc69691f5550837e5977f9f431daa6a7c9bb39895d5c7bed9c348bce8ada4bbfcb76b54f535c550c727b0acfe1dd190858d SHA512 1c388380f366118452f33ca028b4fb9ea134d8cd519f7878cc61d4f4fbd1d0fe51894fee9be8d4bed864d5d0df546986fae05812c9e25011516ce1000dd221de
DIST krita-5.2.13.tar.xz 191046020 BLAKE2B 243027d0dde4a58da335ba182d700d9f351b1aaa6d1806bd0d41725fe4fbb6f6939ce9ca06592621cc8083a3ab4b1f2545bc72330623bd8e3bb5a276e670a21f SHA512 71900f653b4534bf4c5d62a5c5aa523b8cc484eaabd5a92562b420fc5d2d670cc11203be93450557345c35c1d249def308b1913e1952b570eeaba4f48cab3a24
DIST krita-6.0.0_alpha_pre20250902-cec72dd2.tar.gz 284205558 BLAKE2B 7b907b18c650c843b5c28af33dbe99ca023f470bdb8ea1fc9ab51768f00d214664af24d7289eec09deb5e942879738b31088486f0b63ff15f3a142e607e28577 SHA512 2854047e27bf654b955a585b4ba7b0903a20cc01b8b37f068fc7021f7085ab45f890e50b868843de0c44742a4bf094550a10ef3c933310f423342c2efbffdb54
diff --git a/media-gfx/krita/files/krita-5.2.11-libheif-1.20.patch b/media-gfx/krita/files/krita-5.2.11-libheif-1.20.patch
deleted file mode 100644
index fcd9ae6882fc..000000000000
--- a/media-gfx/krita/files/krita-5.2.11-libheif-1.20.patch
+++ /dev/null
@@ -1,144 +0,0 @@
-From 169339accb9e4e0e0e9921176c5cd60d340b7b04 Mon Sep 17 00:00:00 2001
-From: Halla Rempt <halla@valdyas.org>
-Date: Thu, 10 Jul 2025 10:08:24 +0200
-Subject: [PATCH] Fix build with libheif 1.20
-
-https://github.com/strukturag/libheif/issues/1419 introduced a
-source incompatible api change, this patch by Brad Smith make
-Krita build with 1.20. I've also checked with 1.15.2, which we
-use and it still builds.
-
-BUG:506778
-(cherry picked from commit 6ad4fa68a9e1ce06fc884e34f3cedcdd4b9a2076)
----
- plugins/impex/heif/HeifExport.cpp | 24 +++++++++++++++---------
- plugins/impex/heif/HeifImport.cpp | 22 ++++++++++++++--------
- 2 files changed, 29 insertions(+), 17 deletions(-)
-
-diff --git a/plugins/impex/heif/HeifExport.cpp b/plugins/impex/heif/HeifExport.cpp
-index 3e70cf925ea..ccbc8034b51 100644
---- a/plugins/impex/heif/HeifExport.cpp
-+++ b/plugins/impex/heif/HeifExport.cpp
-@@ -137,6 +137,12 @@ KisImportExportErrorCode HeifExport::convert(KisDocument *document, QIODevice *i
- HeifLock lock;
- #endif
-
-+#if LIBHEIF_HAVE_VERSION(1, 20, 0)
-+ using HeifStrideType = size_t;
-+#else
-+ using HeifStrideType = int;
-+#endif
-+
- KisImageSP image = document->savingImage();
- const KoColorSpace *cs = image->colorSpace();
-
-@@ -250,10 +256,10 @@ KisImportExportErrorCode HeifExport::convert(KisDocument *document, QIODevice *i
- img.add_plane(heif_channel_G, width,height, 8);
- img.add_plane(heif_channel_B, width,height, 8);
-
-- int strideR = 0;
-- int strideG = 0;
-- int strideB = 0;
-- int strideA = 0;
-+ HeifStrideType strideR = 0;
-+ HeifStrideType strideG = 0;
-+ HeifStrideType strideB = 0;
-+ HeifStrideType strideA = 0;
-
- uint8_t *ptrR = img.get_plane(heif_channel_R, &strideR);
- uint8_t *ptrG = img.get_plane(heif_channel_G, &strideG);
-@@ -289,7 +295,7 @@ KisImportExportErrorCode HeifExport::convert(KisDocument *document, QIODevice *i
- img.create(width, height, heif_colorspace_RGB, chroma);
- img.add_plane(heif_channel_interleaved, width, height, 12);
-
-- int stride = 0;
-+ HeifStrideType stride = 0;
-
- uint8_t *ptr = img.get_plane(heif_channel_interleaved, &stride);
-
-@@ -330,8 +336,8 @@ KisImportExportErrorCode HeifExport::convert(KisDocument *document, QIODevice *i
-
- img.add_plane(heif_channel_Y, width, height, 8);
-
-- int strideG = 0;
-- int strideA = 0;
-+ HeifStrideType strideG = 0;
-+ HeifStrideType strideA = 0;
-
- uint8_t *ptrG = img.get_plane(heif_channel_Y, &strideG);
- uint8_t *ptrA = [&]() -> uint8_t * {
-@@ -363,8 +369,8 @@ KisImportExportErrorCode HeifExport::convert(KisDocument *document, QIODevice *i
-
- img.add_plane(heif_channel_Y, width, height, 12);
-
-- int strideG = 0;
-- int strideA = 0;
-+ HeifStrideType strideG = 0;
-+ HeifStrideType strideA = 0;
-
- uint8_t *ptrG = img.get_plane(heif_channel_Y, &strideG);
- uint8_t *ptrA = [&]() -> uint8_t * {
-diff --git a/plugins/impex/heif/HeifImport.cpp b/plugins/impex/heif/HeifImport.cpp
-index 3c1a52cc282..6bceea85ebe 100644
---- a/plugins/impex/heif/HeifImport.cpp
-+++ b/plugins/impex/heif/HeifImport.cpp
-@@ -214,6 +214,12 @@ KisImportExportErrorCode HeifImport::convert(KisDocument *document, QIODevice *i
- HeifLock lock;
- #endif
-
-+#if LIBHEIF_HAVE_VERSION(1, 20, 0)
-+ using HeifStrideType = size_t;
-+#else
-+ using HeifStrideType = int;
-+#endif
-+
- // Wrap input stream into heif Reader object
- Reader_QIODevice reader(io);
-
-@@ -387,8 +393,8 @@ KisImportExportErrorCode HeifImport::convert(KisDocument *document, QIODevice *i
-
- if (heifChroma == heif_chroma_monochrome) {
- dbgFile << "monochrome heif file, bits:" << luma;
-- int strideG = 0;
-- int strideA = 0;
-+ HeifStrideType strideG = 0;
-+ HeifStrideType strideA = 0;
- const uint8_t *imgG = heifimage.get_plane(heif_channel_Y, &strideG);
- const uint8_t *imgA =
- heifimage.get_plane(heif_channel_Alpha, &strideA);
-@@ -409,10 +415,10 @@ KisImportExportErrorCode HeifImport::convert(KisDocument *document, QIODevice *i
- } else if (heifChroma == heif_chroma_444) {
- dbgFile << "planar heif file, bits:" << luma;
-
-- int strideR = 0;
-- int strideG = 0;
-- int strideB = 0;
-- int strideA = 0;
-+ HeifStrideType strideR = 0;
-+ HeifStrideType strideG = 0;
-+ HeifStrideType strideB = 0;
-+ HeifStrideType strideA = 0;
- const uint8_t* imgR = heifimage.get_plane(heif_channel_R, &strideR);
- const uint8_t* imgG = heifimage.get_plane(heif_channel_G, &strideG);
- const uint8_t* imgB = heifimage.get_plane(heif_channel_B, &strideB);
-@@ -439,7 +445,7 @@ KisImportExportErrorCode HeifImport::convert(KisDocument *document, QIODevice *i
- displayNits,
- colorSpace);
- } else if (heifChroma == heif_chroma_interleaved_RGB || heifChroma == heif_chroma_interleaved_RGBA) {
-- int stride = 0;
-+ HeifStrideType stride = 0;
- dbgFile << "interleaved SDR heif file, bits:" << luma;
-
- const uint8_t *img = heifimage.get_plane(heif_channel_interleaved, &stride);
-@@ -461,7 +467,7 @@ KisImportExportErrorCode HeifImport::convert(KisDocument *document, QIODevice *i
- colorSpace);
-
- } else if (heifChroma == heif_chroma_interleaved_RRGGBB_LE || heifChroma == heif_chroma_interleaved_RRGGBBAA_LE || heifChroma == heif_chroma_interleaved_RRGGBB_BE || heifChroma == heif_chroma_interleaved_RRGGBB_BE) {
-- int stride = 0;
-+ HeifStrideType stride = 0;
- dbgFile << "interleaved HDR heif file, bits:" << luma;
-
- const uint8_t *img =
---
-GitLab
-
diff --git a/media-gfx/krita/krita-5.2.11.ebuild b/media-gfx/krita/krita-5.2.11.ebuild
deleted file mode 100644
index b0fc85dd57ac..000000000000
--- a/media-gfx/krita/krita-5.2.11.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_TEST="forceoptional"
-PYTHON_COMPAT=( python3_{11..13} )
-KFMIN=5.115.0
-QTMIN=5.15.12
-inherit ecm kde.org python-single-r1
-
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
- KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!"
-HOMEPAGE="https://apps.kde.org/krita/ https://krita.org/en/"
-
-LICENSE="GPL-3"
-SLOT="5"
-IUSE="color-management fftw gif +gsl heif jpeg2k jpegxl +mypaint-brush-engine openexr pdf media +raw +xsimd webp"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# bug 630508
-RESTRICT="test"
-
-RDEPEND="${PYTHON_DEPS}
- dev-libs/boost:=
- dev-libs/libunibreak:=
- >=dev-libs/quazip-1.3-r2:=[qt5(-)]
- $(python_gen_cond_dep '
- dev-python/pyqt5[declarative,gui,widgets,${PYTHON_USEDEP}]
- dev-python/sip:=[${PYTHON_USEDEP}]
- ')
- >=dev-qt/qtconcurrent-${QTMIN}:5
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5=[-gles2-only]
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kitemmodels-${KFMIN}:5
- >=kde-frameworks/kitemviews-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- media-gfx/exiv2:=
- media-libs/lcms
- media-libs/libjpeg-turbo:=
- media-libs/libpng:=
- media-libs/tiff:=
- sys-libs/zlib
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXi
- color-management? ( >=media-libs/opencolorio-2.0.0 )
- fftw? ( sci-libs/fftw:3.0= )
- gif? ( media-libs/giflib )
- gsl? ( sci-libs/gsl:= )
- jpeg2k? ( media-libs/openjpeg:= )
- jpegxl? ( >=media-libs/libjxl-0.7.0_pre20220825:= )
- heif? ( >=media-libs/libheif-1.11:=[x265] )
- media? ( media-libs/mlt:= )
- mypaint-brush-engine? ( media-libs/libmypaint:= )
- openexr? ( media-libs/openexr:= )
- pdf? ( app-text/poppler[qt5] )
- raw? ( kde-apps/libkdcraw:5 )
- webp? ( >=media-libs/libwebp-1.2.0:= )
- xsimd? ( >=dev-cpp/xsimd-13.0.0 )
-
-"
-DEPEND="${RDEPEND}
- dev-libs/immer
- dev-libs/lager
- dev-libs/zug
-"
-BDEPEND="
- dev-cpp/eigen:3
- dev-lang/perl
- sys-devel/gettext
-"
-
-PATCHES=(
- # downstream
- "${FILESDIR}"/${PN}-5.2.3-tests-optional.patch
- "${FILESDIR}"/${PN}-5.2.2-fftw.patch # bug 913518
- # git master
- "${FILESDIR}"/${PN}-5.1.5-sip-6.8.patch # bug 919139
- # somewhere... upstream... but not in the 5.2.11 tag.
- "${FILESDIR}"/${P}-libheif-1.20.patch # bug 959940
-)
-
-pkg_setup() {
- python-single-r1_pkg_setup
- ecm_pkg_setup
-}
-
-src_prepare() {
- ecm_src_prepare
- cmake_comment_add_subdirectory benchmarks # bug 939842
-}
-
-src_configure() {
- # Prevent sandbox violation from FindPyQt5.py module
- # See Gentoo-bug 655918
- addpredict /dev/dri
-
- local mycmakeargs=(
- -DENABLE_UPDATERS=OFF
- -DKRITA_ENABLE_PCH=OFF # big mess.
- -DCMAKE_DISABLE_FIND_PACKAGE_KSeExpr=ON # not packaged
- $(cmake_use_find_package color-management OpenColorIO)
- $(cmake_use_find_package fftw FFTW3)
- $(cmake_use_find_package gif GIF)
- $(cmake_use_find_package gsl GSL)
- $(cmake_use_find_package heif HEIF)
- $(cmake_use_find_package jpeg2k OpenJPEG)
- $(cmake_use_find_package jpegxl JPEGXL)
- $(cmake_use_find_package media Mlt7)
- $(cmake_use_find_package mypaint-brush-engine LibMyPaint)
- $(cmake_use_find_package openexr OpenEXR)
- $(cmake_use_find_package pdf Poppler)
- $(cmake_use_find_package raw KF5KDcraw)
- $(cmake_use_find_package webp WebP)
- $(cmake_use_find_package xsimd xsimd)
- )
-
- ecm_src_configure
-}
next reply other threads:[~2025-10-04 12:44 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-04 12:44 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-28 8:19 [gentoo-commits] repo/gentoo:master commit in: media-gfx/krita/files/, media-gfx/krita/ Andreas Sturmlechner
2024-11-28 17:34 Andreas Sturmlechner
2024-11-25 22:39 Andreas Sturmlechner
2024-11-09 15:21 Andreas Sturmlechner
2024-07-13 19:59 Andreas Sturmlechner
2024-07-13 18:02 Sam James
2024-01-21 19:15 Andreas Sturmlechner
2023-10-03 19:21 Andreas Sturmlechner
2023-01-24 16:12 Andreas Sturmlechner
2022-06-06 1:27 Sam James
2022-02-19 16:27 Andreas Sturmlechner
2021-12-29 16:34 Andreas Sturmlechner
2021-02-23 19:53 Andreas Sturmlechner
2020-10-31 9:23 Andreas Sturmlechner
2020-04-18 19:33 Andreas Sturmlechner
2019-11-15 17:37 Andreas Sturmlechner
2019-07-31 9:45 Andreas Sturmlechner
2019-07-16 11:00 Andreas Sturmlechner
2019-06-27 17:21 Andreas Sturmlechner
2019-06-27 17:21 Andreas Sturmlechner
2019-06-01 14:26 Andreas Sturmlechner
2019-04-03 18:59 Andreas Sturmlechner
2019-01-05 21:08 Andreas Sturmlechner
2018-10-15 16:46 Andreas Sturmlechner
2017-10-18 0:35 Andreas Sturmlechner
2017-10-15 20:47 Andreas Sturmlechner
2017-08-19 22:57 Andreas Sturmlechner
2017-02-15 16:40 Guilherme Amadio
2016-12-17 17:51 Johannes Huber
2016-09-22 11:40 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1759581875.c1a3997e2c36644fde4e04b9e791112f1213df53.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox