Wrong value given to <requires lib="..."> with custom widget catalog

Bug #152164 reported by Phil Lello
4
Affects Status Importance Assigned to Milestone
glade-3 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: glade-3

Version 3.2.0
-----------------

When glade-3 is used with custom widgets, it tries to save the name of the lib containing the widgets in the .glade file, via <requires lib="...">, e.g.

  <require lib="GtkMud"/>

The value for lib is being taken from the name attribute instead of the library attribute.
e.g. the catalog looks like :
  <glade-catalog name="GtkMud" library="gtkmud-widgets" depends="gtk+">
   ...
  </glade-catalog>

The correct value should of course be "gtkmud-widgets", so that libglade tries to open "gtkmud-widgets.so", instead of:

  (gtkmud:1195): libglade-WARNING **: Could not load support for `GtkMud': libGtkMud.so: cannot open shared object file: No such file or directory

My 'work-around' is to link my app against a static version of my widget library - I get an error message, but can still create my widgets.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Intrepid Ibex. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in glade-3:
status: New → Incomplete
Changed in glade-3:
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in glade-3:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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