Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Jürgen Geuter
On Mon, 2007-01-29 at 22:46 +0200, Vlad Dogaru wrote:

 I would like to know if unmerging KWallet (also the eduitainment suite
 and possibly even Kopette and Konqueror) is safe. 

When you install kde or kde-meta it pulls the whole K Desktop
Environment, including the IM program (kopete) and Kwallet and all that
as dependencies (some will be left out depending on your useflags of
course).

If you unmerge kopete for example, the next merge of kde will pull it
back in cause it is a dependency. 

Konqueror is needed by most KDE programs, it's a really integral part of
kde, so unmerging it will break stuff.

 How can I tell for
 other packages? Is emerge --unmerge enough or do other measures have
 to be taken? Also, in the case of a fresh install, how can I choose
 what KDE installs? Do I have to run emerge kde, or would kdelibs,
 kdebase, etc (along with their dependencies of course) suffice?

You either have to live with installed applications you don't wanna use
or you have to get rid of kde and just select the k-applications you
actually want (they'll install what they need). Another way might be to
build your own kde-light package that depends on fewer stuff.

Jürgen

-- 
ICQ #81510866 - http://the-gay-bar.com - MSN [EMAIL PROTECTED]
Entia non sunt multiplicanda praeter necessitatem


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Albert Hopkins
On Mon, 2007-01-29 at 22:46 +0200, Vlad Dogaru wrote:
 Hello,
 
 after some suggestions from the list I finally emerged KDE to give it
 another try. Even with 256 MiB of RAM, it works quite acceptably, save
 for the startup time. However, I notice it has installed all sorts of
 marginally useful and ultimately resource consuming software such as
 KWallet. Now, I realise the risks of keeping passwords scattered all
 around (sometimes even unencrypted), but in my environment it's not
 that great a priority.
 
 I would like to know if unmerging KWallet (also the eduitainment suite
 and possibly even Kopette and Konqueror) is safe. How can I tell for
 other packages? Is emerge --unmerge enough or do other measures have
 to be taken? Also, in the case of a fresh install, how can I choose
 what KDE installs? Do I have to run emerge kde, or would kdelibs,
 kdebase, etc (along with their dependencies of course) suffice?

Here's my opinion about the whole thing (note that I don't use KDE so
this is an opinion in general).  If you don't like something, don't use
it.  If you don't like the edutainment stuff, don't run any of those
programs and you don't be using any resources.  If you don't want to use
KWallet then don't run it.  If it's running in the background or
something then that means that something that you *are* using depends on
KWallet and that's probably something you don't want to unmerge.

Yeah, you could go around experimenting with unmerging packages, but you
will likely find that a) these packages will get re-merged on the next
install/update, b) you will break some program that depends on that
package which the end result is c) you will waste way too much
time/energy debugging a.  b.

You can also manipulate USE flags to disable various (optional) features
of packages.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Dorin Scutarasu
On Monday 29 January 2007 22:46:56 Vlad Dogaru wrote:
 I would like to know if unmerging KWallet (also the eduitainment suite
 and possibly even Kopette and Konqueror) is safe. How can I tell for
 other packages? Is emerge --unmerge enough or do other measures have 
 to be taken?

If you have installed monolithic KDE than you can't unmerge only KWallet. You 
would have to unmerge kdeutils which also contains programs you might need.


If you're using the KDE split ebuilds you can use 'equery d package-name' 
(app-portage/gentoolkit) to see what installed packages depend on 
package-name. For example, Konqueror is needed by Kdesktop  and Amarok 
among other things, so you probably don't want to unmerge it if you need 
either of them.

Simply unmerging a package that is needed by some other package is not 
sufficient as it would be pulled back in when you next run 'emerge -D world'.

KWallet only depends on kdeutils-meta. If you want to get rid of it unmerge 
kdeutils-meta and add the packages pulled in by kdeutils-meta to the world 
file (/var/lib/portage/world). You can find the names of these packages in the 
kdeutils-meta ebuild:

RDEPEND=
$(deprange $PV $MAXKDEVER kde-base/ark) 

$(deprange $PV $MAXKDEVER kde-base/kcalc)
$(deprange $PV $MAXKDEVER kde-base/kcharselect) 

lirc? ( $(deprange $PV $MAXKDEVER kde-base/kdelirc) )
 [...]

So you would add lines such as these:
kde-base/ark
kde-base/kcalc
... in the world file for each package you need and unmerge the ones you don't 
need. Be carefull with those useflag conditioned dependencies as in the case 
of kde-base/kdelirc which only gets installed if lirc useflag is activated.


  Also, in the case of a fresh install, how can I choose
 what KDE installs? Do I have to run emerge kde, or would kdelibs,
 kdebase, etc (along with their dependencies of course) suffice?

Take a look at http://www.gentoo.org/doc/en/kde-config.xml#doc_chap2_sect3 .

-- 
The world is a tragedy to those who feel, but a comedy to those who
think.(Horace Walpole)
*
Dorin Scutarasu,
www.info.UAIC.ro


pgpcZbvvfv9ES.pgp
Description: PGP signature


Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Bo Ørsted Andresen
On Monday 29 January 2007 21:46:56 Vlad Dogaru wrote:
 I would like to know if unmerging KWallet (also the eduitainment suite
 and possibly even Kopette and Konqueror) is safe. How can I tell for
 other packages? Is emerge --unmerge enough or do other measures have
 to be taken?

What's the output of:

# grep kde /var/lib/portage/world

?

-- 
Bo Andresen


pgpSyIOsN4XrL.pgp
Description: PGP signature


Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Andrey Gerasimenko

On Mon, 29 Jan 2007 23:46:56 +0300, Vlad Dogaru [EMAIL PROTECTED] wrote:


Hello,

after some suggestions from the list I finally emerged KDE to give it
another try. Even with 256 MiB of RAM, it works quite acceptably, save
for the startup time. However, I notice it has installed all sorts of
marginally useful and ultimately resource consuming software such as
KWallet. Now, I realise the risks of keeping passwords scattered all
around (sometimes even unencrypted), but in my environment it's not
that great a priority.

I would like to know if unmerging KWallet (also the eduitainment suite
and possibly even Kopette and Konqueror) is safe. How can I tell for
other packages? Is emerge --unmerge enough or do other measures have
to be taken? Also, in the case of a fresh install, how can I choose
what KDE installs? Do I have to run emerge kde, or would kdelibs,
kdebase, etc (along with their dependencies of course) suffice?

Thanks in advance and sorry if I am being ambiguous (it's late)
Vlad



It looks like the problem is that you used some package like kdebase-meta  
and it installed all of the KDE. If so, now you have only kdebase-meta in  
/var/lib/portage/world and next time you upgrade world portage will  
install what you unmerge manually.


I did not test it, but the first thing that comes to mind is to edit the  
world manually: remove -meta packages and add packages that are  
actually installed. You can find them in /var/db/pkg/kde-base/ and  
/var/db/pkg/kde-misc.



--
Andrei Gerasimenko
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Vlad Dogaru

On 1/30/07, Uwe Thiem [EMAIL PROTECTED] wrote:

On 29 January 2007 22:46, Vlad Dogaru wrote:

 after some suggestions from the list I finally emerged KDE to give it
 another try. Even with 256 MiB of RAM, it works quite acceptably, save
 for the startup time.

Two things to improve startup:

Prelink your whole system. prelink -avmRf should do. It will run for quite
some time but applications will start faster afterwards. You have to repeat
it after each major emerge session.

Make sure that
Preloader=/usr/kde/3.5/bin/preloadkde
is set in /usr/kde/3.5/share/config/kdm/kdmrc


 However, I notice it has installed all sorts of
 marginally useful and ultimately resource consuming software such as
 KWallet.

You can as well simply switch it of:
Control Center-Security  Privacy-KDE Wallet

 Now, I realise the risks of keeping passwords scattered all
 around (sometimes even unencrypted), but in my environment it's not
 that great a priority.

 I would like to know if unmerging KWallet (also the eduitainment suite
 and possibly even Kopette and Konqueror) is safe. How can I tell for
 other packages? Is emerge --unmerge enough or do other measures have
 to be taken? Also, in the case of a fresh install, how can I choose
 what KDE installs? Do I have to run emerge kde, or would kdelibs,
 kdebase, etc (along with their dependencies of course) suffice?

You need to emerge kdelibs and kdebase. Afterwards you can emerge single
applications.


Hi everyone,

I did a monolithic KDE install and that is why uninstalling individual
components is not easy. However, the install has served its purpose --
I only wanted to see common pitfalls in installing KDE, for when I do
a complete system reinstall (possibly even changing hardware). Next
time I will do a split ebuild install and carefully select what I
need.

Thanks for the tips,
Vlad
--
gentoo-user@gentoo.org mailing list