diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /sys-auth/polkit-qt | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'sys-auth/polkit-qt')
| -rw-r--r-- | sys-auth/polkit-qt/Manifest | 2 | ||||
| -rw-r--r-- | sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch | 47 | ||||
| -rw-r--r-- | sys-auth/polkit-qt/metadata.xml | 12 | ||||
| -rw-r--r-- | sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild | 39 | ||||
| -rw-r--r-- | sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild | 37 |
5 files changed, 0 insertions, 137 deletions
diff --git a/sys-auth/polkit-qt/Manifest b/sys-auth/polkit-qt/Manifest deleted file mode 100644 index 24ad33f7d37f..000000000000 --- a/sys-auth/polkit-qt/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST polkit-qt-1-0.200.0.tar.xz 58216 BLAKE2B 4edd1577178d4b61889f3da3699f36e0b3251c38b111c0c219ad9c9585ff32845034c068a5c382c29baa1d9cd8d723378422dafb4ea8734766da1b8032025826 SHA512 a09214043fa874234086a5de4d27153368dbe775dd6d573dd2531f2f2be79eb22bf73bbfb2a3a839c20c0347762e7af86b73ba38a05b2dcd43e59526e29c008d -DIST polkit-qt-1-0.201.1.tar.xz 58492 BLAKE2B efb84e5111c87e50d2c9417883682a244267d1b1c1c3e1c499235ef4eee009b1aeacac0ccdfad94e75b145dbff72e83f15e5f3116f54530bfcf6389f3f83cbb8 SHA512 04e94b1e92a0a2ecf731d0768e94ebad1bb39c933063c2059ffb1c2e11000ea616c359ed097416c92ef84b071d1cc0ebb942513a5264d33322384b41245c737d diff --git a/sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch b/sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch deleted file mode 100644 index bd84c9764b18..000000000000 --- a/sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 27370be06e09281761be34c53a6d50d87978d4f4 Mon Sep 17 00:00:00 2001 -From: Harald Sitter <sitter@kde.org> -Date: Tue, 14 Jan 2025 15:09:13 +0100 -Subject: [PATCH] ListenerAdapter: uniquify the identities - -prevents duplicated entries ---- - agent/listeneradapter.cpp | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -diff --git a/agent/listeneradapter.cpp b/agent/listeneradapter.cpp -index 507f4b6..a1b84e9 100644 ---- a/agent/listeneradapter.cpp -+++ b/agent/listeneradapter.cpp -@@ -71,13 +71,17 @@ void ListenerAdapter::polkit_qt_listener_initiate_authentication(PolkitAgentList - { - qDebug() << "polkit_qt_listener_initiate_authentication callback for " << listener; - -- PolkitQt1::Identity::List idents; - PolkitQt1::Details dets(details); - - Listener *list = findListener(listener); - -- for (GList *identity = g_list_first(identities); identity != nullptr; identity = g_list_next(identity)) { -- idents.append(PolkitQt1::Identity((PolkitIdentity *)identity->data)); -+ // Polkit enumerates identities without regard for their hash value, potentially leading to duplicated entries. -+ // Unique the identities on our end. -+ // https://github.com/polkit-org/polkit/issues/542 -+ QHash<guint, PolkitQt1::Identity> uniqueIdentities; -+ for (GList *entry = g_list_first(identities); entry != nullptr; entry = g_list_next(entry)) { -+ auto identity = static_cast<PolkitIdentity *>(entry->data); -+ uniqueIdentities.insert(polkit_identity_hash(identity), PolkitQt1::Identity(identity)); - } - - list->initiateAuthentication(QString::fromUtf8(action_id), -@@ -85,7 +89,7 @@ void ListenerAdapter::polkit_qt_listener_initiate_authentication(PolkitAgentList - QString::fromUtf8(icon_name), - dets, - QString::fromUtf8(cookie), -- idents, -+ uniqueIdentities.values(), - new AsyncResult(result)); - } - --- -2.52.0 - diff --git a/sys-auth/polkit-qt/metadata.xml b/sys-auth/polkit-qt/metadata.xml deleted file mode 100644 index 8ea64ff8092f..000000000000 --- a/sys-auth/polkit-qt/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <upstream> - <bugs-to>https://bugs.kde.org/</bugs-to> - <remote-id type="kde-invent">libraries/polkit-qt-1</remote-id> - </upstream> -</pkgmetadata> diff --git a/sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild b/sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild deleted file mode 100644 index 6a40ec73d4e9..000000000000 --- a/sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KDE_ORG_CATEGORY="libraries" -KDE_ORG_NAME="polkit-qt-1" -inherit cmake kde.org - -DESCRIPTION="Qt wrapper around polkit-1 client libraries" -HOMEPAGE="https://api.kde.org/legacy/polkit-qt-1/html/index.html" - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz" - KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86" -fi - -LICENSE="LGPL-2" -SLOT="0" - -RDEPEND=" - dev-libs/glib:2 - dev-qt/qtbase:6[dbus,gui,widgets] - >=sys-auth/polkit-0.103 -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( AUTHORS README README.porting TODO ) - -PATCHES=( "${FILESDIR}/${P}-uniquify-identities.patch" ) - -src_configure() { - local mycmakeargs=( - -DBUILD_EXAMPLES=OFF - -DQT_MAJOR_VERSION=6 - ) - cmake_src_configure -} diff --git a/sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild b/sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild deleted file mode 100644 index 881804cbb425..000000000000 --- a/sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KDE_ORG_CATEGORY="libraries" -KDE_ORG_NAME="polkit-qt-1" -inherit cmake kde.org - -DESCRIPTION="Qt wrapper around polkit-1 client libraries" -HOMEPAGE="https://api.kde.org/legacy/polkit-qt-1/html/index.html" - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -fi - -LICENSE="LGPL-2" -SLOT="0" - -RDEPEND=" - dev-libs/glib:2 - dev-qt/qtbase:6[dbus,gui,widgets] - >=sys-auth/polkit-0.103 -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( AUTHORS README README.porting TODO ) - -src_configure() { - local mycmakeargs=( - -DBUILD_EXAMPLES=OFF - -DQT_MAJOR_VERSION=6 - ) - cmake_src_configure -} |
