| View previous topic :: View next topic |
| Author |
Message |
tld l33t

Joined: 09 Dec 2003 Posts: 681
|
Posted: Tue May 30, 2006 5:01 pm Post subject: A few questions about split/monolithic KDE 3.5 |
|
|
I wonder if I'm the only one here who actually upgraded KDE from 3.4 to 3.5 by accident ....seriously. I did an "emerge -auD world", and actually noticed a bunch of KDE packages, but somehow didn't notice it was the 3.4->3.5 upgrade. In any case, it did in fact work. My existing installation was a monolithic "emerge kde" install. Once I saw that everything seemed to be working, I uninstalled the 3.4 stuff.
From what I'm reading, I guess that now I have no easy path to split ebuilds if I choose to go that way. Anyway...here are the questions I have:
1. Am I correct that I have to uninstall the existing KDE before installing the split ebuilds? If so, I'm guessing I won't be able to use KDE while that's going?
2. Now that this 3.5 is marked stable, am I correct that I shouldn't have to unmask anything?
3. After doing a minimal split install, will starting KDE with a lot of features missing cause problems with configuration files in the .kde directory in my home directory?
Thanks!
Tom |
|
| Back to top |
|
 |
phajdan.jr Developer


Joined: 23 Mar 2006 Posts: 1672 Location: Poland
|
Posted: Tue May 30, 2006 6:35 pm Post subject: Re: A few questions about split/monolithic KDE 3.5 |
|
|
| tld wrote: | | 1. Am I correct that I have to uninstall the existing KDE before installing the split ebuilds? If so, I'm guessing I won't be able to use KDE while that's going? |
If you encounter blocks during emerge, yes. Otherwise - depends on your decision.
| tld wrote: | | 2. Now that this 3.5 is marked stable, am I correct that I shouldn't have to unmask anything? |
That's right.
| tld wrote: | | 3. After doing a minimal split install, will starting KDE with a lot of features missing cause problems with configuration files in the .kde directory in my home directory? |
Probably not (it uses different directory - .kde3.4 vs. .kde3.5, .kde is a symlink), but I would make a backup. |
|
| Back to top |
|
 |
andyrewbobb n00b


Joined: 27 Jun 2005 Posts: 14 Location: Missouri, US
|
Posted: Tue May 30, 2006 6:38 pm Post subject: |
|
|
| Quote: | | 1. Am I correct that I have to uninstall the existing KDE before installing the split ebuilds? If so, I'm guessing I won't be able to use KDE while that's going? |
You can do parts of it at a time, you can unmerge like kde-multimedia and then emerge the split ebuilds for those packages, then do the same for the rest of kde
| Quote: | | 2. Now that this 3.5 is marked stable, am I correct that I shouldn't have to unmask anything? |
Yes, when a package is marked stable, it means that it is considered safe, and ready to be used by everybody.
| Quote: | | 3. After doing a minimal split install, will starting KDE with a lot of features missing cause problems with configuration files in the .kde directory in my home directory? |
im not positive, but i think that it will just generate lots of error messages, but it wont perminently effect your .kde directory, also, unless you have specializations, i think you can just delete your .kde directory, and the next time you log into kde, it will autocreate it for you.[/post] |
|
| Back to top |
|
 |
phajdan.jr Developer


Joined: 23 Mar 2006 Posts: 1672 Location: Poland
|
Posted: Tue May 30, 2006 6:55 pm Post subject: |
|
|
| andyrewbobb wrote: | | i think you can just delete your .kde directory, and the next time you log into kde, it will autocreate it for you. |
That's right, but there's no need to do that, unless you like configuring your DE from scratch after each upgrade.
KDE 3.4 and 3.5 use different profile directories. When you start KDE, depending on version .kde becomes symlink to .kde3.4 or .kde3.5. If .kde3.5 doesn't exist it is created and your old settings are imported, which is quite nice IMO. |
|
| Back to top |
|
 |
tld l33t

Joined: 09 Dec 2003 Posts: 681
|
Posted: Tue May 30, 2006 8:15 pm Post subject: |
|
|
Thanks for all the replies!
I'm thinking I might bite the bullet and start from scratch with KDE. After seeing this thread:
http://forums.gentoo.org/viewtopic-t-314633-highlight-.html
I've reallized just how much I don't use in KDE. I'm probably going to start clean with kdebase-startkde and kicker, and then use that list of packages in that thread, omitting what I don't need. Haven't decided for sure yet. I'd sort of like to do it with indivudual parts at a time as andyrewbobb suggested, but just determining what those actually are seems like quite a headache.
Tom |
|
| Back to top |
|
 |
tld l33t

Joined: 09 Dec 2003 Posts: 681
|
Posted: Wed May 31, 2006 10:47 am Post subject: |
|
|
Question: Is my best method of uninstalling all of the monolithic KDE 3.5 to do an emerge -C on the 'kde' package, and then a --depclean?
Tom |
|
| Back to top |
|
 |
phajdan.jr Developer


Joined: 23 Mar 2006 Posts: 1672 Location: Poland
|
Posted: Wed May 31, 2006 5:13 pm Post subject: |
|
|
| It should work, if not then check your world file for kde packages. And remember to review list of packages --depclean will want to unmerge. |
|
| Back to top |
|
 |
tld l33t

Joined: 09 Dec 2003 Posts: 681
|
Posted: Wed May 31, 2006 6:17 pm Post subject: |
|
|
Thanks for the reply. I'll probably just use the list from --depclean to find all the kde stuff I know I want to get rid of. I can get rid of any non-kde package dependencies by using --depclean after I install the split kde packages.
Tom |
|
| Back to top |
|
 |
tld l33t

Joined: 09 Dec 2003 Posts: 681
|
Posted: Thu Jun 01, 2006 2:58 pm Post subject: |
|
|
Man...I have to say, this went really well...way easier than I expexted. For anyone interested, here's what I did:
I quit out of my current kde session. To be safe, I made a copy of my .kde-3.5 directory in my home (never needed it by the way). Next I used:
| Code: |
equery list kde | grep kde > kde-all.txt
|
...to get a list of all the current kde monolithic packages. After reviewing the list, I unmerged them with:
| Code: |
emerge -aC `cat kde-all.txt`
|
Then to see if there was anything left over I did:
| Code: |
emerge -pv --depclean
|
Since everything that came up was not kde related, I didn't unmerge anything...mainly because most of it would have to get reinstalled when I installed the split kde packages. I cleaned dependencies up at the end.
As per the Gentoo wiki howto suggestion, I added kdeenablefinal and kdexdeltas to my use flags to improve emerge time. I also added -arts to my use flags. I've had arts turned off in kde all the time, and decided to try going without it altogether.
Next, as per the howto, I installed a minimal kde system with:
| Code: |
emerge -av kdebase-startkde kicker kicker-applets kpager kmix kxkb
|
...and let that install whatever dependencies it needed. It went surprizingly fast. I didn't actually note the time, but I don't think it was more than an hour or two.
At that point, rather than using startx, I just did what I usually do, and started the display manager. Note that kdm was installed as part of the above emerge. I logged in as my usual user and everything seemed just fine. There were, of course, still many programs missing.
Next I hand picked a list of programs I use from the list on taskaras HOWTO (linked above) and emerged them. I don't have the exact list I used, and some of these had already been installed as dependencies of my first emerge, but it was something like:
| Code: |
emerge -av kdebase-kioslaves kate kuickshow ksnapshot konqueror kmenuedit konsole kcalc kcontrol kdemultimedia-kioslaves kdegraphics-kfile-plugins kdemultimedia-kfile-plugins khelpcenter kdialog klipper
|
At that point I had everything I needed. Since I had changed use flags (most notably -arts), I did:
...which recompiled mostly things that previously had arts enabled. To clean things up, I did:
| Code: |
emerge -a --depclean
|
...and carefully reviewed this list, and let it unmerge everything. Among other things, this unmerged arts.
That was it...and as far as I've seen so far, I'm golden. Now I probably have the cleanest system I've ever had. In the past (especially with other distros) I've always had a boatload of kde stuff I never used. I'm a bigger Gentoo fan than ever. Cool stuff.
Tom |
|
| Back to top |
|
 |
dundas Guru


Joined: 16 Dec 2004 Posts: 317 Location: China, Earth
|
Posted: Tue Jul 11, 2006 9:22 am Post subject: |
|
|
great, I'm doing wiz this way, not sure if "it" looks healthy or not
unmerged several non-needed 3.5.2 kde stuff, left wiz i18n/kdelibs/kde-env
till emerge do not block anything else
emerge -auvND kdebase-meta >> kde.txt\
then
| Code: | | emerge -auvND kdebase-meta |
revdep........
then everything works the same as before,
emerge -C kdebase-meta
copied all emerged split ebuilds from kde.txt back to world file
....
any comments are welcome, thx. _________________ Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|