Typelib and GIR broken for Dbusmenu-Glib-0.4

Bug #713099 reported by Mikkel Kamstrup Erlandsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
High
Ken VanDine
Unity
Fix Released
High
Unassigned
unity (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Right now you can not use Dbusmenu-Glib-0.4.typelib in pygi because of how it's named. You can not use - in the typellib name, nor in the actual namespace.

I suggest renaming it to dbusmenu-0.4 sice the G is implicit this being "GObject Introspection".

To attest that it works you can try: python -c "from gi.repository import Dbusmenu; dir(Dbusmenu);"

Related branches

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Setting prio to high since it makes libunity unusable with GI

Changed in dbusmenu:
importance: Undecided → High
status: New → Triaged
Changed in unity:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 713099] [NEW] Typelib and GIR broken for Dbusmenu-Glib-0.4

What should we do with dbusmenu-gtk-0.4 then? Does that one then break
as well?

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

DbusmenuGtk doesn't break because it doesn't have a dash in the name, like DBusmen-Glib does :-)

Changed in dbusmenu:
assignee: nobody → Ken VanDine (ken-vandine)
Revision history for this message
Ken VanDine (ken-vandine) wrote :

How about keeping the pkgconfig name dbusmenu-glib-0.4 but setting the namespace to Dbusmenu and version to just 0.4? I think this does the right thing for the typelib.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

This should keep most existing apps the build depend on libdbusmenu-glib-dev from needing to be modified. With the exception of vala apps, which I am sure is minimal.

Ted Gould (ted)
Changed in dbusmenu:
status: Triaged → Fix Released
Changed in unity (Ubuntu):
status: New → Triaged
Neil J. Patel (njpatel)
Changed in unity:
status: Triaged → Fix Released
Changed in unity (Ubuntu):
status: Triaged → Invalid
importance: Undecided → High
Changed in unity (Ubuntu):
status: Invalid → 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.