From 2af51639fc5b35d9030105a0ad038279a53ed1cd Mon Sep 17 00:00:00 2001 From: "Tomas Chvatal (scarabeus)" Date: Fri, 24 Oct 2008 17:51:23 +0200 Subject: Remove unneeded functions since there is no use for them now. --- eclass/kde4-functions.eclass | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'eclass/kde4-functions.eclass') diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index 9f7f9ed22a0..df42c0f2085 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -40,45 +40,6 @@ KDE_SLOTS=( "kde-4" "4.1" "4.2" ) # The slots used by all KDE live versions. KDE_LIVE_SLOTS=( "live" ) -# @FUNCTION: get-parent-package -# @USAGE: -# @DESCRIPTION: -# Echoes the name of the monolithic package that a given split ebuild was derived from. -get-parent-package() { - local parent child - while read parent child; do - if [[ "${child}" == "$1" ]]; then - echo ${parent} - return 0 - fi - done <<< "$KDE_DERIVATION_MAP" - die "Package $target not found in KDE_DERIVATION_MAP, please report bug" -} - -# @FUNCTION: get-child-packages -# @USAGE: -# @DESCRIPTION: -# Echoes the names of all (split) ebuilds derived from a given monolithic ebuild. -get-child-packages() { - local parent child - while read parent child; do - [[ "${parent}" == "$1" ]] && echo -n "${child} " - done <<< "$KDE_DERIVATION_MAP" -} - -# @FUNCTION: is-parent-package -# @USAGE: <$CATEGORY/$PN> -# @DESCRIPTION: -# Returns zero exit-status if the given package is a parent (monolithic) ebuild. -# Returns non-zero exit-status if it's not. -is-parent-package() { - local parent child - while read parent child; do - [[ "${parent}" == "$1" ]] && return 0 - done <<< "$KDE_DERIVATION_MAP" - return 1 -} - # @FUNCTION: buildsycoca # @DESCRIPTION: # Function to rebuild the KDE System Configuration Cache. -- cgit v1.2.3