From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 63606158B20 for ; Sun, 02 Feb 2025 21:39:00 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 507D1343029 for ; Sun, 02 Feb 2025 21:39:00 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 22A59110476; Sun, 02 Feb 2025 21:38:48 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1D40E110476 for ; Sun, 02 Feb 2025 21:38:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6A15343007 for ; Sun, 02 Feb 2025 21:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 986382578 for ; Sun, 02 Feb 2025 21:38:44 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1738529108.0cacee1583b5ce3242382647669078899d6c1370.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/purpose/, kde-frameworks/kio/, kde-frameworks/kcoreaddons/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild kde-frameworks/kio/kio-9999.ebuild kde-frameworks/purpose/purpose-9999.ebuild X-VCS-Directories: kde-frameworks/kcoreaddons/ kde-frameworks/kio/ kde-frameworks/purpose/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0cacee1583b5ce3242382647669078899d6c1370 X-VCS-Branch: master Date: Sun, 02 Feb 2025 21:38:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3c9f116-6861-4416-b45f-e93b32f833aa X-Archives-Hash: 50870c185185aaf273a964a0b22b705e commit: 0cacee1583b5ce3242382647669078899d6c1370 Author: Alfred Wingate protonmail com> AuthorDate: Sun Feb 2 07:33:35 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 2 20:45:08 2025 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0cacee15 kde-frameworks/*: switch to xdg.eclass as ecm no longer provides it In Frameworks packages, KFMIN is derived from PV, which means for >=6.9.0, pkg_postinst and pkg_postrm phase functions are no longer exported. Amends a0ef7f4ec0401eed8dd31ec1b4ce6a153c91a7eb Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/kde/pull/1027 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild | 14 ++------------ kde-frameworks/kio/kio-9999.ebuild | 14 ++------------ kde-frameworks/purpose/purpose-9999.ebuild | 11 +++-------- 3 files changed, 7 insertions(+), 32 deletions(-) diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild index b4775c5bf1..f6b69d886d 100644 --- a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild +++ b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 ECM_PYTHON_BINDINGS="off" QTMIN=6.7.2 -inherit ecm frameworks.kde.org xdg-utils +inherit ecm frameworks.kde.org xdg DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more" @@ -48,13 +48,3 @@ src_test() { # bug 619656 ecm_src_test -j1 } - -pkg_postinst() { - ecm_pkg_postinst - xdg_mimeinfo_database_update -} - -pkg_postrm() { - ecm_pkg_postrm - xdg_mimeinfo_database_update -} diff --git a/kde-frameworks/kio/kio-9999.ebuild b/kde-frameworks/kio/kio-9999.ebuild index 129ca7ea72..5847aca944 100644 --- a/kde-frameworks/kio/kio-9999.ebuild +++ b/kde-frameworks/kio/kio-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ ECM_HANDBOOK="optional" ECM_HANDBOOK_DIR="docs" ECM_TEST="forceoptional" QTMIN=6.7.2 -inherit ecm frameworks.kde.org xdg-utils +inherit ecm frameworks.kde.org xdg DESCRIPTION="Framework providing transparent file and data management" @@ -83,13 +83,3 @@ src_configure() { ecm_src_configure } - -pkg_postinst() { - ecm_pkg_postinst - xdg_desktop_database_update -} - -pkg_postrm() { - ecm_pkg_postrm - xdg_desktop_database_update -} diff --git a/kde-frameworks/purpose/purpose-9999.ebuild b/kde-frameworks/purpose/purpose-9999.ebuild index abff88a4bd..3783549f91 100644 --- a/kde-frameworks/purpose/purpose-9999.ebuild +++ b/kde-frameworks/purpose/purpose-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 ECM_QTHELP="false" ECM_TEST="forceoptional" QTMIN=6.7.2 -inherit ecm frameworks.kde.org optfeature xdg-utils +inherit ecm frameworks.kde.org optfeature xdg DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" @@ -70,10 +70,5 @@ pkg_postinst() { if [[ -z "${REPLACING_VERSIONS}" ]]; then optfeature "Send through KDE Connect" kde-misc/kdeconnect fi - ecm_pkg_postinst - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update + xdg_pkg_postinst }