Hello community,

here is the log from the commit of package libksane for openSUSE:Factory 
checked in at 2018-08-22 14:17:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libksane (Old)
 and      /work/SRC/openSUSE:Factory/.libksane.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libksane"

Wed Aug 22 14:17:51 2018 rev:96 rq:630283 version:18.08.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libksane/libksane.changes        2018-07-18 
22:45:39.884607067 +0200
+++ /work/SRC/openSUSE:Factory/.libksane.new/libksane.changes   2018-08-22 
14:17:53.598002089 +0200
@@ -1,0 +2,24 @@
+Thu Aug 16 22:07:36 UTC 2018 - christo...@krop.fr
+
+- Update to 18.08.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.08.0.php
+- Changes since 18.07.80:
+  * None
+
+-------------------------------------------------------------------
+Thu Jul 26 13:01:01 UTC 2018 - lbeltr...@kde.org
+
+- Update to 18.07.80
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.07.80.php
+- Changes since 18.04.3:
+  * Add workaround for broken bytes_per_line values in line-art mode
+  * Make finding Sane required on all platforms except Windows
+  * wrong place to fix clang warning
+  * clang static anayzer report this variable is never used in this function
+  * fix clang static analyzer report about uninitialized argument value
+
+-------------------------------------------------------------------

Old:
----
  libksane-18.04.3.tar.xz

New:
----
  libksane-18.08.0.tar.xz

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

Other differences:
------------------
++++++ libksane.spec ++++++
--- /var/tmp/diff_new_pack.ON04eb/_old  2018-08-22 14:17:54.182003473 +0200
+++ /var/tmp/diff_new_pack.ON04eb/_new  2018-08-22 14:17:54.186003482 +0200
@@ -21,11 +21,11 @@
 %define _so 5
 %define lname libKF5Sane
 Name:           libksane
-Version:        18.04.3
+Version:        18.08.0
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
-%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
+%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Summary:        KDE scanning library
 License:        GPL-2.0+
 Group:          Development/Libraries/KDE
@@ -75,9 +75,7 @@
 The KDE scanner library provides an API and widgets for using
 scanners and other imaging devices supported by SANE.
 
-%if %{with lang}
 %lang_package
-%endif
 
 %prep
 %setup -q

++++++ libksane-18.04.3.tar.xz -> libksane-18.08.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/CMakeLists.txt 
new/libksane-18.08.0/CMakeLists.txt
--- old/libksane-18.04.3/CMakeLists.txt 2018-07-10 02:07:36.000000000 +0200
+++ new/libksane-18.08.0/CMakeLists.txt 2018-08-10 02:07:00.000000000 +0200
@@ -55,7 +55,7 @@
     )
 
     # Check if sane API is available.
-    find_package(Sane)
+    find_package(Sane REQUIRED)
     message(STATUS "SANE_FOUND:       ${SANE_FOUND}")
     message(STATUS "SANE_INCLUDE_DIR: ${SANE_INCLUDE_DIR}")
     message(STATUS "SANE_LIBRARY:     ${SANE_LIBRARY}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/po/ca/libksane.po 
new/libksane-18.08.0/po/ca/libksane.po
--- old/libksane-18.04.3/po/ca/libksane.po      2018-07-10 02:07:35.000000000 
+0200
+++ new/libksane-18.08.0/po/ca/libksane.po      2018-08-10 02:07:00.000000000 
+0200
@@ -1,17 +1,17 @@
 # Translation of libksane.po to Catalan
-# Copyright (C) 2008-2016 This_file_is_part_of_KDE
+# Copyright (C) 2008-2018 This_file_is_part_of_KDE
 # This file is distributed under the license LGPL version 2.1 or
 # version 3 or later versions approved by the membership of KDE e.V.
 #
-# Josep Ma. Ferrer <txe...@gmail.com>, 2008, 2009, 2010, 2011, 2012, 2015.
+# Josep Ma. Ferrer <txe...@gmail.com>, 2008, 2009, 2010, 2011, 2012, 2015, 
2018.
 # Antoni Bella Pérez <antonibel...@yahoo.com>, 2015, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: libksane\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-16 03:14+0100\n"
-"PO-Revision-Date: 2016-09-04 23:35+0100\n"
-"Last-Translator: Antoni Bella Pérez <antonibel...@yahoo.com>\n"
+"PO-Revision-Date: 2018-08-04 20:19+0100\n"
+"Last-Translator: Josep Ma. Ferrer <txe...@gmail.com>\n"
 "Language-Team: Catalan <kde-i18n...@kde.org>\n"
 "Language: ca\n"
 "MIME-Version: 1.0\n"
@@ -182,7 +182,7 @@
 msgstr ""
 "<html>El sistema del SANE (Scanner Access Now Easy) no ha pogut trobar cap "
 "dispositiu.<br>Verifiqueu que l'escàner estigui connectat i encès<br>o "
-"verifiqueu la configuració de l'escàner en el sistema.<br>Per a detalls "
+"verifiqueu la configuració de l'escàner en el sistema.<br>Per als detalls "
 "quant al SANE, vegeu la <a href='http://www.sane-project.org/'>pàgina web "
 "del SANE</a>.</html>"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/po/ca@valencia/libksane.po 
new/libksane-18.08.0/po/ca@valencia/libksane.po
--- old/libksane-18.04.3/po/ca@valencia/libksane.po     2018-07-10 
02:07:35.000000000 +0200
+++ new/libksane-18.08.0/po/ca@valencia/libksane.po     2018-08-10 
02:07:00.000000000 +0200
@@ -1,17 +1,17 @@
 # Translation of libksane.po to Catalan (Valencian)
-# Copyright (C) 2008-2016 This_file_is_part_of_KDE
+# Copyright (C) 2008-2018 This_file_is_part_of_KDE
 # This file is distributed under the license LGPL version 2.1 or
 # version 3 or later versions approved by the membership of KDE e.V.
 #
-# Josep Ma. Ferrer <txe...@gmail.com>, 2008, 2009, 2010, 2011, 2012, 2015.
+# Josep Ma. Ferrer <txe...@gmail.com>, 2008, 2009, 2010, 2011, 2012, 2015, 
2018.
 # Antoni Bella Pérez <antonibel...@yahoo.com>, 2015, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: libksane\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-16 03:14+0100\n"
-"PO-Revision-Date: 2016-09-04 23:35+0100\n"
-"Last-Translator: Antoni Bella Pérez <antonibel...@yahoo.com>\n"
+"PO-Revision-Date: 2018-08-04 20:19+0100\n"
+"Last-Translator: Josep Ma. Ferrer <txe...@gmail.com>\n"
 "Language-Team: Catalan <kde-i18n...@kde.org>\n"
 "Language: ca@valencia\n"
 "MIME-Version: 1.0\n"
@@ -182,7 +182,7 @@
 msgstr ""
 "<html>El sistema del SANE (Scanner Access Now Easy) no ha pogut trobar cap "
 "dispositiu.<br>Verifiqueu que l'escàner estiga connectat i encés<br>o "
-"verifiqueu la configuració de l'escàner en el sistema.<br>Per a detalls "
+"verifiqueu la configuració de l'escàner en el sistema.<br>Per als detalls "
 "quant al SANE, vegeu la <a href='http://www.sane-project.org/'>pàgina web "
 "del SANE</a>.</html>"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/po/eu/libksane.po 
new/libksane-18.08.0/po/eu/libksane.po
--- old/libksane-18.04.3/po/eu/libksane.po      2018-07-10 02:07:36.000000000 
+0200
+++ new/libksane-18.08.0/po/eu/libksane.po      2018-08-10 02:07:00.000000000 
+0200
@@ -1,28 +1,30 @@
 # Translation of libksane.po to Euskara/Basque (eu).
-# Copyright (C) 2009, 2011, Free Software Foundation, Inc.
+# Copyright (C) 2009-2018, Free Software Foundation.
 # This file is distributed under the same license as the kdegraphics package.
+# KDE euskaratzeko proiektuaren arduraduan <xa...@euskalnet.net>.
 #
+# Translators:
 # Enbata <urazp...@hotmail.com>, 2009.
-# Iñigo Salvador Azurmendi <xa...@euskalnet.net>, 2011.
+# Iñigo Salvador Azurmendi <xa...@euskalnet.net>, 2011, 2018.
 msgid ""
 msgstr ""
 "Project-Id-Version: libksane\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-16 03:14+0100\n"
-"PO-Revision-Date: 2011-09-05 20:33+0200\n"
+"PO-Revision-Date: 2018-08-04 16:27+0100\n"
 "Last-Translator: Iñigo Salvador Azurmendi <xa...@euskalnet.net>\n"
-"Language-Team: Basque <itzulp...@euskalgnu.org>\n"
+"Language-Team: Basque <kde-i18n-...@kde.org>\n"
 "Language: eu\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Lokalize 1.2\n"
+"X-Generator: Lokalize 2.0\n"
 
 #: ../ksanetwain/ktwain_widget.cpp:50
 #, kde-format
 msgid "Open scan dialog"
-msgstr "Ireki eskanerraren elkarrizketa"
+msgstr "Ireki eskanerraren elkarrizketa-koadroa"
 
 #: i18n-hplip.cpp:3
 #, kde-format
@@ -175,6 +177,11 @@
 "systems scanner setup.<br>For details about SANE see the <a href='http://www.";
 "sane-project.org/'>SANE homepage</a>.</html>"
 msgstr ""
+"<html>SANE (Scanner Access Now Easy - eSkanerra Atzitu oraiN Erraz) sistemak "
+"ezin izan du gailurik aurkitu.<br>Egiaztatu eskanerra entxufatuta eta "
+"piztuta dagoela<br>edo egiaztatu zure sistemaren eskanerraren ezarpena."
+"<br>SANEri buruzko xehetasunak hemen <a href='http://www.sane-project.";
+"org/'>SANE homepage</a>.</html>"
 
 #: ksanedevicedialog.cpp:86
 #, kde-format
@@ -303,13 +310,13 @@
 #, kde-format
 msgctxt "@title:window"
 msgid "General Error"
-msgstr ""
+msgstr "Errore orokorra"
 
 #: ksanewidget_p.cpp:1161
 #, kde-format
 msgctxt "@title:window"
 msgid "Information"
-msgstr ""
+msgstr "Informazioa"
 
 #: options/ksaneoptcombo.cpp:145
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/po/zh_CN/libksane.po 
new/libksane-18.08.0/po/zh_CN/libksane.po
--- old/libksane-18.04.3/po/zh_CN/libksane.po   2018-07-10 02:07:36.000000000 
+0200
+++ new/libksane-18.08.0/po/zh_CN/libksane.po   2018-08-10 02:07:00.000000000 
+0200
@@ -10,7 +10,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-16 03:14+0100\n"
-"PO-Revision-Date: 2018-07-03 17:41\n"
+"PO-Revision-Date: 2018-07-24 08:47\n"
 "Last-Translator: guoyunhebrave <guoyunhebr...@gmail.com>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/po/zh_TW/libksane.po 
new/libksane-18.08.0/po/zh_TW/libksane.po
--- old/libksane-18.04.3/po/zh_TW/libksane.po   2018-07-10 02:07:36.000000000 
+0200
+++ new/libksane-18.08.0/po/zh_TW/libksane.po   2018-08-10 02:07:00.000000000 
+0200
@@ -488,71 +488,3 @@
 #, kde-format
 msgid "Gamma"
 msgstr "Gamma"
-
-#~ msgid "%1 usec"
-#~ msgid_plural "%1 usec"
-#~ msgstr[0] "%1 微秒"
-
-#~ msgctxt "Parameter and Unit"
-#~ msgid "%1 mm"
-#~ msgstr "%1 mm"
-
-#~ msgctxt "Parameter and Unit"
-#~ msgid "%1 DPI"
-#~ msgstr "%1 DPI"
-
-#~ msgctxt "Parameter and Unit"
-#~ msgid "%1 %"
-#~ msgstr "%1 %"
-
-#~ msgctxt "Parameter and Unit"
-#~ msgid "%1 usec"
-#~ msgid_plural "%1 usec"
-#~ msgstr[0] "%1 微秒"
-
-#~ msgctxt "SpinBox parameter unit"
-#~ msgid " usec"
-#~ msgid_plural " usecs"
-#~ msgstr[0] " 微秒"
-
-#~ msgctxt "Double numbers. SpinBox parameter unit"
-#~ msgid " mm"
-#~ msgstr " mm"
-
-#~ msgctxt "Double numbers. SpinBox parameter unit"
-#~ msgid " DPI"
-#~ msgstr " DPI"
-
-#~ msgctxt "Double numbers. SpinBox parameter unit"
-#~ msgid " %"
-#~ msgstr " %"
-
-#~ msgctxt "Double numbers. SpinBox parameter unit"
-#~ msgid " usec"
-#~ msgstr " 微秒"
-
-#~ msgid "Other Options"
-#~ msgstr "其他選項"
-
-#~ msgid "The image format is not (yet?) supported by libksane."
-#~ msgstr "libksane 尚未支援此影像格式。"
-
-#~ msgid "The lamp is warming up."
-#~ msgstr "燈在暖機中了。"
-
-#~ msgctxt "Parameter and Unit"
-#~ msgid "%1 Pixels"
-#~ msgstr "%1 像素"
-
-#~ msgctxt "Parameter and Unit"
-#~ msgid "%1 Bits"
-#~ msgstr "%1 位元"
-
-#~ msgid "No scanner device has been found."
-#~ msgstr "找不到掃描器裝置。"
-
-#~ msgid "Select Scanner"
-#~ msgstr "選取掃描器"
-
-#~ msgid "Scanning Failed!"
-#~ msgstr "掃描失敗!"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/src/ksanescanthread.cpp 
new/libksane-18.08.0/src/ksanescanthread.cpp
--- old/libksane-18.04.3/src/ksanescanthread.cpp        2018-01-15 
22:56:33.000000000 +0100
+++ new/libksane-18.08.0/src/ksanescanthread.cpp        2018-07-19 
20:33:21.000000000 +0200
@@ -159,6 +159,12 @@
                 qDebug() << "This is not a standard compliant backend";
                 copyToScanData(readBytes);
             }
+            // There are broken backends that return wrong number for 
bytes_per_line
+            if (m_params.depth == 1 && m_params.lines > 0 && m_params.lines * 
m_params.pixels_per_line <= m_frameRead * 8) {
+                qDebug() << "Warning!! This backend seems to return wrong 
bytes_per_line for line-art images!";
+                qDebug() << "Warning!! Trying to correct the value!";
+                m_params.bytes_per_line = m_frameRead / m_params.lines;
+            }
             m_readStatus = READ_READY; // It is better to return a broken 
image than nothing
             return;
         }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/src/ksaneviewer.cpp 
new/libksane-18.08.0/src/ksaneviewer.cpp
--- old/libksane-18.04.3/src/ksaneviewer.cpp    2018-01-15 22:56:33.000000000 
+0100
+++ new/libksane-18.08.0/src/ksaneviewer.cpp    2018-07-19 20:33:21.000000000 
+0200
@@ -929,6 +929,7 @@
                             }
                             wSelStart = -1;
                             wSelEnd = -1;
+                            (void)hSelEnd;    // clang static analyzer report 
hSelEnd is never used.
                             wSelMargin = 0;
                         }
                     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libksane-18.04.3/src/options/ksaneoptcombo.cpp 
new/libksane-18.08.0/src/options/ksaneoptcombo.cpp
--- old/libksane-18.04.3/src/options/ksaneoptcombo.cpp  2018-01-15 
22:56:33.000000000 +0100
+++ new/libksane-18.08.0/src/options/ksaneoptcombo.cpp  2018-07-19 
20:33:21.000000000 +0200
@@ -333,7 +333,7 @@
     }
 
     unsigned char data[4];
-    void *data_ptr;
+    void* data_ptr = 0;
     SANE_Word fixed;
     int i;
     float f;


Reply via email to