diff --git a/.gitignore b/.gitignore index e228042..21d171b 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /keepassxc-2.6.2-src.tar.xz /keepassxc-2.6.3-src.tar.xz /keepassxc-2.6.4-src.tar.xz +/keepassxc-2.6.6-src.tar.xz diff --git a/keepassxc.spec b/keepassxc.spec index a7ee056..894a519 100644 --- a/keepassxc.spec +++ b/keepassxc.spec @@ -2,14 +2,15 @@ # EPEL7 not possible because libgcrypt version is 1.5 Name: keepassxc -Version: 2.6.4 -Release: 2%{?dist} +Version: 2.6.6 +Release: 3%{?dist} Summary: Cross-platform password manager License: Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain URL: http://www.keepassxc.org/ Source0: https://github.com/keepassxreboot/keepassxc/releases/download/%{version}/keepassxc-%{version}-src.tar.xz # Patch0: fixes GNOME quirks on Wayland sessions. Read # https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3BVLBS4B3XHJEXFVGD7RK2ZMXZG6JQZT/ +# read also https://github.com/keepassxreboot/keepassxc/pull/3520/files Patch0: xcb.patch BuildRequires: cmake >= 3.1 @@ -149,6 +150,15 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{nam %endif %changelog +* Thu Aug 19 2021 Björn Esser - 2.6.6-3 +- Rebuild (quazip) + +* Thu Jul 22 2021 Fedora Release Engineering - 2.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 14 2021 Mukundan Ragavan - 2.6.6-1 +- Update to 2.6.6 + * Sat May 01 2021 Germano Massullo - 2.6.4-2 - added xcb.patch that fixes GNOME quirks on Wayland sessions. Read https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3BVLBS4B3XHJEXFVGD7RK2ZMXZG6JQZT/ diff --git a/sources b/sources index 30b1bdf..0ce3643 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (keepassxc-2.6.4-src.tar.xz) = 3bde0c8670ba14be80c6f3676bd447b0855a2af2915a395ee236c2d4c6e4b859936351643d679480aae1fcf55ed4315447ae927ac9bdedeb0332593cb4e9fedb +SHA512 (keepassxc-2.6.6-src.tar.xz) = 175702ef3ae5b048ba23a794ddf4e17d61f2640955de7ec21a3e49e4abe7cab8c93c9a2bc61c5c052c62382a69bd8dcb4a4f0cf6daa162f5e00cff3f7a1a713b diff --git a/xcb.patch b/xcb.patch index 0c0550c..34074fd 100644 --- a/xcb.patch +++ b/xcb.patch @@ -1,6 +1,5 @@ -diff -urNr keepassxc-2.6.4-orig/src/main.cpp keepassxc-2.6.4/src/main.cpp ---- keepassxc-2.6.4-orig/src/main.cpp 2021-01-31 22:37:23.000000000 +0100 -+++ keepassxc-2.6.4/src/main.cpp 2021-05-01 15:31:13.526285073 +0200 +--- keepassxc-2.6.6-orig/src/main.cpp 2021-06-14 18:11:55.987803422 -0400 ++++ keepassxc-2.6.6/src/main.cpp 2021-06-14 18:13:31.501595998 -0400 @@ -44,8 +44,26 @@ #endif #endif @@ -8,7 +7,6 @@ diff -urNr keepassxc-2.6.4-orig/src/main.cpp keepassxc-2.6.4/src/main.cpp +#ifdef Q_OS_LINUX +void wayland_hacks() +{ -+ // Workaround to https://github.com/ksnip/ksnip/issues/416 + QByteArray currentDesktop = qgetenv("XDG_CURRENT_DESKTOP").toLower(); + QByteArray sessionDesktop = qgetenv("XDG_SESSION_DESKTOP").toLower(); + QByteArray sessionType = qgetenv("XDG_SESSION_TYPE").toLower(); @@ -18,13 +16,14 @@ diff -urNr keepassxc-2.6.4-orig/src/main.cpp keepassxc-2.6.4/src/main.cpp + } +} +#endif -+ + int main(int argc, char** argv) { -+ #ifdef Q_OS_LINUX -+ wayland_hacks(); -+ #endif ++ ++#ifdef Q_OS_LINUX ++wayland_hacks(); ++#endif ++ QT_REQUIRE_VERSION(argc, argv, QT_VERSION_STR) #if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)