diff options
author | Dan Armak <danarmak@gentoo.org> | 2005-01-14 13:49:43 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2005-01-14 13:49:43 +0000 |
commit | 652c4fa61a239013b34427a78c043e26eb437b69 (patch) | |
tree | e65cdbe36d9c4ce08812b4d4da5af12fe2db0c1c /eclass/kde-functions.eclass | |
parent | split deprange() into two functions: deprange() is a wrapper around deprange-... (diff) | |
download | gentoo-2-652c4fa61a239013b34427a78c043e26eb437b69.tar.gz gentoo-2-652c4fa61a239013b34427a78c043e26eb437b69.tar.bz2 gentoo-2-652c4fa61a239013b34427a78c043e26eb437b69.zip |
add KDE_DERIVATION_MAP and functions that map between split ebuilds and the monolithic packages they're derived from. not called from anywhere yet, so this commit is harmless.
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 378 |
1 files changed, 377 insertions, 1 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index 3dc7180fe3d1..533f3035f3f0 100644 --- a/eclass/kde-functions.eclass +++ b/eclass/kde-functions.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.80 2005/01/14 13:45:35 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.81 2005/01/14 13:49:43 danarmak Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -10,6 +10,382 @@ ECLASS=kde-functions INHERITED="$INHERITED $ECLASS" +# map of the monolithic->split ebuild derivation; used to build deps describing +# the relationships between them +KDE_DERIVATION_MAP=' +kde-base/kdeaccessibility kde-base/kmag +kde-base/kdeaccessibility kde-base/kmousetool +kde-base/kdeaccessibility kde-base/kmouth +kde-base/kdeaddons kde-base/atlantikdesigner +kde-base/kdeaddons kde-base/kaddressbook-xxports-kworldclock +kde-base/kdeaddons kde-base/kate-cppsymbolviewer +kde-base/kdeaddons kde-base/kate-filelistloader +kde-base/kdeaddons kde-base/kate-filetemplates +kde-base/kdeaddons kde-base/kate-helloworld +kde-base/kdeaddons kde-base/kate-htmltools +kde-base/kdeaddons kde-base/kate-insertcommand +kde-base/kdeaddons kde-base/kate-kjswrapper +kde-base/kdeaddons kde-base/kate-kpybrowser +kde-base/kdeaddons kde-base/kate-make +kde-base/kdeaddons kde-base/kate-modeline +kde-base/kdeaddons kde-base/kate-openheader +kde-base/kdeaddons kde-base/kate-scripts +kde-base/kdeaddons kde-base/kate-snippets +kde-base/kdeaddons kde-base/kate-tabbarextension +kde-base/kdeaddons kde-base/kate-textfilter +kde-base/kdeaddons kde-base/kate-xmlcheck +kde-base/kdeaddons kde-base/kate-xmltools +kde-base/kdeaddons kde-base/kdeaddons-docs-kate-plugins +kde-base/kdeaddons kde-base/kdeaddons-docs-kicker-applets +kde-base/kdeaddons kde-base/kdeaddons-docs-konq-plugins +kde-base/kdeaddons kde-base/kfile-desktop +kde-base/kdeaddons kde-base/kfile-folder +kde-base/kdeaddons kde-base/kfile-html +kde-base/kdeaddons kde-base/kfile-lnk +kde-base/kdeaddons kde-base/kfile-txt +kde-base/kdeaddons kde-base/kicker-kbinaryclock +kde-base/kdeaddons kde-base/kicker-kolourpicker +kde-base/kdeaddons kde-base/kicker-ktimemon +kde-base/kdeaddons kde-base/kicker-math +kde-base/kdeaddons kde-base/kicker-mediacontrol +kde-base/kdeaddons kde-base/knewsticker-scripts +kde-base/kdeaddons kde-base/konqueror-arkplugin +kde-base/kdeaddons kde-base/konqueror-autorefresh +kde-base/kdeaddons kde-base/konqueror-babelfish +kde-base/kdeaddons kde-base/konqueror-crashes +kde-base/kdeaddons kde-base/konqueror-dirfilter +kde-base/kdeaddons kde-base/konqueror-domtreeviewer +kde-base/kdeaddons kde-base/konqueror-fsview +kde-base/kdeaddons kde-base/konqueror-imagerotation +kde-base/kdeaddons kde-base/konqueror-khtmlsettingsplugin +kde-base/kdeaddons kde-base/konqueror-kimgalleryplugin +kde-base/kdeaddons kde-base/konqueror-kuick +kde-base/kdeaddons kde-base/konqueror-minitools +kde-base/kdeaddons kde-base/konqueror-rellinks +kde-base/kdeaddons kde-base/konqueror-searchbar +kde-base/kdeaddons kde-base/konqueror-sidebar +kde-base/kdeaddons kde-base/konqueror-smbmounter +kde-base/kdeaddons kde-base/konqueror-uachanger +kde-base/kdeaddons kde-base/konqueror-validators +kde-base/kdeaddons kde-base/konqueror-webarchiver +kde-base/kdeaddons kde-base/ksig +kde-base/kdeaddons kde-base/noatun-alarm +kde-base/kdeaddons kde-base/noatun-alsaplayer +kde-base/kdeaddons kde-base/noatun-blurscope +kde-base/kdeaddons kde-base/noatun-charlatan +kde-base/kdeaddons kde-base/noatun-dub +kde-base/kdeaddons kde-base/noatun-ffrs +kde-base/kdeaddons kde-base/noatun-luckytag +kde-base/kdeaddons kde-base/noatun-lyrics +kde-base/kdeaddons kde-base/noatun-nexscope +kde-base/kdeaddons kde-base/noatun-noatunmadness +kde-base/kdeaddons kde-base/noatun-oblique +kde-base/kdeaddons kde-base/noatun-pitchablespeed +kde-base/kdeaddons kde-base/noatun-synaescope +kde-base/kdeaddons kde-base/noatun-tippercanoe +kde-base/kdeaddons kde-base/noatun-tyler +kde-base/kdeaddons kde-base/noatun-wavecapture +kde-base/kdeaddons kde-base/renamedlg-audio +kde-base/kdeaddons kde-base/renamedlg-images +kde-base/kdeaddons kde-base/vimpart +kde-base/kdeadmin kde-base/kcmlinuz +kde-base/kdeadmin kde-base/kcron +kde-base/kdeadmin kde-base/kdat +kde-base/kdeadmin kde-base/kdeadmin-kfile-plugins +kde-base/kdeadmin kde-base/kpackage +kde-base/kdeadmin kde-base/ksysv +kde-base/kdeadmin kde-base/kuser +kde-base/kdeadmin kde-base/lilo-config +kde-base/kdeadmin kde-base/secpolicy +kde-base/kdeartwork kde-base/kdeartwork-icewm-themes +kde-base/kdeartwork kde-base/kdeartwork-iconthemes +kde-base/kdeartwork kde-base/kdeartwork-kscreensaver +kde-base/kdeartwork kde-base/kdeartwork-kwin-styles +kde-base/kdeartwork kde-base/kdeartwork-kworldclock +kde-base/kdeartwork kde-base/kdeartwork-sounds +kde-base/kdeartwork kde-base/kdeartwork-styles +kde-base/kdeartwork kde-base/kdeartwork-wallpapers +kde-base/kdebase kde-base/drkonqi +kde-base/kdebase kde-base/kappfinder +kde-base/kdebase kde-base/kate +kde-base/kdebase kde-base/kcheckpass +kde-base/kdebase kde-base/kcminit +kde-base/kdebase kde-base/kcontrol +kde-base/kdebase kde-base/kdcop +kde-base/kdebase kde-base/kdebase-applnk +kde-base/kdebase kde-base/kdebase-kioslaves +kde-base/kdebase kde-base/kdebase-l10n +kde-base/kdebase kde-base/kdebase-pam +kde-base/kdebase kde-base/kdebase-pics +kde-base/kdebase kde-base/kdebase-startkde +kde-base/kdebase kde-base/kdebugdialog +kde-base/kdebase kde-base/kdepasswd +kde-base/kdebase kde-base/kdeprint +kde-base/kdebase kde-base/kdesktop +kde-base/kdebase kde-base/kdesu +kde-base/kdebase kde-base/kdialog +kde-base/kdebase kde-base/kdm +kde-base/kdebase kde-base/kfind +kde-base/kdebase kde-base/khelpcenter +kde-base/kdebase kde-base/khotkeys +kde-base/kdebase kde-base/kicker +kde-base/kdebase kde-base/klipper +kde-base/kdebase kde-base/kmenuedit +kde-base/kdebase kde-base/knetattach +kde-base/kdebase kde-base/konqueror +kde-base/kdebase kde-base/konsole +kde-base/kdebase kde-base/kpager +kde-base/kdebase kde-base/kpersonalizer +kde-base/kdebase kde-base/kreadconfig +kde-base/kdebase kde-base/kscreensaver +kde-base/kdebase kde-base/ksmserver +kde-base/kdebase kde-base/ksplashml +kde-base/kdebase kde-base/kstart +kde-base/kdebase kde-base/ksysguard +kde-base/kdebase kde-base/ksystraycmd +kde-base/kdebase kde-base/ktip +kde-base/kdebase kde-base/kwin +kde-base/kdebase kde-base/kxkb +kde-base/kdebase kde-base/libkonq +kde-base/kdebase kde-base/nsplugins +kde-base/kdebindings kde-base/dcopc +kde-base/kdebindings kde-base/dcopjava +kde-base/kdebindings kde-base/dcopperl +kde-base/kdebindings kde-base/dcoppython +kde-base/kdebindings kde-base/kalyptus +kde-base/kdebindings kde-base/kdejava +kde-base/kdebindings kde-base/kjsembed +kde-base/kdebindings kde-base/korundum +kde-base/kdebindings kde-base/qtjava +kde-base/kdebindings kde-base/qtruby +kde-base/kdebindings kde-base/qtsharp +kde-base/kdebindings kde-base/smoke +kde-base/kdebindings kde-base/xparts +kde-base/kdeedu kde-base/kalzium +kde-base/kdeedu kde-base/kbruch +kde-base/kdeedu kde-base/kdeedu-applnk +kde-base/kdeedu kde-base/keduca +kde-base/kdeedu kde-base/khangman +kde-base/kdeedu kde-base/kig +kde-base/kdeedu kde-base/kiten +kde-base/kdeedu kde-base/klatin +kde-base/kdeedu kde-base/klettres +kde-base/kdeedu kde-base/kmathtool +kde-base/kdeedu kde-base/kmessedwords +kde-base/kdeedu kde-base/kmplot +kde-base/kdeedu kde-base/kpercentage +kde-base/kdeedu kde-base/kstars +kde-base/kdeedu kde-base/ktouch +kde-base/kdeedu kde-base/kturtle +kde-base/kdeedu kde-base/kverbos +kde-base/kdeedu kde-base/kvoctrain +kde-base/kdeedu kde-base/kwordquiz +kde-base/kdeedu kde-base/libkdeedu +kde-base/kdegames kde-base/atlantik +kde-base/kdegames kde-base/kasteroids +kde-base/kdegames kde-base/katomic +kde-base/kdegames kde-base/kbackgammon +kde-base/kdegames kde-base/kbattleship +kde-base/kdegames kde-base/kblackbox +kde-base/kdegames kde-base/kbounce +kde-base/kdegames kde-base/kenolaba +kde-base/kdegames kde-base/kfouleggs +kde-base/kdegames kde-base/kgoldrunner +kde-base/kdegames kde-base/kjumpingcube +kde-base/kdegames kde-base/klickety +kde-base/kdegames kde-base/klines +kde-base/kdegames kde-base/kmahjongg +kde-base/kdegames kde-base/kmines +kde-base/kdegames kde-base/kolf +kde-base/kdegames kde-base/konquest +kde-base/kdegames kde-base/kpat +kde-base/kdegames kde-base/kpoker +kde-base/kdegames kde-base/kreversi +kde-base/kdegames kde-base/ksame +kde-base/kdegames kde-base/kshisen +kde-base/kdegames kde-base/ksirtet +kde-base/kdegames kde-base/ksmiletris +kde-base/kdegames kde-base/ksnake +kde-base/kdegames kde-base/ksokoban +kde-base/kdegames kde-base/kspaceduel +kde-base/kdegames kde-base/ktron +kde-base/kdegames kde-base/ktuberling +kde-base/kdegames kde-base/kwin4 +kde-base/kdegames kde-base/libkdegames +kde-base/kdegames kde-base/libksirtet +kde-base/kdegames kde-base/lskat +kde-base/kdegraphics kde-base/kamera +kde-base/kdegraphics kde-base/kcoloredit +kde-base/kdegraphics kde-base/kdegraphics-kfile-plugins +kde-base/kdegraphics kde-base/kdvi +kde-base/kdegraphics kde-base/kfax +kde-base/kdegraphics kde-base/kgamma +kde-base/kdegraphics kde-base/kghostview +kde-base/kdegraphics kde-base/kiconedit +kde-base/kdegraphics kde-base/kmrml +kde-base/kdegraphics kde-base/kolourpaint +kde-base/kdegraphics kde-base/kooka +kde-base/kdegraphics kde-base/kpdf +kde-base/kdegraphics kde-base/kpovmodeler +kde-base/kdegraphics kde-base/kruler +kde-base/kdegraphics kde-base/ksnapshot +kde-base/kdegraphics kde-base/ksvgplugin +kde-base/kdegraphics kde-base/kuickshow +kde-base/kdegraphics kde-base/kview +kde-base/kdegraphics kde-base/kviewshell +kde-base/kdegraphics kde-base/libkscan +kde-base/kdegraphics kde-base/libksvg +kde-base/kdemultimedia kde-base/akode +kde-base/kdemultimedia kde-base/artsplugin-audiofile +kde-base/kdemultimedia kde-base/artsplugin-mpeglib +kde-base/kdemultimedia kde-base/artsplugin-mpg123 +kde-base/kdemultimedia kde-base/artsplugin-xine +kde-base/kdemultimedia kde-base/juk +kde-base/kdemultimedia kde-base/kaboodle +kde-base/kdemultimedia kde-base/kaudiocreator +kde-base/kdemultimedia kde-base/kdemultimedia-arts +kde-base/kdemultimedia kde-base/kdemultimedia-kappfinder-data +kde-base/kdemultimedia kde-base/kdemultimedia-kfile-plugins +kde-base/kdemultimedia kde-base/kdemultimedia-kioslaves +kde-base/kdemultimedia kde-base/kmid +kde-base/kdemultimedia kde-base/kmix +kde-base/kdemultimedia kde-base/krec +kde-base/kdemultimedia kde-base/kscd +kde-base/kdemultimedia kde-base/libkcddb +kde-base/kdemultimedia kde-base/mpeglib +kde-base/kdemultimedia kde-base/noatun +kde-base/kdenetwork kde-base/dcoprss +kde-base/kdenetwork kde-base/kdenetwork-filesharing +kde-base/kdenetwork kde-base/kdenetwork-kfile-plugins +kde-base/kdenetwork kde-base/kdict +kde-base/kdenetwork kde-base/kdnssd +kde-base/kdenetwork kde-base/kget +kde-base/kdenetwork kde-base/knewsticker +kde-base/kdenetwork kde-base/kopete +kde-base/kdenetwork kde-base/kpf +kde-base/kdenetwork kde-base/kppp +kde-base/kdenetwork kde-base/krdc +kde-base/kdenetwork kde-base/krfb +kde-base/kdenetwork kde-base/ksirc +kde-base/kdenetwork kde-base/ktalkd +kde-base/kdenetwork kde-base/kwifimanager +kde-base/kdenetwork kde-base/librss +kde-base/kdenetwork kde-base/lisa +kde-base/kdepim kde-base/akregator +kde-base/kdepim kde-base/certmanager +kde-base/kdepim kde-base/kaddressbook +kde-base/kdepim kde-base/kalarm +kde-base/kdepim kde-base/kandy +kde-base/kdepim kde-base/karm +kde-base/kdepim kde-base/kdepim-kioslaves +kde-base/kdepim kde-base/kdepim-kresources +kde-base/kdepim kde-base/kdepim-wizards +kde-base/kdepim kde-base/kitchensync +kde-base/kdepim kde-base/kmail +kde-base/kdepim kde-base/kmailcvt +kde-base/kdepim kde-base/kmobile +kde-base/kdepim kde-base/knode +kde-base/kdepim kde-base/knotes +kde-base/kdepim kde-base/kode +kde-base/kdepim kde-base/konsolekalendar +kde-base/kdepim kde-base/kontact +kde-base/kdepim kde-base/korganizer +kde-base/kdepim kde-base/korn +kde-base/kdepim kde-base/kpilot +kde-base/kdepim kde-base/ksync +kde-base/kdepim kde-base/ktnef +kde-base/kdepim kde-base/libkcal +kde-base/kdepim kde-base/libkdenetwork +kde-base/kdepim kde-base/libkdepim +kde-base/kdepim kde-base/libkholidays +kde-base/kdepim kde-base/libkmime +kde-base/kdepim kde-base/libkpgp +kde-base/kdepim kde-base/libkpimexchange +kde-base/kdepim kde-base/libkpimidentities +kde-base/kdepim kde-base/libksieve +kde-base/kdepim kde-base/mimelib +kde-base/kdesdk kde-base/cervisia +kde-base/kdesdk kde-base/kapptemplate +kde-base/kdesdk kde-base/kbabel +kde-base/kdesdk kde-base/kbugbuster +kde-base/kdesdk kde-base/kcachegrind +kde-base/kdesdk kde-base/kdesdk-kfile-plugins +kde-base/kdesdk kde-base/kdesdk-kioslaves +kde-base/kdesdk kde-base/kdesdk-misc +kde-base/kdesdk kde-base/kdesdk-scripts +kde-base/kdesdk kde-base/kmtrace +kde-base/kdesdk kde-base/kompare +kde-base/kdesdk kde-base/kspy +kde-base/kdesdk kde-base/kuiviewer +kde-base/kdesdk kde-base/umbrello +kde-base/kdetoys kde-base/amor +kde-base/kdetoys kde-base/eyesapplet +kde-base/kdetoys kde-base/fifteenapplet +kde-base/kdetoys kde-base/kmoon +kde-base/kdetoys kde-base/kodo +kde-base/kdetoys kde-base/kteatime +kde-base/kdetoys kde-base/ktux +kde-base/kdetoys kde-base/kweather +kde-base/kdetoys kde-base/kworldwatch +kde-base/kdeutils kde-base/ark +kde-base/kdeutils kde-base/kcalc +kde-base/kdeutils kde-base/kcardtools +kde-base/kdeutils kde-base/kcharselect +kde-base/kdeutils kde-base/kdelirc +kde-base/kdeutils kde-base/kdf +kde-base/kdeutils kde-base/kedit +kde-base/kdeutils kde-base/kfloppy +kde-base/kdeutils kde-base/kgpg +kde-base/kdeutils kde-base/khexedit +kde-base/kdeutils kde-base/kjots +kde-base/kdeutils kde-base/klaptopdaemon +kde-base/kdeutils kde-base/kmilo +kde-base/kdeutils kde-base/kregexpeditor +kde-base/kdeutils kde-base/ksim +kde-base/kdeutils kde-base/ktimer +kde-base/kdeutils kde-base/kwalletmanager +kde-base/kdewebdev kde-base/kfilereplace +kde-base/kdewebdev kde-base/kimagemapeditor +kde-base/kdewebdev kde-base/klinkstatus +kde-base/kdewebdev kde-base/kommander +kde-base/kdewebdev kde-base/kxsldbg +kde-base/kdewebdev kde-base/quanta +app-office/koffice app-office/karbon +app-office/koffice app-office/kchart +app-office/koffice app-office/kformula +app-office/koffice app-office/kivio +app-office/koffice app-office/koffice-data +app-office/koffice app-office/koffice-libs +app-office/koffice app-office/koffice-meta +app-office/koffice app-office/koshell +app-office/koffice app-office/kpresenter +app-office/koffice app-office/kspread +app-office/koffice app-office/kugar +app-office/koffice app-office/kword +' + +# accepts 1 parameter, the name of a split ebuild; echoes the name of its mother package +get-parent-package () { + local target=$1 parent child + echo "$KDE_DERIVATION_MAP" | while read parent child; do + if [ "$target" == "$child" ]; then + echo $parent + return 1 + fi + done + [ "$?" == "0" ] && die "Package $target not found in KDE_DERVATION_MAP, please report bug" +} + +# accepts 1 parameter, the name of a monolithic package; echoes the names of all ebuilds derived from it +get-child-packages () { + local target=$1 parent child + echo "$KDE_DERIVATION_MAP" | while read parent child; do + if [ "$target" == "$parent" ]; then + echo -n "$child " + fi + done +} + # convinience functions for requesting autotools versions need-automake() { |