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 355912 - Missing symbols in atk.def
Missing symbols in atk.def
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: build
git master
Other Windows
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2006-09-14 06:40 UTC by Cedric Gustin
Modified: 2006-09-14 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add missing symbols to atk.def (723 bytes, patch)
2006-09-14 06:41 UTC, Cedric Gustin
committed Details | Review

Description Cedric Gustin 2006-09-14 06:40:44 UTC
I found some missing symbols in atk.def. These functions, not exported to DLL, are required to build pygtk and gtkmm on win32. 

The attached patch is against CVS HEAD but should also be applied to at 1.10 and atk-1.12.
Comment 1 Cedric Gustin 2006-09-14 06:41:23 UTC
Created attachment 72752 [details] [review]
Add missing symbols to atk.def
Comment 2 bill.haneman 2006-09-14 09:58:29 UTC
Is there a document somewhere aimed at gnome/gtk+ developers that explains how I can keep the .def file up to date myself?
Comment 3 bill.haneman 2006-09-14 10:53:00 UTC
committed to HEAD.  Please commit to 1.10 and 1.12.
Comment 4 Cedric Gustin 2006-09-14 12:02:03 UTC
Maybe you should ask Tor for the best way of keeping .def file up to date. I see 2 solutions here:

1. Automatically export all symbols at build time with "-no-undefined -Wl,--export-all-symbols" for mingw32 or a tool called gendef for MSVC. This is the approach we use for glibmm/gtkmm because of differences in the C++ mangling system used by the various compilers. 
2. Parse the header files as done by pygtk (codegen/defsgen.py creates .defs files which are used to create the bindings). Quite interestingly, glibmm/gtkmm also uses those .defs file for its own code generation.

About the commit to 1.10 and 1.12, should I do it myself or somebody else will take care of it ? 
Comment 5 bill.haneman 2006-09-14 14:05:29 UTC
Thanks Cedric, I'll ask Tor.

>About the commit to 1.10 and 1.12, should I do it myself or somebody else will
>take care of it ? 

If you would do this Cedric it would help me a lot.  Thanks very much!

Comment 6 Cedric Gustin 2006-09-14 14:39:02 UTC
(In reply to comment #5)

> >About the commit to 1.10 and 1.12, should I do it myself or somebody else will
> >take care of it ? 
> 
> If you would do this Cedric it would help me a lot.  Thanks very much!

Did it for 1.10 (gnome-2.12 branch). As far as I can see 1.12 hasn't been branched yet (gnome-2.14 corresponds to 1.11) so I guess it is still CVS HEAD.

Correct me if I'm wrong.

Comment 7 bill.haneman 2006-09-14 14:55:11 UTC
Thanks Cedric; you are right, so this is now complete.