Bug 649744
Summary: | starting a gtk application in seed has undefined symbol g_application_get_type | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Wade Mealing <wmealing> |
Component: | seed | Assignee: | Michel Lind <michel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | lovenemesis, michel, rgs, walters |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-05 03:17:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wade Mealing
2010-11-04 13:34:22 UTC
Looks like a byproduct of the preparation for the aborted GNOME 3.0 release. I'm rebuilding seed against the GNOME 2.32.x stack; will post an updated build shortly. Do you happen to have mutter installed (e.g. as a dependency for gnome-shell)? The latest mutter on Fedora 14 is built against GTK3, which gets pulled in as a dependency and that means the gi-repository has typelib files for both GTK2 and GTK3. Colin, you mentioned in a previous gnome-games bug https://bugzilla.redhat.com/show_bug.cgi?id=636118 that it is possible to specify a version number when accessing imports.gi.Gtk. What's the required syntax? I've not been able to find documentation on it. I've managed to get seed 2.31.91 to compile -- looks like there's a problem with the new --with-webkit= selector, which is supposed to default to 3.0, but instead causes configure to fail if a value is not manually specified. Going to set it to 3.0 on Fedora > 14 and 1.0 on Fedora 14, with build requirements adjusted to match. That way, hopefully users who don't have the Gtk3 stack installed would be able to run the default seed examples (until something pulls Gtk3 on their system...) http://library.gnome.org/devel/seed/stable/seed-importer.html the workaround is to specify the version you want *before* importing: // must quote otherwise 2.0 gets evaluated as just 2 imports.gi.versions.Gtk = "2.0" Gtk = imports.gi.Gtk seed 2.31.91-2 will be released as an update for F-14; the workaround is documented in README.Fedora, and we could then re-enable the seed-based GNOME games. I don't think I have mutter installed, not unless its part of another package. Different problem, but probably related as per what you stated earlier. [wmealing@localhost seedtest]$ seed test.js Gtk-ERROR **: GTK+ 3 symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported aborting... Aborted (core dumped) yup, you have gtk3 installed. I just assumed that it was pulled as a dependency for mutter/gnome-shell (shortly before F-14 Fedora started tracking the 2.91.x GNOME 3 branch of these). Could you check and see what's using GTK+ 3.0 on your computer? Try rpm -e --test gtk3 If you don't absolutely need seed, then gjs, the other GNOME Javascript interpreter (wonder why they can't merge :P) works with both Gtk2 and Gtk3. You still need to specify the version if you specifically want one or the other, though. I came to this problem, too. A temporarily workaround is to remove gtk3 application stack. Hope a seed update would address this problem. |