Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 545778

Summary: kde-plasma/plasma-workspace-5.2.2: missing dependencies
Product: Gentoo Linux Reporter: anonymous <gentoobugs>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: franz.trischberger, sven.koehler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: equery f kde-plasma/plasma-desktop

Description anonymous 2015-04-06 22:31:11 UTC
After installation kde-plasma/plasma-workspace-5.2.2 on fresh gentoo system I tried to login from sddm and get this errors in .xsession-errors

/usr/bin/startkde: line 152: kapplymousetheme: command not found
/usr/bin/startkde: line 274: xsetroot: command not found
startkde: Starting up...
startkde: Could not start D-Bus. Can you call qdbus?
/usr/bin/startkde: line 306: xmessage: command not found

It seems that kde-plasma/plasma-workspace-5.2.2 should depended on:

x11-apps/xsetroot
x11-apps/xmessage
kde-frameworks/kdbusaddons[X]
kapplymousetheme(??? where is it?)

Reproducible: Always
Comment 1 Franz Trischberger 2015-04-07 08:24:54 UTC
You need kde-plasma/plasma-desktop for a working - hm - plasma desktop ;)
And plasma-desktop ships kapplymousetheme ;)
Comment 2 anonymous 2015-04-07 10:57:21 UTC
kde-plasma/plasma-desktop installed too.
Comment 3 anonymous 2015-04-07 11:00:53 UTC
Created attachment 400754 [details]
equery f kde-plasma/plasma-desktop

files of kde-plasma/plasma-desktop
Comment 4 anonymous 2015-04-07 11:03:16 UTC
I don't see "kapplymousetheme" in attachment. 

# equery -q u kde-plasma/plasma-desktop
-bluetooth
-debug
+fontconfig
-handbook
-networkmanager
-pulseaudio
-usb
Comment 5 Franz Trischberger 2015-04-07 11:05:59 UTC
Set USE="usb". From ksms/CMakeLists.txt:

if (LIBUSB_FOUND)
    add_subdirectory( input )
endif()

And kapplymousetheme is under kcms/input
Comment 6 anonymous 2015-04-07 11:10:10 UTC
Thanks. It's not clear, because I haven't USB mouse or keyboard, only PS/2, so, I decided that USE="usb" useless for me.
Comment 7 anonymous 2015-04-11 10:44:30 UTC
(In reply to Franz Fellner from comment #5)
> Set USE="usb". From ksms/CMakeLists.txt:
> 
> if (LIBUSB_FOUND)
>     add_subdirectory( input )
> endif()
> 
> And kapplymousetheme is under kcms/input

Okay, but if I built kde-plasma/plasma-workspace with USE="-usb", then /usr/bin/startkde should not call kapplymousetheme, isn't it?
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-04-16 11:03:07 UTC
Thanks, the X dependencies are fixed in git. I'll look more into the best solution for kapplymousetheme.

Why is kde-frameworks/kdbusaddons[X] required?

https://gitweb.gentoo.org/proj/kde.git/commit/?id=f865a40afb0cab3df623eb7d458f3ffd6533db59
Comment 9 anonymous 2015-04-16 15:20:04 UTC
(In reply to Michael Palimaka (kensington) from comment #8)
> Why is kde-frameworks/kdbusaddons[X] required?

Sorry, it look like my mistake. But...

> startkde: Could not start D-Bus. Can you call qdbus?

It happens when useflag X turned off globally. emerge sys-apps/dbus with USE="X" solve this problem. Maybe other packages need also to be rebuilded with USE="X", I don't remember.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2015-07-10 19:05:46 UTC
kapplymousetheme issue is fixed in 5.4 with default-enabled evdev flag: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c73f20a3a34b6e799e672486a17fe9f4e05ff979
Comment 11 Michael Palimaka (kensington) gentoo-dev 2015-10-08 15:45:51 UTC
This should all be fixed in-tree now.