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 726216 - Fix the build of ATK
Fix the build of ATK
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: atk
2.11.x
Other Windows
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-03-13 02:52 UTC by Fan, Chun-wei
Modified: 2014-03-13 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make sure all needed files are being disttributed (1.31 KB, patch)
2014-03-13 02:56 UTC, Fan, Chun-wei
committed Details | Review
Move DllMain() and related items to atk/atkprivate.c as well (2.24 KB, patch)
2014-03-13 02:59 UTC, Fan, Chun-wei
committed Details | Review
Make up for the missed symbols for AtkValue (1.02 KB, patch)
2014-03-13 03:01 UTC, Fan, Chun-wei
committed Details | Review

Description Fan, Chun-wei 2014-03-13 02:52:51 UTC
Hi,

In the latest GIT checkout of ATK, there were some issues that prevented ATK from being built, which I will address in the following patches for this bug.
Comment 1 Fan, Chun-wei 2014-03-13 02:56:10 UTC
Created attachment 271677 [details] [review]
Make sure all needed files are being disttributed

First up is a patch that would fix the distribution of source files in the tarball, namely:

-atk/atkprivate.h, which was left out from distribution
-tests/teststateset.c, which was left out due to repeated occurences of teststateset_SOURCES.
Comment 2 Fan, Chun-wei 2014-03-13 02:59:24 UTC
Created attachment 271679 [details] [review]
Move DllMain() and related items to atk/atkprivate.c as well

The second patch moves the DllMain() and related items from atk/atkobject.c to atk/atkprivate.c, as DllMain() is used to get the HMODULE for the ATK DLL for get_atk_locale_dir (), which was moved to atk/atkprivate.c recently.  This fixes the build on Windows, and also cleans the code a by a little bit.
Comment 3 Fan, Chun-wei 2014-03-13 03:01:33 UTC
Created attachment 271680 [details] [review]
Make up for the missed symbols for AtkValue

There were some public APIs that were recently added for AtkValue, which need to be exported, that were missed from atk/atk.symbols.  This was caught by during the build of the test programs.

These are the patches I have for this bug at the moment.

With blessings, thank you!
Comment 4 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-03-13 11:03:23 UTC
Review of attachment 271677 [details] [review]:

Looks good.
Comment 5 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-03-13 11:04:41 UTC
Review of attachment 271679 [details] [review]:

Ups, sorry, I didn't realize that those were used for get_atk_locale_dir.

Looks good.
Comment 6 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-03-13 11:05:12 UTC
Review of attachment 271680 [details] [review]:

Looks good.
Comment 7 Fan, Chun-wei 2014-03-13 11:12:39 UTC
Hello Piñeiro,

The patches were pushed as follows:

Attachment 271677 [details]: b2f76883
Attachment 271679 [details]: 57fdd584
Attachment 271680 [details]: a52cf89c

Thanks for the reviews, with blessings.