Brasero GObject Introspection Completely Broken

Bug #1197501 reported by dMaggot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brasero (Ubuntu)
New
Undecided
Unassigned

Bug Description

Tested this on

# cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"

# apt-cache showpkg gir1.2-brasero
Package: gir1.2-brasero-3.0
Versions:
3.4.1-0ubuntu3 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_quantal-updates_main_binary-amd64_Packages) (/var/lib/dpkg/status)
[...]

but I've reproduced (and fixed) this in other distros using latest Brasero from git. After installing gir1.2-brasero these are some of the issues

# apt-get install gir1.2-brasero
[...]
# ls -1 /usr/lib/girepository-1.0/Brasero*.typelib
/usr/lib/girepository-1.0/BraseroBurn-3.4.1.typelib
/usr/lib/girepository-1.0/BraseroMedia-3.4.1.typelib
# g-ir-generate /usr/lib/girepository-1.0/BraseroBurn-3.4.1.typelib

** (g-ir-generate:4398): ERROR **: failed to load typelib: Typelib file /usr/lib/girepository-1.0/BraseroMedia-3.4.1.typelib for namespace 'BraseroMedia' contains version '1.0' which doesn't match the expected version '3.4.1'
[...]
# python
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Gtk
>>> from gi.repository import BraseroMedia
ERROR:root:Could not find any typelib for BraseroMedia
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name BraseroMedia
>>> from gi.repository import BraseroBurn
ERROR:root:Could not find any typelib for BraseroBurn
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name BraseroBurn

I've sent a patch to a similar bug report upstream at

https://bugzilla.gnome.org/show_bug.cgi?id=646069

but upstream obviously does not care about this. The question is whether this can be fixed at the package level to have working GObject Introspection in Ubuntu or should we wait forever for upstream to take care.

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.