Hello community,

here is the log from the commit of package kpkpass for openSUSE:Factory checked 
in at 2018-12-19 13:36:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kpkpass (Old)
 and      /work/SRC/openSUSE:Factory/.kpkpass.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kpkpass"

Wed Dec 19 13:36:05 2018 rev:5 rq:658447 version:18.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kpkpass/kpkpass.changes  2018-11-12 
09:33:45.533823362 +0100
+++ /work/SRC/openSUSE:Factory/.kpkpass.new.28833/kpkpass.changes       
2018-12-19 13:36:06.652408309 +0100
@@ -1,0 +2,51 @@
+Fri Dec 14 06:09:24 UTC 2018 - [email protected]
+
+- Update to 18.12.0
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.12.0.php
+- Changes since 18.11.90:
+  * No code changes since 18.11.90
+
+-------------------------------------------------------------------
+Mon Dec 03 20:56:32 UTC 2018 - [email protected]
+
+- Update to 18.11.90
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.12-rc.php
+- Changes since 18.11.80:
+  * No code changes since 18.11.80
+
+-------------------------------------------------------------------
+Thu Nov 22 06:16:34 UTC 2018 - Luca Beltrame <[email protected]>
+
+- Have the library require the main package
+
+-------------------------------------------------------------------
+Tue Nov 20 06:22:42 UTC 2018 - Luca Beltrame <[email protected]>
+
+- Run spec-cleaner
+
+-------------------------------------------------------------------
+Tue Nov 20 05:57:39 UTC 2018 - [email protected]
+
+- Update to 18.11.80
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.12-beta.php
+- Changes since 18.08.3:
+  * explicitly include find dependency so cmake file can be used standalone
+  * QT_NO_NARROWING_CONVERSIONS_IN_CONNECT is defined in kf5.51
+  * Increase version
+  * Add accessors for the background and footer assets
+  * Improve documentation a bit
+  * Remove duplicate include
+  * Add accessor for the strip image
+  * Complete dependencies
+  * Don't force shared libraries
+  * Use new syntax
+  * It's a pim component. Use same version as for others components
+  * Add ignore build dir
+
+-------------------------------------------------------------------

Old:
----
  kpkpass-18.08.3.tar.xz

New:
----
  kpkpass-18.12.0.tar.xz

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

Other differences:
------------------
++++++ kpkpass.spec ++++++
--- /var/tmp/diff_new_pack.kLe6gk/_old  2018-12-19 13:36:07.228407488 +0100
+++ /var/tmp/diff_new_pack.kLe6gk/_new  2018-12-19 13:36:07.232407482 +0100
@@ -16,16 +16,14 @@
 #
 
 
-%bcond_without lang
-
 Name:           kpkpass
-Version:        18.08.3
+Version:        18.12.0
 Release:        0
 Summary:        Library to parse Passbook files
 License:        LGPL-2.1-or-later
 Group:          System/GUI/KDE
-Url:            http://www.kde.org
-Source0:        %{name}-%{version}.tar.xz
+URL:            http://www.kde.org
+Source0:        
http://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz
 BuildRequires:  extra-cmake-modules >= 1.0.0
 BuildRequires:  karchive-devel
 BuildRequires:  kf5-filesystem
@@ -40,7 +38,7 @@
 %package -n libKPimPkPass5
 Summary:        Library to parse Passbook files
 Group:          System/GUI/KDE
-Recommends:     %{name} = %{version}
+Requires:       %{name}
 
 %description -n libKPimPkPass5
 kpkpass is a library to read and parse Apple Passbook files, such as the ones
@@ -73,7 +71,6 @@
 %files -n libKPimPkPass5
 %license COPYING.LIB
 %{_kf5_libdir}/libKPimPkPass.so.*
-%{_kf5_debugdir}/*.categories
 
 %files
 %{_datadir}/mime/packages/application-vnd-apple-pkpass.xml
@@ -83,5 +80,6 @@
 %{_includedir}/KPim/KPkPass/
 %{_kf5_cmakedir}/KPimPkPass/
 %{_kf5_libdir}/libKPimPkPass.so
+%{_kf5_debugdir}/*.categories
 
 %changelog

++++++ kpkpass-18.08.3.tar.xz -> kpkpass-18.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/.gitignore 
new/kpkpass-18.12.0/.gitignore
--- old/kpkpass-18.08.3/.gitignore      2018-10-11 13:16:44.000000000 +0200
+++ new/kpkpass-18.12.0/.gitignore      2018-11-30 20:21:49.000000000 +0100
@@ -7,3 +7,4 @@
 callgrind.*
 heaptrack.*
 *.qmlc
+/build/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/CMakeLists.txt 
new/kpkpass-18.12.0/CMakeLists.txt
--- old/kpkpass-18.08.3/CMakeLists.txt  2018-10-11 13:16:44.000000000 +0200
+++ new/kpkpass-18.12.0/CMakeLists.txt  2018-11-30 20:21:49.000000000 +0100
@@ -1,8 +1,10 @@
 cmake_minimum_required(VERSION 3.0)
-set(PIM_VERSION "5.9.3")
+set(PIM_VERSION "5.10.0")
 project(KPkPass VERSION ${PIM_VERSION})
 
-find_package(ECM 5.38 REQUIRED NO_MODULE)
+set(KF5_VERSION "5.51.0")
+
+find_package(ECM ${KF5_VERSION} REQUIRED NO_MODULE)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
 
 include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
@@ -20,15 +22,14 @@
     PACKAGE_VERSION_FILE 
"${CMAKE_CURRENT_BINARY_DIR}/KPimPkPassConfigVersion.cmake"
 )
 
-find_package(Qt5 REQUIRED COMPONENTS Test Gui)
-find_package(KF5 REQUIRED COMPONENTS Archive)
+set(QT_REQUIRED_VERSION "5.9.0")
+
+find_package(Qt5 ${QT_REQUIRED_VERSION} REQUIRED COMPONENTS Test Gui)
+find_package(KF5 ${KF5_VERSION} REQUIRED COMPONENTS Archive)
 find_package(SharedMimeInfo 1.3 REQUIRED)
 
-add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
-add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
+
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
-add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
-add_definitions( -DQT_USE_QSTRINGBUILDER )
 
 add_subdirectory(src)
 add_subdirectory(autotests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/KPimPkPassConfig.cmake.in 
new/kpkpass-18.12.0/KPimPkPassConfig.cmake.in
--- old/kpkpass-18.08.3/KPimPkPassConfig.cmake.in       2018-10-11 
13:16:44.000000000 +0200
+++ new/kpkpass-18.12.0/KPimPkPassConfig.cmake.in       2018-11-30 
20:21:49.000000000 +0100
@@ -1,6 +1,9 @@
 @PACKAGE_INIT@
 
+include(CMakeFindDependencyMacro)
+
 find_package(Qt5 @Qt5Core_VERSION_MAJOR@.@Qt5Core_VERSION_MINOR@ NO_MODULE 
REQUIRED COMPONENTS Core Gui)
+find_dependency(KF5Archive "@KF5_VERSION@")
 
 include("${CMAKE_CURRENT_LIST_DIR}/KPimPkPassTargets.cmake")
 @PACKAGE_INCLUDE_QCHTARGETS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/README.md 
new/kpkpass-18.12.0/README.md
--- old/kpkpass-18.08.3/README.md       2018-10-11 13:16:44.000000000 +0200
+++ new/kpkpass-18.12.0/README.md       2018-11-30 20:21:49.000000000 +0100
@@ -2,3 +2,18 @@
 
 Library to deal with Apple Wallet pass files.
 
+## File Format
+
+Apple Wallet files are essentially ZIP files containing a JSON description of 
the pass,
+translated message catalogs and graphical assets to render the pass.
+
+See [Apple's 
documentation](https://developer.apple.com/library/content/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html)
+about this.
+
+## API
+
+KPkPass provides means to access the content of Apple Wallet files, both via a 
C++ API
+and a QML-compatible property interface.
+
+The entry point in both cases is KPkPass::Pass to load an existing pass.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/org_kde_kpkpass.categories 
new/kpkpass-18.12.0/org_kde_kpkpass.categories
--- old/kpkpass-18.08.3/org_kde_kpkpass.categories      2018-10-11 
13:16:44.000000000 +0200
+++ new/kpkpass-18.12.0/org_kde_kpkpass.categories      2018-11-30 
20:21:49.000000000 +0100
@@ -1 +1 @@
-org.kde.kpkpass KPkPass
+org.kde.kpkpass KPkPass IDENTIFIER [KPkPass::Log]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/src/CMakeLists.txt 
new/kpkpass-18.12.0/src/CMakeLists.txt
--- old/kpkpass-18.08.3/src/CMakeLists.txt      2018-10-11 13:16:44.000000000 
+0200
+++ new/kpkpass-18.12.0/src/CMakeLists.txt      2018-11-30 20:21:49.000000000 
+0100
@@ -12,7 +12,7 @@
     CATEGORY_NAME org.kde.pkpass
 )
 
-add_library(KPimPkPass SHARED ${pkpass_srcs})
+add_library(KPimPkPass ${pkpass_srcs})
 add_library(KPim::PkPass ALIAS KPimPkPass)
 generate_export_header(KPimPkPass BASE_NAME KPkPass)
 set_target_properties(KPimPkPass PROPERTIES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/src/pass.cpp 
new/kpkpass-18.12.0/src/pass.cpp
--- old/kpkpass-18.08.3/src/pass.cpp    2018-10-11 13:16:44.000000000 +0200
+++ new/kpkpass-18.12.0/src/pass.cpp    2018-11-30 20:21:49.000000000 +0100
@@ -29,7 +29,6 @@
 #include <QBuffer>
 #include <QColor>
 #include <QFile>
-#include <QImage>
 #include <QJsonArray>
 #include <QJsonDocument>
 #include <QJsonObject>
@@ -369,6 +368,21 @@
     return image(QStringLiteral("logo"), devicePixelRatio);
 }
 
+QImage Pass::strip(unsigned int devicePixelRatio) const
+{
+    return image(QStringLiteral("strip"), devicePixelRatio);
+}
+
+QImage Pass::background(unsigned int devicePixelRatio) const
+{
+    return image(QStringLiteral("background"), devicePixelRatio);
+}
+
+QImage KPkPass::Pass::footer(unsigned int devicePixelRatio) const
+{
+    return image(QStringLiteral("footer"), devicePixelRatio);
+}
+
 QString Pass::authenticationToken() const
 {
     return d->passObj.value(QLatin1String("authenticationToken")).toString();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-18.08.3/src/pass.h 
new/kpkpass-18.12.0/src/pass.h
--- old/kpkpass-18.08.3/src/pass.h      2018-10-11 13:16:44.000000000 +0200
+++ new/kpkpass-18.12.0/src/pass.h      2018-11-30 20:21:49.000000000 +0100
@@ -42,6 +42,7 @@
 class PassPrivate;
 
 /** Base class for a pkpass file.
+ *  @see 
https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/index.html
  *  @see 
https://developer.apple.com/library/content/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html
  */
 class KPKPASS_EXPORT Pass : public QObject
@@ -124,6 +125,12 @@
     QImage icon(unsigned int devicePixelRatio = 1) const;
     /** Returns the pass logo. */
     QImage logo(unsigned int devicePixelRatio = 1) const;
+    /** Returns the strip image if present. */
+    QImage strip(unsigned int devicePixelRatio = 1) const;
+    /** Returns the background image if present. */
+    QImage background(unsigned int devicePixelRatio = 1) const;
+    /** Returns the footer image if present. */
+    QImage footer(unsigned int devicePixelRatio = 1) const;
 
     // web service keys
     Q_REQUIRED_RESULT QString authenticationToken() const;


Reply via email to