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 610657 - [patch] Linking fails due to multiple definition of _PyGObject_API, etc.
[patch] Linking fails due to multiple definition of _PyGObject_API, etc.
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Plugins (other)
HEAD
Other Mac OS
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-22 05:46 UTC by Charles Reiss
Modified: 2010-02-22 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.36 KB, patch)
2010-02-22 05:46 UTC, Charles Reiss
none Details | Review

Description Charles Reiss 2010-02-22 05:46:29 UTC
Created attachment 154364 [details] [review]
patch

On platforms with picky linkers (e.g. MacOS X/Darwin), rhythmbox will not link with python support enabled because symbols like _PyGObject_API (from PyGtk-related headers) are multiply defined. The attached patch #define's NO_IMPORT_PYGOBJECT and NO_IMPORT_PYGTK everywhere where pygobject.h and pygtk.h are used except for shell/rb-python-module.c (where the PyGtk init functions are called) to avoid this.
Comment 1 Jonathan Matthew 2010-02-22 11:22:30 UTC
pushed as commit ab102ef, thanks.