Hello community, here is the log from the commit of package libqt5-qtspeech for openSUSE:Factory checked in at 2018-06-26 10:31:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtspeech (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtspeech.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtspeech" Tue Jun 26 10:31:29 2018 rev:7 rq:618684 version:5.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtspeech/libqt5-qtspeech.changes 2018-06-02 11:51:41.617000768 +0200 +++ /work/SRC/openSUSE:Factory/.libqt5-qtspeech.new/libqt5-qtspeech.changes 2018-06-26 10:31:31.747789832 +0200 @@ -1,0 +2,8 @@ +Tue Jun 19 10:51:05 CEST 2018 - fab...@ritter-vogt.de + +- Update to 5.11.1 + * New bugfix release + * For more details please see: + * http://code.qt.io/cgit/qt/qtspeech.git/plain/dist/changes-5.11.1/?h=v5.11.1 + +------------------------------------------------------------------- Old: ---- qtspeech-everywhere-src-5.11.0.tar.xz New: ---- qtspeech-everywhere-src-5.11.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtspeech.spec ++++++ --- /var/tmp/diff_new_pack.exjafJ/_old 2018-06-26 10:31:33.127739150 +0200 +++ /var/tmp/diff_new_pack.exjafJ/_new 2018-06-26 10:31:33.131739003 +0200 @@ -19,11 +19,11 @@ %define qt5_snapshot 0 %define libname libQt5TextToSpeech5 %define base_name libqt5 -%define real_version 5.11.0 -%define so_version 5.11.0 -%define tar_version qtspeech-everywhere-src-5.11.0 +%define real_version 5.11.1 +%define so_version 5.11.1 +%define tar_version qtspeech-everywhere-src-5.11.1 Name: libqt5-qtspeech -Version: 5.11.0 +Version: 5.11.1 Release: 0 Summary: Qt 5 Speech Addon License: LGPL-2.1-with-Qt-Company-Qt-exception-1.1 or LGPL-3.0-only ++++++ qtspeech-everywhere-src-5.11.0.tar.xz -> qtspeech-everywhere-src-5.11.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/.qmake.conf new/qtspeech-everywhere-src-5.11.1/.qmake.conf --- old/qtspeech-everywhere-src-5.11.0/.qmake.conf 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/.qmake.conf 2018-06-14 09:16:11.000000000 +0200 @@ -2,4 +2,4 @@ CONFIG += qt_example_installs CONFIG += warning_clean -MODULE_VERSION = 5.11.0 +MODULE_VERSION = 5.11.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/.tag new/qtspeech-everywhere-src-5.11.1/.tag --- old/qtspeech-everywhere-src-5.11.0/.tag 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/.tag 2018-06-14 09:16:11.000000000 +0200 @@ -1 +1 @@ -b113bca742e01d3771f4f8ee0c5dc5ea5a97816e +7fc9c071e8bf3eea5dd9a944089ed064d4e373a3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/dist/changes-5.11.1 new/qtspeech-everywhere-src-5.11.1/dist/changes-5.11.1 --- old/qtspeech-everywhere-src-5.11.0/dist/changes-5.11.1 1970-01-01 01:00:00.000000000 +0100 +++ new/qtspeech-everywhere-src-5.11.1/dist/changes-5.11.1 2018-06-14 09:16:11.000000000 +0200 @@ -0,0 +1,30 @@ +Qt 5.11.1 is a bug-fix release. It maintains both forward and backward +compatibility (source and binary) with Qt 5.11.0. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +http://doc.qt.io/qt-5/index.html + +The Qt version 5.11 series is binary compatible with the 5.10.x series. +Applications compiled for 5.10 will continue to run with 5.11. + +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. + +**************************************************************************** +* Qt 5.11.1 Changes * +**************************************************************************** + +**************************************************************************** +* UNSPECIFIED * +**************************************************************************** + + - [QTBUG-66209] Fixed type of volume property, it has to be double, not + int, to be the same as in the related functions (the volumeChanged signal + was overloaded, the type of the property was fixed). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qtexttospeech_p.h new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qtexttospeech_p.h --- old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qtexttospeech_p.h 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qtexttospeech_p.h 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -#include "../../../../../src/tts/qtexttospeech_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qvoice_p.h new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qvoice_p.h --- old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qvoice_p.h 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.0/QtTextToSpeech/private/qvoice_p.h 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -#include "../../../../../src/tts/qvoice_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qtexttospeech_p.h new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qtexttospeech_p.h --- old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qtexttospeech_p.h 1970-01-01 01:00:00.000000000 +0100 +++ new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qtexttospeech_p.h 2018-06-14 09:16:11.000000000 +0200 @@ -0,0 +1 @@ +#include "../../../../../src/tts/qtexttospeech_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qvoice_p.h new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qvoice_p.h --- old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qvoice_p.h 1970-01-01 01:00:00.000000000 +0100 +++ new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/5.11.1/QtTextToSpeech/private/qvoice_p.h 2018-06-14 09:16:11.000000000 +0200 @@ -0,0 +1 @@ +#include "../../../../../src/tts/qvoice_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/qttexttospeechversion.h new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/qttexttospeechversion.h --- old/qtspeech-everywhere-src-5.11.0/include/QtTextToSpeech/qttexttospeechversion.h 2018-05-18 09:42:03.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/include/QtTextToSpeech/qttexttospeechversion.h 2018-06-18 10:02:29.000000000 +0200 @@ -2,8 +2,8 @@ #ifndef QT_QTTEXTTOSPEECH_VERSION_H #define QT_QTTEXTTOSPEECH_VERSION_H -#define QTTEXTTOSPEECH_VERSION_STR "5.11.0" +#define QTTEXTTOSPEECH_VERSION_STR "5.11.1" -#define QTTEXTTOSPEECH_VERSION 0x050B00 +#define QTTEXTTOSPEECH_VERSION 0x050B01 #endif // QT_QTTEXTTOSPEECH_VERSION_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/src/plugins/tts/flite/flite_legal.qdoc new/qtspeech-everywhere-src-5.11.1/src/plugins/tts/flite/flite_legal.qdoc --- old/qtspeech-everywhere-src-5.11.0/src/plugins/tts/flite/flite_legal.qdoc 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/src/plugins/tts/flite/flite_legal.qdoc 1970-01-01 01:00:00.000000000 +0100 @@ -1,253 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Speech module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! -\page legal-flite.html -\title Flite Library -\ingroup licensing - -\legalese -\code - -Flite is free software. - -We have kept the core code to BSD-like copyright, thus the system is -free to use in commercial products, with commercial extensions. GPL -code is only included as part of the build process and does not -taint any of the run-time code. - -As a collection it is distributed under the following license. Note -a few files in this distribution have a different but equally free -non-conflicting license, see below. - - Language Technologies Institute - Carnegie Mellon University - Copyright (c) 1999-2014 - All Rights Reserved. - - Permission is hereby granted, free of charge, to use and distribute - this software and its documentation without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of this work, and to - permit persons to whom this work is furnished to do so, subject to - the following conditions: - 1. The code must retain the above copyright notice, this list of - conditions and the following disclaimer. - 2. Any modifications must be clearly marked as such. - 3. Original authors' names are not deleted. - 4. The authors' names are not used to endorse or promote products - derived from this software without specific prior written - permission. - - CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK - DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING - ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT - SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE - FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN - AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, - ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF - THIS SOFTWARE. - -All files within this distribution have the above license except -the following - -src/cg/cst_mlpg.h -src/cg/cst_mlpg.c -src/cg/cst_mlsa.h -src/cg/cst_mlsa.c -src/cg/cst_vc.h -src/cg/cst_vc.c -********************************************************************* -* * -* Nagoya Institute of Technology, Aichi, Japan, * -* Nara Institute of Science and Technology, Nara, Japan * -* and * -* Carnegie Mellon University, Pittsburgh, PA * -* Copyright (c) 2003-2004 * -* All Rights Reserved. * -* * -* Permission is hereby granted, free of charge, to use and * -* distribute this software and its documentation without * -* restriction, including without limitation the rights to use, * -* copy, modify, merge, publish, distribute, sublicense, and/or * -* sell copies of this work, and to permit persons to whom this * -* work is furnished to do so, subject to the following conditions: * -* * -* 1. The code must retain the above copyright notice, this list * -* of conditions and the following disclaimer. * -* 2. Any modifications must be clearly marked as such. * -* 3. Original authors' names are not deleted. * -* * -* NAGOYA INSTITUTE OF TECHNOLOGY, NARA INSTITUTE OF SCIENCE AND * -* TECHNOLOGY, CARNEGIE MELLON UNIVERSITY, AND THE CONTRIBUTORS TO * -* THIS WORK DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * -* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, * -* IN NO EVENT SHALL NAGOYA INSTITUTE OF TECHNOLOGY, NARA * -* INSTITUTE OF SCIENCE AND TECHNOLOGY, CARNEGIE MELLON UNIVERSITY, * -* NOR THE CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR * -* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * -* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, * -* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * -* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * -* * -********************************************************************* - -These functions are derived from the versions in festvox/src/vc/ as -modified by Tomoki Toda which in turn contain code derived from -NITECH's HTS system. Their copyright has the same freedoms as -as Flite's but under NAIST, NITECH and/or CMU. - -src/audio/au_wince.c -src/utils/cst_file_stdio.c -src/utils/cst_mmap_posix.c -src/utils/cst_mmap_win32.c -src/utils/cst_mmap_none.c -src/utils/cst_file_wince.c -sapi/ - are copyright Cepstral, LLC rather than CMU but fall under the same - free license as the above, except for the owner. (Note the SAPI stuff - probably doesn't work any more) - -doc/alice - Is the first two chapters of Alice in Wonderland as distributed by the - Gutenburg project and is now in the public domain - -src/regex/regexp.c -src/regex/regsub.c - - * Copyright (c) 1986 by University of Toronto. - * Written by Henry Spencer. Not derived from licensed software. - * - * Permission is granted to anyone to use this software for any - * purpose on any computer system, and to redistribute it freely, - * subject to the following restrictions: - * - * 1. The author is not responsible for the consequences of use of - * this software, no matter how awful, even if they arise - * from defects in it. - * - * 2. The origin of this software must not be misrepresented, either - * by explicit claim or by omission. - * - * 3. Altered versions must be plainly marked as such, and must not - * be misrepresented as being the original software. - -src/speech/rateconv.c - - * Copyright (c) 1992, 1995 by Markus Mummert - * - * Redistribution and use of this software, modifcation and inclusion - * into other forms of software are permitted provided that the following - * conditions are met: - * - * 1. Redistributions of this software must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. If this software is redistributed in a modified condition - * it must reveal clearly that it has been modified. - -lang/usenglish/us_durz_cart.c -lang/usenglish/us_durz_cart.h -lang/usenglish/us_int_accent_cart.c -lang/usenglish/us_int_accent_cart.h -lang/usenglish/us_int_tone_cart.c -lang/usenglish/us_int_tone_cart.h -lang/usenglish/us_phoneset.c -lang/usenglish/us_f0lr.c - These are directly (or indirectly) compiled/derived from files that are - part of the Festival Speech Synthesis System (1.4.1). Hence they have - a joint copyright CMU/Edinburgh but with the same free license - -configure - # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. - # - # This configure script is free software; the Free Software Foundation - # gives unlimited permission to copy, distribute and modify it. - -configure.sub -config.guess -missing -install-sh -mkinstalldirs - Copyright FSF, and under the GPL, these files are only used for - convenient configuration and are not part of the generated binary, - and therefore do not impose any GPL restrctions on the rest of the - system. But as they are standard methods for configuration they - are included. - -src/speech/g72x.h -src/speech/g721.c -src/speech/g72x.c -src/speech/g723_24.c -src/speech/g723_40.c - - * - * This source code is a product of Sun Microsystems, Inc. and is provided - * for unrestricted use. Users may copy or modify this source code without - * charge. - * - * SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING - * THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun source code is provided with no support and without any obligation on - * the part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. - * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE - * OR ANY PART THEREOF. - * - * In no event will Sun Microsystems, Inc. be liable for any lost revenue - * or profits or other special, indirect and consequential damages, even if - * Sun has been advised of the possibility of such damages. - * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 - * - -lang/cmu_grapheme_lex/grapheme_unitran_tables.c - * Copyright 2008-2012, University of Illinois at Urbana-Champaign * - * distributed under the Apache License, Version (2.0) * - * http://www.apache.org/licenses/LICENSE-2.0 * - * Original table developed by Richard Sproat and Kyoung-young Kim * - * Ported for Festvox by Gopala Anumachipalli gopal...@cs.cmu.edu Sep 2012 * - * Then converted to C for CMU Flite (cmuflite.org) * - -\endcode -\endlegalese -*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/src/plugins/tts/sapi/qtexttospeech_sapi.h new/qtspeech-everywhere-src-5.11.1/src/plugins/tts/sapi/qtexttospeech_sapi.h --- old/qtspeech-everywhere-src-5.11.0/src/plugins/tts/sapi/qtexttospeech_sapi.h 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/src/plugins/tts/sapi/qtexttospeech_sapi.h 2018-06-14 09:16:11.000000000 +0200 @@ -76,7 +76,7 @@ bool setVoice(const QVoice &voice) override; QTextToSpeech::State state() const override; - HRESULT STDMETHODCALLTYPE NotifyCallback(WPARAM /*wParam*/, LPARAM /*lParam*/); + HRESULT STDMETHODCALLTYPE NotifyCallback(WPARAM /*wParam*/, LPARAM /*lParam*/) override; private: void init(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/src/tts/qtexttospeech.cpp new/qtspeech-everywhere-src-5.11.1/src/tts/qtexttospeech.cpp --- old/qtspeech-everywhere-src-5.11.0/src/tts/qtexttospeech.cpp 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/src/tts/qtexttospeech.cpp 2018-06-14 09:16:11.000000000 +0200 @@ -368,8 +368,10 @@ { Q_D(QTextToSpeech); volume = qMin(qMax(volume, 0.0), 1.0); - if (d->m_engine && d->m_engine->setVolume(volume)) + if (d->m_engine && d->m_engine->setVolume(volume)) { emit volumeChanged(volume); + emit volumeChanged(static_cast<int>(volume)); + } } double QTextToSpeech::volume() const diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/src/tts/qtexttospeech.h new/qtspeech-everywhere-src-5.11.1/src/tts/qtexttospeech.h --- old/qtspeech-everywhere-src-5.11.0/src/tts/qtexttospeech.h 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/src/tts/qtexttospeech.h 2018-06-14 09:16:11.000000000 +0200 @@ -56,7 +56,7 @@ Q_OBJECT Q_ENUMS(QTextToSpeech::State) Q_PROPERTY(State state READ state NOTIFY stateChanged) - Q_PROPERTY(int volume READ volume WRITE setVolume NOTIFY volumeChanged) + Q_PROPERTY(double volume READ volume WRITE setVolume NOTIFY volumeChanged) Q_PROPERTY(double rate READ rate WRITE setRate NOTIFY rateChanged) Q_PROPERTY(double pitch READ pitch WRITE setPitch NOTIFY pitchChanged) Q_PROPERTY(QLocale locale READ locale WRITE setLocale NOTIFY localeChanged) @@ -104,7 +104,8 @@ void localeChanged(const QLocale &locale); void rateChanged(double rate); void pitchChanged(double pitch); - void volumeChanged(int volume); + void volumeChanged(int volume); // ### Qt 6: remove this bad overload + void volumeChanged(double volume); void voiceChanged(const QVoice &voice); private: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/tests/auto/texttospeech/BLACKLIST new/qtspeech-everywhere-src-5.11.1/tests/auto/texttospeech/BLACKLIST --- old/qtspeech-everywhere-src-5.11.0/tests/auto/texttospeech/BLACKLIST 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/tests/auto/texttospeech/BLACKLIST 2018-06-14 09:16:11.000000000 +0200 @@ -6,3 +6,9 @@ * [set_voice] * +[volume] +b2qt +redhatenterpriselinuxworkstation-6.6 +ubuntu-16.04 +opensuse-42.3 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-5.11.0/tests/auto/texttospeech/tst_qtexttospeech.cpp new/qtspeech-everywhere-src-5.11.1/tests/auto/texttospeech/tst_qtexttospeech.cpp --- old/qtspeech-everywhere-src-5.11.0/tests/auto/texttospeech/tst_qtexttospeech.cpp 2018-04-27 10:42:52.000000000 +0200 +++ new/qtspeech-everywhere-src-5.11.1/tests/auto/texttospeech/tst_qtexttospeech.cpp 2018-06-14 09:16:11.000000000 +0200 @@ -55,6 +55,7 @@ void speech_rate(); void pitch(); void set_voice(); + void volume(); }; @@ -138,5 +139,21 @@ QVERIFY(timer.elapsed() > 100); } +void tst_QTextToSpeech::volume() +{ + QTextToSpeech tts; + double volumeSignalEmitted = -99.0; + connect(&tts, static_cast<void (QTextToSpeech::*)(double)>(&QTextToSpeech::volumeChanged), + [&volumeSignalEmitted](double volume){ volumeSignalEmitted = volume; } ); + tts.setVolume(0.7); + QTRY_VERIFY(volumeSignalEmitted > 0.6); + +#ifndef HAVE_SPEECHD_BEFORE_090 // older speechd doesn't signal any volume changes + // engines use different systems (integers etc), even fuzzy compare is off + QVERIFY2(tts.volume() > 0.65, QByteArray::number(tts.volume())); + QVERIFY2(tts.volume() < 0.75, QByteArray::number(tts.volume())); +#endif +} + QTEST_MAIN(tst_QTextToSpeech) #include "tst_qtexttospeech.moc"