Hello community, here is the log from the commit of package kpkpass for openSUSE:Factory checked in at 2019-04-26 22:51:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpkpass (Old) and /work/SRC/openSUSE:Factory/.kpkpass.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpkpass" Fri Apr 26 22:51:45 2019 rev:9 rq:696377 version:19.04.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kpkpass/kpkpass.changes 2019-03-11 11:11:58.577402955 +0100 +++ /work/SRC/openSUSE:Factory/.kpkpass.new.5536/kpkpass.changes 2019-04-26 22:51:47.681417805 +0200 @@ -1,0 +2,33 @@ +Sat Apr 20 06:52:00 UTC 2019 - lbeltr...@kde.org + +- Update to 19.04.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-19.04.0.php +- Changes since 19.03.90: + * Fix kf5 lib with old CMake version + +------------------------------------------------------------------- +Tue Apr 09 20:54:46 UTC 2019 - lbeltr...@kde.org + +- Update to 19.03.90 + * New feature release + * For more details please see: + * https://kde.org/announcements/announce-applications-19.04-rc.php +- Changes since 19.03.80: + * It compile fine without foreach + * Fix compile, Qt5Widgets_VERSION isn't defined, use Qt5Core_VERSION instead + * Workaround qt5.13 bug + +------------------------------------------------------------------- +Wed Mar 27 06:41:12 UTC 2019 - lbeltr...@kde.org + +- Update to 19.03.80 + * New feature release + * For more details please see: + * https://kde.org/announcements/announce-applications-19.04-beta.php +- Changes since 18.12.3: + * Fix some clazy warning + * Mark transitType property CONSTANT + +------------------------------------------------------------------- Old: ---- kpkpass-18.12.3.tar.xz New: ---- kpkpass-19.04.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpkpass.spec ++++++ --- /var/tmp/diff_new_pack.Offv85/_old 2019-04-26 22:51:48.117417524 +0200 +++ /var/tmp/diff_new_pack.Offv85/_new 2019-04-26 22:51:48.117417524 +0200 @@ -17,7 +17,7 @@ Name: kpkpass -Version: 18.12.3 +Version: 19.04.0 Release: 0 Summary: Library to parse Passbook files License: LGPL-2.1-or-later @@ -71,6 +71,7 @@ %files -n libKPimPkPass5 %license COPYING.LIB %{_kf5_libdir}/libKPimPkPass.so.* +%{_kf5_debugdir}/*.categories %files %{_datadir}/mime/packages/application-vnd-apple-pkpass.xml @@ -80,6 +81,5 @@ %{_includedir}/KPim/KPkPass/ %{_kf5_cmakedir}/KPimPkPass/ %{_kf5_libdir}/libKPimPkPass.so -%{_kf5_debugdir}/*.categories %changelog ++++++ kpkpass-18.12.3.tar.xz -> kpkpass-19.04.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/.gitignore new/kpkpass-19.04.0/.gitignore --- old/kpkpass-18.12.3/.gitignore 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/.gitignore 2019-04-08 07:19:53.000000000 +0200 @@ -7,4 +7,4 @@ callgrind.* heaptrack.* *.qmlc -/build/ +/build*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/CMakeLists.txt new/kpkpass-19.04.0/CMakeLists.txt --- old/kpkpass-18.12.3/CMakeLists.txt 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/CMakeLists.txt 2019-04-08 07:19:53.000000000 +0200 @@ -1,10 +1,10 @@ -cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.10.3") +cmake_minimum_required(VERSION 3.5) +set(PIM_VERSION "5.11.0") project(KPkPass VERSION ${PIM_VERSION}) -set(KF5_VERSION "5.51.0") +set(KF5_MIN_VERSION "5.56.0") -find_package(ECM ${KF5_VERSION} REQUIRED NO_MODULE) +find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) @@ -22,14 +22,21 @@ PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KPimPkPassConfigVersion.cmake" ) -set(QT_REQUIRED_VERSION "5.9.0") +set(QT_REQUIRED_VERSION "5.10.0") find_package(Qt5 ${QT_REQUIRED_VERSION} REQUIRED COMPONENTS Test Gui) -find_package(KF5 ${KF5_VERSION} REQUIRED COMPONENTS Archive) +find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Archive) find_package(SharedMimeInfo 1.3 REQUIRED) -add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) +# workaround for https://bugreports.qt.io/browse/QTBUG-74665 (bug in qt5.13 reevaluate it) +if (${Qt5Core_VERSION} STRGREATER "5.13") + MESSAGE(STATUS "Qt version: ${Qt5Core_VERSION} DISABLE compile without deprecated methods. bug QTBUG-74665") +else() + add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) +endif() +add_definitions(-DQT_NO_FOREACH) + add_subdirectory(src) add_subdirectory(autotests) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/KPimPkPassConfig.cmake.in new/kpkpass-19.04.0/KPimPkPassConfig.cmake.in --- old/kpkpass-18.12.3/KPimPkPassConfig.cmake.in 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/KPimPkPassConfig.cmake.in 2019-04-08 07:19:53.000000000 +0200 @@ -3,7 +3,7 @@ include(CMakeFindDependencyMacro) find_package(Qt5 @Qt5Core_VERSION_MAJOR@.@Qt5Core_VERSION_MINOR@ NO_MODULE REQUIRED COMPONENTS Core Gui) -find_dependency(KF5Archive "@KF5_VERSION@") +find_dependency(KF5Archive "@KF5_MIN_VERSION@") include("${CMAKE_CURRENT_LIST_DIR}/KPimPkPassTargets.cmake") @PACKAGE_INCLUDE_QCHTARGETS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/add_license.sh new/kpkpass-19.04.0/add_license.sh --- old/kpkpass-18.12.3/add_license.sh 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/add_license.sh 2019-04-08 07:19:53.000000000 +0200 @@ -21,7 +21,7 @@ License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <https://www.gnu.org/licenses/>. */ EOF diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/autotests/pkpasstest.cpp new/kpkpass-19.04.0/autotests/pkpasstest.cpp --- old/kpkpass-18.12.3/autotests/pkpasstest.cpp 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/autotests/pkpasstest.cpp 2019-04-08 07:19:53.000000000 +0200 @@ -12,7 +12,7 @@ License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <barcode.h> @@ -36,7 +36,7 @@ void testBoardingPass() { std::unique_ptr<KPkPass::Pass> pass( - KPkPass::Pass::fromFile(QLatin1String(SOURCE_DIR "/data/boardingpass-v1.pkpass"))); + KPkPass::Pass::fromFile(QStringLiteral(SOURCE_DIR "/data/boardingpass-v1.pkpass"))); QVERIFY(pass); QCOMPARE(pass->type(), KPkPass::Pass::BoardingPass); @@ -61,7 +61,7 @@ QCOMPARE(field.key(), QLatin1String("seat")); QCOMPARE(field.changeMessage(), QStringLiteral("Sitzplatznummer geƤndert in 10E")); - field = pass->field(QLatin1String("boarding")); + field = pass->field(QStringLiteral("boarding")); QCOMPARE(field.key(), QLatin1String("boarding")); QCOMPARE(field.value().toString(), QLatin1String("20:25")); QCOMPARE(field.textAlignment(), Qt::AlignLeft); @@ -89,7 +89,7 @@ auto img = pass->logo(3); QVERIFY(!img.isNull()); - img = pass->image(QLatin1String("I don't exist")); + img = pass->image(QStringLiteral("I don't exist")); QVERIFY(img.isNull()); } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/src/barcode.cpp new/kpkpass-19.04.0/src/barcode.cpp --- old/kpkpass-18.12.3/src/barcode.cpp 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/src/barcode.cpp 2019-04-08 07:19:53.000000000 +0200 @@ -12,7 +12,7 @@ License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "barcode.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/src/barcode.h new/kpkpass-19.04.0/src/barcode.h --- old/kpkpass-18.12.3/src/barcode.h 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/src/barcode.h 2019-04-08 07:19:53.000000000 +0200 @@ -12,7 +12,7 @@ License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef KPKPASS_BARCODE_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/src/boardingpass.h new/kpkpass-19.04.0/src/boardingpass.h --- old/kpkpass-18.12.3/src/boardingpass.h 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/src/boardingpass.h 2019-04-08 07:19:53.000000000 +0200 @@ -28,7 +28,7 @@ class KPKPASS_EXPORT BoardingPass : public Pass { Q_OBJECT - Q_PROPERTY(TransitType transitType READ transitType) + Q_PROPERTY(TransitType transitType READ transitType CONSTANT) public: enum TransitType { Air, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/src/location.cpp new/kpkpass-19.04.0/src/location.cpp --- old/kpkpass-18.12.3/src/location.cpp 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/src/location.cpp 2019-04-08 07:19:53.000000000 +0200 @@ -12,7 +12,7 @@ License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "location.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/src/location.h new/kpkpass-19.04.0/src/location.h --- old/kpkpass-18.12.3/src/location.h 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/src/location.h 2019-04-08 07:19:53.000000000 +0200 @@ -12,7 +12,7 @@ License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef KPKPASS_LOCATION_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-18.12.3/src/pass.cpp new/kpkpass-19.04.0/src/pass.cpp --- old/kpkpass-18.12.3/src/pass.cpp 2019-02-08 07:54:25.000000000 +0100 +++ new/kpkpass-19.04.0/src/pass.cpp 2019-04-08 07:19:53.000000000 +0200 @@ -173,7 +173,7 @@ const auto a = passData().value(fieldType).toArray(); QVector<Field> f; f.reserve(a.size()); - foreach (const auto &v, a) { + for (const auto &v : a) { f.push_back(Field{v.toObject(), q}); } return f;