Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-imageformats for openSUSE:Factory checked in at 2024-10-03 18:01:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-imageformats (Old) and /work/SRC/openSUSE:Factory/.qt6-imageformats.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "qt6-imageformats" Thu Oct 3 18:01:55 2024 rev:31 rq:1205127 version:6.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-imageformats/qt6-imageformats.changes 2024-06-24 20:49:47.232611992 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-imageformats.new.19354/qt6-imageformats.changes 2024-10-03 18:01:56.342081534 +0200 @@ -1,0 +2,6 @@ +Sat Sep 28 08:22:58 UTC 2024 - Christophe Marin <christophe@krop.fr> + +- Update to 6.7.3 + * https://www.qt.io/blog/qt-6.7.3-released + +------------------------------------------------------------------- Old: ---- qtimageformats-everywhere-src-6.7.2.tar.xz New: ---- qtimageformats-everywhere-src-6.7.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-imageformats.spec ++++++ --- /var/tmp/diff_new_pack.p2RX2i/_old 2024-10-03 18:01:57.482128998 +0200 +++ /var/tmp/diff_new_pack.p2RX2i/_new 2024-10-03 18:01:57.486129164 +0200 @@ -16,7 +16,7 @@ # -%define real_version 6.7.2 +%define real_version 6.7.3 %define short_version 6.7 %define short_name qtimageformats %define tar_name qtimageformats-everywhere-src @@ -28,7 +28,7 @@ %endif # Name: qt6-imageformats%{?pkg_suffix} -Version: 6.7.2 +Version: 6.7.3 Release: 0 Summary: Qt 6 ImageFormat Plugins License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) ++++++ qtimageformats-everywhere-src-6.7.2.tar.xz -> qtimageformats-everywhere-src-6.7.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtimageformats-everywhere-src-6.7.2/.cmake.conf new/qtimageformats-everywhere-src-6.7.3/.cmake.conf --- old/qtimageformats-everywhere-src-6.7.2/.cmake.conf 2024-06-07 23:03:19.000000000 +0200 +++ new/qtimageformats-everywhere-src-6.7.3/.cmake.conf 2024-09-19 16:50:50.000000000 +0200 @@ -1,4 +1,4 @@ -set(QT_REPO_MODULE_VERSION "6.7.2") +set(QT_REPO_MODULE_VERSION "6.7.3") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1") list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtimageformats-everywhere-src-6.7.2/.tag new/qtimageformats-everywhere-src-6.7.3/.tag --- old/qtimageformats-everywhere-src-6.7.2/.tag 2024-06-07 23:03:19.000000000 +0200 +++ new/qtimageformats-everywhere-src-6.7.3/.tag 2024-09-19 16:50:50.000000000 +0200 @@ -1 +1 @@ -31ad4a47027dc0364b84cbfca788a72caf7fa841 +4a5d6a1ca8954148fec262c138e8e038daf569bb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtimageformats-everywhere-src-6.7.2/dependencies.yaml new/qtimageformats-everywhere-src-6.7.3/dependencies.yaml --- old/qtimageformats-everywhere-src-6.7.2/dependencies.yaml 2024-06-07 23:03:19.000000000 +0200 +++ new/qtimageformats-everywhere-src-6.7.3/dependencies.yaml 2024-09-19 16:50:50.000000000 +0200 @@ -1,4 +1,4 @@ dependencies: ../qtbase: - ref: b5fbe0923cfc566036b83c3d968f225b26117efc + ref: 92b685784960eea6eb353688cf0edeb94d69c6cd required: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtimageformats-everywhere-src-6.7.2/src/plugins/imageformats/macheif/qmacheifhandler.cpp new/qtimageformats-everywhere-src-6.7.3/src/plugins/imageformats/macheif/qmacheifhandler.cpp --- old/qtimageformats-everywhere-src-6.7.2/src/plugins/imageformats/macheif/qmacheifhandler.cpp 2024-06-07 23:03:19.000000000 +0200 +++ new/qtimageformats-everywhere-src-6.7.3/src/plugins/imageformats/macheif/qmacheifhandler.cpp 2024-09-19 16:50:50.000000000 +0200 @@ -23,6 +23,7 @@ bCanRead = (!qstrncmp(buf + 4, "ftyp", 4) && (!qstrncmp(buf + 8, "heic", 4) || !qstrncmp(buf + 8, "heix", 4) || + !qstrncmp(buf + 8, "msf1", 4) || !qstrncmp(buf + 8, "mif1", 4))); } return bCanRead; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtimageformats-everywhere-src-6.7.2/src/plugins/imageformats/webp/qwebphandler.cpp new/qtimageformats-everywhere-src-6.7.3/src/plugins/imageformats/webp/qwebphandler.cpp --- old/qtimageformats-everywhere-src-6.7.2/src/plugins/imageformats/webp/qwebphandler.cpp 2024-06-07 23:03:19.000000000 +0200 +++ new/qtimageformats-everywhere-src-6.7.3/src/plugins/imageformats/webp/qwebphandler.cpp 2024-09-19 16:50:50.000000000 +0200 @@ -213,11 +213,9 @@ return false; } - QImage srcImage = image; - bool alpha = srcImage.hasAlphaChannel(); + const bool alpha = image.hasAlphaChannel(); QImage::Format newFormat = alpha ? QImage::Format_RGBA8888 : QImage::Format_RGB888; - if (srcImage.format() != newFormat) - srcImage = srcImage.convertToFormat(newFormat); + const QImage srcImage = (image.format() == newFormat) ? image : image.convertedTo(newFormat); WebPPicture picture; WebPConfig config; @@ -232,9 +230,9 @@ picture.use_argb = 1; bool failed = false; if (alpha) - failed = !WebPPictureImportRGBA(&picture, srcImage.bits(), srcImage.bytesPerLine()); + failed = !WebPPictureImportRGBA(&picture, srcImage.constBits(), srcImage.bytesPerLine()); else - failed = !WebPPictureImportRGB(&picture, srcImage.bits(), srcImage.bytesPerLine()); + failed = !WebPPictureImportRGB(&picture, srcImage.constBits(), srcImage.bytesPerLine()); if (failed) { qWarning() << "failed to import image data to webp picture.";