Bug 224377 - currently installed fonts not listed in font installer app
Summary: currently installed fonts not listed in font installer app
Status: CLOSED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fontinst (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Craig Drummond
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 20:21 UTC by Graham Anderson
Modified: 2010-01-28 20:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Anderson 2010-01-26 20:21:41 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Since SC 4.4-RC1 the system settings font installer app has not listed any currently installed fonts.

Reproducible:     always
How to reproduce: open font installer app

--
KDE Font Installer
Version 
Using KDE Development Platform 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)) "release 214"

Platform Version 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)) "release 214"
Comment 1 Graham Anderson 2010-01-26 20:23:38 UTC
Screenshot: http://imagebin.ca/view/oTGPAUMA.html
Comment 2 Craig Drummond 2010-01-26 20:30:27 UTC
Do you have /usr/lib/kde4/libexec/fontinst installed? (/usr should be replaced with whatever prefix you used to install KDE4)

If not, did you not get any errors whilst compiling?

I've just installed RC4.2 under openSUSE 11.2 and noticed that it to has not installed /usr/lib/kde4/libexec/fontinst 

This 'fontinst' app is a dbus service that the kcontrol module, and the fonts:/ ioslave, talk to to get the font listing.
Comment 3 Graham Anderson 2010-01-26 20:38:08 UTC
> I've just installed RC4.2 under openSUSE 11.2 and noticed that it to has not installed /usr/lib/kde4/libexec/fontinst

This is likely the problem, I'm on openSUSE 11.2 and used the packages from KDE:KDE4:Factory:Desktop. The bug reporting "wizard" did ask which distro I was using but apparently doesn't carry this meta info into the new report.

I'll ping someone in #opensuse-kde
Comment 4 Graham Anderson 2010-01-26 21:03:10 UTC
The linked specfile from openSUSE:Factory/kdebase4-workspace is excluding fontinst for some reason.

%if %suse_version < 1120  
%_kde4_modulesdir/libexec/fontinst  
%_kde4_modulesdir/libexec/fontinst_x11  
%endif
Comment 5 Graham Anderson 2010-01-27 13:46:13 UTC
I spoke to someone on #opensuse-kde and found the reason why the two files are excluded from the spec file. Apparently they are not even built.

"It has to do that we switched to polkit-qt-1 for KDE 4.4.. Kdelibs builds the correct Kauth backend, but unfortunately kdebase4-workspace does not build with polkit-qt-1 and wants to have the old polkit-qt. As that the kcm font module had other issues, the decision was taken to patch the dbus-1 stuff out from it for 11.2 and higher."

I'll open a bug on the openSUSE tracker for this so the openSUSE packagers can decide how they wish to go forward.
Comment 6 Graham Anderson 2010-01-27 14:01:17 UTC
Report opened downstream as https://bugzilla.novell.com/show_bug.cgi?id=574311
Comment 7 Raymond Wooninck 2010-01-28 15:17:35 UTC
The upstream developer for the font installation program has rewritten the authorization code to make use of the standard KAuth mechanism. This was implemented for KDE 4.5 last night. 

I have backported the patch to KDE 4.4rc2 and have included it as a patch for the openSUSE builds. 

With the next update from KDE:KDE4:Factory:Desktop, this patch will be included and the font installation should work as before.
Comment 8 Craig Drummond 2010-01-28 17:50:47 UTC
The switch to KAuth is also in the 4.4 branch - and should be in KDE SC4.4RC3
Comment 9 Graham Anderson 2010-01-28 20:34:10 UTC
Thanks Craig, latest build of kdebase4-workspace from KDE:KDE4:Factory:Desktop has full functionality of the font-install module.

As it just so happened, I have to be juggling a lot of fonts next week and this will help a lot.

beer++