From 143120e29f072d0b0139c1171a0e293a88dc5d674a90b446b173cb8c910a8cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 13 Aug 2018 07:25:34 +0000 Subject: [PATCH 1/3] - Update to 4.10.3 bsc#1104620: * Added classes based on Qt types encapsulating various ISDS data types and structures. Sharing this code with mobile application. * Added per-account locking of communication contexts. * Modified database interface to accommodate new data types. * Explicitly specifying tab order for most windows and dialogues. It is also possible (on Windows and Linux) to cycle through actions in top tool bar. * Asking users for confirmation before deleting tags which are still assigned to some messages. * Added tooltip description of message state value in sent message list. * Added button to view account password when editing account credentials and PIN (master password) is enabled. * Added DigiCert Global Root G2 certificate. * Improved keyboard-based control of main and other dialogue windows. All important elements should be navigable only by keyboard (on Windows and Linux). * Fixed a problem with wrong conversion of obtained ISDS error statuses into readable text. This may have caused the programme to crash. * Fixed scaling of some icon-based control elements when using enlarged fonts on Windows. * Fixed message list sorting and filtering according to assigned tags. * Displaying busy cursor when switching between entries in account list. * New version notification can be blocked on Windows in runtime by setting specific registry values. It can also be blocked at compile time by using a configuration option when running qmake. * Extended resource information for the generated Windows executable. * Fixed project file include paths in order not to interfere with user-defined compiler flags. * Fixed problem with unpredictable construction order of global object instances. OBS-URL: https://build.opensuse.org/package/show/network/datovka?expand=0&rev=27 --- datovka-4.10.1.tar.xz | 3 --- datovka-4.10.1.tar.xz.sha256 | 1 - datovka-4.10.3.tar.xz | 3 +++ datovka-4.10.3.tar.xz.sha256 | 1 + datovka-fix-pro.patch | 27 ++++++++-------------- datovka.changes | 43 ++++++++++++++++++++++++++++++++++++ datovka.spec | 6 ++--- 7 files changed, 59 insertions(+), 25 deletions(-) delete mode 100644 datovka-4.10.1.tar.xz delete mode 100644 datovka-4.10.1.tar.xz.sha256 create mode 100644 datovka-4.10.3.tar.xz create mode 100644 datovka-4.10.3.tar.xz.sha256 diff --git a/datovka-4.10.1.tar.xz b/datovka-4.10.1.tar.xz deleted file mode 100644 index c4a2829..0000000 --- a/datovka-4.10.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:66b5800783b65e746715fedb375462c714e4c54e36152371b9ab65a70cdc0d4f -size 2450036 diff --git a/datovka-4.10.1.tar.xz.sha256 b/datovka-4.10.1.tar.xz.sha256 deleted file mode 100644 index d2b589f..0000000 --- a/datovka-4.10.1.tar.xz.sha256 +++ /dev/null @@ -1 +0,0 @@ -66b5800783b65e746715fedb375462c714e4c54e36152371b9ab65a70cdc0d4f diff --git a/datovka-4.10.3.tar.xz b/datovka-4.10.3.tar.xz new file mode 100644 index 0000000..d50ee73 --- /dev/null +++ b/datovka-4.10.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1785091f896d906ef3a5a65522b659e2815712516bf3a1982ace7b4bbfc8d892 +size 2554488 diff --git a/datovka-4.10.3.tar.xz.sha256 b/datovka-4.10.3.tar.xz.sha256 new file mode 100644 index 0000000..2ade4bd --- /dev/null +++ b/datovka-4.10.3.tar.xz.sha256 @@ -0,0 +1 @@ +1785091f896d906ef3a5a65522b659e2815712516bf3a1982ace7b4bbfc8d892 diff --git a/datovka-fix-pro.patch b/datovka-fix-pro.patch index a833df3..aafb9fd 100644 --- a/datovka-fix-pro.patch +++ b/datovka-fix-pro.patch @@ -2,19 +2,19 @@ datovka.pro | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) -Index: datovka-4.10.1/datovka.pro +Index: datovka-4.10.3/datovka.pro =================================================================== ---- datovka-4.10.1.orig/datovka.pro -+++ datovka-4.10.1/datovka.pro -@@ -32,7 +32,6 @@ win32 { - sufficientQtVersion(5, 3, 4, 1) +--- datovka-4.10.3.orig/datovka.pro ++++ datovka-4.10.3/datovka.pro +@@ -43,7 +43,6 @@ isEmpty(UI_DIR) { + CONFIG += object_parallel_to_source DEFINES += \ - DEBUG=1 \ VERSION=\\\"$${VERSION}\\\" unix:!macx { -@@ -83,11 +82,6 @@ unix:!macx { +@@ -94,11 +93,6 @@ unix:!macx { localisation.files += locale/datovka_cs.qm \ locale/datovka_en.qm @@ -26,7 +26,7 @@ Index: datovka-4.10.1/datovka.pro DEFINES += DATADIR=\\\"$$DATADIR\\\" \ PKGDATADIR=\\\"$$PKGDATADIR\\\" \ LOCALE_INST_DIR="\"\\\"$${LOCALE_INST_DIR}\\\"\"" \ -@@ -105,17 +99,20 @@ unix:!macx { +@@ -116,13 +110,12 @@ unix:!macx { icon64 \ icon128 \ icon256 \ @@ -40,18 +40,9 @@ Index: datovka-4.10.1/datovka.pro - -g -O0 -std=c++11 \ + -g -std=c++11 $$(CXXFLAGS) \ -Wall -Wextra -pedantic \ -- -Wdate-time -Wformat -Werror=format-security \ -+ -Wformat -Werror=format-security \ - -Isrc/views + -Wdate-time -Wformat -Werror=format-security -+QMAKE_CFLAGS += \ -+ -g $$(CFLAGS) \ -+ -Wall -Wextra -pedantic -+ - INCLUDEPATH += \ - src - -@@ -194,15 +191,8 @@ macx { +@@ -235,15 +228,8 @@ macx { locale/datovka_en.qm localisation.files += locale/qtbase_cs.qm diff --git a/datovka.changes b/datovka.changes index 8de55ea..7e015f3 100644 --- a/datovka.changes +++ b/datovka.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Mon Aug 13 07:02:51 UTC 2018 - tchvatal@suse.com + +- Update to 4.10.3 bsc#1104620: + * Added classes based on Qt types encapsulating various ISDS data types and + structures. Sharing this code with mobile application. + * Added per-account locking of communication contexts. + * Modified database interface to accommodate new data types. + * Explicitly specifying tab order for most windows and dialogues. It is also + possible (on Windows and Linux) to cycle through actions in top tool bar. + * Asking users for confirmation before deleting tags which are still assigned + to some messages. + * Added tooltip description of message state value in sent message list. + * Added button to view account password when editing account credentials and + PIN (master password) is enabled. + * Added DigiCert Global Root G2 certificate. + * Improved keyboard-based control of main and other dialogue windows. All + important elements should be navigable only by keyboard (on Windows and + Linux). + * Fixed a problem with wrong conversion of obtained ISDS error statuses into + readable text. This may have caused the programme to crash. + * Fixed scaling of some icon-based control elements when using enlarged fonts + on Windows. + * Fixed message list sorting and filtering according to assigned tags. + * Displaying busy cursor when switching between entries in account list. + * New version notification can be blocked on Windows in runtime by setting + specific registry values. It can also be blocked at compile time + by using a configuration option when running qmake. + * Extended resource information for the generated Windows executable. + * Fixed project file include paths in order not to interfere with user-defined + compiler flags. + * Fixed problem with unpredictable construction order of global object + instances. + * Added missing conversion strings to some unknown message types. + * Fixed issue causing the application to crash on macOS when switching + between accounts and when having some text in the message filter field. + * Fixed issue causing the application to crash on macOS when updating + information about messages without a valid delivery time. + * Re-enabled logging of transferred message on Windows data when setting + debug verbosity to 3. + * Code shared with mobile application has been placed into separate + directory. + ------------------------------------------------------------------- Wed Jan 17 18:09:12 UTC 2018 - tchvatal@suse.com diff --git a/datovka.spec b/datovka.spec index 3857c92..270f242 100644 --- a/datovka.spec +++ b/datovka.spec @@ -17,12 +17,12 @@ Name: datovka -Version: 4.10.1 +Version: 4.10.3 Release: 0 Summary: Library to access Czech eGov system "Datove schranky" License: GPL-3.0+ Group: Development/Libraries/Python -Url: https://labs.nic.cz/cs/nova-datovka.html +Url: https://www.datovka.cz Source0: https://secure.nic.cz/files/datove_schranky/%{version}/%{name}-%{version}.tar.xz Source1: https://secure.nic.cz/files/datove_schranky/%{version}/%{name}-%{version}.tar.xz.sha256 # PATCH-FIX-UPSTREAM: remove some issues with current .pro file @@ -36,7 +36,7 @@ BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.2.0 BuildRequires: pkgconfig(Qt5Sql) >= 5.2.0 BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 -BuildRequires: pkgconfig(libisds) +BuildRequires: pkgconfig(libisds) >= 0.10.8 Requires: libqt5_sql_backend %if 0%{?suse_version} < 1330 Requires(post): hicolor-icon-theme From 782fb4081252f810dc637f4e746370c9527e455740e4d281080cc4fe094a9eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 13 Aug 2018 07:26:03 +0000 Subject: [PATCH 2/3] - Rebase patch datovka-fix-pro.patch OBS-URL: https://build.opensuse.org/package/show/network/datovka?expand=0&rev=28 --- datovka.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/datovka.changes b/datovka.changes index 7e015f3..8526fbe 100644 --- a/datovka.changes +++ b/datovka.changes @@ -40,6 +40,7 @@ Mon Aug 13 07:02:51 UTC 2018 - tchvatal@suse.com debug verbosity to 3. * Code shared with mobile application has been placed into separate directory. +- Rebase patch datovka-fix-pro.patch ------------------------------------------------------------------- Wed Jan 17 18:09:12 UTC 2018 - tchvatal@suse.com From db7aa8d87085bbfd16e713d2e8f555e436ad31bc8dde4a9f67e42807f87f8f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 17 Aug 2018 12:07:18 +0000 Subject: [PATCH 3/3] - Update datovka-fix-pro.patch to contain fix for Leap 42.3 build OBS-URL: https://build.opensuse.org/package/show/network/datovka?expand=0&rev=29 --- datovka-fix-pro.patch | 11 +++++++---- datovka.changes | 5 +++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/datovka-fix-pro.patch b/datovka-fix-pro.patch index aafb9fd..1b4779d 100644 --- a/datovka-fix-pro.patch +++ b/datovka-fix-pro.patch @@ -26,7 +26,7 @@ Index: datovka-4.10.3/datovka.pro DEFINES += DATADIR=\\\"$$DATADIR\\\" \ PKGDATADIR=\\\"$$PKGDATADIR\\\" \ LOCALE_INST_DIR="\"\\\"$${LOCALE_INST_DIR}\\\"\"" \ -@@ -116,13 +110,12 @@ unix:!macx { +@@ -116,15 +110,13 @@ unix:!macx { icon64 \ icon128 \ icon256 \ @@ -38,11 +38,14 @@ Index: datovka-4.10.3/datovka.pro QMAKE_CXXFLAGS = \ - -g -O0 -std=c++11 \ +- -Wall -Wextra -pedantic \ +- -Wdate-time -Wformat -Werror=format-security + -g -std=c++11 $$(CXXFLAGS) \ - -Wall -Wextra -pedantic \ - -Wdate-time -Wformat -Werror=format-security ++ -Wall -Wextra -pedantic -@@ -235,15 +228,8 @@ macx { + #INCLUDEPATH += + +@@ -235,15 +227,8 @@ macx { locale/datovka_en.qm localisation.files += locale/qtbase_cs.qm diff --git a/datovka.changes b/datovka.changes index 8526fbe..3f68f6f 100644 --- a/datovka.changes +++ b/datovka.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 17 12:06:37 UTC 2018 - tchvatal@suse.com + +- Update datovka-fix-pro.patch to contain fix for Leap 42.3 build + ------------------------------------------------------------------- Mon Aug 13 07:02:51 UTC 2018 - tchvatal@suse.com