Bug 223107 - cant install a new font systemwide
Summary: cant install a new font systemwide
Status: RESOLVED FIXED
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-17 11:49 UTC by Fabian B.
Modified: 2010-01-20 00:07 UTC (History)
0 users

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 Fabian B. 2010-01-17 11:49:44 UTC
Version:           4.4 RC1 (using Devel)
Compiler:          gcc 4.4.2 
OS:                Linux
Installed from:    Compiled sources

klick on a font(.tff). now the fontviewer start. klick on install and choose "systemwide". now polkit ask for a password. but then the install fail cause "the service failed to start file:///home/blah/font.tff"

the same error if we go the systemsettings way
systemsettings > fontinstall > add > font.tff > systemwide. 
local-only work without problems
Comment 1 Craig Drummond 2010-01-20 00:07:04 UTC
SVN commit 1077329 by craig:

Can't use KAuth CMake macros, as KFontinst is not actually using KAuth -
but uses PolkitQt directly, as KAuth does not support Kfontinst's method
of operation.

KFontinst seems to require the '<policy context="default">' section in
the system dbus config file - and KAuth does not seem to be adding this.

When checking if the system service is started, call a simple 'ping()'
method so that the service is instantiated.

BUG: 223107


 M  +9 -1      CMakeLists.txt  
 M  +5 -0      FontInst.cpp  
 M  +9 -11     FontInst.h  
 M  +8 -2      FontinstIface.h  
 A             org.kde.fontinst.conf  
 A             org.kde.fontinst.system-service.cmake  
 M  +3 -0      org.kde.fontinst.xml  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1077329
Comment 2 Craig Drummond 2010-01-20 00:07:11 UTC
SVN commit 1077330 by craig:

Can't use KAuth CMake macros, as KFontinst is not actually using KAuth -
but uses PolkitQt directly, as KAuth does not support Kfontinst's method
of operation.

KFontinst seems to require the '<policy context="default">' section in
the system dbus config file - and KAuth does not seem to be adding this.

When checking if the system service is started, call a simple 'ping()'
method so that the service is instantiated.

BUG: 223107


 M  +9 -1      CMakeLists.txt  
 M  +5 -0      FontInst.cpp  
 M  +9 -11     FontInst.h  
 M  +8 -2      FontinstIface.h  
 A             org.kde.fontinst.conf  
 A             org.kde.fontinst.system-service.cmake  
 M  +3 -0      org.kde.fontinst.xml  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1077330