Bug 126578

Summary: kdebluetooth 1.0_beta1-r2 installs .protocol and .desktop files where kde-meta 3.5.2 can not find them
Product: [Unmaintained] kde-bluetooth Reporter: Andrei Pozolotin <A.Pozolotin>
Component: kbluetoothdAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: rdieter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrei Pozolotin 2006-05-01 20:19:22 UTC
Version:           kdebluetooth 1.0_beta1-r2  (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
Compiler:          gcc-3.4.4, glibc-2.3.5-r2 
OS:                Linux

http://bugs.gentoo.org/show_bug.cgi?id=131940

SYMPTOM:
when you click on kbluetoothd tray icon, you receive a msgbox "bluetooth:/
protocol not found" or "sdp:/ protocol not found"

PROBLEM:
kdebluetooth 1.0_beta1-r2 installs .protocol and .desktop files where kde-meta
3.5.2 can not find them

SOLUTION:
a)
copy files from (kdebluetooth 1.0_beta1-r2 location):
/usr/share/services
to the (kde-base/kde-meta 3.5.2 location)
/usr/kde/3.5/share/services
b)
run sycoca update:
sudo kbuildsycoca --global --noincremental
Comment 1 Rex Dieter 2006-05-01 21:29:24 UTC
This is likely a packaging bug (ie, specific to Gentoo), not a KDE one, since you system apparently installs KDE to a non-standard location: /usr/kde/3.5
Comment 2 Carsten Lohrke 2006-05-03 22:52:05 UTC
It is an application bug, if it doesn't lookup `kde-config --path services`, which resolves to

/home/<user>/.kde3.5/share/services/:/usr/share/services/:/usr/kde/3.5/share/services/

on a Gentoo box. I don't know the corresponding kdelibs function atm., but it exists for sure.
Comment 3 Thiago Macieira 2006-05-04 19:43:27 UTC
protocol_DATA = bluetooth.protocol
protocoldir = $(kde_servicesdir)

Where kde_servicesdir is initialised in admin/acinclude.m4.in (that means it's common for ALL kde applications):
    kde_servicesdir='\${datadir}/services'

This looks like a packaging error.