Hello community,

here is the log from the commit of package libqt5-qtimageformats for 
openSUSE:Factory checked in at 2016-06-25 01:51:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtimageformats (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtimageformats.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtimageformats"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libqt5-qtimageformats/libqt5-qtimageformats.changes  
    2016-05-17 17:04:58.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.libqt5-qtimageformats.new/libqt5-qtimageformats.changes
 2016-06-25 01:51:19.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Jun  8 14:15:17 UTC 2016 - [email protected]
+
+- Update to 5.6.1
+  * For more details please see:
+    http://blog.qt.io/blog/2016/06/08/qt-5-6-1-released/
+
+-------------------------------------------------------------------

Old:
----
  qtimageformats-opensource-src-5.6.0.tar.xz

New:
----
  qtimageformats-opensource-src-5.6.1.tar.xz

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

Other differences:
------------------
++++++ libqt5-qtimageformats.spec ++++++
--- /var/tmp/diff_new_pack.PcpvNR/_old  2016-06-25 01:51:20.000000000 +0200
+++ /var/tmp/diff_new_pack.PcpvNR/_new  2016-06-25 01:51:20.000000000 +0200
@@ -19,15 +19,15 @@
 %define qt5_snapshot 0
 
 Name:           libqt5-qtimageformats
-Version:        5.6.0
+Version:        5.6.1
 Release:        0
 Summary:        Qt 5 Image Format Plugins
 License:        SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
 Group:          Development/Libraries/X11
 Url:            http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.6.0
-%define so_version 5.6.0
+%define real_version 5.6.1
+%define so_version 5.6.1
 %define tar_version qtimageformats-opensource-src-%{real_version}
 Source:         %{tar_version}.tar.xz
 Source1:        baselibs.conf

++++++ qtimageformats-opensource-src-5.6.0.tar.xz -> 
qtimageformats-opensource-src-5.6.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtimageformats-opensource-src-5.6.0/.qmake.conf 
new/qtimageformats-opensource-src-5.6.1/.qmake.conf
--- old/qtimageformats-opensource-src-5.6.0/.qmake.conf 2016-02-02 
13:12:49.000000000 +0100
+++ new/qtimageformats-opensource-src-5.6.1/.qmake.conf 2016-05-10 
20:22:55.000000000 +0200
@@ -1,3 +1,3 @@
 load(qt_build_config)
 
-MODULE_VERSION = 5.6.0
+MODULE_VERSION = 5.6.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtimageformats-opensource-src-5.6.0/.tag 
new/qtimageformats-opensource-src-5.6.1/.tag
--- old/qtimageformats-opensource-src-5.6.0/.tag        2016-02-02 
13:12:49.000000000 +0100
+++ new/qtimageformats-opensource-src-5.6.1/.tag        2016-05-10 
20:22:55.000000000 +0200
@@ -1 +1 @@
-0bd46d5861fa7b48c87cd3a734d00671df929869
+cbf2d7e7696a4a08360c2004dfcbb8be7c1d2edb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/dds/dds.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/dds/dds.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/dds/dds.pro    
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/dds/dds.pro    
    2016-05-10 20:22:55.000000000 +0200
@@ -1,9 +1,5 @@
 TARGET = qdds
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QDDSPlugin
-load(qt_plugin)
-
 HEADERS += \
     ddsheader.h \
     qddshandler.h
@@ -14,3 +10,7 @@
     qddshandler.cpp
 
 OTHER_FILES += dds.json
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QDDSPlugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/icns/icns.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/icns/icns.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/icns/icns.pro  
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/icns/icns.pro  
    2016-05-10 20:22:55.000000000 +0200
@@ -1,9 +1,5 @@
 TARGET = qicns
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QICNSPlugin
-load(qt_plugin)
-
 DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
 
 HEADERS += \
@@ -14,3 +10,7 @@
     qicnshandler.cpp
 
 OTHER_FILES += icns.json
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QICNSPlugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/icns/qicnshandler.cpp
 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/icns/qicnshandler.cpp
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/icns/qicnshandler.cpp
      2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/icns/qicnshandler.cpp
      2016-05-10 20:22:55.000000000 +0200
@@ -810,7 +810,7 @@
         if (imageCount() > 0 && m_currentIconIndex <= imageCount()) {
             const ICNSEntry &icon = m_icons.at(m_currentIconIndex);
             if (icon.variant != 0)
-                return nameFromOSType(icon.variant) + '-' + 
nameFromOSType(icon.ostype);
+                return QByteArray(nameFromOSType(icon.variant) + '-' + 
nameFromOSType(icon.ostype));
             return nameFromOSType(icon.ostype);
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/jp2/jp2.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/jp2/jp2.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/jp2/jp2.pro    
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/jp2/jp2.pro    
    2016-05-10 20:22:55.000000000 +0200
@@ -1,9 +1,9 @@
 TARGET  = qjp2
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QJp2Plugin
-load(qt_plugin)
-
 include(qjp2handler.pri)
 SOURCES += main.cpp
 OTHER_FILES += jp2.json
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QJp2Plugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/mng/mng.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/mng/mng.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/mng/mng.pro    
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/mng/mng.pro    
    2016-05-10 20:22:55.000000000 +0200
@@ -1,9 +1,9 @@
 TARGET  = qmng
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QMngPlugin
-load(qt_plugin)
-
 include(qmnghandler.pri)
 SOURCES += main.cpp
 OTHER_FILES += mng.json
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QMngPlugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/tga/tga.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/tga/tga.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/tga/tga.pro    
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/tga/tga.pro    
    2016-05-10 20:22:55.000000000 +0200
@@ -1,9 +1,5 @@
 TARGET = qtga
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QTgaPlugin
-load(qt_plugin)
-
 HEADERS += qtgahandler.h \
     qtgafile.h
 SOURCES += qtgahandler.cpp \
@@ -11,3 +7,7 @@
 OTHER_FILES += tga.json
 
 SOURCES += main.cpp
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QTgaPlugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/tiff/qtiffhandler.cpp
 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/tiff/qtiffhandler.cpp
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/tiff/qtiffhandler.cpp
      2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/tiff/qtiffhandler.cpp
      2016-05-10 20:22:55.000000000 +0200
@@ -251,8 +251,19 @@
         format = QImage::Format_Indexed8;
     else if (samplesPerPixel < 4)
         format = QImage::Format_RGB32;
-    else
-        format = QImage::Format_ARGB32_Premultiplied;
+    else {
+        uint16 count;
+        uint16 *extrasamples;
+        // If there is any definition of the alpha-channel, libtiff will 
return premultiplied
+        // data to us. If there is none, libtiff will not touch it and  we 
assume it to be
+        // non-premultiplied, matching behavior of tested image editors, and 
how older Qt
+        // versions used to save it.
+        bool gotField = TIFFGetField(tiff, TIFFTAG_EXTRASAMPLES, &count, 
&extrasamples);
+        if (!gotField || !count || extrasamples[0] == EXTRASAMPLE_UNSPECIFIED)
+            format = QImage::Format_ARGB32;
+        else
+            format = QImage::Format_ARGB32_Premultiplied;
+    }
 
     headersRead = true;
     return true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/tiff/tiff.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/tiff/tiff.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/tiff/tiff.pro  
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/tiff/tiff.pro  
    2016-05-10 20:22:55.000000000 +0200
@@ -1,9 +1,5 @@
 TARGET  = qtiff
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QTiffPlugin
-load(qt_plugin)
-
 HEADERS += qtiffhandler_p.h
 SOURCES += main.cpp qtiffhandler.cpp
 wince*: SOURCES += qfunctions_wince.cpp
@@ -15,3 +11,7 @@
 } else {
     include($$PWD/../../../3rdparty/libtiff.pri)
 }
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QTiffPlugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/wbmp/wbmp.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/wbmp/wbmp.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/wbmp/wbmp.pro  
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/wbmp/wbmp.pro  
    2016-05-10 20:22:55.000000000 +0200
@@ -1,11 +1,11 @@
 TARGET = qwbmp
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QWbmpPlugin
-load(qt_plugin)
-
 HEADERS += qwbmphandler_p.h
 SOURCES += qwbmphandler.cpp
 OTHER_FILES += wbmp.json
 
 SOURCES += main.cpp
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QWbmpPlugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/webp/webp.pro 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/webp/webp.pro
--- 
old/qtimageformats-opensource-src-5.6.0/src/plugins/imageformats/webp/webp.pro  
    2016-02-02 13:12:49.000000000 +0100
+++ 
new/qtimageformats-opensource-src-5.6.1/src/plugins/imageformats/webp/webp.pro  
    2016-05-10 20:22:55.000000000 +0200
@@ -1,9 +1,5 @@
 TARGET  = qwebp
 
-PLUGIN_TYPE = imageformats
-PLUGIN_CLASS_NAME = QWebpPlugin
-load(qt_plugin)
-
 HEADERS += qwebphandler_p.h
 SOURCES += main.cpp qwebphandler.cpp
 OTHER_FILES += webp.json
@@ -14,3 +10,7 @@
 } else {
     include($$PWD/../../../3rdparty/libwebp.pri)
 }
+
+PLUGIN_TYPE = imageformats
+PLUGIN_CLASS_NAME = QWebpPlugin
+load(qt_plugin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtimageformats-opensource-src-5.6.0/tests/auto/tiff/tst_qtiff.cpp 
new/qtimageformats-opensource-src-5.6.1/tests/auto/tiff/tst_qtiff.cpp
--- old/qtimageformats-opensource-src-5.6.0/tests/auto/tiff/tst_qtiff.cpp       
2016-02-02 13:12:49.000000000 +0100
+++ new/qtimageformats-opensource-src-5.6.1/tests/auto/tiff/tst_qtiff.cpp       
2016-05-10 20:22:55.000000000 +0200
@@ -346,6 +346,7 @@
         QImageWriter writer(&buf, format);
         QVERIFY(writer.write(image));
     }
+    image = image.convertToFormat(QImage::Format_ARGB32_Premultiplied);
 
     QImage image2;
     {


Reply via email to