Comment 0 for bug 750575

Revision history for this message
Panagiotis Skintzos (ph7) wrote :

The Vala API DbusmenuGtk-0.4.vapi file (provided by gir1.2-dbusmenu-gtk-0.4 version 0.4.1-0ubuntu1) is completely broken.
Line 4:
namespace DbusmenuGtk,DbusmenuGtk {

Notice the duplicate namespace separated by comma.
This file is generated by vapigen from the gir equivalent.
And the gir file has duplicate prefixes defined:
  <namespace name="DbusmenuGtk"
             version="0.4"
             shared-library="libdbusmenu-gtk.so.3"
             c:identifier-prefixes="DbusmenuGtk,DbusmenuGtk"
             c:symbol-prefixes="dbusmenu,dbusmenu">

The reason are the duplicate args passed to g-ir-scanner command that produces the gir file:
--symbol-prefix=dbusmenu
--identifier-prefix=DbusmenuGtk

I am not that familiar with automake so I cannot make a correct patch.
Please fix it, as we need to use the Vala bindings for the new ui of weather indicator.