pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

krita: finish update



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Aug 14 14:09:21 2025 +0200
Changeset:	7c0f88694cec2918e1c659983b9852f8cfd4bb75

Modified Files:
	krita/distinfo
Added Files:
	krita/log
Removed Files:
	krita/patches/patch-plugins_impex_heif_HeifExport.cpp
	krita/patches/patch-plugins_impex_heif_HeifImport.cpp

Log Message:
krita: finish update

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7c0f88694cec2918e1c659983b9852f8cfd4bb75

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 krita/distinfo                                     |  2 -
 krita/log                                          | 27 +++++++++
 .../patch-plugins_impex_heif_HeifExport.cpp        | 66 ----------------------
 .../patch-plugins_impex_heif_HeifImport.cpp        | 64 ---------------------
 4 files changed, 27 insertions(+), 132 deletions(-)

diffs:
diff --git a/krita/distinfo b/krita/distinfo
index 1496284e77..55ac6de4a4 100644
--- a/krita/distinfo
+++ b/krita/distinfo
@@ -6,5 +6,3 @@ Size (krita-5.2.11.tar.xz) = 190966516 bytes
 SHA1 (patch-cmake_modules_FindLibMyPaint.cmake) = 4d2273db42e4427f1ec2f4f2e1c86d976c0e24f3
 SHA1 (patch-krita_data_CMakeLists.txt) = bc0a37c1a60a2e0702c4a87b70ae0abf8359cc45
 SHA1 (patch-plugins_dockers_CMakeLists.txt) = 67623184a85eea82727e67eb076cc7b7c772d348
-SHA1 (patch-plugins_impex_heif_HeifExport.cpp) = 77f20d42440eb03c7061f3810e01e475dde36b87
-SHA1 (patch-plugins_impex_heif_HeifImport.cpp) = 0790d2b9864bc28327522fcbf7dd8d7e3dc12d5b
diff --git a/krita/log b/krita/log
new file mode 100644
index 0000000000..8b31984fe8
--- /dev/null
+++ b/krita/log
@@ -0,0 +1,27 @@
+5.2.11
+
+Bug Fixes
+
+    Fix an issue updating the canvas when entering/exiting canvas-only mode
+    Fix an issue in the index colors filter when trying to apply the filter to a layer that has only one, non-transparent color
+    Fix Python invalid escape sequence warnings BUG:489526. Thanks Frey Lupen!
+
+5.2.10
+
+Bug Fixes
+
+    Raster layer opacity changes now properly clear the animation cache. Bug 499389
+    Fix incorrect scaling of animated transform mask values. Bug 469881
+    Allow resetting onion skins to default values. Bug 466977
+    Fix a crash in clipboard handling. Bug 501560
+    Resize canvas: reset the canvas size when toggling the "preserve aspect ratio" button. Bug 452605
+    TIFF: Tiff files would append the entire image again on saving again because we didn't truncate the file on saving. Bug 500870
+    Fix a crash when autosaving extremely big files.
+    Make updating the rulers more responsive during canvas transformations
+    Make panning more responsive
+    Improve performance of the statusbar
+    Fix the transform tool to show reordered layers preview Bug 503201
+    OpenRaster: default group layers to non-passthrough mode, following the specitication. Thanks Wareya Na!
+    Palettes: use the title field for the palette name for Adobe Color Book palettes
+    Fix the brush preview when creating a new preset with canvas mirroring enabled. Bug 501153
+    Fix handling of groups in palette files
diff --git a/krita/patches/patch-plugins_impex_heif_HeifExport.cpp b/krita/patches/patch-plugins_impex_heif_HeifExport.cpp
deleted file mode 100644
index 3941574e3e..0000000000
--- a/krita/patches/patch-plugins_impex_heif_HeifExport.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-$NetBSD$
-
-Support libheif 1.20.
-https://invent.kde.org/graphics/krita/-/commit/6ad4fa68a9e1ce06fc884e34f3cedcdd4b9a2076
-
---- plugins/impex/heif/HeifExport.cpp.orig	2025-07-12 19:30:12.000000000 +0000
-+++ plugins/impex/heif/HeifExport.cpp
-@@ -137,6 +137,12 @@ KisImportExportErrorCode HeifExport::con
-     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::con
-                 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::con
-                 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::con
- 
-                 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::con
- 
-                 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/krita/patches/patch-plugins_impex_heif_HeifImport.cpp b/krita/patches/patch-plugins_impex_heif_HeifImport.cpp
deleted file mode 100644
index 07a89b18c1..0000000000
--- a/krita/patches/patch-plugins_impex_heif_HeifImport.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-$NetBSD$
-
-Support libheif 1.20.
-https://invent.kde.org/graphics/krita/-/commit/6ad4fa68a9e1ce06fc884e34f3cedcdd4b9a2076
-
---- plugins/impex/heif/HeifImport.cpp.orig	2025-07-12 19:30:12.000000000 +0000
-+++ plugins/impex/heif/HeifImport.cpp
-@@ -214,6 +214,12 @@ KisImportExportErrorCode HeifImport::con
-     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::con
- 
-         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::con
-         } 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::con
-                                     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::con
-                                       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 =


Home | Main Index | Thread Index | Old Index