Hello community,

here is the log from the commit of package libqt5-qtimageformats for 
openSUSE:Factory checked in at 2020-09-14 12:07:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtimageformats (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtimageformats.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtimageformats"

Mon Sep 14 12:07:31 2020 rev:40 rq:833643 version:5.15.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libqt5-qtimageformats/libqt5-qtimageformats.changes  
    2020-05-29 21:15:25.638704807 +0200
+++ 
/work/SRC/openSUSE:Factory/.libqt5-qtimageformats.new.4249/libqt5-qtimageformats.changes
    2020-09-14 12:08:33.927948872 +0200
@@ -1,0 +2,8 @@
+Thu Sep 10 07:57:13 UTC 2020 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 5.15.1:
+  * New bugfix release
+  * For more details please see:
+    
http://code.qt.io/cgit/qt/qtimageformats.git/plain/dist/changes-5.15.1/?h=5.15.1
+
+-------------------------------------------------------------------

Old:
----
  qtimageformats-everywhere-src-5.15.0.tar.xz

New:
----
  qtimageformats-everywhere-src-5.15.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libqt5-qtimageformats.spec ++++++
--- /var/tmp/diff_new_pack.EJ6qjy/_old  2020-09-14 12:08:37.907952937 +0200
+++ /var/tmp/diff_new_pack.EJ6qjy/_new  2020-09-14 12:08:37.911952942 +0200
@@ -18,11 +18,11 @@
 
 %define qt5_snapshot 0
 %define base_name libqt5
-%define real_version 5.15.0
-%define so_version 5.15.0
-%define tar_version qtimageformats-everywhere-src-5.15.0
+%define real_version 5.15.1
+%define so_version 5.15.1
+%define tar_version qtimageformats-everywhere-src-5.15.1
 Name:           libqt5-qtimageformats
-Version:        5.15.0
+Version:        5.15.1
 Release:        0
 Summary:        Qt 5 Image Format Plugins
 License:        LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later)

++++++ qtimageformats-everywhere-src-5.15.0.tar.xz -> 
qtimageformats-everywhere-src-5.15.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtimageformats-everywhere-src-5.15.0/.qmake.conf 
new/qtimageformats-everywhere-src-5.15.1/.qmake.conf
--- old/qtimageformats-everywhere-src-5.15.0/.qmake.conf        2020-04-27 
09:24:21.000000000 +0200
+++ new/qtimageformats-everywhere-src-5.15.1/.qmake.conf        2020-08-24 
11:20:53.000000000 +0200
@@ -2,4 +2,4 @@
 
 DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS QT_NO_LINKED_LIST
 
-MODULE_VERSION = 5.15.0
+MODULE_VERSION = 5.15.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtimageformats-everywhere-src-5.15.0/.tag 
new/qtimageformats-everywhere-src-5.15.1/.tag
--- old/qtimageformats-everywhere-src-5.15.0/.tag       2020-04-27 
09:24:21.000000000 +0200
+++ new/qtimageformats-everywhere-src-5.15.1/.tag       2020-08-24 
11:20:53.000000000 +0200
@@ -1 +1 @@
-b26e5fbf4c50b70ec773a0265c27bb3b262c71ed
+2cacdd5d5c8feab792126b99d0384092683c551b
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-everywhere-src-5.15.0/dist/changes-5.15.1 
new/qtimageformats-everywhere-src-5.15.1/dist/changes-5.15.1
--- old/qtimageformats-everywhere-src-5.15.0/dist/changes-5.15.1        
1970-01-01 01:00:00.000000000 +0100
+++ new/qtimageformats-everywhere-src-5.15.1/dist/changes-5.15.1        
2020-08-24 11:20:53.000000000 +0200
@@ -0,0 +1,20 @@
+Qt 5.15.1 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.15.0.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+https://doc.qt.io/qt-5/index.html
+
+The Qt version 5.15 series is binary compatible with the 5.14.x series.
+Applications compiled for 5.14 will continue to run with 5.15.
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+https://bugreports.qt.io/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+ - This release contains only minor code improvements.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-everywhere-src-5.15.0/src/plugins/imageformats/jp2/qjp2handler.cpp
 
new/qtimageformats-everywhere-src-5.15.1/src/plugins/imageformats/jp2/qjp2handler.cpp
--- 
old/qtimageformats-everywhere-src-5.15.0/src/plugins/imageformats/jp2/qjp2handler.cpp
       2020-04-27 09:24:21.000000000 +0200
+++ 
new/qtimageformats-everywhere-src-5.15.1/src/plugins/imageformats/jp2/qjp2handler.cpp
       2020-08-24 11:20:53.000000000 +0200
@@ -45,6 +45,7 @@
 #include "qcolor.h"
 
 #include <jasper/jasper.h>
+#include <math.h> // for pow
 
 QT_BEGIN_NAMESPACE
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-everywhere-src-5.15.0/src/plugins/imageformats/webp/qwebphandler.cpp
 
new/qtimageformats-everywhere-src-5.15.1/src/plugins/imageformats/webp/qwebphandler.cpp
--- 
old/qtimageformats-everywhere-src-5.15.0/src/plugins/imageformats/webp/qwebphandler.cpp
     2020-04-27 09:24:21.000000000 +0200
+++ 
new/qtimageformats-everywhere-src-5.15.1/src/plugins/imageformats/webp/qwebphandler.cpp
     2020-08-24 11:20:53.000000000 +0200
@@ -167,8 +167,11 @@
         // Read global meta-data chunks first
         WebPChunkIterator metaDataIter;
         if ((m_formatFlags & ICCP_FLAG) && WebPDemuxGetChunk(m_demuxer, 
"ICCP", 1, &metaDataIter)) {
-            const QByteArray iccProfile = 
QByteArray::fromRawData(reinterpret_cast<const char 
*>(metaDataIter.chunk.bytes),
-                                                                  
metaDataIter.chunk.size);
+            QByteArray iccProfile = 
QByteArray::fromRawData(reinterpret_cast<const char 
*>(metaDataIter.chunk.bytes),
+                                                            
metaDataIter.chunk.size);
+            // Ensure the profile is 4-byte aligned.
+            if (reinterpret_cast<qintptr>(iccProfile.constData()) & 0x3)
+                iccProfile.detach();
             m_colorSpace = QColorSpace::fromIccProfile(iccProfile);
             // ### consider parsing EXIF and/or XMP metadata too.
             WebPDemuxReleaseChunkIterator(&metaDataIter);
@@ -288,6 +291,7 @@
     if (!WebPEncode(&config, &picture)) {
         qWarning() << "failed to encode webp picture, error code: " << 
picture.error_code;
         WebPPictureFree(&picture);
+        WebPMemoryWriterClear(&writer);
         return false;
     }
 
@@ -336,6 +340,7 @@
                    static_cast<size_t>(device()->write(reinterpret_cast<const 
char *>(writer.mem), writer.size)));
     }
     WebPPictureFree(&picture);
+    WebPMemoryWriterClear(&writer);
 
     return res;
 }


Reply via email to