diff --git a/.gitignore b/.gitignore index 53035ec..83a7ddd 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /kio-extras-22.04.1.tar.xz /kio-extras-22.04.1.tar.xz /kio-extras-22.04.3.tar.xz +/kio-extras-22.08.0.tar.xz diff --git a/kio-extras.spec b/kio-extras.spec index 8d54792..316ba8c 100644 --- a/kio-extras.spec +++ b/kio-extras.spec @@ -6,8 +6,8 @@ %endif Name: kio-extras -Version: 22.04.3 -Release: 2%{?dist} +Version: 22.08.0 +Release: 1%{?dist} Summary: Additional components to increase the functionality of KIO Framework License: GPLv2+ @@ -185,6 +185,7 @@ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 10" || %{_kf5_plugindir}/kded/recentdocumentsnotifier.so %{_kf5_plugindir}/kded/smbwatcher.so %{_kf5_plugindir}/kfileitemaction/kactivitymanagerd_fileitem_linking_plugin.so +%{_kf5_plugindir}/kfileitemaction/forgetfileitemaction.so %{_kf5_plugindir}/kio/about.so %{_kf5_plugindir}/kio/activities.so %{_kf5_plugindir}/kio/archive.so @@ -219,6 +220,9 @@ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 10" || %changelog +* Fri Aug 19 2022 Marc Deop - 22.08.0-1 +- 22.08.0 + * Thu Jul 21 2022 Fedora Release Engineering - 22.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/kio-extras_largeimages.patch b/kio-extras_largeimages.patch index 7cf5159..e67e7b4 100644 --- a/kio-extras_largeimages.patch +++ b/kio-extras_largeimages.patch @@ -1,13 +1,12 @@ -diff -rupN kio-extras-19.12.3/thumbnail/imagecreator.cpp kio-extras-19.12.3-new/thumbnail/imagecreator.cpp ---- kio-extras-19.12.3/thumbnail/imagecreator.cpp 2020-03-03 20:33:29.000000000 +0100 -+++ kio-extras-19.12.3-new/thumbnail/imagecreator.cpp 2020-04-17 03:13:31.630526008 +0200 -@@ -34,6 +34,9 @@ bool ImageCreator::create(const QString +--- kio-extras-22.08.0/thumbnail/imagecreator.cpp 2022-08-10 22:53:51.000000000 +0200 ++++ kio-extras-22.08.0-new/thumbnail/imagecreator.cpp 2022-08-19 16:23:24.160033608 +0200 +@@ -56,6 +56,9 @@ bool ImageCreator::create(const QString { // create image preview QImageReader ir(path); + QSize sz = ir.size(); + if(sz.width() > 10240 || sz.height() > 10240) + return false; - ir.setDecideFormatFromContent(true); - img = ir.read(); - if (img.isNull()) + + /* The idea is to read the free ram and try to avoid OS trashing when the + * image is too big: diff --git a/sources b/sources index 2de63cb..83497b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kio-extras-22.04.3.tar.xz) = 8e6be2829743b4a44326335dfbfd655c7b52508ab7db566e0f5bec1a56a39ebd33a5d0438b7dc192ec3f0ebcde34ccff5e37d6b63d6bfd9f4ba5a5624616d732 +SHA512 (kio-extras-22.08.0.tar.xz) = 09ef3c3a7c6efc9a534617b2c6dae0c7c6b0f4ca136436b1c111a91f4b97077ccd9dd91fb255e0b30e189bfaf0c10ecbdaa27dc7fd718c99d17eea3513ee27ae