Public bug reported:

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.

** Affects: brasero (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to brasero in Ubuntu.
https://bugs.launchpad.net/bugs/1197501

Title:
  Brasero GObject Introspection Completely Broken

Status in “brasero” package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1197501/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to