From 75760cd9d68b528bbdab7ada73238c611818cd72181309d49ee98afb17ce34a0 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Tue, 9 Aug 2022 14:12:40 +0000 Subject: [PATCH 1/2] KDE Release Gear 22.08 RC OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kitinerary?expand=0&rev=145 --- 0001-Support-ZXing-1.4.0.patch | 68 ---------------------------------- kitinerary-22.04.3.tar.xz | 3 -- kitinerary-22.04.3.tar.xz.sig | 16 -------- kitinerary-22.07.90.tar.xz | 3 ++ kitinerary-22.07.90.tar.xz.sig | 16 ++++++++ kitinerary.changes | 15 ++++++++ kitinerary.spec | 8 ++-- 7 files changed, 37 insertions(+), 92 deletions(-) delete mode 100644 0001-Support-ZXing-1.4.0.patch delete mode 100644 kitinerary-22.04.3.tar.xz delete mode 100644 kitinerary-22.04.3.tar.xz.sig create mode 100644 kitinerary-22.07.90.tar.xz create mode 100644 kitinerary-22.07.90.tar.xz.sig diff --git a/0001-Support-ZXing-1.4.0.patch b/0001-Support-ZXing-1.4.0.patch deleted file mode 100644 index e2ffcc6..0000000 --- a/0001-Support-ZXing-1.4.0.patch +++ /dev/null @@ -1,68 +0,0 @@ -From b08fd64711165c10bf1e88e6add4e66f68e32dc5 Mon Sep 17 00:00:00 2001 -From: Volker Krause -Date: Fri, 8 Jul 2022 16:04:19 +0200 -Subject: [PATCH] Support ZXing 1.4.0 - -The previous code crashes (if it builds at all) with ZXing 1.4.0, so -distributions updating to 1.4.0 would need to apply this patch on top -of 22.04.3 as well. - -(cherry picked from commit e60195421aa159462353892ed32bf46ac8c57d19) ---- - src/lib/barcodedecoder.cpp | 26 ++++++++++++++++++++++++++ - 1 file changed, 26 insertions(+) - -diff --git a/src/lib/barcodedecoder.cpp b/src/lib/barcodedecoder.cpp -index b38140a..40e0c64 100644 ---- a/src/lib/barcodedecoder.cpp -+++ b/src/lib/barcodedecoder.cpp -@@ -15,6 +15,7 @@ - #include - - #ifdef HAVE_ZXING -+#define ZX_USE_UTF8 1 - #ifdef ZXING_USE_READBARCODE - #include - #else -@@ -244,6 +245,30 @@ void BarcodeDecoder::decodeZxing(const QImage &img, BarcodeDecoder::BarcodeTypes - #endif - - if (res.isValid()) { -+#if ZXING_VERSION >= QT_VERSION_CHECK(1, 4, 0) -+ // detect content type -+ std::string zxUtf8Text; -+ if (res.contentType() == ZXing::ContentType::Text) { -+ result.contentType = Result::Any; -+ zxUtf8Text = res.text(); -+ // check if the text is ASCII-only (in which case we allow access as byte array as well) -+ if (std::any_of(zxUtf8Text.begin(), zxUtf8Text.end(), [](unsigned char c) { return c > 0x7F; })) { -+ result.contentType &= ~Result::ByteArray; -+ } -+ } else { -+ result.contentType = Result::ByteArray; -+ } -+ -+ // decode content -+ if (result.contentType & Result::ByteArray) { -+ QByteArray b; -+ b.resize(res.bytes().size()); -+ std::copy(res.bytes().begin(), res.bytes().end(), b.begin()); -+ result.content = b; -+ } else { -+ result.content = QString::fromStdString(zxUtf8Text); -+ } -+#else - // detect content type - result.contentType = Result::Any; - if (std::any_of(res.text().begin(), res.text().end(), [](const auto c) { return c > 255; })) { -@@ -262,6 +287,7 @@ void BarcodeDecoder::decodeZxing(const QImage &img, BarcodeDecoder::BarcodeTypes - } else { - result.content = QString::fromStdWString(res.text()); - } -+#endif - result.positive |= formatToType(res.format()); - } else { - result.negative |= format; --- -2.36.1 - diff --git a/kitinerary-22.04.3.tar.xz b/kitinerary-22.04.3.tar.xz deleted file mode 100644 index 7ee5c10..0000000 --- a/kitinerary-22.04.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fc6970e633584c88c5283dd2a5d3a4638f704439229abd9c6267d907a6ab3cb -size 1530056 diff --git a/kitinerary-22.04.3.tar.xz.sig b/kitinerary-22.04.3.tar.xz.sig deleted file mode 100644 index 46bbf3e..0000000 --- a/kitinerary-22.04.3.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmLDwVkACgkQu0YzUNbv -Me+VBxAAiO6fzhY5lwELKO7rL8LJTsFCanUaDYEtZr3kniTZDkihGfUg7nNLUYB0 -0CLjOq3UhVwsfii+GxaJSPa7bULJnbdSa7vv9kQe0oYDptTLhKBvAn1yxtNB544c -a3MdiHICUDRcop33bxHaR9DBFtFCynDQnmQiDYtzfXxaV5CMPvu+PWDDuAf3oaKp -MNVBxyfIviZQ7Qq3OgHQGY5eZKeAPcvkt8FcmO3U3NGrrgyR6wzigm7qLIiqM1AR -/g45/nYZ6HRu7eClHuOlvHolVWx4K79jYMKnDmCObFLqRfXCiu1hLstFbjGwl42u -yWBLyTnYuPZrbmo6N1OPm984KiGsItwQNRXpVgBTwHP9ggZltpFX4B/6UTLhE5Y3 -5CvT1AnYgjDXy5JnME+kmrCShZmS/BRpVDOv3HSmc1W/1bb/RHpJx9w7srGd400f -olmCLCt+0QCciQ8V7fPHSXudpKYCpzSKMCb7mBzbPVkSM4FTUF0ITd1jjsrCP/vZ -o3CZgpfO1nQxaX9nx5VYdmjsAKmh7KeAJVnnu1FxlcTgVzEruHa3eRG9RxhGl674 -TRWbHerwi0LS6w9Eo9WufMYScDc2HAkMcjMqVfUfNnyH+6aMg5faclmmTmz4emtZ -e517USzUz/zqZY7OS+eRgKeLhZBvOIDSr+tfZdTFwnuwDxxKTyw= -=Wqvl ------END PGP SIGNATURE----- diff --git a/kitinerary-22.07.90.tar.xz b/kitinerary-22.07.90.tar.xz new file mode 100644 index 0000000..ed861e5 --- /dev/null +++ b/kitinerary-22.07.90.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df810bbad8131d83f1ad6dd6b191ebcf53910741eaa8a42659974481e217beb9 +size 1689820 diff --git a/kitinerary-22.07.90.tar.xz.sig b/kitinerary-22.07.90.tar.xz.sig new file mode 100644 index 0000000..a1c3af8 --- /dev/null +++ b/kitinerary-22.07.90.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmLsYkUACgkQu0YzUNbv +Me/+fw//XbyWtmDcrTSMGgxdeCNLb98ueXsyHanzipJ/zUBZwMGt/FS5/HGBz0Nr +LrzdK9Zy74FQitpqrpunpG1cqf35ZNy8kSrlAKOSNVUJkhYxgAisCbdg6SOE6CA5 +Yt5TPWaIMX3V5ciDMU6GUDa6Xch3a1wbJBjKvBFuskEoKo9LqlbYU4jQEx3O5irV +HFHKiZRFZTcQmeZ6AqrShzYwmkUDFoyd+hNDRYO5wz5EEyPGj8QCWkwtmbsSkaO+ +bQ3y2R1TI/f18OH483lk/yoOut6F1XredZoA+AJf2FC3Et2E8rRJhw+/QMhSbNU2 +QUHHtrWvp/uFAv2VUkOGthrMaJ4ul1BK5rs8hRbUHFM7PwHxsOMMzBBtngPCc213 +1eWNiyncm6F0OCiaFZYK9kmCRmRFyw8QWjXJZOdUQ3Cbal8u7ZME+w7j8Moqrstv +R/xNizzv274wWwAGzwKx6ou4bjVpHkSROoNSJutnQbAILkkQYazl2qmLDo51tgUy +4rHJR1C8PN4A1ZXIRDMFyDg6MDfIL/4xSDrwb8B6HK8MKlGVlfhikmtJJFSE4387 +XIHQlM01FXLQ1C7E1g+n7wvVGX+GZd9fynbGJit4uX7smK3UppRjYHvRYK4zacnX +6DuN3RBa96Pg+nLFF0C4BsoiMsG4Xu0B5hAfNrsvRBdUasPxkOk= +=9hUf +-----END PGP SIGNATURE----- diff --git a/kitinerary.changes b/kitinerary.changes index 3fe2ef0..590b66c 100644 --- a/kitinerary.changes +++ b/kitinerary.changes @@ -1,9 +1,24 @@ +------------------------------------------------------------------- +Fri Aug 5 12:10:58 UTC 2022 - Christophe Giboudeaux + +- Update to 22.07.90 + * New feature release + +- Drop patch, now upstream: + * 0001-Support-ZXing-1.4.0.patch + ------------------------------------------------------------------- Wed Jul 20 16:24:51 UTC 2022 - Fabian Vogt - Add patch to fix build with ZXing 1.4.0: * 0001-Support-ZXing-1.4.0.patch +------------------------------------------------------------------- +Sat Jul 16 08:28:12 UTC 2022 - Christophe Giboudeaux + +- Update to 22.07.80 + * New feature release + ------------------------------------------------------------------- Tue Jul 5 17:03:22 UTC 2022 - Christophe Giboudeaux diff --git a/kitinerary.spec b/kitinerary.spec index 6fa2c6d..18add37 100644 --- a/kitinerary.spec +++ b/kitinerary.spec @@ -18,19 +18,17 @@ %bcond_without released Name: kitinerary -Version: 22.04.3 +Version: 22.07.90 Release: 0 Summary: Data model and extraction system for travel reservations License: LGPL-2.1-or-later Group: System/GUI/KDE URL: https://www.kde.org -Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz +Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz %if %{with released} -Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig Source2: applications.keyring %endif -# PATCH-FIX-UPSTREAM -Patch1: 0001-Support-ZXing-1.4.0.patch BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem BuildRequires: libopenssl-devel From 5ed20a84931cc5ce89730ba9ee8e5238b90876aa6972a687aa3496738df1cca1 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Thu, 18 Aug 2022 12:44:25 +0000 Subject: [PATCH 2/2] KDE Release Gear 22.08.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kitinerary?expand=0&rev=146 --- kitinerary-22.07.90.tar.xz | 3 --- kitinerary-22.07.90.tar.xz.sig | 16 ---------------- kitinerary-22.08.0.tar.xz | 3 +++ kitinerary-22.08.0.tar.xz.sig | 16 ++++++++++++++++ kitinerary.changes | 8 ++++++++ kitinerary.spec | 6 +++--- 6 files changed, 30 insertions(+), 22 deletions(-) delete mode 100644 kitinerary-22.07.90.tar.xz delete mode 100644 kitinerary-22.07.90.tar.xz.sig create mode 100644 kitinerary-22.08.0.tar.xz create mode 100644 kitinerary-22.08.0.tar.xz.sig diff --git a/kitinerary-22.07.90.tar.xz b/kitinerary-22.07.90.tar.xz deleted file mode 100644 index ed861e5..0000000 --- a/kitinerary-22.07.90.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df810bbad8131d83f1ad6dd6b191ebcf53910741eaa8a42659974481e217beb9 -size 1689820 diff --git a/kitinerary-22.07.90.tar.xz.sig b/kitinerary-22.07.90.tar.xz.sig deleted file mode 100644 index a1c3af8..0000000 --- a/kitinerary-22.07.90.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmLsYkUACgkQu0YzUNbv -Me/+fw//XbyWtmDcrTSMGgxdeCNLb98ueXsyHanzipJ/zUBZwMGt/FS5/HGBz0Nr -LrzdK9Zy74FQitpqrpunpG1cqf35ZNy8kSrlAKOSNVUJkhYxgAisCbdg6SOE6CA5 -Yt5TPWaIMX3V5ciDMU6GUDa6Xch3a1wbJBjKvBFuskEoKo9LqlbYU4jQEx3O5irV -HFHKiZRFZTcQmeZ6AqrShzYwmkUDFoyd+hNDRYO5wz5EEyPGj8QCWkwtmbsSkaO+ -bQ3y2R1TI/f18OH483lk/yoOut6F1XredZoA+AJf2FC3Et2E8rRJhw+/QMhSbNU2 -QUHHtrWvp/uFAv2VUkOGthrMaJ4ul1BK5rs8hRbUHFM7PwHxsOMMzBBtngPCc213 -1eWNiyncm6F0OCiaFZYK9kmCRmRFyw8QWjXJZOdUQ3Cbal8u7ZME+w7j8Moqrstv -R/xNizzv274wWwAGzwKx6ou4bjVpHkSROoNSJutnQbAILkkQYazl2qmLDo51tgUy -4rHJR1C8PN4A1ZXIRDMFyDg6MDfIL/4xSDrwb8B6HK8MKlGVlfhikmtJJFSE4387 -XIHQlM01FXLQ1C7E1g+n7wvVGX+GZd9fynbGJit4uX7smK3UppRjYHvRYK4zacnX -6DuN3RBa96Pg+nLFF0C4BsoiMsG4Xu0B5hAfNrsvRBdUasPxkOk= -=9hUf ------END PGP SIGNATURE----- diff --git a/kitinerary-22.08.0.tar.xz b/kitinerary-22.08.0.tar.xz new file mode 100644 index 0000000..b694227 --- /dev/null +++ b/kitinerary-22.08.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2fd35f322c48723b61c98006a2d10010eaf528360f93971d11d07d35168133cb +size 1688912 diff --git a/kitinerary-22.08.0.tar.xz.sig b/kitinerary-22.08.0.tar.xz.sig new file mode 100644 index 0000000..4c0abf6 --- /dev/null +++ b/kitinerary-22.08.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAmL2HaUACgkQOmpNuDnq +ptcBhA/+K29u+rG2q1e5FLBGHMXIhbFZL/IqL8KxhbpMr7nffWuQbjj5ivC4tDOm +HdXo5caEOL2DCH6dzLK43DFMYM9spKDEiyFEaxTUM35OCznmN4Pptyw0BRuIeg/2 +f5hajfkU4F3djfvZkFQqWmILfRVzeIlbs9I9LRY2lMGpKIIBqkzbNiMBp4tLbGbl +FsiF/WlBibN9gwqtCAMSg34fIC6xvMyjFnJwEyziigbGqOLJn9RZOjU5P0WhkfwT +dM1y27sXsjYaC+48Vrr790IF1Pb23+6Mmy6Kt/+CNDSck44TZojZqhbR9oDVcSTA +INFD6QFT9Fe27kp8Fnv/EdK+EJSpDXZ+NFTxdLlfsCVZC1+EDDcFyHcyJsO2YaMH +VjY0djRYhALL42FKhdgJA2s6p4pHmNNI0g/drYO6QxnDQqa2vBPL6xrTBlddz8AM +yHX1llEfTCg5Ifq8+QXgzWwXhIQgn7GpbxpqZlTnYFYFDu6tG25o8dQuBnokDihg +YnyiF9vL1p1hgxHv0qM2X3iNp8g72/L7TT+906HHSfMZchNrAgLelUhpxYRPnj3/ +uoPL9Jdq6WEW+MOecpM52c3+XXVE9vjqV8yDgYL2h3tUV8L33JSjK9pUBZ8kgb2u +8zqnxQtm+kD/WrSlPCbPR3hI9x/VD9N+3bA4+ArO1fD+nX5sQII= +=8a6V +-----END PGP SIGNATURE----- diff --git a/kitinerary.changes b/kitinerary.changes index 590b66c..c245c00 100644 --- a/kitinerary.changes +++ b/kitinerary.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Aug 14 09:42:41 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.08.0/ + ------------------------------------------------------------------- Fri Aug 5 12:10:58 UTC 2022 - Christophe Giboudeaux diff --git a/kitinerary.spec b/kitinerary.spec index 18add37..ab31ecc 100644 --- a/kitinerary.spec +++ b/kitinerary.spec @@ -18,15 +18,15 @@ %bcond_without released Name: kitinerary -Version: 22.07.90 +Version: 22.08.0 Release: 0 Summary: Data model and extraction system for travel reservations License: LGPL-2.1-or-later Group: System/GUI/KDE URL: https://www.kde.org -Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz +Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz %if %{with released} -Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig Source2: applications.keyring %endif BuildRequires: extra-cmake-modules