From ae5ffe9ef3c004cb61c9423bfd9199f3c33bd632 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 3 Jan 2024 04:27:16 -0500 Subject: [PATCH] qt6-build.eclass: cleanup deprecated qt6_symlink_binary_to_path No consumers left for a while, kind of forgot about it. If overlays were packaging additional Qt modules, their facing links should be handled automatically even if this function call fails. That is, unless they were doing extra links not suggested by upstream. At that point I'd suggest doing a normal dosym, or better yet report it to Qt so that it will be suggested in user_facing_tool_links.txt for future versions. Signed-off-by: Ionen Wolkens --- eclass/qt6-build.eclass | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 0e439e946af3c..561a4fe204227 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: qt6-build.eclass @@ -196,20 +196,6 @@ qt_feature() { echo "-DQT_FEATURE_${2:-${1}}=$(usex ${1} ON OFF)" } -# @FUNCTION: qt6_symlink_binary_to_path -# @USAGE: [suffix] -# @DESCRIPTION: -# Symlink a given binary from QT6_BINDIR to QT6_PREFIX/bin, with -# optional suffix. -# -# Note: deprecated, will be removed when no consumers left in-tree, -# see internal the _qt6-build_create_user_facing_links -qt6_symlink_binary_to_path() { - [[ ${#} -ge 1 ]] || die "${FUNCNAME}() requires at least one argument" - - dosym -r "${QT6_BINDIR}"/${1} /usr/bin/${1}${2} -} - ###### Internal functions ###### # @FUNCTION: _qt6-build_create_user_facing_links