Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376017 - KDE Guide:Cleaning Up KDE:qfile unmerging command +kdeprefix
Summary: KDE Guide:Cleaning Up KDE:qfile unmerging command +kdeprefix
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: http://www.gentoo.org/proj/en/desktop...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-22 15:44 UTC by turtle
Modified: 2011-11-24 02:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description turtle 2011-07-22 15:44:48 UTC
Code Listing 4.2: Unmerging commands
emerge -C $(qfile -C -q -e /usr/kde/%PREFIX%)
This command seems like it would only work with +kdeprefix.

In my /usr/kde/4.0 there is only a directory called share.

It is confusing to any user whom is running a recent installation trying to remove KDE.
If this is correct I suggest adding its own sub heading something like:
(only applicable if you are moving from +kdeprefix)

Or replace the command with one that would work with or without kdeprefix since now the only remaining way to remove KDE in the Guide is to install a unstable version of portage.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-08-27 16:26:24 UTC
emerge -ac $(qdepends -NCQ kde-base/kdelibs) $(qlist -IC 'kde-base/*' 'kde-misc/*')


^ here's a first suggestion for an unmerge command

Not perfect yet, because e.g. it leaves out stuff like kword (pulled in by koffice-meta which does not depend on kdelibs).
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-11-20 18:10:01 UTC
OK I cleaned this up. I hope the new version is better...
Comment 3 Maciej Mrozowski gentoo-dev 2011-11-24 02:01:04 UTC
Less red = better :) Thanks