Talk:KDE/Removal

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

Split complex uninstall command

Talk status
This discussion is still ongoing.

Would it be possible to split the uninstall command so that it is nicer to see on the wiki?

Personally, I would use something like this:

root #KDEPACKAGES="$(qlist -IC 'kde-base/*')"
root #KDELIBDEPS="$(for name in $(qlist -IC | grep -v '^kde-base/'); do (qdepends -C $name | grep -q kdelibs) && echo $name; done)"
root #emerge --depclean --ask ${KDEPACKAGES} ${KDELIBDEPS}

The document currently uses the following:

root #emerge --ask --depclean kde-base/kdelibs $(qlist -IC 'kde-base/*') $(for name in $(qlist -IC | grep -v '^kde-base/') ; do ( qdepends -C $name | grep -q kdelibs ) && echo $name ; done)

I did remove the explicit kde-base/kdelibs as it will be mentioned by the qlist command anyway.

Perhaps we can also use the following qdepends reverse dependency option (-Q):

root #qdepends -C -N -q -Q kde-base/kdelibse

However it seems that this is not matching all dependencies sadly (I think it misses eclass provided dependencies?)

Perhaps we can find the most optimal way through revdep-rebuild against the /usr/lib/libkdecore.so library? — The preceding unsigned comment was added by SwifT (talkcontribs) 05:31, December 29, 2013‎

Entire KDE/Removal page is obsolete

Talk status
This discussion is still ongoing.

There is not one single bit of useful information left for someone coming from a current sync of Portage. It needs to be either rewritten or deleted. — The preceding unsigned comment was added by ASturm (talkcontribs)

I don't use Plasma or I would help. Any takers/volunteers here? --Maffblaster (talk) 22:20, 11 January 2022 (UTC)
All of the information is completely irrelevant now, so it's safe to delete. I'll add a deletion template to the top of the page and one of the admins can get around to delete it. --Redstrate (talk) 22:19, 26 May 2022 (UTC)
I'll disagree that all of it is irrelevant as it shows how to remove KDE Plasma 5 as well. I don't believe it should be deleted as parts are still good AFAICT. Yes, some of the files listed at the end are really old. In addition, the translations of KDE as well as the Project:KDE page need references removed before any major action could occur. --Grknight (talk) 12:46, 27 May 2022 (UTC)
Sorry that’s my mistake, I got so hung up on the configuration files section I had assumed the rest of the article was all KDE 4 related. I’m going to move the relevant removal stuff (since that’s still useful) to the main KDE page within I’m the next couple of days if someone doesn’t do it first. —Redstrate (talk) 03:12, 28 May 2022 (UTC)