After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645692 - Typelib file for namespace 'cairo', version '1.0' not found'
Typelib file for namespace 'cairo', version '1.0' not found'
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-03-25 23:20 UTC by William Jon McCann
Modified: 2015-02-07 16:51 UTC
See Also:
GNOME target: 3.0
GNOME version: ---


Attachments
Fix generation of cairo typelib (1.73 KB, patch)
2011-03-25 23:44 UTC, Owen Taylor
reviewed Details | Review

Description William Jon McCann 2011-03-25 23:20:41 UTC
Latest release causes errors like:
#
JS ERROR: !!! Exception was: Error: Requiring Clutter, version 1.0: Typelib file for namespace 'cairo', version '1.0' not found
#
JS ERROR: !!! lineNumber = '0'
#
JS ERROR: !!! fileName = 'gjs_throw'
#
JS ERROR: !!! stack = '("Requiring Clutter, version 1.0: Typelib file for namespace 'cairo', version '1.0' not found")@gjs_throw:0
#
@/usr/share/gnome-shell/js/ui/main.js:9
Comment 1 Owen Taylor 2011-03-25 23:44:14 UTC
Created attachment 184255 [details] [review]
Fix generation of cairo typelib

By separating out cairo-1.0.gir from gir_DATA, we lost the generation
of the cairo typelib. So instead add cairo-1.0.gir to a new
SUBSTITUTED_GIRSOURCES and include that in gir_DATA.

Fix the rule for generating cairo-1.0.gir for srcdir != builddir.
Comment 2 Dan Winship 2011-03-25 23:53:12 UTC
Comment on attachment 184255 [details] [review]
Fix generation of cairo typelib

works for me
Comment 3 Matthias Clasen 2011-03-26 20:11:30 UTC
commit 1c77a74d74f9a05a5b722d1df329a8a5d9ac1e96
Author: Owen W. Taylor <otaylor@fishsoup.net>
Date:   Fri Mar 25 19:36:36 2011 -0400

    Fix generation of cairo typelib
    
    By separating out cairo-1.0.gir from gir_DATA, we lost the generation
    of the cairo typelib. So instead add cairo-1.0.gir to a new
    SUBSTITUTED_GIRSOURCES and include that in gir_DATA.
    
    Fix the rule for generating cairo-1.0.gir for srcdir != builddir.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645692
Comment 4 André Klapper 2015-02-07 16:51:57 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]