DbusmenuGtk-0.4.vapi is broken

Bug #750575 reported by Panagiotis Skintzos
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
Undecided
Unassigned

Bug Description

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 which 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">

I built the package locally and noticed 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.

Related branches

description: updated
Ted Gould (ted)
Changed in dbusmenu:
status: New → In Progress
Ted Gould (ted)
Changed in dbusmenu:
status: In Progress → Fix Committed
milestone: none → 0.4.2
Revision history for this message
Panagiotis Skintzos (ph7) wrote :

Thanks!

Ted Gould (ted)
Changed in dbusmenu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.