From af730a16169b5b642a0e345c855651fdef8d632e Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 10 May 2026 20:17:34 +0200 Subject: [PATCH] app-admin/keepassxc: drop 2.7.11-r3 Closes: https://bugs.gentoo.org/949231 Signed-off-by: Andreas Sturmlechner --- app-admin/keepassxc/Manifest | 1 - .../keepassxc-2.7.10-cmake_minimum.patch | 19 --- .../files/keepassxc-2.7.11-AutoType.patch | 69 ---------- .../keepassxc/keepassxc-2.7.11-r3.ebuild | 124 ------------------ profiles/package.mask | 2 +- 5 files changed, 1 insertion(+), 214 deletions(-) delete mode 100644 app-admin/keepassxc/files/keepassxc-2.7.10-cmake_minimum.patch delete mode 100644 app-admin/keepassxc/files/keepassxc-2.7.11-AutoType.patch delete mode 100644 app-admin/keepassxc/keepassxc-2.7.11-r3.ebuild diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest index a47eca7c72b87..2ef41be6cade1 100644 --- a/app-admin/keepassxc/Manifest +++ b/app-admin/keepassxc/Manifest @@ -1,2 +1 @@ -DIST keepassxc-2.7.11.gh.tar.gz 13714269 BLAKE2B 0fffada2ae86e527e6a7b2c46fa524c9e395067b6011297e6a5261863e10bdbc6a855675e0206726f6433a700f227053a8be0dd63734ffeddb73897190f96f5c SHA512 e50ad1b841866aa6baa3f121a0ee03296e771eb750aabd779d6665bd02ae427f3eb83e219e475762f6da235fcf3cdb9d47f5466acb9400e924753e2a10f15476 DIST keepassxc-2.8.0_pre20260504.tar.gz 13908020 BLAKE2B 739d25c24291c2daf833541c11447c9983c031926843976299a6a5e1d4be5a681e13aa551ffeecd03aa0d610d96275bba23f679be4ecd30b2d269ffda76143db SHA512 20fefe6d7363d80965c119f83afb8c73e4c9f2b7075b39f0501d6d42d7d1f35df0c8388b6aa4a3c8ed851f92472ec668aefd0d20de6a1dfc80e2a2e5858350fe diff --git a/app-admin/keepassxc/files/keepassxc-2.7.10-cmake_minimum.patch b/app-admin/keepassxc/files/keepassxc-2.7.10-cmake_minimum.patch deleted file mode 100644 index 2053c31e869bc..0000000000000 --- a/app-admin/keepassxc/files/keepassxc-2.7.10-cmake_minimum.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -14,7 +14,7 @@ - # You should have received a copy of the GNU General Public License - # along with this program. If not, see . - --cmake_minimum_required(VERSION 3.10.0) -+cmake_minimum_required(VERSION 3.20) - - project(KeePassXC) - set(APP_ID "org.keepassxc.${PROJECT_NAME}") ---- a/utils/vcpkg_ports/argon2/CMakeLists.txt -+++ b/utils/vcpkg_ports/argon2/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.8) -+cmake_minimum_required(VERSION 3.20) - project(argon2 C) - - set(PROJECT_VERSION 20190702) diff --git a/app-admin/keepassxc/files/keepassxc-2.7.11-AutoType.patch b/app-admin/keepassxc/files/keepassxc-2.7.11-AutoType.patch deleted file mode 100644 index cc0124bd851b2..0000000000000 --- a/app-admin/keepassxc/files/keepassxc-2.7.11-AutoType.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 85f7276ac2aade72fb0ebeb36ee53b32b6d6fa87 Mon Sep 17 00:00:00 2001 -From: Jonathan White -Date: Tue, 25 Nov 2025 18:35:31 -0500 -Subject: [PATCH] Revert Auto-Type change that caused race condition - -* Fixes #12723 ---- - src/autotype/AutoType.cpp | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp -index 44815fa6f8..83e18658dd 100644 ---- a/src/autotype/AutoType.cpp -+++ b/src/autotype/AutoType.cpp -@@ -115,6 +115,8 @@ namespace - {"f14", Qt::Key_F14}, - {"f15", Qt::Key_F15}, - {"f16", Qt::Key_F16}}; -+ constexpr int s_minWaitDelay = 100; // 100 ms -+ constexpr int s_maxWaitDelay = 10000; // 10 seconds - } // namespace - - AutoType* AutoType::m_instance = nullptr; -@@ -312,6 +314,9 @@ void AutoType::executeAutoTypeActions(const Entry* entry, - // Restore executor mode - m_executor->mode = mode; - -+ // Initial Auto-Type delay to allow window to come to foreground -+ Tools::wait(qBound(s_minWaitDelay, config()->get(Config::AutoTypeStartDelay).toInt(), s_maxWaitDelay)); -+ - // Grab the current active window after everything settles - if (window == 0) { - window = m_plugin->activeWindow(); -@@ -543,16 +548,16 @@ AutoType::parseSequence(const QString& entrySequence, const Entry* entry, QStrin - } - - const int maxTypeDelay = 500; -- const int maxWaitDelay = 10000; - const int maxRepetition = 100; -+ - int currentTypingDelay = qBound(0, config()->get(Config::AutoTypeDelay).toInt(), maxTypeDelay); -- int cumulativeDelay = qBound(0, config()->get(Config::AutoTypeStartDelay).toInt(), maxWaitDelay); -+ // Take into account the initial delay which is added before any actions are performed -+ int cumulativeDelay = qBound(s_minWaitDelay, config()->get(Config::AutoTypeStartDelay).toInt(), s_maxWaitDelay); - - // Initial actions include start delay and initial inter-key delay - QList> actions; - actions << QSharedPointer::create(); - actions << QSharedPointer::create(currentTypingDelay, true); -- actions << QSharedPointer::create(cumulativeDelay); - - // Replace escaped braces with a template for easier regex - QString sequence = entrySequence; -@@ -631,12 +636,12 @@ AutoType::parseSequence(const QString& entrySequence, const Entry* entry, QStrin - actions << QSharedPointer::create(qBound(0, delay, maxTypeDelay), true); - } else if (placeholder == "delay") { - // Mid typing delay (wait), repeat represents the desired delay in milliseconds -- if (repeat > maxWaitDelay) { -- error = tr("Very long delay detected, max is %1: %2").arg(maxWaitDelay).arg(fullPlaceholder); -+ if (repeat > s_maxWaitDelay) { -+ error = tr("Very long delay detected, max is %1: %2").arg(s_maxWaitDelay).arg(fullPlaceholder); - return {}; - } - cumulativeDelay += repeat; -- actions << QSharedPointer::create(qBound(0, repeat, maxWaitDelay)); -+ actions << QSharedPointer::create(qBound(0, repeat, s_maxWaitDelay)); - } else if (placeholder == "clearfield") { - // Platform-specific field clearing - actions << QSharedPointer::create(); diff --git a/app-admin/keepassxc/keepassxc-2.7.11-r3.ebuild b/app-admin/keepassxc/keepassxc-2.7.11-r3.ebuild deleted file mode 100644 index 4b8974310e390..0000000000000 --- a/app-admin/keepassxc/keepassxc-2.7.11-r3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake xdg - -DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" -HOMEPAGE="https://keepassxc.org" - -if [[ "${PV}" = *9999* ]] ; then - inherit git-r3 - - EGIT_BRANCH="develop" - EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" -else - if [[ "${PV}" == *_beta* ]] ; then - SRC_URI="https://github.com/keepassxreboot/${PN}/archive/${PV/_/-}.tar.gz - -> ${P}.gh.tar.gz" - S="${WORKDIR}/${P/_/-}" - else - SRC_URI="https://github.com/keepassxreboot/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - fi - - KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" -fi - -# COPYING order -LICENSE="|| ( GPL-2 GPL-3 ) BSD LGPL-2.1 MIT LGPL-2 CC0-1.0 Apache-2.0 GPL-2+ BSD-2" -SLOT="0" -IUSE="X autotype browser doc keeshare +keyring +network +ssh-agent test yubikey" - -RESTRICT="!test? ( test )" -REQUIRED_USE="autotype? ( X )" - -RDEPEND=" - app-crypt/argon2:= - dev-libs/botan:3= - dev-libs/zxcvbn-c - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - media-gfx/qrencode:= - sys-libs/readline:0= - virtual/minizip:= - X? ( - dev-qt/qtx11extras:5 - ) - autotype? ( - x11-libs/libX11 - x11-libs/libXtst - ) - yubikey? ( - dev-libs/libusb:1 - sys-apps/pcsc-lite - ) -" -DEPEND=" - ${RDEPEND} - dev-qt/qttest:5 -" -BDEPEND=" - dev-qt/linguist-tools:5 - doc? ( - dev-ruby/asciidoctor - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.7.10-cmake_minimum.patch" - "${FILESDIR}/${PN}-2.7.10-tests.patch" - "${FILESDIR}/${PN}-2.7.11-AutoType.patch" -) - -src_prepare() { - if ! [[ "${PV}" =~ _beta|9999 ]]; then - echo "${PV}" > .version || die - fi - - # Unbundle zxcvbn, bug 958062 - rm -r ./src/thirdparty/zxcvbn || die - - if has_version " (2026-04-12) # Perpetually stuck on Qt5. A Qt6-based snapshot is provided for testing, -# currently as app-admin/keepassxc-2.8.0_pre260316-r1, but it is unclear when +# currently as app-admin/keepassxc-2.8.0_pre20260504, but it is unclear when # (or even if) it will be stabilised. Alternatives are app-admin/keepass, # app-admin/pass which can import kbdx files via app-admin/pass-import, # app-admin/vaultwarden, app-admin/bitwarden-desktop-bin,