[Kde-bindings] KDE::Global missing from korundum (4.4 branch)?

Richard Dale rdale at foton.es
Mon Jan 25 17:12:19 UTC 2010


On Saturday 23 January 2010 01:05:07 pm Stefano Crocco wrote:
> I just succeeded in building the latest smoke and korundum from the 4.4
> branch. Unfortunately, it seems that the KDE::Global namespace has
>  disappeared from korundum. If I write:
> 
> require 'korundum4'
> puts KDE.constants
> 
> I get a list which doesn't contain Global. Also, my application fails on
>  the line where I do
> 
> KDE::Global.dirs
> 
> which worked with previous revisions of smoke and/or korundum.
> 
> Is this a bug or am I missing something?
> 
> Thanks in advance
The KGlobal namespace was missing from the smokeconfig.xml file for the 
smoke/kdecore library. It should be ok now:

irb(main):002:0> KDE::Global.dirs.allTypes
=> ["data", "html", "icon", "config", "pixmap", "apps", "sound", "locale", 
"services", "servicetypes", "mime", "cgi", "wallpaper", "templates", "exe", 
"module", "qtplugins", "kcfg", "emoticons", "xdgdata-apps", "xdgdata-icon", 
"xdgdata-pixmap", "xdgdata-dirs", "xdgdata-mime", "xdgconf-menu", "xdgconf-
autostart", "lib", "socket", "tmp", "cache", "include"]

-- Richard



More information about the Kde-bindings mailing list