Installing KDE SC 4.6 via Portage

Anything that pertains to Portage

Moderator: Moderators

Installing KDE SC 4.6 via Portage

Postby Fitzcarraldo » Wed Feb 02, 2011 16:12

Has anyone installed KDE 4.6 in SL using Portage?

//joost, obviously you will have done for the Entropy repository, so I'd appreciate your comments.//

Gentoo KDE developer Theo Chatzimichos' blog post KDE SC 4.6.0 in Gentoo seems to indicate the process of installing KDE 4.6.0 in Gentoo is straightforward, but some of the posts in Gentoo Forums thread Kde 4.6 make me doubt that.

1. Apart from unmasking the KDE 4.6.0 packages in Portage (Gentoo KDE Guide - KDE SC 4.6.0), Is there anything else that needs to be done (I'm currently running KDE 4.5.4) before running emerge kde-meta to install KDE 4.6.0?

2. I read that KDE 4.6 does not need HAL, but what about other packages in SL that are dependent on HAL? I'm not on a PC running SL at the moment, but equery d hal on my main laptop listed a few packages (equery d hald listed nothing) and hald is still in the boot runlevel IIRC. Do I need to get rid of HAL completely? Should I follow the procedure given in the following Gentoo Forums thread: Tips, and tricks for ConsoleKit/PolicyKit/udev, without hal? Or can I leave things as they are and go ahead and merge kde-meta for 4.6.0? //joost, did you remove all dependencies on HAL?//
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Installing KDE SC 4.6 via Portage

Postby raman » Wed Feb 02, 2011 16:26

It's time to completely give up on HAL. Will be nice to prepare Sabayon to completely remove HAL.
raman
Advanced Hen
 
Posts: 235
Joined: Mon Sep 06, 2010 17:18
Location: Poland

Re: Installing KDE SC 4.6 via Portage

Postby sabayonino » Wed Feb 02, 2011 19:16

Hi Fitz

I've installed KDE-4.6 on my Gentoo (not sabayon) and KDE 4.6 works fine for me

Hal ... I've compiled some packages that need hal (set as local flag not global flag in make.conf)

HAL will be kicking soon ...

in portage KDE4.6 is marked as Hard-Masked ...

Code: Select all
kde-base/kde-meta
     Available versions: 
        (4.4)   4.4.5
        (4.5)   (~)4.5.5
        (4.6)   {M}(~)4.6.0
        {accessibility aqua kdeprefix nls sdk semantic-desktop}
     Installed versions:  4.6.0(4.6)(00:33:10 28/01/2011)(accessibility nls -aqua -kdeprefix -sdk -semantic-desktop)
     Homepage:            http://www.kde.org/
     Description:         KDE - merge this to pull in all split kde-base/* packages



My gentoo :
Code: Select all
equery d hal
Password:
 * These packages depend on hal:
app-cdr/k3b-2.0.2-r1 (hal ? sys-apps/hal)
app-misc/hal-info-20091130 (>=sys-apps/hal-0.5.10)
gnome-base/gnome-vfs-2.24.4 (hal ? >=sys-apps/hal-0.5.7)
gnome-base/gvfs-1.6.6-r1 (>=sys-apps/hal-0.5.10)
media-gfx/gimp-2.6.11 (hal ? sys-apps/hal)
media-libs/libgphoto2-2.4.10 (hal ? >=sys-apps/hal-0.5)                                                                                                                                                                                     
x11-drivers/xf86-input-virtualbox-4.0.2-r1 (hal ? sys-apps/hal) 
User avatar
sabayonino
Sagely Hen
 
Posts: 1567
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Installing KDE SC 4.6 via Portage

Postby joost » Wed Feb 02, 2011 20:00

Regarding Portage I didn't change a flag.
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Installing KDE SC 4.6 via Portage

Postby sabayonino » Wed Feb 02, 2011 20:35

joost wrote:Regarding Portage I didn't change a flag.



Ok... this is my 5.4 fully updated + Limbo repository

Image

Everything works fine ! :)

8)

:roll: :roll:
User avatar
sabayonino
Sagely Hen
 
Posts: 1567
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Installing KDE SC 4.6 via Portage

Postby Fitzcarraldo » Wed Feb 02, 2011 23:34

Thanks for the replies, guys. I'll have a go at installing it overnight next week sometime and report back. Too much on my plate this week to do it.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Installing KDE SC 4.6 via Portage

Postby Matte88 » Sat Feb 05, 2011 12:59

This morning (or night... :P ) 4.6 became available in ~, not more HardMasked! 8)
Image
When I became the sun,
I shone life into the man's hearts.
User avatar
Matte88
Technological Hen
 
Posts: 399
Joined: Wed Dec 29, 2010 14:37
Location: @/etc/entropy/repositories.conf.d/entropy_sabayon-limbo

Re: Installing KDE SC 4.6 via Portage

Postby Fitzcarraldo » Sat Feb 12, 2011 18:30

I finally got around to installing KDE 4.6.0, and I decided to kill two birds with one stone and get rid of HAL at the same time (see Gentoo Forums post http://forums.gentoo.org/viewtopic-p-65 ... ml#6535389). Well, I didn't get rid of HAL altogether, as equery depends hal told me:

Code: Select all
* These packages depend on hal:
app-cdr/k3b-2.0.1-r1 (sys-apps/hal)
app-emulation/wine-1.3.12 (hal ? sys-apps/hal)
app-misc/hal-cups-utils-0.6.19 (>=sys-apps/hal-0.5.10)
app-misc/hal-info-20091130 (>=sys-apps/hal-0.5.10)
gnome-base/gnome-mount-0.8-r2 (>=sys-apps/hal-0.5.8.1)
gnome-base/gnome-vfs-2.24.2 (hal ? >=sys-apps/hal-0.5.7)
gnome-base/gvfs-1.4.3 (>=sys-apps/hal-0.5.10)
kde-base/solid-4.5.4 (sys-apps/hal)
media-gfx/gimp-2.6.11 (hal ? sys-apps/hal)
media-libs/libgphoto2-2.4.9 (hal ? >=sys-apps/hal-0.5)
media-sound/pulseaudio-0.9.21.2-r1 (hal ? >=sys-apps/hal-0.5.11)
media-tv/xbmc-10.0 (hal ? sys-apps/hal)
sys-apps/pcsc-lite-1.5.5 (hal ? sys-apps/hal)
sys-apps/pmount-0.9.20 (hal ? >=sys-apps/hal-0.5.2)

So I changed the global USE flag "hal" to "-hal" in /etc/make.conf and added local USE flags to /etc/portage/package.use as follows:

Code: Select all
# hal USE flag changed to -hal in /etc/make.conf and "hal" USE flag added to the following existing entries:
media-gfx/gimp mng wmf hal
media-libs/libgphoto2 exif hal
gnome-base/gvfs samba gnome gdu hal
media-tv/xbmc mms hal
#
# New entries added by me due to my removal of global hal USE flag:
media-sound/pulseaudio hal
sys-apps/pcsc-lite hal
sys-apps/pmount hal

I left k3b out of /etc/portage/package.use as I assume version 2.0.2.-r1 no longer needs HAL, but, if that turns out not to be the case then I'll rebuild K3b with the hal USE flag.

As emerge -1vDNutp world and various other emerge commands in the above-mentioned Gentoo post complained about various missing USE flags from a few packages, I added those packages/flags to /etc/portage/package.use too:

Code: Select all
# New entried by me due to grumbling emerge commands in post http://forums.gentoo.org/viewtopic-p-6535389.html#6535389
dev-libs/libksba static-libs
dev-libs/libgpg-error static-libs
dev-libs/libassuan static-libs
dev-libs/libgcrypt static-libs
sys-libs/ncurses static-libs
dev-python/PyQt4 declarative

The emerge -1vDNut world kde-meta command that I issued wanted to merge 637 packages, so it took a long time (even on my Core i7 laptop)! Package no. 329 was apt-crypt/gnupg-2.0.17 and it would not merge, whatever I did, so I have left the existing version (2.0.14) installed. The only other package that would not install was kde-misc/knetworkmanager-9999-r1, so I have left kde-misc/knetworkmanager-9999 installed (actually, is that even needed? Doesn't the Plasma widget Network Management do the whole job now?).

After everything (except gnupg and knetworkmanager) was upgraded/re-installed, I ran revdep-rebuild to clean things up. I then rebooted and ran into the Plasma Desktop segfault problem reported in the thread Segfault right after login to KDE 4.6 [Solved]. I applied the fix given in the thread Attention KDE 4.6 Users. First, from the crashed Plasma Desktop I used Alt-F2 to run krunner and used that to launch konsole. In that I entered the following command to log-out from KDE:

Code: Select all
qdbus org.kde.ksmserver /KSMServer logout 0 0 0

then I used Ctrl-Alt-F1 to open a VT, from where I logged in under my own user name and then issued the command:

Code: Select all
cp -a /etc/skel/.kde* ~/

and then I logged in as the root user and issued the reboot command.

Everything seems to be working OK so far, although the overwriting of ~/.kderc and ~/.kde4/ of course means that I had to reconfigure my Desktop.

Well, the Compiz Fusion Icon (fusion-icon) is now invisible :roll: , but still works. I assume this is a GTK/GNOME icon issue in KDE.

Anyway, if anyone knows how I can get app-crypt/gnupg-2.0.17 and kde-misc/knetworkmanager-9999-r1 to build (and whether knetworkmanager is needed at all with KDE 4.6.0), then I'd be grateful if you would let me know. I'll post build logs if anyone's interested.


EDIT (Sat Feb 12 20:56:03 GMT 2011): Regarding kde-misc/knetworkmanager-9999-r1 not merging, it's because the SVN repository referenced in the ebuild does not exist any more: the repository has been moved to Git. I ended up editing the version 9999 ebuild in the KDE overlay to change:

Code: Select all
KDE_MINIMAL="4.5"

to:

Code: Select all
KDE_MINIMAL="4.6"

then I created a new manifest and merged knetworkmanager-9999 instead. I added the Network Management widget to the Panel and it works, although there is no icon for that either. :roll:
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Installing KDE SC 4.6 via Portage

Postby Fitzcarraldo » Sun Feb 13, 2011 16:27

Fitzcarraldo wrote:Regarding kde-misc/knetworkmanager-9999-r1 not merging, it's because the SVN repository referenced in the ebuild does not exist any more: the repository has been moved to Git. I ended up editing the version 9999 ebuild in the KDE overlay to change:

Code: Select all
KDE_MINIMAL="4.5"

to:

Code: Select all
KDE_MINIMAL="4.6"

then I created a new manifest and merged knetworkmanager-9999 instead. I added the Network Management widget to the Panel and it works, although there is no icon for that either. :roll:

The problem is a missing svgz icon file network.svgz in the directory /usr/share/apps/desktoptheme/default/icons/. So I searched for network.svgz on my HDD and found a few:

Code: Select all
$ locate network.svgz
/usr/portage/distfiles/egit-src/networkmanagement/applet/network.svgz
/usr/portage/distfiles/svn-src/kdereview/networkmanagement/applet/network.svgz
/usr/portage/distfiles/svn-src/kdereview/networkmanagement/applet/.svn/prop-base/network.svgz.svn-base
/usr/portage/distfiles/svn-src/kdereview/networkmanagement/applet/.svn/text-base/network.svgz.svn-base
/usr/share/icons/mono/scalable/actions/network.svgz
/usr/share/icons/mono/scalable/categories/preferences-system-network.svgz
/usr/share/icons/mono/scalable/places/network.svgz

and copied one to the correct directory:

Code: Select all
# cp /usr/portage/distfiles/egit-src/networkmanagement/applet/network.svgz /usr/share/apps/desktoptheme/default/icons/

Well, I now have an icon for the Network Management widget on the Panel, albeit the Network Management icon for KDE 4.5.4 rather than KDE 4.6.0. Now, if I could only find a fusion-icon.svgz file on the Web -- highly unlikely given the age and origins of Compiz-Fusion -- my irritation with KDE 4.6.0 would be lessened.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Installing KDE SC 4.6 via Portage

Postby Fitzcarraldo » Tue Feb 15, 2011 10:41

OK, I've got the Compiz Fusion Icon back in the System Tray on the Panel. I used the locate command to find any instances of fusion-icon.png and fusion-icon.svg, and there were less than I had expected. I therefore downloaded a 256 x 256 PNG icon for Fusion Icon from the Web and used the GIMP to scale it to the various sizes (16x16, 22x22 etc.). I then copied it to the directories where I would have expected it to be (including all the KDE Oxygen Theme directories). I also reinstalled the package x11-apps/fusion-icon. I don't know if one or both of these actions was the reason for the return of the icon to the System Tray, but, anyway, I have the icon back on the Panel. In case it is relevant, here are the locations where I currently have Fusion Icon icons stored:

Code: Select all
$ locate fusion-icon.png
/usr/share/icons/hicolor/128x128/apps/fusion-icon.png
/usr/share/icons/hicolor/16x16/apps/fusion-icon.png
/usr/share/icons/hicolor/22x22/apps/fusion-icon.png
/usr/share/icons/hicolor/24x24/apps/fusion-icon.png
/usr/share/icons/hicolor/256x256/apps/fusion-icon.png
/usr/share/icons/hicolor/32x32/apps/fusion-icon.png
/usr/share/icons/hicolor/48x48/apps/fusion-icon.png
/usr/share/icons/hicolor/64x64/apps/fusion-icon.png
/usr/share/icons/oxygen/128x128/apps/fusion-icon.png
/usr/share/icons/oxygen/16x16/apps/fusion-icon.png
/usr/share/icons/oxygen/22x22/apps/fusion-icon.png
/usr/share/icons/oxygen/256x256/apps/fusion-icon.png
/usr/share/icons/oxygen/32x32/apps/fusion-icon.png
/usr/share/icons/oxygen/48x48/apps/fusion-icon.png
/usr/share/icons/oxygen/64x64/apps/fusion-icon.png
$ locate fusion-icon.svg
/usr/share/icons/hicolor/scalable/apps/fusion-icon.svg
$ locate fusion-icon.svgz
$


The only missing icon in the System Tray on the Panel now is the icon for DavMail. It's invisible: I can click on the place in the System Tray where I know it should be, and the DavMail menu is still accessible and functioning. Strangely, the DavMail icon was visible when I first installed KDE 4.6.0, and only became invisible subsequently. I don't know the cause of this, and re-installing DavMail did not make the icon visible again. I think I'm going to have to do something similar to what I did for the Fusion Icon, as the only DavMail icons I can find are in the following locations:

Code: Select all
$ locate davmail | grep png
/usr/local/portage/mail-client/davmail/files/davmail.png
/usr/share/pixmaps/davmail.png
/var/lib/layman/sabayon/net-mail/davmail/files/davmail.png
$ locate davmail | grep svg
$ locate DavMail | grep png
$ locate DavMail | grep svg
$
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Next

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest